0
votes

We have asp.net 4.0 application which is now going to deployed to Azure. A look ahead environment with IIS and SQL managed instance has been provided. We have been asked to move the database connection details to Azure Key Vault. Tried searching the internet but got references for mostly .net core applications. Upgrading the .net framework is not an option. So far we have registered an application in Azure Active Directory and got the tenant id, client id, client secret. This application has been added in Access policies with all the permissions. Also the secret key with connection string value has been created. Now the challenge is how to access this key vault secret in our asp.net 4.0 application. Thanks

1

1 Answers

1
votes

If so, you may not be able to use the SDK directly, you could use C# to get the token, then use the token to call the REST API - Get Secret.

You could refer to this link for the steps to get the token and call the API, then follow this link to do them in C#.