You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/05/23 14:46:00 UTC
[jira] [Commented] (DRILL-8232) Add support for user credentials to VaultCredentialsProvider
[ https://issues.apache.org/jira/browse/DRILL-8232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17540986#comment-17540986 ]
ASF GitHub Bot commented on DRILL-8232:
---------------------------------------
jnturton opened a new pull request, #2558:
URL: https://github.com/apache/drill/pull/2558
# [DRILL-8232](https://issues.apache.org/jira/browse/DRILL-8232): Add support for user credentials to VaultCredentialsProvider
## Description
The VaultCredentialsProvider can join the PlainCredentialsProvider in supporting user credentials, credentials that stored for each each Drill query user and which are needed for the user_translation auth mode, by constructing a Vault secret path dynamically based on the name of the query user. A variable named `$user` in the VaultCredentialsProvider's `secretPath` is replaced with the query user's name at query time.
## Documentation
To be added once the new auth mode implementation has stabilised.
## Testing
CredentialsProviderImplementationsTest::testVaultUserCredentialsPresent
CredentialsProviderImplementationsTest::testVaultUserCredentialsAbsent
> Add support for user credentials to VaultCredentialsProvider
> ------------------------------------------------------------
>
> Key: DRILL-8232
> URL: https://issues.apache.org/jira/browse/DRILL-8232
> Project: Apache Drill
> Issue Type: Improvement
> Components: Security
> Reporter: James Turton
> Priority: Minor
> Fix For: 2.0.0
>
>
> The VaultCredentialsProvider can join the PlainCredentialsProvider in supporting user credentials, credentials that stored for each each Drill query user, by constructing a Vault secret path dynamically based on the name of the query user.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)