You can use the Pipeline CLI to authenticate and store your API credentials in your local directory
PipelineCloud will then authenticate using these credentials, saving you the trouble of having to export environment variables for every new shell, e.g.
Check your environment
If you have previously added your
PIPELINE_API_TOKENto you environment, make sure to remove it before authenticating with the CLI.
In linux/macos, you can check whether you have set
And if the output from the above command is not empty, you can remove it with;
pipeline remote login -u https://api.pipeline.ai -t YOUR_API_TOKEN
with a valid API token. If you need a new token, you can create one in your dashboard.
You should now find a file at
~/.cache/pipeline/auth.json, which looks something like:
where the key represents the remote compute service URL and the value represents your
base64-encoded API token.
Updated 4 months ago