Azure Key Vault sample for managing key vaults - - Create a key vault - Authorize an application - Update a key vault - alter configurations - change permissions - Create another key vault - List key vaults - Delete a key vault.
To run this sample:
Set the environment variable
AZURE_AUTH_LOCATION with the full path for an auth file. See how to create an auth file.
git clone https://github.com/Azure-Samples/key-vault-java-manage-key-vaults.git cd key-vault-java-manage-key-vaults mvn clean compile exec:java
If you don't have a Microsoft Azure subscription you can get a FREE trial account here