A module for reading Google Secret Manager secrets in Nest.
$ yarn add @qte/nest-google-secret-manager
Import and use the module with a list of secrets to preload.
SecretManagerModule.register({
secrets: ['project/some-project/secrets/some-secret/versions/latest'],
})
Use the SecretManagerService
to get any preloaded secret, or to dynamically load more secrets.
@qte/nest-google-secret-manager is MIT licensed.