adj cluster rotate-token
Rotate a cluster's agent join token
Rotate a cluster's agent join token, invalidating the prior one.
The new token is shown ONCE — store it now. With -o json the response object (token) is emitted.
Usage
adj cluster rotate-token <id|name>
Global flags
| Flag | Shorthand | Default | Description |
|---|---|---|---|
--context |
— |
config context to use (overrides current-context) | |
--output |
-o | table |
output format: table|json|yaml |
--server |
— |
server base URL (overrides the active context) | |
--token |
— |
access token (overrides the active context) | |
--verbose |
-v | false |
log requests to stderr |