3] Add the keys to Vault

Hashicorp Vault Setup Instructions

AuthorFullName__c
Patrick Russell
articleNumber
000005145
ft:sourceType
Salesforce
FirstPublishedDate
2021-09-27T15:38:13Z
lastModifiedDate
2021-09-27
VersionNumber
5

We need to add these keys to the Vault to authenticate with them. The last two gpg commands should have produced a "public.key / private.key" pair of files, and the vault command line interface accepts these files as inputs:
 

vault kv put secret/gpg_pub_key pub_key=@public.key 
vault kv put secret/gpg_priv_key priv_key=@private.key 
vault kv put secret/passphrase pp=Password1


Ensure that the values were properly created:

vault kv get secret/gpg_pub_key

vault kv get secret/gpg_priv_key

vault kv get secret/passphrase