Referenceoctopaas CLI
octopaas whoami
Who you are signed in as, and where
Show the platform, the profile and the credential in use, and the account it acts as, with your roles. With an API key, the roles are the ones the key carries that you may still give it, which is all it may do.
It says where each came from (a flag, the environment or the config, or for an environment nobody named, the API key it is bound to), which is the quickest way to find out why octopaas is talking to the platform it is.
octopaas whoamiExamples
octopaas whoami
octopaas whoami -o json | jq -r .user.email
OCTOPAAS_PROFILE=local octopaas whoami