You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: document container credentials provider support (and delete transitive tags in AssumeRoleWithWebIdentity) (#1780)
* chore: document container credentials provider support (and delete transitive tags in AssumeRoleWithWebIdentity)
Closes#1546Closes#942
Documents that eks and codebuild work when using the role-chaining flag.
* revert force-skip-oidc changes
* README changes for Container Credentials and adding missing input options
* linting
---------
Co-authored-by: Michael Lehmann <lehmanmj@amazon.com>
Copy file name to clipboardExpand all lines: README.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -168,6 +168,7 @@ detail.
168
168
| role-session-name | Defaults to "GitHubActions", but may be changed if required. | No |
169
169
| role-skip-session-tagging | Skips session tagging if set. | No |
170
170
| transitive-tag-keys | Define a list of transitive tag keys to pass when assuming a role. | No |
171
+
| custom-tags | Additional tags to apply to the assumed role session. Must be a JSON object provided as a string. Custom tags are not usable with OIDC or web identity token authentication. | No |
171
172
| inline-session-policy | You may further restrict the assumed role policy by defining an inline policy here. | No |
172
173
| managed-session-policies | You may further restrict the assumed role policy by specifying a managed policy here. | No |
173
174
| output-credentials | When set, outputs fetched credentials as action step output. (Outputs aws-access-key-id, aws-secret-access-key, aws-session-token, aws-account-id, authenticated-arn, and aws-expiration). Defaults to false. | No |
@@ -180,6 +181,8 @@ detail.
180
181
| allowed-account-ids | A comma-delimited list of expected AWS account IDs. The action will fail if we receive credentials for the wrong account. | No |
181
182
| force-skip-oidc | When set, the action will skip using GitHub OIDC provider even if the id-token permission is set. | No |
182
183
| action-timeout-s | Global timeout for the action in seconds. If set to a value greater than 0, the action will fail if it takes longer than this time to complete. | No |
184
+
| no-proxy | Hosts to skip for the proxy configuration. | No |
185
+
| sts-endpoint | Custom STS endpoint URL. Use this to point to an STS-compatible API (e.g. MinIO, LocalStack) instead of the default AWS STS endpoint for the region. | No |
183
186
184
187
</details>
185
188
@@ -617,6 +620,14 @@ For further information on OIDC and GitHub Actions, please see:
617
620
- [GitHub docs: Configuring OpenID Connect in Amazon Web Services](https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services)
Copy file name to clipboardExpand all lines: action.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ inputs:
34
34
description: Use the web identity token file from the provided file system path in order to assume an IAM role using a web identity, e.g. from within an Amazon EKS worker node.
35
35
required: false
36
36
role-chaining:
37
-
description: Use existing credentials from the environment to assume a new role, rather than providing credentials as input.
37
+
description: Use existing credentials from the environment to assume a new role, rather than providing credentials as input. This is sometimes useful when running on a self-hosted runner with container-sourced credentials.
38
38
required: false
39
39
audience:
40
40
description: The audience to use for the OIDC provider
0 commit comments