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
For SSO profiles using IAM Identity Center, for example, there are cached credentials that can simply be read off the filesystem and provided to the user. The credential cache is under $HOME/.aws/sso/cache/, by default.
Question
Does the AWS PowerShell module have an equivalent (to the AWS CLI) command to retrieve the current credentials from the AWS credential cache?
When I Google'd for this, the best result I could find was this AWS CLI issue, but nothing directly related to an equivalent PowerShell command: aws/aws-cli#7388
I wonder if it's already implemented, and I'm just struggling to search for the correct term?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Background
The AWS CLI command has a sub-command to export the "current" temporary, cached credentials from a specified AWS profile.
For SSO profiles using IAM Identity Center, for example, there are cached credentials that can simply be read off the filesystem and provided to the user. The credential cache is under
$HOME/.aws/sso/cache/
, by default.Question
Does the AWS PowerShell module have an equivalent (to the AWS CLI) command to retrieve the current credentials from the AWS credential cache?
When I Google'd for this, the best result I could find was this AWS CLI issue, but nothing directly related to an equivalent PowerShell command: aws/aws-cli#7388
I wonder if it's already implemented, and I'm just struggling to search for the correct term?
Beta Was this translation helpful? Give feedback.
All reactions