kxi auth
Authentication and authorization commands.
Usage:
text
kxi auth [OPTIONS] COMMAND [ARGS]...
Options:
text
--help Show this message and exit.
kxi auth get-admin-token
Get an admin access token for the Keycloak Admin API.
Usage:
text
kxi auth get-admin-token [OPTIONS]
Options:
text
--username TEXT Keycloak admin username [required]
--password TEXT Keycloak admin password [required]
--help Show this message and exit.
kxi auth login
Authenticate as a user or service account.
Usage:
text
kxi auth login [OPTIONS]
Options:
text
--redirect-host TEXT Web host to serve token request after login
--redirect-port INTEGER Port to serve token request after login
--serviceaccount Use service account login flow
--force-code Force manual verification code flow (non-local
browser)
--help Show this message and exit.
kxi auth print-token
Get an access token for a serviceaccount id and secret.
Usage:
text
kxi auth print-token [OPTIONS]
Options:
text
--help Show this message and exit.
kxi auth roles
Get roles from an access token.
Usage
text
kxi auth roles [OPTIONS]
Options
text
--help Show this message and exit.
kxi auth status
Get the status of the current user logged in.
Usage
text
kxi auth status [OPTIONS]
Options
text
--redirect-host TEXT Web host to serve token request after login
--redirect-port INTEGER Port to serve token request after login
--force-code Force manual verification code flow (non-local
browser)
--help Show this message and exit.