Skip to content

Commit 58f1a8a

Browse files
committed
fix(ci): mask base64 credentials for GCP KMS
1 parent f9cfef2 commit 58f1a8a

File tree

1 file changed

+4
-1
lines changed
  • .github/workflows/actions/deploy-terraform-infrastructure

1 file changed

+4
-1
lines changed

.github/workflows/actions/deploy-terraform-infrastructure/action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,10 @@ runs:
217217
- name: Prepare variables
218218
shell: bash
219219
id: prepare
220-
run: echo "mithril_aggregator_ancillary_signer_gcp_kms_credentials_base64=$(echo '${{ inputs.mithril_aggregator_ancillary_signer_gcp_kms_credentials }}' | base64 -w 0)" >> $GITHUB_OUTPUT
220+
run: |
221+
MITHRIL_AGGREGATOR_ANCILLARY_SIGNER_GCP_KMS_CREDENTIALS_BASE64=$(echo '${{ inputs.mithril_aggregator_ancillary_signer_gcp_kms_credentials }}' | base64 -w 0)
222+
echo "::add-mask::$MITHRIL_AGGREGATOR_ANCILLARY_SIGNER_GCP_KMS_CREDENTIALS_BASE64"
223+
echo "mithril_aggregator_ancillary_signer_gcp_kms_credentials_base64=$MITHRIL_AGGREGATOR_ANCILLARY_SIGNER_GCP_KMS_CREDENTIALS_BASE64" >> $GITHUB_OUTPUT
221224
222225
- name: Prepare terraform variables
223226
shell: bash

0 commit comments

Comments
 (0)