Skip to content
SHC Docs

shc auth delete-ldap-bind

remove an LDAP bind; its password is refused for a new bind

Remove an LDAP bind through the ldap socket that made it. A new bind with its password is refused from then on, within a second where it was measured. A connection that is already bound stays bound and keeps reading until it closes: restart the consumer to end it.

A client of the realm that is not an LDAP bind is never touched, and a bind an installed app holds through its own ldap plug is refused: it goes with that app. Requires platform:manage (local socket, or a logged-in platform admin).

shc auth delete-ldap-bind <name> [flags]
shc auth delete-ldap-bind pfsense -t corp
-h, --help help for delete-ldap-bind
-t, --tenant string tenant whose realm holds the bind
--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)
-v, --verbose verbose output (default: $SHC_VERBOSE)
  • shc auth - authenticate the CLI against a cluster