Data and Credential Encryption
Fivetran protects your data during the extract, processing, and load phases of the data sync. We use available encryption methods to ensure data, keys, and credentials are securely transmitted and stored.
Data encryption
The following diagram shows how Fivetran encrypts data during the extract phase of the sync:
The connector sync job generates a data key.
During the extract phase of the sync, Fivetran encrypts data fetched from the source using the data key.
The connector sync job sends the data key to Fivetran Secure Credentials Service.
(Optional) Fivetran Secure Credentials Service sends the data key to one of the following supported external KMSs:
- AWS Key Management Service
- Azure Key Vault
- GCP Key Management
In KMS, the data key is encrypted with the customer-managed key (CMK) and sent back to Fivetran Secure Credentials Server.
NOTE: You must have a Business Critical plan to use customer-managed keys.
Fivetran Secure Credentials Service encrypts the data key (which is already encrypted, if the CMK is enabled) with Fivetran KMS on Google Cloud Platform (GCP).
Fivetran KMS sends the encrypted key to the connector sync job.
The connector sync job loads both the encrypted data and encrypted key (or double-encrypted key, if the CMK is enabled) to a storage bucket.
NOTE: The key and data decryption process during the load phase of the sync runs in reverse order compared to the encryption process during the extract phase.
Credential encryption
The following diagram shows how Fivetran encrypts credentials:
When you create a new connector, you provide the credentials in the setup form in your Fivetran dashboard or as payload parameters in the REST API request.
Fivetran sends the credentials to Fivetran Secure Credentials Service.
(Optional) The credentials are encrypted by one of the following supported external KMSs:
- AWS Key Management Service
- Azure Key Vault
- GCP Key Management
NOTE: You must have a Business Critical plan to use customer-managed keys.
Fivetran Secure Credentials Service encrypts the credentials (which are already encrypted, if the CMK is enabled) with Fivetran KMS on Google Cloud Platform (GCP).
Fivetran Secure Credentials Service sends the credentials to Fivetran production database for storage.
During every sync, the connector sync job requests the credentials from the Fivetran Secure Credentials Service.
The Fivetran Secure Credentials Service requests and receives the encrypted credentials from the Fivetran production database.
The Fivetran Secure Credentials Service decrypts the credentials and sends them to the connector sync job.
See the Exception section of our Security documentation to learn how Fivetran retains and stores customer credentials.