This terraform provider lets you create and retrieve credentials from credhub.
Requirements: You need, of course, terraform (>=0.13) which is available here: https://www.terraform.io/downloads.html
Add to your terraform file:
terraform {
required_providers {
cfsecurity = {
source = "orange-cloudfoundry/credhub"
version = "latest"
}
}
}
You can find documentation at https://registry.terraform.io/providers/orange-cloudfoundry/credhub/latest/docs