Add Credentials

$ catalytic credentials add <CredentialsName> (--token=<Token> | --path=<PathToTokenFile>)

This command saves an existing Access Token locally so you can reference it in the CLI by name.

OptionDescription
<CredentialsName>The name under which the new Credentials will be added
--token=<Token>(Optional) The Access Token of the Credentials to add
--path=<PathToTokenFile>(Optional) The path to a file containing the Access Token to add

Examples

Add new Credentials named hooli with the Access Token MY_CREDENTIALS_ACCESS_TOKEN.

$ catalytic credentials add hooli --token 'MY_CREDENTIALS_ACCESS_TOKEN'

Add new Credentials named hooli with the Access Token saved in the text file at /path/to/credentials/file.txt

$ catalytic credentials add 'hooli' --path '/path/to/credentials/file.txt'