Skip to content

Missing documentation for loading Secret Manager secrets as SSM parameters #121

@albertocorrales

Description

@albertocorrales

Describe the issue

Looking at the implementation of this library, we can load secrets from Secrets Manager as SSM parameters, based on this documentation: https://docs.aws.amazon.com/systems-manager/latest/userguide/integration-ps-secretsmanager.html

However, this is not mentioned in the documentation of the library. In order to make it work, it would be good to describe the particularities to work secrets manager, like:

  • You have to use as path the following format /aws/reference/secretsmanager/secret_ID_in_Secrets_Manager
  • You cannot use wildcards, you will need an entry per secret
  • In your secret, you have to define one or multiple key-value entries, which will be loaded as a configuration in the dotnet app. Adding an example would help to understand this point.

Links

This file should contain the documentation mentioned above: https://github.com/aws/aws-dotnet-extensions-configuration/blob/master/README.md

Then, for this file https://github.com/aws/aws-dotnet-extensions-configuration/blob/master/src/Amazon.Extensions.Configuration.SystemsManager/SystemsManagerExtensions.cs, it would be good to remove that SecretsManager is not supported, because it is actually supported.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions