Skip to content

Commit

Permalink
Merge pull request #116 from genesis-community/persis-aws-secret-key-…
Browse files Browse the repository at this point in the history
…for-blobstore

Persist AWS Secret Key when using s3 blobstore
  • Loading branch information
ramonskie authored Jan 29, 2021
2 parents 1e1c2e5 + c493140 commit 31dd6b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hooks/new
Original file line number Diff line number Diff line change
Expand Up @@ -299,9 +299,10 @@ if [[ "$blobstore" == 's3' ]]; then
blobstore_s3_access_key=
prompt_for blobstore/s3:access_key secret-line --echo \
"What is your AWS Access Key for the '$blobstore_s3_bucket' S3 Bucket?"
blobstore_s3_secret_key=
prompt_for blobstore/s3:secret_key secret-line \
"What is your AWS Secret Key for the '$blobstore_s3_bucket' S3 Bucket?"
safe set --quiet "${GENESIS_SECRETS_BASE}blobstore/s3" access_key="$blobstore_s3_access_key"
safe set --quiet "${GENESIS_SECRETS_BASE}blobstore/s3" access_key="$blobstore_s3_access_key" secret_key="$blobstore_s3_secret_key"
else
features+=( "s3-blobstore-iam-instance-profile" )
if [[ "$isproto" == 'true' && -z "$aws_iam_profile_name" ]]; then
Expand Down

0 comments on commit 31dd6b9

Please sign in to comment.