carta
sxacl-whoami(1)

sxacl-whoami1

Print effective username

Usage

sxacl whoami [OPTIONS] sx:// [profile@] cluster

Overview

sxacl whoami shows the username associated with the current authentication key. While a user name is not needed to configure access to a cluster, the user may need to identify itself within access control lists, which return the cluster side user names.

Options

-h, --help

Print help and exit

--full-help

Print help, including hidden options, and exit

-V, --version

Print version and exit

-r, --role

When this option is given, a user's role will be printed together with the name.

-v, --verbose

Print more details about the user, such as its role and quota settings.

-H, --human-readable

Convert all sizes (eg. quota limits) to an easily readable format.

-c, --config-dir=PATH

Path to the SX configuration directory (default: ~/.sx)

-D, --debug

Enable debug messages.

Examples

To show the username for the default profile for 'cluster' run:
sxacl whoami sx://cluster

From sx 2.0+ds-4+b1 in Debian 10 (Buster). Parsed by carta from the page's man source.