From 32eb1b4a6692b0a851328355719189b79118a174 Mon Sep 17 00:00:00 2001 From: Jackson Welsh Date: Tue, 21 Feb 2023 20:36:17 -0600 Subject: [PATCH] feat: document mask-aws-account-id input (#606) Closes aws-actions#304 Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 471a9a8c6..9c8277bf5 100644 --- a/README.md +++ b/README.md @@ -139,6 +139,17 @@ In this example, the audience has been changed from the default to use a differe Changing the default audience may be necessary when using non-default [AWS partitions](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html). +```yaml + - name: Configure AWS Credentials + uses: aws-actions/configure-aws-credentials@v1 + with: + aws-region: us-east-2 + role-to-assume: arn:aws:iam::123456789100:role/my-github-actions-role + role-session-name: MySessionName + mask-aws-account-id: false +``` +In this example, account ID masking has been disabled. By default, the AWS account ID will be obscured in the action's output. This may be helpful when debugging action failures. + ### Sample IAM Role CloudFormation Template ```yaml Parameters: