Skip to content

Instantly share code, notes, and snippets.

@infamousjoeg
Last active October 23, 2023 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save infamousjoeg/3c2256db00d84199c31bc49c689855eb to your computer and use it in GitHub Desktop.
Save infamousjoeg/3c2256db00d84199c31bc49c689855eb to your computer and use it in GitHub Desktop.
Sample Terraform Manifest for cyberark/conjur
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
}
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