Skip to content

(ecs): Support version stages and version ids in Secret.fromSecretManager  #18123

@hoegertn

Description

@hoegertn

Description

When calling Secret.fromSecretsManager you cannot specify a version stage or version id.
It would be great to be able to do this.

Use Case

Referencing a specific version of a secret to provide determinism and updatability.

Proposed Solution

Add a new Secret.fromSecretsManagerVersion method that allows a stage or id to be provided. It will then be added to the secret string handed over to ECS.

Other information

No response

Acknowledge

  • I may be able to implement this feature request
  • This feature might incur a breaking change

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-ecsRelated to Amazon Elastic Containereffort/mediumMedium work item – several days of effortfeature-requestA feature should be added or improved.p2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions