HADOOP-15745. ABFS: Add ABFS configuration to ConfigRedactor.

This commit is contained in:
Sean Mackrory 2018-09-12 07:14:31 -06:00 committed by Thomas Marquardt
parent 6801b30733
commit 9475fd902a
3 changed files with 13 additions and 2 deletions

View File

@ -886,7 +886,9 @@ public class CommonConfigurationKeysPublic {
"fs.s3a.*.server-side-encryption.key",
"fs.azure\\.account.key.*",
"credential$",
"oauth.*token$",
"oauth.*secret",
"oauth.*password",
"oauth.*token",
HADOOP_SECURITY_SENSITIVE_CONFIG_KEYS);
/**

View File

@ -603,7 +603,9 @@
fs.s3a.*.server-side-encryption.key
fs.azure.account.key.*
credential$
oauth.*token$
oauth.*secret
oauth.*password
oauth.*token
hadoop.security.sensitive-config-keys
</value>
<description>A comma-separated or multi-line list of regular expressions to

View File

@ -55,6 +55,13 @@ public class TestConfigRedactor {
"fs.s3a.server-side-encryption.key",
"fs.s3a.bucket.engineering.server-side-encryption.key",
"fs.azure.account.key.abcdefg.blob.core.windows.net",
"fs.azure.account.key.abcdefg.dfs.core.windows.net",
"fs.azure.account.oauth2.client.secret",
"fs.azure.account.oauth2.client.secret.account.dfs.core.windows.net",
"fs.azure.account.oauth2.user.password",
"fs.azure.account.oauth2.user.password.account.dfs.core.windows.net",
"fs.azure.account.oauth2.refresh.token",
"fs.azure.account.oauth2.refresh.token.account.dfs.core.windows.net",
"fs.adl.oauth2.refresh.token",
"fs.adl.oauth2.credential",
"dfs.adls.oauth2.refresh.token",