mirror of
https://github.com/aws-actions/configure-aws-credentials.git
synced 2026-12-01 04:04:24 +01:00
feat: role-chaining
This commit is contained in:
8 files changed
+67
-70
No files matched your search
+1
-1
@@ -17616,7 +17616,7 @@ function exportRegion(region) {
|
||||
exports.exportRegion = exportRegion;
|
||||
// Obtains account ID from STS Client and sets it as output
|
||||
async function exportAccountId(credentialsClient, maskAccountId) {
|
||||
const client = credentialsClient.getStsClient();
|
||||
const client = credentialsClient.stsClient;
|
||||
const identity = await client.send(new client_sts_1.GetCallerIdentityCommand({}));
|
||||
const accountId = identity.Account;
|
||||
if (!accountId) {
|
||||
|
||||
Reference in new issue
Block a user