ozone
ozone copied to clipboard
HDDS-14067. [STS] Plumbing and CLI utility to revoke STS token
Please describe your PR in detail:
- Plumbing and CLI utility to revoke STS token. The CLI utility is invoked like in the following example:
ozone s3 revokeststoken -k ASIALMO9PNUEKTDPTWM4
Enter 'y' to confirm STS token revocation for accessKeyId 'ASIALMO9PNUEKTDPTWM4': y
STS token revoked for accessKeyId 'ASIALMO9PNUEKTDPTWM4'.
- This PR updates the CLI utility logic from the the previous PR https://github.com/apache/ozone/pull/9435 so that it only requires one parameter instead of two, in accordance with the design.
- This PR depends on https://github.com/apache/ozone/pull/9445.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-14067
How was this patch tested?
unit tests (and prototype)