Skip to content

vsevel/poc-akv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quarkus - Azure Key Vault

Provides an Azure Key Vault Microprofile config source extension.

Getting Started

To get started, add the following dependency:

<dependency>
    <groupId>io.quarkiverse.quarkus-azure-key-vault</groupId>
    <artifactId>quarkus-azure-key-vault</artifactId>
</dependency>

Configure the following properties:

quarkus.azure-key-vault.enabled=true
quarkus.azure-key-vault.url=https://myvault.vault.azure.net
quarkus.azure-key-vault.tls.skip-verify=true

quarkus.azure-key-vault.tenant-id=65365722-...
quarkus.azure-key-vault.client-id=1462f469-...
quarkus.azure-key-vault.client-secret=l.5P...

quarkus.azure-key-vault.prefix=myprops

Assuming, myvault contains secret mysecret=s3cr3t, you can now code:

@ApplicationScoped
public class SomeClass {

    @ConfigProperty(name = "myprops.mysecret")
    String secret;
...
}

Instance variable secret will contain s3cr3t.

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Vincent Sevel

💻 🚧

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages