Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New() keyprovider.Descriptor
func ReadPathOrContents ¶
TODO This is copied in from the backend packge to prevent a circular dependency loop If the argument is a path, ReadPathOrContents loads it and returns the contents, otherwise the argument is assumed to be the desired contents and is simply returned.
Types ¶
type Config ¶
type Config struct {
Credentials string `hcl:"credentials,optional"`
AccessToken string `hcl:"access_token,optional"`
ImpersonateServiceAccount string `hcl:"impersonate_service_account,optional"`
ImpersonateServiceAccountDelegates []string `hcl:"impersonate_service_account_delegates,optional"`
KMSKeyName string `hcl:"kms_encryption_key"`
KeyLength int `hcl:"key_length"`
}
func (Config) Build ¶
func (c Config) Build() (keyprovider.KeyProvider, keyprovider.KeyMeta, error)
Click to show internal directories.
Click to hide internal directories.