secretConfig

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

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

type PlaintextSecretKeyValue struct {
	Key   string
	Value string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL