vault_approle_auth_backend_role

Reads the Role ID of an AppRole from a Vault server.

Example Usage

data "vault_approle_auth_backend_role_id" "role" {
  backend   = "my-approle-backend"
  role_name = "my-role"
}

output "role-id" {
  value = data.vault_approle_auth_backend_role_id.role.role_id
}

Argument Reference

The following arguments are supported:

Attributes Reference

In addition to the above arguments, the following attributes are exported: