ExtConfigProvider v1.0.0 ExtConfigProvider.Client.AwsSecretsManager View Source

The SecretsManager Client queries the AWS Secrets Manager

Requires the ExAws and ExAws.SecretsManager packages.

The profile making the api call needs secretsmanager:GetSecretValue permission on the resource.

Link to this section Summary

Functions

Get config for given key. config_overrides are passed on to ExAws.request/2.

Link to this section Functions

Link to this function

get_config(path, config_overrides \\ [], api_client \\ ExAws)

View Source

Get config for given key. config_overrides are passed on to ExAws.request/2.

Example

AwsSecretsManager.get_config("app/prod")

AwsSecretsManager.get_config("app/prod", [region: "eu-west-1"])