Tailer Documentation
  • What is Tailer Platform?
  • Getting Started
    • Prepare your local environment for Tailer
    • Install Tailer SDK
    • Set up Google Cloud Platform
    • Encrypt your credentials
  • [Tutorial] Create a first data pipeline
    • Introduction
    • Prepare the demonstration environment
    • Copy files from one bucket to another
    • Load files into BigQuery tables
    • Prepare data
    • Build predictions
    • Export data
    • Congratulations!
    • [Video] Automatic Script
      • SQL script file
      • DDL script file
      • Tables to Tables script file
      • Launch configuration and furthermore
  • Data Pipeline Operations
    • Overview
    • Set constants with Context
      • Context configuration file
    • Move files with Storage to Storage
      • Storage to Storage configuration file
    • Load data with Storage to Tables
      • Storage to Tables configuration file
      • Storage to Tables DDL files
    • Stream incoming data with API To Storage
      • API To Storage configuration file
      • API To Storage usage examples
    • Transform data with Tables to Tables
      • Tables to Tables configuration file
      • Table to Table SQL and DDL files
    • Export data with Tables to Storage
      • [V3] Table to Storage configuration file
      • Table to Storage SQL file
      • [V1-V2: deprecated] Table to Storage configuration file
    • Orchestrate processings with Workflow
      • [V2] Workflow configuration file
      • [V1: deprecated] Workflow configuration file
    • Convert XML to CSV
      • Convert XML to CSV configuration file
    • Use advanced features with VM Launcher
      • Process code with VM Launcher
        • VM Launcher configuration file for code processing
      • Encrypt/Decrypt data with VM Launcher
        • VM Launcher configuration file for data encryption
        • VM Launcher configuration file for data decryption
    • Monitoring and Alerting
      • Monitoring and alerting parameters
    • Asserting Data quality with Expectations
      • List of Expectations
    • Modify files with File Utilities
      • Encrypt/Decrypt data with File Utilities
        • Configuration file for data encryption
        • Configuration file for data decryption
    • Transfer data with GBQ to Firestore
      • Table to Storage: configuration file
      • Table to Storage: SQL file
      • VM Launcher: configuration file
      • File-to-firestore python file
  • Tailer Studio
    • Overview
    • Check data operations' details
    • Monitor data operations' status
    • Execute data operations
    • Reset Workflow data operations
    • Archive data operations
    • Add notes to data operations and runs
    • View your data catalog
    • Time your data with freshness
  • Tailer API
    • Overview
    • Getting started
    • API features
  • Release Notes
    • Tailer SDK Stable Releases
    • Tailer Beta Releases
      • Beta features
      • Beta configuration
      • Tailer SDK API
    • Tailer Status
Powered by GitBook
On this page
  • Overview
  • Install the Tailer public key on your local computer
  • Encrypt the credentials

Was this helpful?

Edit on GitHub
  1. Getting Started

Encrypt your credentials

When transferring files from one storage location to another using Tailer Platform, you need to provide credentials. A number of steps are required to encrypt them and use them safely.

PreviousSet up Google Cloud PlatformNextIntroduction

Last updated 3 years ago

Was this helpful?

Overview

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.

Install the Tailer public key on your local computer

Once you have the tailer_public_key.pem file, you need to copy it to the Tailer Home directory of your local computer:

  1. First, determine where the Jarvis Home is: ◾ On macOS/Linux, run the following command in a terminal:

    echo $TAILER_HOME

    ◾ On Windows, run the following command in Command Prompt:

    echo %TAILER_HOME%
  2. Copy the tailer_public_key.pem file to the Tailer Home directory you got as a result of the previous command.

Encrypt the credentials

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"

You obtain a JSON output with the following format:

{
  "cipher_aes": "xxx",
  "tag": "xxx",
  "ciphertext": "xxx",
  "enc_session_key": "xxx"
}

where xxx is a base64-encoded string representation of the key value.

You can now use it in your JSON configuration files for data operations that require authentication.

🗺️
🔑
🛡️