request-token
info
This command requires the remote storage plugin
8BitSafe-cli [common options] remote request-token [options]
| optional arguments | description |
|---|---|
| --clipboard | Copy request and response to clipboard (Win32) |
Description
This interactive command generates a request token for use with the website when generating secrets, for example creating a new API token.
The request token contains a public key allowing the website to encrypt the response so that only your client can decrypt it.
warning
The encrypted response needs to be decrypted by this command before use, you cannot use the value directly in something like BS_API_TOKEN
Clipboard
On support platforms when --clipboard is passed the request token is copied to your clipboard.
Then when you return to the CLI you can press enter and the client will read the response from your clipboard.
The decrypted payload will then be copied to your clipboard.