You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Mikhail Pochatkin (Jira)" <ji...@apache.org> on 2023/10/25 07:44:00 UTC
[jira] [Created] (HDDS-9529) Fix authentication check for Vault S3 secret store
Mikhail Pochatkin created HDDS-9529:
---------------------------------------
Summary: Fix authentication check for Vault S3 secret store
Key: HDDS-9529
URL: https://issues.apache.org/jira/browse/HDDS-9529
Project: Apache Ozone
Issue Type: Improvement
Affects Versions: 1.4.0
Reporter: Mikhail Pochatkin
Assignee: Mikhail Pochatkin
Currently in VaultS3SecretStore we check that auth token is valid before each operation, for example
{code:java}
checkAuth();
vault.logical().write(secretPath + '/' + kerberosId,
Collections.singletonMap(kerberosId, secret.getAwsSecret())); {code}
So, its possible that authentication token is valid on check action but not valid on operation (expiration occurred between operations).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org