Forum Discussion
Need help on how to get Client Secret from Azure KeyVault to create service connections
Hi Nemath86,
follow these steps:
Retrieve Client Secret from Azure KeyVault:
- Use the Azure Key Vault secret client library for .NET.
- If you need to obtain the client secret from an existing Azure service principal, reset it to reveal the new value.
- To view the secret value as plain text, employ the Azure CLI az keyvault secret show command.
Incorporate Azure KeyVault Values in Azure DevOps Pipelines:
- Securely store and manage secrets like API keys or credentials in Azure Key Vault for use in your Azure Pipelines.
- Query for these secrets within your Azure Pipeline.
Update PowerApps Build Tasks with Azure KeyVault Connection Details:
- Leverage Microsoft Power Platform Build Tools for automating common build and deployment tasks related to Power Platform apps.
- Set up service connections in Azure DevOps.
- Employ environment variables with Azure Key Vault secrets in your CI/CD pipeline when deploying applications.
Quickstart - Azure Key Vault secrets client library for .NET | Microsoft Learn
Quickstart - Set and retrieve a secret from Azure Key Vault | Microsoft Learn
Use Azure Key Vault secrets in Azure Pipelines - Azure Pipelines | Microsoft Learn
Query and use Azure Key Vault secrets in your Pipeline - Azure Pipelines | Microsoft Learn
How to use Environment Variables with AKV Secrets in the CI/CD Pipeline when deploying applications | Microsoft Power Apps
Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.
If the post was useful in other ways, please consider giving it Like.
Kindest regards,
Leon Pavesic
(LinkedIn)