Data Source: azurerm_key_vault_key

Use this data source to access information about an existing Key Vault Key.

Example Usage

data "azurerm_key_vault_key" "example" {
  name         = "secret-sauce"
  key_vault_id = data.azurerm_key_vault.existing.id
}

output "key_type" {
  value = data.azurerm_key_vault_key.example.key_type
}

Argument Reference

The following arguments are supported:

NOTE: The vault must be in the same subscription as the provider. If the vault is in another subscription, you must create an aliased provider for that subscription.

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain actions: