CLI Reference
sieve login
Authenticate the CLI.
Usage
After you run this command, you will be prompted to enter your Sieve API Key. Enter you Sieve API Key and press enter to authenticate Sieve.
After logging in, your api key will be stored here: ~/.config/.sieve/config
Options
--help
Show this message and exit.
Alternatives
As an alternative to using the sieve login
command, you can set the SIEVE_API_KEY
as an environment variable.
This is useful in environments where terminal interaction is not possible.
In Bash, you can set:
In Python, you can set:
In a Dockerfile, you can add:
Was this page helpful?