opentofu/internal/encryption/keyprovider/static
Andrei Ciobanu 57a68260e9
Allow key_provider blocks to reference with raw references other key_provider blocks in JSON format (#3794)
Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
2026-03-17 16:06:09 +02:00
..
config.go [State Encryption] Compliance tests (#1377) 2024-03-14 15:53:40 +01:00
config_test.go PBKDF2 passphrase key provider (#1310) 2024-03-11 14:24:31 +01:00
descriptor.go [State Encryption] Compliance tests (#1377) 2024-03-14 15:53:40 +01:00
example_test.go tofu: EvalContext expression evaluation takes context.Context (#2937) 2025-06-19 10:46:31 +01:00
meta.go PBKDF2 passphrase key provider (#1310) 2024-03-11 14:24:31 +01:00
provider.go [State Encryption] Compliance tests (#1377) 2024-03-14 15:53:40 +01:00
provider_test.go Allow key_provider blocks to reference with raw references other key_provider blocks in JSON format (#3794) 2026-03-17 16:06:09 +02:00
README.md PBKDF2 passphrase key provider (#1310) 2024-03-11 14:24:31 +01:00

Example static key provider

Warning

This file is not an end-user documentation, it is intended for developers. Please follow the user documentation on the OpenTofu website unless you want to work on the encryption code.

Warning

This provider is not intended for production use and merely serves as a simple example!

This folder contains a key provider that accepts a static, hex-encoded key. Its only purpose is to serve as a provider for tests and as a demonstration on implementing a key provider.