rykloud mail keys create
Make an API key holding only the scopes you name; the token is shown once
Usage
rykloud mail keys create NAME [flags]Examples
rykloud mail keys create store --scope mail:send --domain northwind.example --output-file store.key
rykloud mail keys create ci --scope sending:read -o json | jq -r .tokenFlags
- --allow-ip
- an address or CIDR range it may be used from (repeat for several)
- --domain
- hold it to this domain of yours (repeat for several)
- --expires-in-days
- days until it stops working, 1 to 3650 (default 0)
- --force
- replace --output-file when it exists
- --output-file
- write the secret to this file (made with mode 0600) instead of printing it
- --scope
- a scope it holds, like mail:send or domains:read (repeat for several)
- --show-secret
- print the secret on this terminal
Every command also takes the global flags.