Install Vault binary
brew tap hashicorp/tap brew install hashicorp/tap/vault
Start Vault dev server
make start
In a separate shell, build plugin binary
make build
Export Vault url and enable plugin
export VAULT_ADDR='http://127.0.0.1:8200' make enable
Export auth token and write it to the vault
export TOKEN=<Your Artifactory auth token>
vault write artifactory/config/admin \
url=http://127.0.0.1:8200/artifactory \
access_token=$TOKEN