Azure key vault dependecies issues

Suryavanshi, Rakesh 1 Reputation point
2022-01-10T10:51:11.93+00:00

We are trying to fetch the Database credentials through Azure keyvault in our Maven Project.
We are using the below 2 dependencies in our pom.xml file.
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-secrets</artifactId>
<version>4.2.3</version>
</dependency>

<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-identity</artifactId>
<version>1.2.0</version>
</dependency>

We are using dependency azure-identity to use DefaultAzureCredentialBuilder, it is used to authenticate by the account information from environment variables and we use azure-security-keyvault-secrets dependency to connect to secret.

We have also setup environment variable with the value and client id in our _helpers.tpl file on aks.

By adding these dependencies, we are unable to bring up our application on aks.

Could someone please help us with the issue.

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,453 questions
Community Center | Not monitored
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.