Skip to content

Sharing Secrets Between Environments #2940

Open
@dereksdev

Description

Is there a way to share secrets between environments? The requirement to tag each secret with copilot-environment leads me to believe this is not possible, but it would be useful for shared application secrets. I would like to be able to do the following:

  1. set up an SSM parameter with only tag copilot-application set to my application name
  2. reference the secret in the global secrets in manifest.yml:
secrets: 
  SECRET_NAME: /copilot/app_name/secrets/SECRET_NAME

This process currently results in an error: ResourceInitializationError: unable to pull secrets or registry auth: execution resource retrieval failed: unable to retrieve secrets from ssm

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    size/MWe should be able to deliver roughly 1 medium issue in a sprint.type/featureIssues that are new feature requests.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions