Skip to content

Commit

Permalink
Merge pull request #121189 from nilekhc/validation-doc
Browse files Browse the repository at this point in the history
[KMSv2] chore: updates api doc
  • Loading branch information
k8s-ci-robot committed Oct 12, 2023
2 parents e93e8ea + 78ffa88 commit 1cc9479
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions staging/src/k8s.io/kms/apis/v2/api.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions staging/src/k8s.io/kms/apis/v2/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,8 @@ message EncryptResponse {
string key_id = 2;
// Additional metadata to be stored with the encrypted data.
// This data is stored in plaintext in etcd. KMS plugin implementations are responsible for pre-encrypting any sensitive data.
// Annotations must satisfy the following constraints:
// 1. Annotation key must be a fully qualified domain name that conforms to the definition in DNS (RFC 1123).
// 2. The size of annotations keys + values is less than 32 kB.
map<string, bytes> annotations = 3;
}

0 comments on commit 1cc9479

Please sign in to comment.