Elasticsearch domain should enable encryption

Set up the elasticsearch integration.

Esta página aún no está disponible en español. Estamos trabajando en su traducción.
Si tienes alguna pregunta o comentario sobre nuestro actual proyecto de traducción, no dudes en ponerte en contacto con nosotros.

Description

Implement encryption at rest for your Amazon Elasticsearch (ES) domain with the AWS KMS service.

Rationale

Implementing encryption at rest protects your domain from unauthorized access and ensures security and compliance requirements are met.

Remediation

From the console

Follow the Enabling Encryption of Data at Rest docs to learn how to implement encryption for your domain.

From the command line

  1. Run describe-elasticsearch-domain with your ES domain to return configuration metadata.

    aws es describe-elasticsearch-domain
        --domain-name your-es-domain
    
  2. Run create-elasticsearch-domain with your domain name and encryption-at-rest-options. Use the metadata returned in the previous step to create and relaunch your ES domain to enable at-rest encryption.

    aws es create-elasticsearch-domain
        --domain-name your-es-domain
        ...
        --encryption-at-rest-options Enabled=true,KmsKeyId="abcdabcd-aaaa-bbbb-cccc-abcdabcdabcd"