Versions in this module Expand all Collapse all v0 v0.0.1 Aug 28, 2024 Changes in this version + var DefaultRegistry = lockingencryptionregistry.New() + func IsEncryptionPayload(data []byte) (bool, error) + type Encryption interface + Plan func() PlanEncryption + RemoteState func(string) StateEncryption + State func() StateEncryption + func Disabled() Encryption + func New(reg registry.Registry, cfg *config.EncryptionConfig, ...) (Encryption, hcl.Diagnostics) + type PlanEncryption interface + DecryptPlan func([]byte) ([]byte, error) + EncryptPlan func([]byte) ([]byte, error) + func PlanEncryptionDisabled() PlanEncryption + type StateEncryption interface + DecryptState func([]byte) ([]byte, error) + EncryptState func([]byte) ([]byte, error) + func StateEncryptionDisabled() StateEncryption