Use this data source to access information about the permissions from the Management Key Vault Templates.
data "azurerm_key_vault_access_policy" "contributor" { name = "Key Management" } output "access_policy_key_permissions" { value = "${data.azurerm_key_vault_access_policy.key_permissions}" }
name
- (Required) Specifies the name of the Management Template. Possible values are: Key Management
, Secret Management
, Certificate Management
, Key & Secret Management
, Key & Certificate Management
, Secret & Certificate Management
, Key, Secret, & Certificate Management
id
- the ID of the Key Vault Access Policy
key_permissions
- the key permissions for the access policy
secret_permissions
- the secret permissions for the access policy
certificate_permissions
- the certificate permissions for the access policy
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/azurerm/d/key_vault_access_policy.html