Articles in this section

How to validate Vault secret in Aerospike parameter?

Context

The required Vault secret for Aerospike is described on this documentation reference on Storing Aerospike secrets in Vault

 

How do I validate it is correct?


Method

You can use curl command to validate the Vault secret.

e.g. For the secret encryption-key-file, the curl will output something like this

 

curl --header "X-Vault-Token: $VAULT_TOKEN" https://aerospike-vault-0.test-runner:8220/v1/kv/data/encryption-key-file -k

{"request_id":"b45b293a-ab57-d7fe-9ec7-83513dd00598","lease_id":"","renewable":false,"lease_duration":2764800,"data":{"key":"gEVb/EHkNjZS1Dn4sHc0MW7xQWXNEJZhjl9goKYCuP (truncated)"},"wrap_info":null,"warnings":null,"auth":null}

The key-value pair has an entry of just "key".


Applies To Earliest Version

5.1

Applies To Latest Version

Current Version
Was this article helpful?
0 out of 0 found this helpful