AwsSSORoleHelper

1.0.0.4

This is a simple utility script that allows you to retrieve credentials for AWS accounts that are secured using AWS SSO.
Access tokens are cached locally to prevent the need to be pushed to a web browser each time you invoke the script (this is similar behaviour to aws cli v2).
Main usability enhancement compared to aws cli 2 is the abillity to retrieve all credenti
This is a simple utility script that allows you to retrieve credentials for AWS accounts that are secured using AWS SSO.
Access tokens are cached locally to prevent the need to be pushed to a web browser each time you invoke the script (this is similar behaviour to aws cli v2).
Main usability enhancement compared to aws cli 2 is the abillity to retrieve all credentials for all accounts that you have access to.  
You can optionally specify a rolename with the -RoleName parameter and retrieve all credentials for that rolename across all of your accounts.
Alternatively you can specify an AccountID by using the -AccountID parameter and retrieve all credentials for that AccountID.
Region is set to US-East-1 by default as this is the only region that currently supports AWS SSO.
Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name AwsSSORoleHelper

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name AwsSSORoleHelper

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2019 0xw1sky. All rights reserved.

Package Details

Author(s)

  • 0xw1sky

Tags

AWS SSO OIDC

Functions

Get-AwsSSORoleCredential

Dependencies

This module has no dependencies.

FileList

Version History

Version Downloads Last updated
1.0.0.4 (current version) 765 5/4/2020