shc auth
shc auth
Section titled “shc auth”authenticate the CLI against a cluster
Synopsis
Section titled “Synopsis”Authenticate the SHC CLI against a cluster via browser SSO (OAuth 2.0 Device Authorization Grant) and manage the stored session.
Options
Section titled “Options” -h, --help help for authOptions inherited from parent commands
Section titled “Options inherited from parent commands” --config stringArray extra YAML config file to layer on top of auto-discovered config; repeatable, later files win -d, --debug enable debug mode (default: $SHC_DEBUG) -e, --environment string environment name (default: "prod", or "default" on an estate with no licence and no trial; $SHC_ENVIRONMENT and shc ctx -e override it, and the "master" tenant is always "default") --exclude string comma-separated dotted paths to drop --fields string comma-separated columns/keys to show (and their order) --filter string comma-separated dotted paths to keep (drops everything else) -o, --output string output format: tty|text|json|yaml (default: $SHC_OUTPUT) -s, --stack string stack name (default: $SHC_STACK) -t, --tenant string tenant name (default: $SHC_TENANT) -v, --verbose verbose output (default: $SHC_VERBOSE)SEE ALSO
Section titled “SEE ALSO”- shc - Selfhosted Cloud CLI
- shc auth create-identity-provider - declare an external OIDC identity provider
- shc auth create-ldap-bind - make an LDAP bind for a consumer SHC does not run
- shc auth create-oidc-client - create a standalone tenant OIDC client
- shc auth create-service-client - mint a confidential service-account client for automation (terraform/CI)
- shc auth delete-identity-provider - remove an identity provider
- shc auth delete-ldap-bind - remove an LDAP bind; its password is refused for a new bind
- shc auth delete-oidc-client - remove a standalone tenant OIDC client
- shc auth delete-service-client - remove a confidential service-account client; its secret stops working
- shc auth get-identity-provider - read an identity provider’s configuration
- shc auth get-oidc-client - read a standalone tenant OIDC client’s configuration
- shc auth list-ldap-binds - list a tenant’s LDAP binds, without their passwords
- shc auth list-service-clients - list the confidential service-account clients, without their secrets
- shc auth login - log in to a cluster via browser SSO
- shc auth logout - clear this machine’s stored tokens for a cluster (local only)
- shc auth token - print the stored access token for a cluster
- shc auth update-identity-provider - replace an identity provider’s configuration
- shc auth update-oidc-client - replace a standalone tenant OIDC client’s configuration
shc@docs:~$