mirror of
https://github.com/aws-actions/configure-aws-credentials.git
synced 2026-06-08 13:47:06 +00:00
chore: Update dist
This commit is contained in:
parent
1dfb9b5b42
commit
fcf6a5e397
1 changed files with 5 additions and 1 deletions
6
dist/index.js
generated
vendored
6
dist/index.js
generated
vendored
|
|
@ -207,7 +207,11 @@ async function assumeRole(params) {
|
|||
PolicyArns: managedSessionPolicies?.length ? managedSessionPolicies : undefined,
|
||||
};
|
||||
const keys = Object.keys(commonAssumeRoleParams);
|
||||
keys.forEach((k) => commonAssumeRoleParams[k] === undefined && delete commonAssumeRoleParams[k]);
|
||||
keys.forEach((k) => {
|
||||
if (commonAssumeRoleParams[k] === undefined) {
|
||||
delete commonAssumeRoleParams[k];
|
||||
}
|
||||
});
|
||||
// Instantiate STS client
|
||||
const stsClient = credentialsClient.stsClient;
|
||||
// Assume role using one of three methods
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue