dicer token rotate
Gives a token a new secret, and prints the token anew. The old one is
refused from its next call. A stream already open with it goes on until
it ends. Give the new one to whatever used the old, with
dicer remote delete and dicer remote create.
Usage
$ dicer token rotate NAME [flags]
Flags
| Flag | Description |
|---|---|
--format string | Output format: table for the token alone, json or yaml. Default: table. |
--secret-stdin | Read the token’s new secret from standard input. |
Global flags
| Flag | Description |
|---|---|
-D, --debug | Trace every call to the daemon on stderr (or set $DICER_DEBUG). |
-r, --remote string | Daemon to talk to: a remote’s name, or an address (unix:///PATH or HOST:PORT) (default $DICER_REMOTE, then the current remote, then local). |
--request-timeout duration | Give up on a single call to the daemon after this long, e.g. 30s (0: never; streams such as logs -f and exec are not bounded). |