Chapter 3. Checking account and version information with the ROSA CLI
3.1. Checking account and version information with the ROSA CLI
Use the following commands to check your account and version information with the Red Hat OpenShift Service on AWS (ROSA) CLI, rosa
.
3.1.1. whoami
Display information about your AWS and Red Hat accounts.
Syntax
$ rosa whoami [arguments]
Table 3.1. Optional arguments inherited from parent commands
Option | Definition |
---|---|
--help | Shows help for this command. |
--debug | Enables debug mode. |
--profile | Specifies an AWS profile (string) from your credentials file. |
Example
$ rosa whoami
3.1.2. version
Display the version of your Red Hat OpenShift Service on AWS (ROSA) CLI, rosa
.
Syntax
$ rosa version [arguments]
Table 3.2. Optional arguments inherited from parent commands
Option | Definition |
---|---|
--help | Shows help for this command. |
--debug | Enables debug mode. |
--profile | Specifies an AWS profile (string) from your credentials file. |
Example
$ rosa version