duongkame opened a new pull request, #4345: URL: https://github.com/apache/ozone/pull/4345
## What changes were proposed in this pull request? SCM API to expose SecretKeys to OM and Datanodes. The APIs are implemented in the same SCMSecurityProtocol that is used by OM & Datanodes today to fetch Certificates. List of new APIs: - getCurrentSecretKey: used by OM to fetch the current key to sign block tokens. - getSecretKey: used by Datanodes to fetch a secret key with a given key id (encoded in the tokens sent to datanodes). - getAllSecretKeys: allow Datanodes to proactively prefetch secret keys from SCM. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-7830 ## How was this patch tested? Integration test. https://github.com/duongkame/ozone/actions/runs/4326181228 -- 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]
