Azure Key vault with Azure Web App Spring boot- part 09

Shalika Prasad
2 min readAug 10, 2020

Lets continue our third part related to Deploy Your Azure Web Application tutorial.

This is good method for hiding our credential details from other users. If you think, that your software company works more developer. You have give permission to edit code in your web projects. Then, you know, we want to add Database credentials, Storage, Redis cache credentials to your code. That is unsecured, other user can access or attack your Database like resources using that credentials. So, This is good method for hiding our credentials very easy.

Azure Key vault is cloud hosted, HSM (Hardware Security Modules) that is safeguard and manage digital keys. It is backed service for managing cryptographic keys and other secrets.

It is also support to software keys. As well as It can access as a centralized store for sensitive information and encryption keys.

Secrets :

  • Octet sequences with no semantics
  • Connection strings, passwords, etc.

As well as, you can simply create with Azure.

  • Now, you can see dashboard, after click secret tab to create secret for your web app. I hope to use it to hide my Database credentials in Azure spring boot back-end.
  • When creating a secret, you can use name as bellow patterns to integrate database URL. And add database URL as Value.
spring.datasource.url => spring-datasource-url

Next, we go to part 10 related to Deploy Your Azure Web Application tutorial.

Azure Firewall with Azure Web App — part 10

--

--