mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-02-23 08:01:51 -05:00
Signed-off-by: AbstractionFactory <179820029+abstractionfactory@users.noreply.github.com> Signed-off-by: ollevche <ollevche@gmail.com> Co-authored-by: Oleksandr Levchenkov <ollevche@gmail.com>
23 lines
699 B
HCL
23 lines
699 B
HCL
terraform {
|
|
encryption {
|
|
key_provider "pbkdf2" "foo" {
|
|
# Specify a long / complex passphrase (min. 16 characters)
|
|
passphrase = "correct-horse-battery-staple"
|
|
|
|
# Alternatively, receive the passphrase from another key provider:
|
|
chain = key_provider.other.provider
|
|
|
|
# Adjust the key length to the encryption method (default: 32)
|
|
key_length = 32
|
|
|
|
# Specify the number of iterations (min. 200.000, default: 600.000)
|
|
iterations = 600000
|
|
|
|
# Specify the salt length in bytes (default: 32)
|
|
salt_length = 32
|
|
|
|
# Specify the hash function (sha256 or sha512, default: sha512)
|
|
hash_function = "sha512"
|
|
}
|
|
}
|
|
} |