Skip to content

Commit

Permalink
Use secret value directly
Browse files Browse the repository at this point in the history
  • Loading branch information
cheran-senthil committed Sep 24, 2024
1 parent c7fe1ba commit d38041b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,7 @@ jobs:
aws configure set default.region $AWS_REGION
# Download secrets file from S3
SECRETS_URL="<< pipeline.parameters.SECRETS >>"
aws s3 cp "$SECRETS_URL" ~/project/encrypted_secrets.json
aws s3 cp << pipeline.parameters.SECRETS >> ~/project/encrypted_secrets.json
# Decrypt the secrets
DECRYPTED_JSON=$(node ~/project/decrypt.js "$(cat ~/project/encrypted_secrets.json)")
Expand Down

0 comments on commit d38041b

Please sign in to comment.