* Update website folder to indicate deprecation Adds an alert banner to the top of all MDX files within `/website` to indicate deprecation * Update website README
58 lines
2.0 KiB
Plaintext
58 lines
2.0 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.
|
|
---
|
|
|
|
⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️
|
|
> [!IMPORTANT]
|
|
> **Documentation Update:** Product documentation previously located in `/website` has moved to the [`hashicorp/web-unified-docs`](https://github.com/hashicorp/web-unified-docs) repository, where all product documentation is now centralized. Please make contributions directly to `web-unified-docs`, since changes to `/website` in this repository will not appear on developer.hashicorp.com.
|
|
⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️
|
|
|
|
# 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. |