From 143565f2ca41c1990cebad476cf517a988a8f0dc Mon Sep 17 00:00:00 2001 From: Hadwa Gaber Date: Thu, 15 Jun 2023 14:47:25 -0700 Subject: [PATCH] update azure keyvault example --- .../example.pfx | Bin 2614 -> 2614 bytes .../terraform-azure-keyvault-example/main.tf | 50 +++++++++--------- 2 files changed, 26 insertions(+), 24 deletions(-) diff --git a/examples/azure/terraform-azure-keyvault-example/example.pfx b/examples/azure/terraform-azure-keyvault-example/example.pfx index 604588e7acc06192fd263f225d572312d437e4a7..1a2ce7593506b6add3c3082eb1f75297ed4b2b49 100755 GIT binary patch delta 2355 zcmV-33C#Ak6t)zQXn$hK*SPpT7-|9n2haq91lVZRV#a!4_&;Qn0k0wu)LQ&fHrv$H zm%b!NvoO1o`8l^H=`_Fm-$5#>tWrDv=lvrz`iIs1eM53XUI)*J7cFNs<-NqAq}9=4 zO4(KlGG#L4;MQGXJ$z&ca101YEdT5B`FB|yt`gd(!HJ|qkAEV@agU{&WL_J1O?%QV{F+8DnNdh3^@wzP{dk4TeV@#bc*k5a`Y3h?rnfe#X4EaArOB-JIwL^C?Mhd`v zhUJ-d1);9&rCGAPX8Zhq4j_XZ=@oXuiO{HhmiR4q5UvL^x0_qJ%INbvfa8$|36Z$C06^kQ2Pf#gE ziRYq)^dO0YOnOhcnXXy^-NL=!P__lHv*KIWBNwFLVZ$;V;t^TiC+bagSWx(j;6~48 zorK9;8rD4*R1-*2j74b2|U$%P-*#N@~#isCv{kWpna8c z*MIzl0%jv@EsN&ZgIl}i(YIg5^m(5dMIA?4IZ$wLqp_iBI1@20 z$eF{OrJez&0gRk0L(2!jg2n`?M2Gff^$Dz$NW{EMgzuxeTO-<0xb~gax6{7v$WkK! zFr8a4=UrSs(-$d`;Egu24(jhspcJy`+kYNr(V<720tOme-{Ie~EHUItEIoQ-XVKT& zu(O3{@mJ`Zik)<*qwHly5BtsXn2wJpTSZeN*SEv?SZI%w3w&@25T}_{-v}?BJ)l|s zubN8+mKUD*bxVwEVFv={J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&$Mz>gec7N!wdv~yiWbzf{ zz}Wk!h_8Dn58QS}5n${TJIDo?_&S9Z#CO&M&a~dCTB)+gv4t>%S=6Pw0Q3|V52jRE zG6gcsHM@gn*CT|{#$C%(Ri3ZJ15%sZo_Liy9qs|gP0X`@Sn;_Qp9U`B6V5sp#TO&e zFth>-7MDAl{v_h2>VMuiY}gt&4!mXz$U(e8AuD_~rt<+{BSnjNvt^1zXH!*oESmvRl8dFdKzXO7gvgeQZpnWxqop}^Rt^q-!(l16We)M zZO$xLp#uzxCk;jyU2CrLUsQus{DB;_X&la-wT3)8M{FM?_V|jypybkNw-J2|xXaWy z$fQmi^O~@)71|+Zs(7~|F3BKXDc5iTOFI6i)r1qthdYiPr0%$0;WWBbN#%}k7$=xZ znb8oRhDjhttAB~o)JRwPjP@M{VQss^G9<1Eh)Ee23a4rEM*ZvHqMvm!xv1}^emVH@ z`c|u5@uAAxXH`aBKDXCS;d)aGdAgWg(n2^!?w{j0W`99lK<0Pmqq*x8yKk05CyQJk zXCg1dG2DKq@FMG|x}pv#6_t!(W4+}$s-WokF&WOzo?Ptj4Y@=YXZ6et4#kgf(eD@G z&g%cKCKd&0h~yIt2rxS^A20_71uG5%0vZGq*%2E!`t5N+s7-PGut1M{|7wt91Qh-F ZD;uC8RkEM_*Lx<6L#TpH^^*bu2hj9wX$=4X diff --git a/examples/azure/terraform-azure-keyvault-example/main.tf b/examples/azure/terraform-azure-keyvault-example/main.tf index b73f2bd54..ed36d1163 100644 --- a/examples/azure/terraform-azure-keyvault-example/main.tf +++ b/examples/azure/terraform-azure-keyvault-example/main.tf @@ -6,7 +6,7 @@ # --------------------------------------------------------------------------------------------------------------------- provider "azurerm" { - version = "~>2.20" + version = "~>3.0" features { key_vault { purge_soft_delete_on_destroy = false @@ -70,35 +70,37 @@ resource "azurerm_key_vault" "key_vault" { object_id = data.azurerm_client_config.current.object_id key_permissions = [ - "create", - "get", - "list", - "delete", - "purge", + "Create", + "Get", + "List", + "Delete", + "Purge", + "SetRotationPolicy", + "GetRotationPolicy" ] secret_permissions = [ - "set", - "get", - "list", - "delete", - "purge", + "Set", + "Get", + "List", + "Delete", + "Purge", ] certificate_permissions = [ - "create", - "delete", - "deleteissuers", - "get", - "getissuers", - "import", - "list", - "listissuers", - "managecontacts", - "manageissuers", - "setissuers", - "update", - "purge", + "Create", + "Delete", + "DeleteIssuers", + "Get", + "GetIssuers", + "Import", + "List", + "ListIssuers", + "ManageContacts", + "ManageIssuers", + "SetIssuers", + "Update", + "Purge", ] } }