This action can be used to access release secrets from SSM.
It can also be used to download files from s3.
The repository must be configured with OIDC, allowing access to an AWS account.
This example uses the release-secrets action to get an NPM token.
- uses: launchdarkly/gh-actions/actions/release-secrets
name: 'Get NPM token'
with:
aws_assume_role: ${{ vars.AWS_ROLE_ARN }}
ssm_parameter_pairs: '/my/ssm/path/node_token = NODE_AUTH_TOKEN'
This example uses the release-secrets action to get a strong-naming key.
- uses: launchdarkly/gh-actions/actions/release-secrets
name: 'Get Strong Naming Key'
with:
aws_assume_role: ${{ vars.AWS_ROLE_ARN }}
s3_path_pairs: 'some/s3/path = local-path/file'