Home > other >  How to get or retrive keys/secrets from azure key vault by using spring boot application
How to get or retrive keys/secrets from azure key vault by using spring boot application

Time:09-28

Unable to get the correct solution with similar posts

Here I'm facing problem, while passing the only uri in properties File application is not wokring. Get or post cal is not working

CodePudding user response:

To see the secrets for your application you can configure the following steps

We have to enable managed identity for our application

enter image description here

here we can see the loaded secrets to the keyvault as below enter image description here

From the Secrets we can select anyone of the secret to see the data as below: enter image description here

enter image description here

So we can control the distribution of secrets to reduce any accidental leakage by centralizing storage of application secrets, Only application can securely access the secrets. Because everything is controlled using RBAC to the keyword.

When an app is loading secrets it will be authenticated and authorized using Azure active directory and Azure RBAC we can monitor the access and use of secrets in keyword.

For more information please refer the below Microsoft documentation:

. Deploy your first Azure Spring Cloud application| MS DOC .

. Read a secret from Azure Key Vault in a Spring Boot application | MS DOC .

  • Related