aswinshakil opened a new pull request, #3566:
URL: https://github.com/apache/ozone/pull/3566

   ## What changes were proposed in this pull request?
   
   We are unable to get secret even though we kinit with the same user for 
which we want to retrieve the secret. This PR aims to fix this by getting short 
user principal and not the full prinicipal.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-6968
   
   ## How was this patch tested?
   
   The patch was tested manually in a cluster and also using CI tests.
   
   ```
   bash-4.2$ klist
   Ticket cache: FILE:/tmp/krb5cc_0
   Default principal: [email protected]
   
   bash-4.2$ ozone tenant user getsecret 'tenant$systest' --om-service-id=ozone1
   export AWS_ACCESS_KEY_ID='tenant$systest'
   export 
AWS_SECRET_ACCESS_KEY='e264d0460c146624d381d058677b4102f8deaaa7302ad589d85adc1c3fdd7d16'
   ```
   


-- 
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]

Reply via email to