Step 5: Create a Secret Identifier Under the Role

ARTIFACTORY: How to Set Up Hashicorp Vault with Artifactory

AuthorFullName__c
Sam Rosenstein, Yoav Harel
articleNumber
000005152
ft:sourceType
Salesforce
FirstPublishedDate
2021-10-12T11:56:01Z
lastModifiedDate
2024-04-15
VersionNumber
4
* Save this value to use as SecretID in the connection settings in Artifactory
$ curl \
    --header "X-Vault-Token: s.SjsIRo41P8YSHGHyr4pL7mug" \
    --request POST \
     http://127.0.0.1:8200/v1/auth/approle/role/test-role/secret-id
"data":{"secret_id":"151b7163-8d49-833e-5398-52d815b7ddfc","secret_id_accessor":"f981c017-d8fb-fac1-a6c0-acf766e594f9","secret_id_ttl":0}

Verify the AppRole has the correct setting with the following API call:
$ curl \
    --header "X-Vault-Token:" \
    http://127.0.0.1:8200/v1/auth/approle/role/test-role