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: [email protected]
For additional commands, e-mail: [email protected]