Skip to content

Commit 53f8243

Browse files
authored
[docs] Improve Secure saved objects and kibana-encryption-keys docs (#132828) (#132881)
(cherry picked from commit ef9e3c4) # Conflicts: # docs/user/commands/encryption-keys/index.asciidoc
1 parent cdac3e9 commit 53f8243

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/user/security/secure-saved-objects.asciidoc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,17 @@ You might also leverage this functionality if multiple {kib} instances connected
4545
============================================================================
4646

4747
At some point, you might want to dispose of old encryption keys completely. Make sure there are no saved objects that {kib} encrypted with these encryption keys. You can use the <<saved-objects-api-rotate-encryption-key, rotate encryption key API>> to determine which existing saved objects require decryption-only keys and re-encrypt them with the primary key.
48+
49+
[[encryption-key-docker-configuration]]
50+
==== Docker configuration
51+
52+
It's also possible to configure the encryption keys using <<environment-variable-config,Docker environment variables>>.
53+
54+
Docker environment variable examples:
55+
56+
[source,sh]
57+
--------------------------------------------------------------------------------
58+
XPACK_ENCRYPTEDSAVEDOBJECTS_ENCRYPTIONKEY="min-32-byte-long-NEW-encryption-key"
59+
XPACK_ENCRYPTEDSAVEDOBJECTS_KEYROTATION_DECRYPTIONONLYKEYS[0]="min-32-byte-long-OLD#1-encryption-key"
60+
XPACK_ENCRYPTEDSAVEDOBJECTS_KEYROTATION_DECRYPTIONONLYKEYS[1]="min-32-byte-long-OLD#2-encryption-key"
61+
--------------------------------------------------------------------------------

0 commit comments

Comments
 (0)