Skip to content

Commit 6f80e8e

Browse files
authored
add comments for encrypted object (#5)
Signed-off-by: Anish Ramasekar <[email protected]>
1 parent 3355fd1 commit 6f80e8e

File tree

1 file changed

+4
-4
lines changed
  • keps/sig-auth/3299-kms-v2-improvements

1 file changed

+4
-4
lines changed

keps/sig-auth/3299-kms-v2-improvements/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -210,13 +210,13 @@ The last byte represents the encoding style, with 0 meaning that the rest of the
210210
```go
211211
type EncryptedObject struct {
212212
TypeMeta `json:",inline" protobuf:"bytes,1,opt,name=typeMeta"`
213-
213+
// KeyID is the KMS key ID used for encryption operations.
214214
KeyID string `protobuf:"bytes,2,opt,name=keyID"`
215-
215+
// PluginName is the name of the KMS plugin used for encryption.
216216
PluginName string `protobuf:"bytes,3,opt,name=pluginName"`
217-
217+
// Ciphertext is the encrypted DEK.
218218
Ciphertext []byte `protobuf:"bytes,4,opt,name=ciphertext"`
219-
219+
// Annotations is additional metadata that was provided by the KMS plugin.
220220
Annotations map[string][]byte `protobuf:"bytes,5,opt,name=annotations"`
221221
}
222222
```

0 commit comments

Comments
 (0)