Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 1.5 KB

README.md

File metadata and controls

53 lines (37 loc) · 1.5 KB

Manorrock Eagle

Azure Key Vault Certificate implementation

If you want to use Azure Key Vault Certificates as a Key-Value store you will need to do the following.

  1. Add the dependency.
  2. Create the CertificateKeyValueStore.

Add the dependency

To start add the following dependency.

    <dependency>
        <groupId>com.manorrock.eagle.azure</groupId>
        <artifactId>eagle-azure-keyvault-certificate</artifactId>
        <version>MY_VERSION</version>
    </dependency>

Where MY_VERSION should be replaced wit the version you want to use.

Create the CertificateKeyValueStore

The following code snippet will get your started.

    CertificateKeyValueStore store = new CertificateKeyValueStore(
        "endpoint"
    );

Then the rest is using the KeyValueStore APIs.

Overriding the Azure Key Vault Certificate dependency

Beneath the covers the Azure Key Vault Certificate implementation uses Azure Key Vault Certificates library. If your own project uses the Azure Key Vault Certificates library, or any of its dependencies you should be aware of this. Note the version of the Azure Key Vault Certificates library dependency that this implementation uses can be found in the pom.xml file of this module.

Factory properties

If you want to create the CertificateKeyValueStore using the KeyValueStoreFactory use the following properties.

Key Value
className com.manorrock.eagle.azure.keyvault.certificate.CertificateKeyValueStore
endpoint the endpoint