Open joneubank opened 2 years ago
Modify config to have a getSecrets() method that will return the secret values stored in vault.
getSecrets()
Will need to add environment variables to connect to and read from vault.
As a model for how to do this: https://github.com/icgc-argo/files-service/blob/develop/src/external/vault.ts https://github.com/icgc-argo/files-service/blob/develop/src/config.ts#L96
This service needs to read from vault:
Modify config to have a
getSecrets()
method that will return the secret values stored in vault.Will need to add environment variables to connect to and read from vault.
As a model for how to do this: https://github.com/icgc-argo/files-service/blob/develop/src/external/vault.ts https://github.com/icgc-argo/files-service/blob/develop/src/config.ts#L96
This service needs to read from vault: