Step 3: Create an AppRole with the desired policy (in this case ‘test-policy)

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
Create an AppRole named test-role which uses the “test-policy”
$ curl \
    --header "X-Vault-Token: s.SjsIRo41P8YSHGHyr4pL7mug" \
    --request POST \
    --data '{"policies": "test-policy"}' \
    http://127.0.0.1:8200/v1/auth/approle/role/test-role