Adding the GPG key from Valut to Artifactory

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
Once the vault is successfully configured in Artifactory, when navigating to Administration > Artifactory > Keys Management, and when adding a GPG key it will automatically detect that a vault is connected.

To add the GPG key from the vault:
  1. Choose the correct vault connector
  2. The “Name” and “Alias” can be filled according to your name preferences.
The “secret path” and the key ID were determined when the key was added to the vault. For example, previously we used the below command to add the public key.
vault kv put secret/gpg_pub_key pub_key=@public.key
Secret Path: secret/gpg_pub_key
Key ID: pub_key

User-added image