Hi @Sung Oh Park (Contractor) ,
Thanks for reaching out.
I understand that you are looking for dependencies to add Azure Key Vault Secret client library for Java.
First, you need to create resource group and key-vault using Azure Portal or Powershell and need to grant key vault permissions to your user account.
To connect with Azure Key Vault , Azure Key Vault Secret client library for Java allows you to manage secrets for which you need to add below dependencies in your pom.xml file to the group of dependencies.
<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>
and then need to import the below directives in java application file.
import com.azure.security.keyvault.secrets.SecretClient;
import com.azure.security.keyvault.secrets.SecretClientBuilder;
import com.azure.security.keyvault.secrets.models.DeletedSecret;
import com.azure.security.keyvault.secrets.models.KeyVaultSecret;
Then you need to authenticate to key vault, Once application is authenticated, you can store and retrieve the secret from key vault.
Reference doc: Quickstart - Azure Key Vault Secret client library for Java | Microsoft Learn
Hope this will help.
Thanks,
Shweta
------------------------------------------
Please remember to "Accept Answer" if answer helped you.