Cloud Glance CLI
The Cloud Glance CLI can not be used as a stand-alone application, it communicates with Cloud Glance that must be installed and open.
Installation
The CLI must be installed globally, on certain operating systems like Mac, it requires a sudo
install.
npm install @systanics/cloudglance -g
Usage
Usage: cloudglance <command> [options]
Commands:
cloudglance --aws-profile-name=<profile-name> Used to identify the Cloud Glance profile that is associated with AWS profile name.
Options:
--return-credential-process Returns STS credentials according to the AWS credential_process format
--help Show help
--version Show version number
Examples:
Get STS credentials for the associated Cloud Glance Profile. Returns them according to the credential_process format.
cloudglance --aws-profile-name=my-profile --return-credential-process
The Cloud Glance CLI is used for reading temporary STS credentials from profiles as managed by Cloud Glance. If the
profile has encrypted AWS secret values, then Cloud Glance would have added the credentials_process
property
to that profile so that it can use the CLI to communicate with Cloud Glance.
This means you can continue to use your aws ...
CLI commands as per usual. If you have MFA or SSO session, the CLI will
prompt and wait until you have completed the required action in Cloud Glance before returning the temporary STS credentials.