-
Notifications
You must be signed in to change notification settings - Fork 7
Vault
Dann edited this page Nov 5, 2020
·
1 revision
ScholarSphere uses hashicorp's vault tool to store sensitive information, on app startup, the deployment picks up values from the vault, and injects them into the containers environment.
Related: Vault client setup ( https://sites.psu.edu/dltdocs/?p=5380 )
vault kv get secret/app/scholarsphere/prod
vault kv get -field=DATACITE_ENDPOINT secret/app/scholarsphere/prod
vault kv get -field=DATACITE_ENDPOINT secret/app/scholarsphere/prod | pbcopy
vault kv patch secret/app/scholarsphere/prod FOO=bar
after adding a secret, you'll need to rollout any deployments that need it
kubectl rollout restart deployment/scholarsphere
kubectl rollout restart deployment/scholarsphere-sidekiq