Last active
October 23, 2023 14:11
-
-
Save infamousjoeg/3c2256db00d84199c31bc49c689855eb to your computer and use it in GitHub Desktop.
Sample Terraform Manifest for cyberark/conjur
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
variable "conjur_appliance_url" {} | |
variable "conjur_login" {} | |
variable "conjur_api_key" {} | |
provider "conjur" { | |
appliance_url = var.conjur_appliance_url | |
account = "conjur" | |
login = var.conjur_login | |
api_key = var.conjur_api_key | |
} | |
data "conjur_secret" "hello_world_secret" { | |
name = "secret/hello/world" | |
} | |
output "hello_world_secret_value" { | |
value = data.conjur_secret.hello_world_secret.value | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
terraform { | |
required_version = ">= 1.5.7" | |
required_providers { | |
conjur = { | |
source = "cyberark/conjur" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment