mccli info

Shows various information about the user and the service:

If an Access Token is provided, show information in the token, as well as info about the user retrieved from the token issuer.

If HOSTNAME is provided, show information about SSH service running on HOSTNAME: supported OIDC providers, service description and login info.

If both token and HOSTNAME are provided, also show authorisation information if issuer of token is supported on the service, as well as the status of the local account on service.

mccli info [OPTIONS] [HOSTNAME]

Options

--token <TOKEN>

Pass token directly. Environment variables are checked in given order.

--oa-account, --oidc <SHORTNAME>

Name of configured account in oidc-agent.

--iss, --issuer <URL>

URL of token issuer. Configured account in oidc-agent for this issuer will be used. Environment variables are checked in given order.

--mc-endpoint <URL>

motley_cue API endpoint. Default URLs are checked in given order: https://HOSTNAME, https://HOSTNAME:8443, http://HOSTNAME:8080

--insecure

Ignore verifying the SSL certificate for motley_cue endpoint, NOT RECOMMENDED.

--no-cache

Do not cache HTTP requests.

--debug

Sets the log level to DEBUG.

--log-level <LEVEL>

Either CRITICAL, ERROR, WARNING, INFO or DEBUG. Default value: ERROR.

--disable-version-check

Disable warnings if a new version of mccli is available for download on Pypi.

-h, --help

Show this message and exit.

-V, --version

Print program version and exit.

Arguments

HOSTNAME

Optional argument

Environment variables

['ACCESS_TOKEN', 'OIDC', 'OS_ACCESS_TOKEN', 'OIDC_ACCESS_TOKEN', 'WATTS_TOKEN', 'WATTSON_TOKEN']

Provide a default for --token

['OIDC_AGENT_ACCOUNT']

Provide a default for --oa-account

['OIDC_ISS', 'OIDC_ISSUER']

Provide a default for --iss

LOG

Provide a default for --log-level