shc vault
shc vault set
Section titled “shc vault set”Set a secret:
shc vault set db_password mypassword123shc vault set db_password --generateshc vault set api_key secret123 --scope globalshc vault set admin_password s3cure! --scope tenantshc vault get
Section titled “shc vault get”Retrieve a secret:
shc vault get db_passwordshc vault get db_password --scope stackResolution cascades from most precise (deployment) to least precise (tenant).
shc vault exists
Section titled “shc vault exists”Check if a secret exists:
shc vault exists db_passwordshc vault exists db_password --scope tenantshc vault ls
Section titled “shc vault ls”List secrets:
shc vault lsshc vault ls --scope tenantshc vault ls --output jsonshc vault rm
Section titled “shc vault rm”Remove a secret:
shc vault rm old_password -yshc vault rm temp_key --scope deployment -yshc vault rm old_password --scope base -ySee Also
Section titled “See Also”shc@docs:~$