mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-22 03:07:51 -05:00
Signed-off-by: Christian Mesh <christianmesh1@gmail.com> Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org> Co-authored-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
21 lines
425 B
Plaintext
21 lines
425 B
Plaintext
terraform {
|
|
encryption {
|
|
key_provider "pbkdf2" "basic" {
|
|
passphrase = var.passphrase
|
|
key_length = local.key_length
|
|
iterations = 200000
|
|
hash_function = "sha512"
|
|
salt_length = 12
|
|
}
|
|
method "aes_gcm" "example" {
|
|
keys = key_provider.pbkdf2.basic
|
|
}
|
|
state {
|
|
method = method.aes_gcm.example
|
|
}
|
|
plan {
|
|
method = method.aes_gcm.example
|
|
}
|
|
}
|
|
}
|