Versions in this module Expand all Collapse all v0 v0.3.0 Aug 24, 2026 v0.2.0 Aug 12, 2026 Changes in this version + type EncryptionConfig struct + DeclRange hcl.Range + KeyProviderConfigs []KeyProviderConfig + MethodConfigs []MethodConfig + Plan *EnforceableTargetConfig + Remote *RemoteConfig + State *EnforceableTargetConfig + func DecodeConfig(body hcl.Body, rng hcl.Range) (*EncryptionConfig, hcl.Diagnostics) + func LoadConfigFromString(sourceName string, rawInput string) (*EncryptionConfig, hcl.Diagnostics) + func MergeConfigs(cfg *EncryptionConfig, override *EncryptionConfig) *EncryptionConfig + func (c *EncryptionConfig) GetKeyProvider(kpType, kpName string) (KeyProviderConfig, bool) + func (c *EncryptionConfig) Merge(override *EncryptionConfig) *EncryptionConfig + type EnforceableTargetConfig struct + Enforced bool + Fallback *TargetConfig + Method hcl.Expression + func (e EnforceableTargetConfig) AsTargetConfig() *TargetConfig + type KeyProviderConfig struct + Body hcl.Body + EncryptedMetadataAlias string + Name string + Type string + func (k KeyProviderConfig) Addr() (keyprovider.Addr, hcl.Diagnostics) + type MethodConfig struct + Body hcl.Body + Name string + Type string + func (m MethodConfig) Addr() (method.Addr, hcl.Diagnostics) + type NamedTargetConfig struct + Fallback *TargetConfig + Method hcl.Expression + Name string + func (n NamedTargetConfig) AsTargetConfig() *TargetConfig + type RemoteConfig struct + Default *TargetConfig + Targets []NamedTargetConfig + type TargetConfig struct + Fallback *TargetConfig + Method hcl.Expression