sarutak commented on code in PR #57557:
URL: https://github.com/apache/spark/pull/57557#discussion_r3658223443
##########
core/src/main/java/org/apache/spark/security/CredentialProviderLoader.java:
##########
@@ -66,14 +66,14 @@ public final class CredentialProviderLoader {
* When set (non-empty), the configured fully-qualified class name must
match a discovered
* provider that supports the scheme; a mismatch results in an {@link
IllegalArgumentException}.
*/
- private static final String CONF_PREFIX =
"spark.security.credentials.provider.";
+ private static final String CONF_PREFIX = "spark.security.oidc.provider.";
/**
* Configuration key prefix used to scope the configuration passed to
* {@link CredentialProvider#init(Map)}. Only keys starting with this prefix
are forwarded,
* preventing unrelated secrets from leaking to third-party provider
implementations.
*/
- private static final String CREDENTIALS_CONF_PREFIX =
"spark.security.credentials.";
+ private static final String CREDENTIALS_CONF_PREFIX = "spark.security.oidc.";
Review Comment:
Fixed. Thank you. The remaining "credentials" in `CredentialProvider.java`
Javadoc (e.g., "return temporary AWS credentials", "credentials produced by
this provider") refers to the actual service credentials (STS temporary keys)
that providers produce and not the config namespace. These are accurate as-is.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]