Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EncryptedSecretConfig ¶
type EncryptedSecretConfig struct { Namespace string `yaml:namespace` SecretName string `yaml:secretName` Secrets []EncryptedSecretKeyValue `yaml:secrets` }
func GenerateSecretConfig ¶
func GenerateSecretConfig(kmsKeyName string, namespace string, secretName string, keyVals []*PlaintextSecretKeyValue) (encryptedConfig EncryptedSecretConfig, err error)
type EncryptedSecretKeyValue ¶
type EncryptedSecretKeyValue struct { Key string `yaml:key` B64EncryptedValue string `yaml:b64EncryptedValue` }
func (*EncryptedSecretKeyValue) B64Decode ¶
func (keyVal *EncryptedSecretKeyValue) B64Decode() (b64Decoded []byte, error error)
type PlaintextSecretKeyValue ¶
Click to show internal directories.
Click to hide internal directories.