The credentials that you have at your disposal (GCP JSON private key file, Amazon S3 private key value, or SFTP password) are unencrypted. To use them safely with Tailer Platform, you first need to encrypt them using Tailer public key. This key consists of a tailer_public_key.pem file that you need to request from your Tailer Platform administrator before proceeding with this procedure.
Once you have the tailer_public_key.pem file, you need to copy it to the Tailer Home directory of your local computer:
First, determine where the Jarvis Home is: ◾ On macOS/Linux, run the following command in a terminal:
◾ On Windows, run the following command in Command Prompt:
Copy the tailer_public_key.pem file to the Tailer Home directory you got as a result of the previous command.
Once the Tailer public key has been installed, you can encrypt your credentials.
To do so, run one of the following commands:
For a GCP JSON private key file:
tailer encrypt your-credentials.json
For an Amazon S3 key value (do not forget the quotes):
tailer encrypt "contents of the private key"
For an SFTP password (do not forget the quotes):
tailer encrypt "password value"