Prerequisites

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
Artifactory should run with TLS enabled, refer to the following guide on How to enable TLS within the JFrog Platform 

Install Vault via the link here.
Start the Vault server
$ vault server -dev

This will display the seal key and root token. Save these valuesUnseal Key: WevOrb1cF….
Root Token: s.CC0yx8lLd...

Open a new terminal session
$ export VAULT_ADDR='http://127.0.0.1:8200'

Set the VAULT_TOKEN env variable to the Root Token value displayed above. It will look something like:
$ export VAULT_TOKEN="<Root Token>"

Now run vault status to see details about the running server
$ vault status