Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use this package with managed identity? #25

Open
thdotnet opened this issue Nov 28, 2022 · 1 comment
Open

how to use this package with managed identity? #25

thdotnet opened this issue Nov 28, 2022 · 1 comment

Comments

@thdotnet
Copy link

Is this compatible with Managed Identity? I would like to avoid using RootManageSharedAccessKey as the connection string

@thdotnet thdotnet changed the title using managed identity how to use this package with managed identity? Nov 28, 2022
@RuiEloiVisma
Copy link

I did it using the CosmosClient approach

var cosmoClient = new CosmosClient(databaseUrl, tokenCredential); services.AddHangfire(x => x.UseAzureCosmosDbStorage(cosmoClient, databaseName, containerName));

I'm still having issues regarding permissions but that looks related with my infrastructure. If you managed to make it work let me know

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants