Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-9529

Fix authentication check for Vault S3 secret store

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Implemented
    • 1.4.0
    • 1.4.0
    • None

    Description

      Currently in VaultS3SecretStore we check that auth token is valid before each operation, for example 

      checkAuth();
      vault.logical().write(secretPath + '/' + kerberosId,
              Collections.singletonMap(kerberosId, secret.getAwsSecret())); 

      So, its possible that authentication token is valid on check action but not valid on operation (expiration occurred between operations). 

       

      Attachments

        Issue Links

          Activity

            People

              PochatkinMikhail Mikhail Pochatkin
              PochatkinMikhail Mikhail Pochatkin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: