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
Integrate Azure Key Vault with ASP.NET 4.0
497 Views Asked by Sid At
1
There are 1 best solutions below
Related Questions in AZURE
- How to update to the latest external Git in Azure Web App?
- I need an azure product that executes my intensive ffmpeg command then dies, and i only get charged for the delta. Any Tips?
- Inject AsyncCollector into a service
- mutual tls authentication between app service and function app
- Azure Application Insights Not Displaying Custom Logs for Azure Functions with .NET 8
- Application settings for production deployment slot in Azure App Services
- Encountered an error (ServiceUnavailable) from host runtime on Azure Function App
- Implementing Incremental consent when using both application and delegated permissions
- Invalid format for email address in WordPress on Azure app service
- Producer Batching Service Bus Vs Kafka
- Integrating Angular External IP with ClusterIP of .NET microservices on AKS
- Difficulty creating a data pipeline with Fabric Datafactory using REST
- Azure Batch for Excel VBA
- How to authenticate only Local and Guest users in Azure AD B2C and add custom claims in token?
- Azure Scale Sets and Parallel Jobs
Related Questions in AZURE-KEYVAULT
- Unable to connect to Azure Keyvault when I deploy ASP.NET Core 6 Web API (C#) , the docker image to docker desktop app
- Automating key rotations for resources used in an application
- Entra authentication without storing secrets or certificate information in client code
- Does Install4j support code signing using Azure Key Vault?
- Error Fetching Azure Key Vault Secret in Fabric Notebook for Azure SQL Database JDBC Connection
- Azure Key Vault Logs: Success with Forbidden ResultSignature
- Pass An Azure Key Vault Secret To The Azure Databricks Spark Submit Job Using Parameters
- How to add new secrets (from Azure Key Vault) to the variable group in Azure Devops
- Authentication to Azure Key Vault
- Terraform Pipeline Key Vault secret deployment with Private Endpoint
- Prevent user login to Azure App Registration
- unable to link customer managed key within azure storage account get the error Your system-assigned identity does not have access to the key vault
- Trying to understand why Azure App access is more secure with Certificate vs Secret
- Running databricks notebooks in ADF: "Invalid client secret provided"
- Script Hangs in Windows 10 While Accessing Azure Key Vault Secrets, Works in Windows 11: Need Assistance
Related Questions in ASP.NET-4.0
- Infragistics WebDataGrid don't show in my host browser but show in VS
- fundamentally Is there any changes between the asp.net and sql-server with old .Net framework 3.5 to 4.8 in the 2023?
- Is there any changes between .Net framework 3.5 to 4.8 means fundamentals were changed of Asp.Net in the year 2023 or not?
- Difference between .NET 4 and .NET 4.8
- Application state asp.net
- Integrate Azure Key Vault with ASP.NET 4.0
- InvalidOperationException: Client found response content type of '', but expected 'text/xml'. The request failed with an empty response
- how to connect localhost wcf service with asp.net 4.0
- ASP.net 4.0 Framework application embedded with in WSS 3.0
- Register Externally hosted app in PCF Service Registry
- Error when trying Stream.Write several times in C# net 4.0
- how to make inner join query for getting multiple tables selected column
- How to get image from web cam and store in a SQL Server varbinary(max) column
- a href link not work properly at local project
- Error while getting records from stored procedure
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
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#.