This is a cache of https://docs.openshift.com/rosa/cli_reference/rosa_cli/rosa-checking-acct-version-cli.html. It is a snapshot of the page at 2024-11-23T03:07:30.088+0000.
Checking account and version information with the ROSA <strong>cli</strong> - ROSA <strong>cli</strong> | <strong>cli</strong> tools | Red Hat OpenShift Service on AWS
×

Use the following commands to check your account and version information.

whoami

Display information about your AWS and Red Hat accounts by using the following command syntax:

Syntax
$ rosa whoami [arguments]
Table 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

version

Display the version of your rosa cli by using the following command syntax:

Syntax
$ rosa version [arguments]
Table 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