logout command deletes the current token from Boundary and removes it from the local store.
The following example logs out the current user and removes the token from the credential store:
$ boundary logout
The token was successfully deleted within the Boundary controller.
The token was successfully removed from the local credential store.
$ boundary logout [options]
(string: "")- The type of keyring to use. This value defaults to
autoand uses the Windows credential manager, OSX keychain, or cross-platform password store, depending on the platform. Set this value to
noneto disable keyring functionality. Depending on the platform, the following types of keyring are supported:
(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.