[SAP] add SAPKMSCryptoPlugin and PerSecretKEKStoreAdapter for SAP KMS…#30
Draft
rajivmucheli wants to merge 1 commit into
Draft
[SAP] add SAPKMSCryptoPlugin and PerSecretKEKStoreAdapter for SAP KMS…#30rajivmucheli wants to merge 1 commit into
rajivmucheli wants to merge 1 commit into
Conversation
… integration - Introduces `SAPKMSCryptoPlugin`, a Fernet-based crypto engine compatible with Barbican’s upstream plugin interface. - Adds `PerSecretKEKStoreAdapter`, enabling per-secret KEK resolution via user metadata (`sap_gtid`). - Replaces legacy ToyCryptoPlugin references with SAPKMS equivalents. - Updates `setup.cfg` entry points and `barbican.conf` to register `sap_kms_crypto` and `sap_kms_adapter`. - Ensures full compatibility with upstream Barbican `cbase` DTOs and plugin manager. - Includes improved logging, safe key handling, and transient plugin_meta propagation. Change-Id: I7fb4f054d53fe9ae4e0c4e395a0e6f51c50d3403
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
… integration
SAPKMSCryptoPlugin, a Fernet-based crypto engine compatible with Barbican’s upstream plugin interface.PerSecretKEKStoreAdapter, enabling per-secret KEK resolution via user metadata (sap_gtid).setup.cfgentry points andbarbican.confto registersap_kms_cryptoandsap_kms_adapter.cbaseDTOs and plugin manager.Change-Id: I7fb4f054d53fe9ae4e0c4e395a0e6f51c50d3403