encryption

package
v0.134.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncryptValue deprecated

func EncryptValue(encryptionKey, value, description string) (string, string, error)

EncryptValue encrypts the given value with the given encryption key. Description should be set such that errors return a meaningful user-facing response.

Deprecated: This function will be removed in v2 without replacement. Please see https://www.terraform.io/docs/extend/best-practices/sensitive-state.html#don-39-t-encrypt-state for more information.

func RetrieveGPGKey deprecated

func RetrieveGPGKey(pgpKey string) (string, error)

RetrieveGPGKey returns the PGP key specified as the pgpKey parameter, or queries the public key from the keybase service if the parameter is a keybase username prefixed with the phrase "keybase:"

Deprecated: This function will be removed in v2 without replacement. Please see https://www.terraform.io/docs/extend/best-practices/sensitive-state.html#don-39-t-encrypt-state for more information.

Types

This section is empty.

Jump to

Keyboard shortcuts

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