The following section includes sample scripts that automate authentication with multiple Amazon Web Services (AWS) and Google Cloud Platform (GCP) accounts.
Authenticating multiple AWS accounts without MFA
Click here to download an example Python script that authenticates
multiple accounts without multi-factor authentication.
Note:
- You must open the script with a text editor and modify the BlueCat Gateway, Address Manager, and AWS credentials for your environment.
- When downloading the script from the BlueCat Product Documentation Portal, the zip file name displays a hashed value. Once you extract the zip file, the correct script name appears.
Authenticating multiple AWS accounts with MFA
Click here to download an example Python script that authenticates
multiple accounts multiple accounts with multi-factor authentication.
Note:
- You must open the script with a text editor and modify the BlueCat Gateway, Address Manager, and AWS credentials for your environment.
- When downloading the script from the BlueCat Product Documentation Portal, the zip file name displays a hashed value. Once you extract the zip file, the correct script name appears.
Attention: Multi-factor authentication codes expire within 30 seconds and
can only be used once. If you are authenticating with multiple accounts that require
multi-factor authentication, you must enter multiple authentication codes.
Authenticating multiple GCP accounts
Click here to download an example Python script that authenticates multiple accounts.
Note:
- You must open the script with a text editor and modify the BlueCat Gateway, Address Manager, and GCP credentials for your environment.
- When downloading the script from the BlueCat Product Documentation Portal, the zip file name displays a hashed value. Once you extract the zip file, the correct script name appears.