The Vault Secrets secret resource manages a secret within a given application.
resource "hcp_vault_secrets_secret" "example" {
app_name = "example-app-name"
secret_name = "example_secret"
secret_value = "hashi123"
}
app_name
(String) The name of the application the secret can be found insecret_name
(String) The name of the secretsecret_value
(String, Sensitive) The value of the secretproject_id
(String) The ID of the HCP project where the HCP Vault Secrets secret is located.id
(String) The id of the resourceorganization_id
(String) The ID of the HCP organization where the project the HCP Vault Secrets secret is located.