logout
Command: boundary logout
The logout
command deletes the current token from Boundary and removes it from the local store.
Examples
The following example logs out the current user and removes the token from the credential store:
Usage
Command options
-keyring-type
(string: "")
- The type of keyring to use. This value defaults toauto
and uses the Windows credential manager, OSX keychain, or cross-platform password store, depending on the platform. Set this value tonone
to disable keyring functionality. Depending on the platform, the following types of keyring are supported:You can also specify the keyring using the BOUNDARY_KEYRING_TYPE environment variable.
-token-name
(string: "")
- The name to use when Boundary loads the token from the system credential store. If you specify a token name, it must correspond to the name you use for authentication. You can also be specify a token name using the BOUNDARY_TOKEN_NAME environment variable.