Encrypting Each Amazon OpenSearch Service Index With Its Own Key - What the Key Covers, What Stays on the Domain Key, and What Disabling It Does
First Published:
Last Updated:
In conclusion, the index key protects the data created by users. System indices and OpenSearch logs remain protected by the domain default key, which is specified using the
KmsKeyId when the domain is created. Indices created without specifying a key are also encrypted using the domain default key. Manual snapshots are not encrypted by the index key. KMS permissions are checked when a key is registered and when it is unregistered. After registration, users with access to the cluster can create indices using that key without requiring KMS permissions. In domains utilizing fine-grained access control, fine-grained access control permissions are also required. Therefore, separate keys do not replace access control. Disabling or deleting a key without unregistering it turns the indices that use it red. In domain-level encryption, disabling a key renders the domain inaccessible. Index-level encryption can only be enabled when creating a new domain and cannot be disabled once enabled.This article is based on documents read on November 29, 2026 (Japan Standard Time). This article has not been tested on a live environment. Pricing information is not included. This article was written prior to AWS re:Invent 2026 (November 30 – December 4, 2026) and does not include any information that will be announced at that event.
Related articles on this site:
- Tenant Isolation per Data Service on AWS - Which Quota Stops a Silo First and What a Pool Hands to Your Code
- Which Key Protects Which AgentCore Data - Customer Managed Keys by Component, When You Choose Them, and Who Calls AWS KMS
- Amazon OpenSearch Service Cross-Region Disaster Recovery - What a Failover Loses and What Is Never Replicated
- IAM Authentication to DynamoDB, Keyspaces, and OpenSearch Service - Where Each Call Is Signed and Checked, What DAX and Fine-Grained Access Control Change, and What Revocation Reaches
- Encryption Controls by Service on AWS Storage - What Is On by Default, Which Key You Can Choose, and What Turning It On Does Not Re-encrypt
- AWS KMS Envelope Encryption and Data Key Caching Patterns - Design Decisions for the AWS Encryption SDK and Multi-Region Keys
Table of Contents
- 1. Scope and Assumptions
- 2. Which Data Sits Under Which Key
- 3. Conditions for Enabling and Irreversible Actions
- 4. What Key Registration Checks and What It Does Not
- 5. Encryption Context
- 6. When a Key Is Stopped or Unregistered
- 7. What Gets Recorded
- 8. Frequently Asked Questions about Keys Per Index in OpenSearch Service
- 9. Summary
- 10. References
1. Scope and Assumptions
This chapter first defines the intended audience, the scope of this article, the relevant source materials, and the notation used in this article. It also notes that the developer guide page was published once on April 30, 2026, and describes the differences between that capture and the current page.1.1 Intended Audience
This article is intended for:- Architects and operations personnel who have designed and are managing OpenSearch Service domains that store data for multiple tenants or departments.
- Individuals who want to separate KMS keys for each data owner, or who are required to do so for compliance audits.
- Those who want to understand, before implementation, what is separated and what is not when using index-specific keys, and what happens when a key is disabled.
1.2 Scope and Exclusions
This article covers the following topics:- Which data is stored under which key.
- The conditions for enabling it, what cannot be reversed, and the features that cannot be used.
- Key types and limits, key registration, and key unregistration.
- Encryption context.
- The results of disabling or deleting a key, and the differences compared to domain-level encryption.
- Information retained in AWS CloudTrail, and the necessary permissions required within a fine-grained access control domain.
This article does not cover:
- General OpenSearch Service security (including fine-grained access control, VPC, and SAML configuration).
- Tenant segmentation design. This is covered in existing articles on this site, "Tenant Isolation per Data Service on AWS" and the "AWS SaaS Multi-Tenant Architecture Guide."
- General concepts related to envelope encryption and grants. This is covered in the existing article "AWS KMS Envelope Encryption and Data Key Caching Patterns."
- Encryption policies for Amazon OpenSearch Serverless. This is a separate product.
- Procedures for managed cross-Region disaster recovery. This is covered in the existing article "Amazon OpenSearch Service Cross-Region Disaster Recovery."
- Pricing.
1.3 Materials Reviewed
This article is based on the following materials, reviewed on November 29, 2026 (Japan Standard Time):- The "Index level encryption for Amazon OpenSearch Service" page of the OpenSearch Service Developer Guide (hereinafter, the index level page).
- The "Encryption of data at rest for Amazon OpenSearch Service" page of the same guide (hereinafter, the domain-level page).
- The
EncryptionAtRestOptionsin the OpenSearch Service API Reference, and theEncryptionAtRestOptionswithin theAWS::OpenSearchService::Domainin AWS CloudFormation. - The AWS What's New announcement dated October 12, 2026.
- The managed disaster recovery page of the OpenSearch Service Developer Guide, and the article on "Managed cross-Region disaster recovery" on the AWS Big Data Blog.
- The AWS What's New announcement and the index level page as captured on April 30, 2026, in the Internet Archive's Wayback Machine.
In this article, the page means the index level page as of the review date, unless stated otherwise.
1.4 The April 30, 2026 Capture and the Page on the Review Date
The URL of the April 2026 What's New announcement returns a 404 error as of the review date. However, the Wayback Machine holds a capture of the announcement saved on April 30, 2026. The title is the same as the current announcement, and the publication date is April 30, 2026. The index level page also has a capture saved on April 30, 2026. According to the Wayback Machine, this page redirected to the developer guide's table of contents on May 1, 2026, and May 7, 2026, and began returning the page itself again from a record dated October 12, 2026. The page does not specify what AWS did during this period. This article describes only what the saved captures show over time.The April 30, 2026 capture and the page on the review date differ in the shape of the API and in their prerequisites. The main differences are as follows:
| Item | April 30, 2026 capture | Page on the review date |
|---|---|---|
| Field for providing the key in the key registration request | key_arn, in the registration example and the field description | key_id. Only accepts the full key ARN. |
| Format for writing the encryption context | JSON object | String in the format key1=value1,key2=value2 |
| Encryption context added by the service | aws:es:domain. The value is the domain name. | domainARN. The value is the domain ARN. |
| Keys for system indices and logs | Domain's AWS managed key | Domain default key specified using KmsKeyId |
| Domains where it can be enabled | No statement that limits it to new domains. Says to reindex existing data. | Only when a new domain is created. Once enabled, it cannot be disabled. |
If you have the April 30, 2026 capture, or procedures written around that time, you need to reread them against the page on the review date. For example, the request to register a key using the
key_arn field, or the request to provide the encryption context as a JSON object, does not match the shape on the page on the review date. All descriptions in the rest of this article are based on the page on the review date.1.5 Notations for Descriptions
This article uses the following three notations:- Stated: Information directly stated in the primary source.
- Not documented: No description was found on the page as of the review date. This does not constitute proof of non-existence.
- Inference: Information derived from the descriptions in the primary source.
1.6 Relationship with Domain-Level Encryption
OpenSearch Service also offers encryption at the domain level. Domain-level encryption encrypts all data in a domain using a single KMS key. Index-level encryption extends this functionality, allowing you to specify a different customer managed key for each index.Index level encryption extends domain-level encryption at rest.
The API's
EncryptionAtRestOptions includes a field called EncryptionMode. This field accepts two values: DISK and NATIVE. DISK is the default setting and utilizes volume-level encryption. NATIVE indicates index-level encryption. In the console, DISK is displayed as "Disk" and NATIVE is displayed as "Native."Valid values are DISK and NATIVE.
2. Which Data Sits Under Which Key
This chapter lists which data is encrypted with which key in domains where index-level encryption is enabled. The focus is on identifying data that is not covered by the index key.2.1 Two Categories on the Page
The page describes encryption with index-level encryption enabled in two categories. The index key, that is, the customer managed key that the user specifies, encrypts all data that users create.All user-created data (indices and snapshots)
The domain key, that is, the domain default key specified with
KmsKeyId when the domain is created, encrypts the following two.System indices
OpenSearch logs
The page also covers indices created without specifying a key. These indices are encrypted with the domain default key.
If you create an index without specifying a key, OpenSearch Service encrypts it using the domain default key.
2.2 Snapshots: Automated vs. Manual
The page's categories use a single word for snapshots. However, OpenSearch Service snapshots encompass both automated snapshots taken by the service and manual snapshots that users create and store in their Amazon S3 buckets. The two are handled differently with respect to keys.The page explicitly states that manual snapshots are not encrypted with the index key.
Data in manual snapshots stored in Amazon S3 is not encrypted with index-level keys.
The page's manual snapshots section further states that the data is exported to the S3 bucket in unencrypted form.
Data is exported to your Amazon S3 bucket in unencrypted form (following standard OpenSearch snapshot behavior).
The page recommends enabling server-side encryption on the S3 bucket used as the snapshot repository. This encryption can utilize either SSE-S3 or SSE-KMS. However, this is a bucket-level setting and is separate from the key used for index-level encryption. If you want to protect manual snapshots with tenant-specific keys, you will need to design a separate configuration for the bucket (Inference).
Regarding automated snapshots, the page does not explicitly state that they are covered by the index key. There are two clues. First, the page's console description describes the encryption at rest setting as follows:
Enable encryption of data at rest (enabled) - Secures indexes and automated snapshots.
The second clue is the domain-level page. That page states that automated snapshots are included in the scope of encryption, while manual snapshots cannot be encrypted with KMS keys. Combining these two with the word snapshots in the page's categories, it can be inferred that snapshots covered by the index key are automated snapshots. However, this is an inference. This article will treat the information as follows: while it is reasonable to assume that automated snapshots are covered by the index key, there is no single sentence that explicitly states this.
2.3 Logs
The page places OpenSearch logs under the domain default key. The domain-level page draws one more distinction. When you publish slow logs and error logs to Amazon CloudWatch Logs, those logs are not covered by encryption at rest. If you want to encrypt them, you should encrypt the CloudWatch Logs log groups using a KMS key. This distinction is likely the same on index-level encryption domains (Inference; the index level page does not mention published logs).2.4 Overview
The following table summarizes the information presented.| Data | Encryption Key Used | Notation |
|---|---|---|
| Index created with a specified key | The customer managed key specified for that index | Stated |
| Index created without a specified key | Domain default key | Stated |
| System indices | Domain default key | Stated |
| OpenSearch logs | Domain default key | Stated |
| Automated snapshots | Can be inferred to be covered by the index key. | Inference |
| Manual snapshots | Not encrypted by the index key. The page recommends enabling S3 server-side encryption on the snapshot repository bucket. | Stated |
| Slow logs and error logs published to CloudWatch Logs | Not covered by encryption at rest. To encrypt them, encrypt the log group with a KMS key. | Stated on the domain-level page. Inference for index level encryption domains. |

3. Conditions for Enabling and Irreversible Actions
This chapter outlines the conditions under which index-level encryption can be enabled, as well as actions that cannot be reversed once encryption is active.3.1 New Domains Only
The section outlining prerequisites states that index-level encryption can only be enabled when creating a new domain and cannot be disabled once enabled.Index level encryption can only be enabled on new domains during creation and cannot be enabled on existing domains. Additionally, once enabled, this option cannot be disabled.
The API reference documentation for
EncryptionMode also states that once set to NATIVE, it cannot be reverted to DISK.After the mode is set to NATIVE, it can't be changed back to DISK.
Therefore, if you want to protect the data of an existing domain with index-level encryption, you will need to create a new domain and migrate the data. (Inference; the page does not describe how to move the data.) A separate article, What UpdateObjectEncryption Changes on an Amazon S3 Object, covers S3's
UpdateObjectEncryption, which can change the encryption of existing encrypted objects later. OpenSearch Service index-level encryption, by contrast, cannot be chosen later.The
EncryptionMode field in CloudFormation shows Update requires: No interruption. This designation refers to the classification for stack updates. It is not evidence that you can return to DISK or select NATIVE on existing domains. That the mode cannot be changed back is stated in both the developer guide and the API reference.3.2 Prerequisites
Combining the prerequisites section, the procedure notes, and the considerations section, the following conditions are required:- The OpenSearch version must be 3.3 or higher.
- Encryption at rest must be enabled. Specifically, the
EncryptionAtRestOptionssetting'sEnabledfield must be set totrue. - A customer managed key must be specified for the domain's default key. The page states that to set
EncryptionModetoNATIVE, a customer managed key'sKmsKeyIdis required. - The data node instance type must have a memory capacity of 16 GB or greater. This is noted in the considerations section.
In the console, the "Native" option is only displayed when a customer managed key is selected and OpenSearch version 3.3 or higher is chosen.
The Native encryption mode option only appears when you select a customer managed AWS KMS key and your domain runs OpenSearch 3.3 or later.
As of the review date, the page lists 14 supported Regions. The What's New post dated October 12, 2026, also lists the same 14 Regions. For example, US East (N. Virginia) is supported. The list of Regions can change, so open the page again before use.
3.3 Incompatible Features
The page lists the following five features as incompatible with index-level encryption:- UltraWarm
- Multi-Tier Storage and Writable Warm
- Optimized Engine
- S3 Vectors
- Cross-cluster replication
Additionally, the k-NN plugin only supports the Lucene engine and does not support the FAISS engine. The page also notes that encrypted indices may experience increased latency in search and analysis queries that utilize multi-term aggregations. It recommends testing with your own workloads before deploying to production.
Whether managed cross-Region disaster recovery can be used on index-level encryption domains is not documented. While the index level page states that cross-cluster replication is not supported, it does not mention managed disaster recovery. The managed disaster recovery page does not reference either index-level encryption or KMS keys. An article on the AWS Big Data Blog discussing managed cross-Region disaster recovery mentions support for customer managed keys for data-at-rest encryption, but does not address index-level encryption. This article does not say that it can or cannot be used.
4. What Key Registration Checks and What It Does Not
This chapter outlines the steps involved in using keys with the index, and who checks what at each stage. The central point of this chapter is that KMS permissions are checked at registration, not when an index is created.4.1 Three Steps to Enable It
The following outlines the three steps required to utilize index-level encryption:- When creating a domain, select "Native."
- Register a customer managed key with the domain.
- Create an index, specifying the registered key.
An example of
EncryptionAtRestOptions when creating a domain is shown below. This example extracts only that section from the overall page example."EncryptionAtRestOptions": {
"Enabled": true,
"KmsKeyId": "arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012",
"EncryptionMode": "NATIVE"
}
The domain default key does not need to be registered. The page states that when creating an index without specifying a key, the system will use the domain's default key, and that this key does not need to be registered.
4.2 Registering a Key
To use a different key for an index, you must first register that key with the domain. To register a key, use the_plugins/_opensearch_storage_encryption/_register_key API within OpenSearch.POST _plugins/_opensearch_storage_encryption/_register_key
{
"key_id": "arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012",
"encryption_context": "department=engineering,environment=production"
}
The page states the following about the registration request:
- The
key_idfield should contain the full ARN of the key. Key IDs and alias ARNs are not accepted. - Calls to
_register_keyand_unregister_keymust be signed using SigV4. - Upon successful registration, the service will create a KMS grant for the key and store a reference to the key in Amazon S3.
- The registration response says that permissions can take several minutes to propagate.
Key IDs and alias ARNs are not accepted.
The IAM principal used to register a key must have the following permissions:
kms:CreateGrant, kms:DescribeKey, kms:GenerateDataKey, kms:Encrypt, kms:Decrypt, and es:ESHttpPost for the registration and unregistration APIs.Only symmetric encryption keys are supported. The key specification is
SYMMETRIC_DEFAULT, and both single-Region and multi-Region keys are permitted. Asymmetric keys and HMAC keys are not supported. A domain can support up to 10,000 keys.4.3 Creating an Index
After registering the keys, you need to specify them in the index configuration.PUT /logs-2025
{
"settings": {
"index.store.type": "cryptofs",
"index.store.crypto.key_provider": "aws-kms",
"index.store.crypto.kms.key_arn": "arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012",
"index.store.crypto.kms.encryption_context": "department=engineering,environment=production"
}
}
Set
index.store.type to cryptofs and index.store.crypto.key_provider to aws-kms. Enter the ARN of the registered key in index.store.crypto.kms.key_arn. The page also provides an example demonstrating how to apply the same settings from an index template to a new index.4.4 Authorization is Divided into Two Stages
The page describes the authorization process, dividing it into two stages. In the first stage, when registering a key, the service verifies that the user has the authority to use that key and creates a grant. In the second stage, the service uses the grant created during registration to build the index. If a grant is not present, index creation will fail.Regarding the point at which the service verifies KMS permissions, the page includes the following note:
The AWS KMS authorization check occurs when you register and when you unregister a key.
The same note continues, stating that if a user has cluster access and the appropriate fine-grained access control permissions, they can create an index using a registered key without requiring KMS permissions. The "Important" note in the registration section also states the same thing.
After registration, any authenticated user with cluster access can create indices using the registered key.
In essence, even if the KMS key policy for a key is designed to restrict its use to only personnel within tenant A, this restriction is not checked when an index is created (Inference). After registration, users with access to the domain can create an index specifying tenant A's key. In environments utilizing fine-grained access control, the user must also possess the necessary fine-grained access control permissions (Inference; the note on the page lists cluster access and fine-grained access control permissions together as the condition). The page states that index-level encryption does not replace fine-grained access control and recommends using both.
Index level encryption does not replace Fine-Grained Access Control.
Fine-grained access control and the domain access policy determine who can read or write which index. The index key determines which key encrypts the stored data; it does not determine who can read or write it (Inference). Request signing for OpenSearch Service and fine-grained access control decisions are covered in the existing article "IAM Authentication to DynamoDB, Keyspaces, and OpenSearch Service."
4.5 Three Permissions Required on Fine-Grained Access Control Domains
In domains where fine-grained access control is enabled, users or roles that call_register_key and _unregister_key require three specific permissions related to fine-grained access control.opensearch_storage_encryption:register_key
opensearch_storage_encryption:unregister_key
cluster:admin/opensearch/storage_encryption/get_index_count_for_key
The third permission is used during unregistration to check whether any index still uses the key. This permission is not directly invoked by users. Without this permission, unregistration fails with a 503 error.
Even within fine-grained access control domains, these two APIs can only be invoked with requests signed using SigV4. The IAM user or role making the calls must also have the KMS permissions described in Section 4.2.
5. Encryption Context
This chapter discusses encryption contexts, which can be specified when registering keys.5.1 Values Added by the Service and Values Added by the User
The encryption context is a value that ensures encrypted data can only be decrypted within the correct context. The page describes the values added by the service and the values that users can optionally add.- The value added by the service is
domainARN, which represents the complete ARN of the domain. This is automatically included in all encryption operations. - Users can specify any key-value pairs when registering a key. The page's example is
department=engineering,environment=production.
Users cannot use
domainARN as a key, because the service adds it automatically. The encryption_context in the registration response includes the domainARN added by the service.5.2 Ensuring Complete Consistency Across Three Scenarios
When registering a key and specifying an encryption context, you must provide the same value across the following three scenarios:- When creating an index using that key.
- When applying that key to a new index using an index template.
- When unregistering the key.
The
index.store.crypto.kms.encryption_context setting for the index must precisely match the value used during key registration. Do not include the domainARN in this context. If there is a mismatch, index creation will fail with a 400 error, and the index will not be created. The error message is:KMS key unusable for index [my-index] setting [index.store.crypto.kms.key_arn]. Verify the KMS key is enabled and accessible.
The troubleshooting section indicates that the primary causes of this error are: the key is not registered, the encryption context does not match, or the key is disabled, deleted, or inaccessible. Because the error message is the same in all three cases, the message alone does not tell the causes apart (Inference).
6. When a Key Is Stopped or Unregistered
This chapter outlines what happens when a key is disabled, deleted, or unregistered. The central point of this chapter is how the outcome differs from domain-level encryption.6.1 Disabling or Deleting a Key Without Unregistering It
The page states that if you disable or delete a KMS key without unregistering it, the index turnsred. red is the name of a status indicating the health of an OpenSearch cluster or index.If you disable or delete your AWS KMS key without unregistering it from your domain, the index turns red.
The page also notes, in the section on key management, that disabling or deleting a key that is still in use will prevent access to data encrypted with that key. Deleting a key means that OpenSearch Service will also be unable to recover that data.
OpenSearch Service cannot recover encrypted data if the key is lost or deleted.
If a key is disabled or deleted, attempting to create a new index specifying that key will result in a 400 error, similar to the one described in Section 5.2. The page's troubleshooting section lists this as a potential cause, stating:
The key is disabled, deleted, or not accessible.
6.2 Differences from Domain-Level Encryption
The domain-level page states that if you disable or delete the key used for domain encryption, you will lose access to the domain.If you disable or delete the key that you used to encrypt a domain, the domain becomes inaccessible.
The domain-level page continues by stating that OpenSearch Service will notify you if it cannot access the KMS key and tells you to re-enable the key immediately. It also lists
KMSKeyError and KMSKeyInaccessible as CloudWatch metrics that indicate issues with the key.Comparing the two, the scope of impact differs. At the domain level, disabling the single key makes the domain inaccessible. At the index level, disabling an index key turns the indices that use it
red. The page does not mention the impact on other indices that use different keys. It can be inferred that if keys are managed on a per-tenant basis, disabling a key for one tenant affects only that tenant's indices (Inference).
6.3 What the Pages Do Not Document
The following three items are not documented on the pages as of the review date. This article does not fill them in with guesses.- The procedure for reverting an index that has turned
red. The index level page does not state whether re-enabling the key brings the index back. The domain-level page says to re-enable the key immediately, but that sentence is about domain-level encryption and cannot be applied as is to indices under index-level encryption. - The behavior when the domain default key of an index-level encryption domain is disabled or deleted. The index level page does not describe what happens when the domain default key is stopped. Neither page states whether the domain-level sentence quoted in Section 6.2 also applies to Native domains.
- Whether managed cross-Region disaster recovery can be used with domains using index-level encryption (Section 3.3).
Regarding key deletion, the domain-level page states that AWS KMS deletes keys only after a waiting period of at least seven days. The same page says that while the key is pending deletion, you should either cancel the deletion or take a manual snapshot of the domain to prevent data loss.
6.4 Unregistering Keys
Unused keys can be unregistered using_plugins/_opensearch_storage_encryption/_unregister_key. When a key is unregistered, the corresponding KMS grant is revoked, and the key reference is removed from the domain. If an encryption context was specified during registration, provide the same value.Before unregistering a key, you must reindex or delete any indices that were encrypted with that key. If any indices still use the key, the request will fail with a 409 error, and the key will remain registered.
If any index still uses the key, the request fails with a 409 error and the key stays registered.
In essence, the unregister operation itself prevents you from removing a key that is in use and leaving
red indices behind (Inference). The potential risk lies in disabling or deleting the key on the KMS side without first unregistering it. This bypasses the OpenSearch Service API, preventing the 409 error check from being triggered (Inference).6.5 Key Rotation
The page states that automatic rotation of customer managed keys is supported. When automatic rotation is enabled, AWS KMS will rotate the keys annually, and the key ARN will remain unchanged. No user intervention is required. The page does not describe a procedure for switching to a different key. Based on the mention of "reindex" as a prerequisite for unregistering, switching to a different key likely means reindexing into a new index created with that key (Inference).7. What Gets Recorded
This chapter outlines where and how key registration and usage are recorded.7.1 Only KMS Calls Are Logged in CloudTrail
When a key is registered, OpenSearch Service creates a KMS grant associated with that key. This is recorded in CloudTrail as akms.amazonaws.com CreateGrant event. The encryptionContextSubset constraint on the grant includes the domain's ARN and the encryption context specified during registration.The calls to
_register_key and _unregister_key themselves are not recorded as OpenSearch Service events. The page states:The _register_key and _unregister_key calls themselves aren't logged as OpenSearch Service events.
To audit when a key was registered, examine the KMS
CreateGrant events. In the page's example below, userIdentity indicates a service, and the page does not state whether the principal that called _register_key is recorded in this event. Unregistering a key results in the revocation of the grant, so you will need to track this on the KMS side (Inference; the page does not name the event recorded at unregistration).The page includes one example of a CloudTrail event. In this example, the
userIdentity's invokedBy is aoss.opensearchservice.amazonaws.com, and the eventTime is January 15, 2025. aoss appears to be a prefix for the Amazon OpenSearch Serverless service, and the date precedes the feature's announcement. This article treats these values as the page's example, not as values from actual events. Verify the values in your own account's events.7.2 KMS Usage
AWS KMS does not publish individual metrics for the number ofGenerateDataKey or Decrypt requests. Instead, the page recommends viewing the CallCount metric within the AWS/Usage namespace in CloudWatch, under the CryptographicOperationsSymmetric resource. This metric counts all symmetric cryptographic operations. Details on individual operations can be found in KMS events logged in CloudTrail.7.3 Off-Heap Memory Metrics
Index-level encryption stores recently accessed decrypted data in dedicated off-heap memory for each data node. OpenSearch Service publishes four metrics related to this memory to CloudWatch under theAWS/ES namespace: IleDirectMemoryReserved, IleDirectMemoryWorkingSetPercentage, IleDirectMemoryBlockReloadPercentage, and IleDirectMemoryCircuitBreakerTriggered. The page primarily focuses on IleDirectMemoryWorkingSetPercentage, and calls IleDirectMemoryCircuitBreakerTriggered reaching 1 the most severe signal. If these values stay high, the page recommends moving to a larger instance type or adding data nodes.8. Frequently Asked Questions about Keys Per Index in OpenSearch Service
Q1. If keys for the index are separated for each tenant, will all of that tenant's data then be separated by that key?
No, it will not. The index key only covers the data created by the user. System indices and OpenSearch logs remain under the domain default key. Indices created without specifying a key are also encrypted using the domain default key. Manual snapshots are not encrypted with the index key.Q2. If Tenant A gets its own key, will users of other tenants no longer be able to read Tenant A's data?
Giving Tenant A its own key does not do that by itself. KMS permissions are checked when a key is registered and unregistered. After registration, users with access to the cluster can create indices using the registered key, even without KMS permissions. The page states that index-level encryption does not replace fine-grained access control. The fine-grained access control settings and the domain's access policies determine who can read the data.Q3. Can index-level encryption be enabled on existing domains?
No. The page states that it can only be enabled when creating a new domain. To protect data on existing domains using index-level encryption, you will need to create a new domain and migrate the data.Q4. CloudFormation shows No interruption for EncryptionMode. Can it be changed back to DISK later?
No, it cannot.Update requires: No interruption is a classification used when updating the stack. The developer guide states that once enabled, it cannot be disabled, and the API reference states that once set to NATIVE, it cannot be changed back to DISK.Q5. What happens when you disable the index key?
If you disable or delete an index key without unregistering it, the indices that use that key turnred. Attempting to create a new index specifying that key will also fail with a 400 error. In domain-level encryption, disabling the key makes the domain inaccessible. At the index level, the impact the page describes is that the indices using that key turn red. Whether re-enabling the key brings the indices back is not documented.Q6. What happens if you unregister a key that is still in use?
The request fails with a 409 error, and the key remains registered. Before unregistering a key, you must either reindex or delete any indices that were encrypted with that key. If you do not have theget_index_count_for_key permission on the fine-grained access control domain, unregistration fails with a 503 error.Q7. Will the registration of keys be recorded in CloudTrail?
Not as OpenSearch Service events. What is recorded is the KMSCreateGrant event that the service creates when a key is registered.9. Summary
Using index-level encryption allows you to use a different customer managed key for each index within a single OpenSearch Service domain. The index key covers the data that users create. System indices and OpenSearch logs remain under the domain default key. Indices without a specified key also use the domain default key, and manual snapshots are not encrypted with the index key. While it may appear that the index key protects automated snapshots, there is no explicit statement confirming this.KMS permissions are checked when a key is registered and unregistered. After registration, users with access to the cluster can create indices using that key, even without KMS permissions. Separating keys does not substitute for fine-grained access control. Disabling or deleting a key without unregistering it turns the indices that use it
red. In domain-level encryption, the domain becomes inaccessible. Index-level encryption can only be selected when a new domain is created and cannot be changed back to DISK later.The steps to recover from
red, the behavior when the domain default key is disabled, and the combination with managed cross-Region disaster recovery are not documented on the pages as of the review date. The API shape on the developer guide page has changed since the April 30, 2026 capture. This article is based on materials current as of November 29, 2026 (Japan Standard Time). Open the index level page again before use.10. References
- Index level encryption for Amazon OpenSearch Service - Amazon OpenSearch Service
- Encryption of data at rest for Amazon OpenSearch Service - Amazon OpenSearch Service
- EncryptionAtRestOptions - Amazon OpenSearch Service
- AWS::OpenSearchService::Domain EncryptionAtRestOptions - AWS CloudFormation
- Setting up managed disaster recovery in Amazon OpenSearch Service - Amazon OpenSearch Service
- Amazon OpenSearch Service now supports index-level encryption
- Managed cross-Region disaster recovery for Amazon OpenSearch Service - AWS Big Data Blog
- Amazon OpenSearch Service now supports index-level encryption (Wayback Machine capture of 2026-04-30)
- Index level encryption for Amazon OpenSearch Service (Wayback Machine capture of 2026-04-30)
- Tenant Isolation per Data Service on AWS - Which Quota Stops a Silo First and What a Pool Hands to Your Code
- Which Key Protects Which AgentCore Data - Customer Managed Keys by Component, When You Choose Them, and Who Calls AWS KMS
- Amazon OpenSearch Service Cross-Region Disaster Recovery - What a Failover Loses and What Is Never Replicated
- IAM Authentication to DynamoDB, Keyspaces, and OpenSearch Service - Where Each Call Is Signed and Checked, What DAX and Fine-Grained Access Control Change, and What Revocation Reaches
- Encryption Controls by Service on AWS Storage - What Is On by Default, Which Key You Can Choose, and What Turning It On Does Not Re-encrypt
- AWS KMS Envelope Encryption and Data Key Caching Patterns - Design Decisions for the AWS Encryption SDK and Multi-Region Keys
- AWS SaaS Multi-Tenant Architecture Guide - Tenant Isolation, Pool and Silo Models, Onboarding, and Metering
References:
Tech Blog with curated related content
Written by Hidekazu Konishi