Skip to content

Commit

Permalink
add comments for encrypted object (#5)
Browse files Browse the repository at this point in the history
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
  • Loading branch information
aramase committed Jun 14, 2022
1 parent 3355fd1 commit 6f80e8e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions keps/sig-auth/3299-kms-v2-improvements/README.md
Expand Up @@ -210,13 +210,13 @@ The last byte represents the encoding style, with 0 meaning that the rest of the
```go
type EncryptedObject struct {
TypeMeta `json:",inline" protobuf:"bytes,1,opt,name=typeMeta"`

// KeyID is the KMS key ID used for encryption operations.
KeyID string `protobuf:"bytes,2,opt,name=keyID"`

// PluginName is the name of the KMS plugin used for encryption.
PluginName string `protobuf:"bytes,3,opt,name=pluginName"`

// Ciphertext is the encrypted DEK.
Ciphertext []byte `protobuf:"bytes,4,opt,name=ciphertext"`

// Annotations is additional metadata that was provided by the KMS plugin.
Annotations map[string][]byte `protobuf:"bytes,5,opt,name=annotations"`
}
```
Expand Down

0 comments on commit 6f80e8e

Please sign in to comment.