sxacl-whoami man page

sxacl-whoami — print effective username


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


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.


-h, --help
Print help and exit
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.


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

See Also

sxacl-volshow(1), sxacl-volperm(1)


Explore man page connections for sxacl-whoami(1).