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 connect AzureTableStorage using UserAssigned ManagedIdentity in the AuditTrail implementation using Audit.NET? #666

Closed
santoshpatro opened this issue May 16, 2024 · 1 comment

Comments

@santoshpatro
Copy link

Hi Daniel,

Thanks a lot for sharing with us a great library which has a very good documentation also : https://github.com/thepirat000/Audit.NET/blob/master/src/Audit.WebApi/README.md for implementation of Audit Trail.

I need your help for a scenario detailed at : https://stackoverflow.com/questions/78490377/how-to-connect-azuretablestorage-using-userassigned-managedidentity-in-the-audit

Any help on this request is much appreciated

Thanks,
Santosh

@thepirat000
Copy link
Owner

This was already answered in SO by Gaurav Mantri, here you can see the response.

You should be able to use managed identity by setting up the connection with the .Endpoint() configuration extension:

Configuration.Setup()
    .UseAzureTableStorage(config => config
        .Endpoint(new Uri("https://account.table.core.windows.net", new DefaultAzureCredential())
        

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

No branches or pull requests

2 participants