Example: authentication with multiple AWS and GCP accounts - Adaptive Applications - BlueCat Gateway - 22.1.1

Cloud Discovery & Visibility Administration Guide

Locale
English
Product name
BlueCat Gateway
Version
22.1.1

The following section contains downloads for example scripts that automate authentication with multiple AWS and 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.