Overview:

Baffle supports integration with HashiCorp Vault and Consul to function as a key management store and enable storage of encryption keys via a REST API.  The integration establishes a two-tier key hierarchy which creates master keys (MK) and data encryption keys (DEK) via Vault and stores the encrypted key material in Consul.

The respective keys can be sourced using Baffle’s Advanced Data Protection to encrypt data in virtually any database or data store both on-premise or in cloud. Below is a quick demonstration that shows the integration and using HashiCorp as a key management store.

Architecture:

This diagram represents a simplified view of the integration with HashiCorp Vault and Consul.  By utilizing Baffle’s key viritualization layer, the Baffle Shield sources encrypted DEKs which are decrypted using the master key and then mapped to respective fields and/or records to enable field/record level encryption in a database or data store.

Configuration Steps:

NOTE: Below is a high-level sequence of configuration steps. More detailed documentation is available from Baffle technical support.

    1. Configure Vault and Consul
    2. Enable a Vault user policy file
       

      # DEK Storage Policy
      path "secret/*"
      {
        capabilities = ["create", "read", "update", "delete", "list"]
      }
      # MK Creation Policy
      path "transit/*" {
        capabilities = [ "create", "read", "update", "delete", "list" ]
      }

       

    3. Login with an admin token
    4. Write the user policy
    5. Create an auth token for the policy
    6. Configure Baffle Shield to use the kmstype = hashicorp
    7. Specify the auth token for the above user policy
    8. Create a data protection policy in Baffle
    9. Run data migration on the data set or access the data from your respective application

    For more information on Baffle Advanced Data Protection click here.

     

See How Baffle Can Protect Your Data

View a recorded demo or schedule a live demo with one of our solutions experts to get answers to your questions