Keychain Access
Strengthen the security of your API key and client authentication certificate password by storing them in Keychain Access, a macOS application.
When your credentials are stored, all client tools can pull your credentials from Keychain Access. When attempting to complete any operation that requires multi-factor authentication, use your system login password if you receive a keychain pop-up message.
Save credentials to Keychain Access
To save credentials to the Keychain Access, run the following command in SMCTL:
./smctl-mac-x64 credentials save <API Key> <Client certificate password>
Note
You can use this command repeatedly to overwrite the stored credentials.
Note
When your API key and cclient authentication certificate password are securely stored in Keychain Access, run the following command to set the host and client authentication certificate in SMCTL:
export SM_HOST=<host URL> export SM_CLIENT_CERT_FILE=<P12 client authentication certificate file path>
Alternatively, you can store these variables in a properties file or persistent variables.
Remove credentials from Keychain Access
To delete credentials saved in the Keychain Access, run the following command in SMCTL:
./smctl-mac-x64 credentials delete
Proxy configuration
Configure the HTTPS_PROXY environment variable if the client tool need to communicate through a proxy.
Anonymous proxy
If your proxy doesn't require authentication, run the following command:
export HTTPS_PROXY=https://<proxy_host>:<proxy_port>
Authenticated proxy
If your proxy requires authentication, run the following command:
export HTTPS_PROXY=https://user:password@<proxy_host>:<proxy_port>