Files
threshold/website/content/docs/commands/logout.mdx
T
Dan HeathandRobin Beck b442c1fa60 docs: Update meta content - CLI (#5343)
* docs: Update meta content - CLI

* docs: Edits for consistency

* docs: More edits for consistency

* Apply batch of suggestions from code review

Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com>

* Apply batch suggestions from code review

Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com>

* docs: Remove given id references

* Update read.mdx

* Update read.mdx

---------

Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com>
2024-12-17 14:13:18 -05:00

53 lines
1.5 KiB
Plaintext

---
layout: docs
page_title: logout - Command
description: >-
The `logout` command deletes the current token from Boundary and removes it from the local store.
---
# 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:
```shell-session
$ boundary logout
The token was successfully deleted within the Boundary controller.
The token was successfully removed from the local credential store.
```
## Usage
<CodeBlockConfig hideClipboard>
```shell-session
$ boundary logout [options]
```
</CodeBlockConfig>
### Command options
- `-keyring-type` `(string: "")` - The type of keyring to use.
This value defaults to `auto` and uses the Windows credential manager, OSX keychain, or
cross-platform password store, depending on the platform.
Set this value to `none` to disable keyring functionality.
Depending on the platform, the following types of keyring are supported:
- `wincred`
- `keychain`
- `pass`
- `secret-service`
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.