supercluster-covid-data-portal / etl

GNU Affero General Public License v3.0
0 stars 1 forks source link

Read Secrets from Vault #5

Open joneubank opened 2 years ago

joneubank commented 2 years ago

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: