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-09-21T03:07:22.545+0000.
Checking account and version information with the ROSA CLI - ROSA CLI | CLI tools | Red Hat OpenShift <strong>service</strong> 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