Documentation ¶
Index ¶
Constants ¶
const ( K8s = "k8s_secrets" File = "file" ConjurMapKey = "conjur-map" DefaultRetryCountLimit = 5 DefaultRetryIntervalSec = 1 MinRetryValue = 0 )
Constants for Secrets Provider operation modes, and Defaults for some SP settings
const ( TYPESTRING annotationType = iota TYPEINT TYPEBOOL )
Represents each annotation input value type, used during input value validation
Variables ¶
This section is empty.
Functions ¶
func GatherSecretsProviderSettings ¶
GatherSecretsProviderSettings returns a string-to-string map of all provided environment variables and parsed, valid annotations that are concerned with Secrets Provider Config.
func ValidateAnnotations ¶
ValidateAnnotations confirms that the provided annotations are properly formated, have the proper value type, and if the annotation in question had a defined set of accepted values, the provided value is confirmed. Function returns a list of Error logs, and a list of Info logs.
func ValidateSecretsProviderSettings ¶
ValidateSecretsProviderSettings confirms that the provided environment variable and annotation settings yield a valid Secrets Provider configuration. Returns a list of Error logs, and a list of Info logs.