Merge pull request #34149 from hudsonb/bhudson/aws-wif-token-file
feat(integration-aws-node): add per-account webIdentityTokenFile config
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
---
|
||||
'@backstage/integration-aws-node': minor
|
||||
---
|
||||
|
||||
Added `webIdentityTokenFile` to `AwsIntegrationAccountConfig` and
|
||||
`AwsIntegrationDefaultAccountConfig`. When set along with a `roleName`,
|
||||
`DefaultAwsCredentialsManager` retrieves credentials by calling
|
||||
`AssumeRoleWithWebIdentity` (via `fromTokenFile`) using the file's
|
||||
contents as the web identity token. The file is re-read on each
|
||||
credential refresh.
|
||||
|
||||
The validator rejects combining `webIdentityTokenFile` with
|
||||
`accessKeyId`/`secretAccessKey`, `profile`, or `externalId`, and
|
||||
rejects setting it without a `roleName`.
|
||||
Reference in New Issue
Block a user