Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update moc proto files for kmsv2 spec #270

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

CCTSAI-Tony
Copy link

Update moc_cloudagent_key.proto and moc_common_common.proto for kmsv2 spec.

@@ -34,6 +34,7 @@ message KeyOperationResponse {
string Data = 1 [(sensitive) = true];
google.protobuf.BoolValue Result = 2;
string Error = 3;
string KeyId = 4;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a new field KeyCreationTime

Copy link
Contributor

@raghavendra-nataraj raghavendra-nataraj Aug 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add Key ID to KeyOperationRequest for decrypt

@@ -220,6 +220,8 @@ enum ProviderAccessOperation {
Key_UnwrapKey = 505;
Key_Sign = 506;
Key_Verify = 507;
Key_WrapKey_NoRollover = 508;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will need only Key_rotate operations

@@ -220,6 +220,8 @@ enum ProviderAccessOperation {
Key_UnwrapKey = 505;
Key_Sign = 506;
Key_Verify = 507;
Key_WrapKey_NoRollover = 508;
Key_Status = 509;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We dont need status or rollover. WE can use the keyoratationfrequency flag

@CCTSAI-Tony CCTSAI-Tony marked this pull request as draft August 20, 2024 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants