libopenstorage / secrets

Openstorage support for Key Management Systems
Apache License 2.0
16 stars 16 forks source link

Azure Key vault support #19

Closed ram-infrac closed 5 years ago

ram-infrac commented 5 years ago

This PR add support for azure key vault, operation supported currently now are - GetSecret - Get secret with id from Azure KV PutSecret - Put secret data into azure KV DeleteSecret - Delete secret with ID from Azure KV

To test -

  1. Export following environment variable AZURE_TENANT_ID - Azure active directory tenant ID AZURE_CLIENT_ID - Azure application ID AZURE_CLIENT_SECRET - Azure application Secret AZURE_VAULT_URL - Azure key vault endpoint URL AZURE_ENVIORNMENT Note: Application should have acl permission set for given vault URL. Permission needed - secrets - set/get/delete
  2. Run go test -v ./azure