Skip to content
Railgrid Docs
Sections
Open console

Enter a topic to search documentation.

    railgrid logout

    Forget the hub credentials on this machine

    Synopsis

    Delete the cached OIDC tokens for the hub and remove the railgrid kubeconfig context (and every railgrid-<edge> context created by ‘railgrid connect’). The hub-side session is untouched; log in again with ‘railgrid login’.

    Terminal
    railgrid logout [flags]

    Options

    TEXT
      -h, --help                 help for logout
          --keep-edge-contexts   Keep the railgrid-<edge> contexts (they stop working until you log in again)

    Inherited options

    TEXT
          --insecure-skip-tls-verify   Skip TLS certificate verification when talking to the hub
          --kubeconfig string          Path to the kubeconfig file (default: $KUBECONFIG, then ~/.kube/config)

    See also

    • railgrid — railgrid: an open-source control plane for platform teams