Documentation ¶
Index ¶
- func DecryptCipherDataKey(kmsService kmsiface.KMSAPI, cipherDataKey []byte) (*[32]byte, error)
- func FindKeyId(manifestPath string) (string, error)
- func GenerateDataKey(kmsService kmsiface.KMSAPI, keyId string) (*[32]byte, []byte, error)
- type KeysLocation
- type Manifest
- type Object
- type Payload
- type TextLocation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptCipherDataKey ¶ added in v0.0.33
Types ¶
type KeysLocation ¶
type KeysLocation struct { TextLocation Key string }
type Object ¶
type Object struct { // The original text as parsed by NewYAMLOrJSONDecoder. Raw []byte // The original object as decoded by UniversalDeserializer. Object runtime.Object Meta metav1.Object // Tracking for the various stages of encryption and decryption. OrigEnc *secretsv1beta1.EncryptedSecret OrigDec *hacksecretsv1beta1.DecryptedSecret AfterDec *hacksecretsv1beta1.DecryptedSecret AfterEnc *secretsv1beta1.EncryptedSecret Kind string Data map[string]string // The KMS KeyId used for this object, if known. If nil, it might be a new // object. KeyId string // Byte coordinates for areas of the raw text we need to edit when re-serializing. KindLoc TextLocation DataLoc TextLocation KeyLocs []KeysLocation }
type TextLocation ¶
Click to show internal directories.
Click to hide internal directories.