You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: variables.tf
+29Lines changed: 29 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,11 @@ variable "secrets" {
29
29
default={}
30
30
}
31
31
32
+
variable"use_dynamic_access_policy" {
33
+
description="If true, use dynamic access policy block within azurerm_key_vault. If false, use separate azurerm_key_vault_access_policy resource."
34
+
type=bool
35
+
default=false
36
+
}
32
37
33
38
variable"managedby" {
34
39
type=string
@@ -271,3 +276,27 @@ variable "network_acls" {
271
276
})
272
277
default={}
273
278
}
279
+
280
+
variable"access_policies" {
281
+
type=list(object({
282
+
object_id =string,
283
+
certificate_permissions =list(string),
284
+
key_permissions =list(string),
285
+
secret_permissions =list(string),
286
+
storage_permissions =list(string),
287
+
}))
288
+
default=[]
289
+
description="Map of access policies for an object_id (user, service principal, security group) to backend."
290
+
}
291
+
292
+
variable"keyvault_admin_enabled" {
293
+
type=bool
294
+
default=false
295
+
description="Controls whether to assign Key Vault Administrator (true) or Key Vault Contributor (false) roles to the specified principals."
296
+
}
297
+
298
+
variable"contributor_objects_ids" {
299
+
type=list(string)
300
+
default=[]
301
+
description="List of principal IDs (Object IDs) that will be assigned the Key Vault Contributor role when keyvault_admin_enabled is set to false. These can be User, Group, or Service Principal Object IDs from Azure Active Directory."
0 commit comments