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
thrownewError('Could not get Account ID from STS. Did you set credentials?');
}
if(maskAccountId){
core.setSecret(accountId);
}
core.setOutput('aws-account-id',accountId);
returnaccountId;
}
it would be nice to have the ARN as well (e.g. from the same STS.GetCallerIdentity call).
Beyond providing it as an output that the calling workflow can use how it pleases, I'd also like to see the ARN output to logs by default, but I understand there are privacy/security implications to consider there.
Use Case
It's very useful to be able to expose the ARN to logs or for debugging/troubleshooting. Even this GitHub Action's README includes
aws sts get-caller-identity
in examples. :-)
Proposed Solution
No response
Other Information
No response
Acknowledgements
I may be able to implement this feature request
This feature might incur a breaking change
The text was updated successfully, but these errors were encountered:
Describe the feature
Similar to how the account id of the authenticated principal is set:
configure-aws-credentials/src/helpers.ts
Lines 57 to 70 in ffc9011
it would be nice to have the ARN as well (e.g. from the same STS.GetCallerIdentity call).
Beyond providing it as an output that the calling workflow can use how it pleases, I'd also like to see the ARN output to logs by default, but I understand there are privacy/security implications to consider there.
Use Case
It's very useful to be able to expose the ARN to logs or for debugging/troubleshooting. Even this GitHub Action's README includes
in examples. :-)
Proposed Solution
No response
Other Information
No response
Acknowledgements
The text was updated successfully, but these errors were encountered: