Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index Level Encryption #8791

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Add getter for path field in NestedQueryBuilder ([#4636](https://github.com/opensearch-project/OpenSearch/pull/4636))
- Allow mmap to use new JDK-19 preview APIs in Apache Lucene 9.4+ ([#5151](https://github.com/opensearch-project/OpenSearch/pull/5151))
- Add events correlation engine plugin ([#6854](https://github.com/opensearch-project/OpenSearch/issues/6854))
- Index level encryption features (.[#8791](https://github.com/opensearch-project/OpenSearch/pull/8791))

### Dependencies
- Bump `log4j-core` from 2.18.0 to 2.19.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,12 @@ public final class IndexScopedSettings extends AbstractScopedSettings {
IndexSettings.INDEX_MERGE_ON_FLUSH_POLICY,
IndexSettings.DEFAULT_SEARCH_PIPELINE,

// Settings for Encryption
FsDirectoryFactory.INDEX_CRYPTO_PROVIDER_SETTING,
FsDirectoryFactory.INDEX_KMS_PATH_SETTING,
FsDirectoryFactory.INDEX_KMS_ALIAS_SETTING,
FsDirectoryFactory.INDEX_KMS_PASSWORD_SETTING,

// Settings for Searchable Snapshots
IndexSettings.SEARCHABLE_SNAPSHOT_REPOSITORY,
IndexSettings.SEARCHABLE_SNAPSHOT_INDEX_ID,
Expand Down
2 changes: 2 additions & 0 deletions server/src/main/java/org/opensearch/index/IndexModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,7 @@ public enum Type {
MMAPFS("mmapfs"),
SIMPLEFS("simplefs"),
FS("fs"),
CRYPTOFS("cryptofs"),
REMOTE_SNAPSHOT("remote_snapshot");

private final String settingsKey;
Expand Down Expand Up @@ -675,6 +676,7 @@ public static Map<String, IndexStorePlugin.DirectoryFactory> createBuiltInDirect
case NIOFS:
case FS:
case MMAPFS:
case CRYPTOFS:
case SIMPLEFS:
factories.put(type.getSettingsKey(), DEFAULT_DIRECTORY_FACTORY);
break;
Expand Down
Loading