mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-21 10:47:34 -05:00
Signed-off-by: Janos <86970079+janosdebugs@users.noreply.github.com> Signed-off-by: James Humphries <James@james-humphries.co.uk> Co-authored-by: James Humphries <James@james-humphries.co.uk> Co-authored-by: Siddhartha Sonker <34684647+siddharthasonker@users.noreply.github.com>
26 lines
840 B
HCL
26 lines
840 B
HCL
terraform {
|
|
encryption {
|
|
key_provider "openbao" "my_bao" {
|
|
|
|
# Required. Name of the transit encryption key
|
|
# to use to encrypt/decrypt the data key.
|
|
key_name = "test-key"
|
|
|
|
# Optional. Authorization Token to use when accessing OpenBao API.
|
|
# You can also set this in the BAO_TOKEN environment variable.
|
|
token = "s.Fg8wA4nDrP08TirpjEXkrTmt"
|
|
|
|
# Optional. OpenBao server address to access the API on.
|
|
# You can also set this using the BAO_ADDR environment variable.
|
|
address = "http://127.0.0.1:8200"
|
|
|
|
# Optional. You can customize this if you mounted the
|
|
# transit engine on a different path. Default: /transit
|
|
transit_engine_path = "/my-org/transit"
|
|
|
|
# Optional. Number of bytes to generate as a key. Default: 32
|
|
key_length = 16
|
|
}
|
|
}
|
|
}
|