Skip to content

Commit 6c93c5a

Browse files
committed
add cipher suite and key site per default
1 parent 8038096 commit 6c93c5a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/modules/hdfs/pages/usage-guide/security.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ The `kerberos.secretClass` is used to give HDFS the possibility to request keyta
3333

3434
The `tlsSecretClass` is needed to request TLS certificates, used e.g. for the Web UIs.
3535

36+
NOTE: The hdfs-operator uses the cipher suite `AES/CTR/NoPadding` with a 128 Bit key per default. This can be changed using config overrides.
3637

3738
=== 4. Verify that Kerberos authentication is required
3839
Use `stackablectl stacklet list` to get the endpoints where the HDFS namenodes are reachable.

rust/operator-binary/src/security/kerberos.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ impl HdfsSiteConfigBuilder {
5252
fn add_wire_encryption_settings(&mut self) -> &mut Self {
5353
self.add("dfs.data.transfer.protection", "privacy");
5454
self.add("dfs.encrypt.data.transfer", "true");
55+
self.add(
56+
"dfs.encrypt.data.transfer.cipher.suite",
57+
"AES/CTR/NoPadding",
58+
);
59+
self.add("dfs.encrypt.data.transfer.cipher.key.bitlength", "128");
5560
self
5661
}
5762
}

0 commit comments

Comments
 (0)