pulumi-vault 6.1.0a1712233015__py3-none-any.whl → 6.1.1a1717550614__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (184) hide show
  1. pulumi_vault/_inputs.py +0 -20
  2. pulumi_vault/ad/secret_backend.py +2 -6
  3. pulumi_vault/ad/secret_library.py +2 -4
  4. pulumi_vault/ad/secret_role.py +0 -4
  5. pulumi_vault/alicloud/auth_backend_role.py +69 -192
  6. pulumi_vault/approle/auth_backend_login.py +0 -4
  7. pulumi_vault/approle/auth_backend_role.py +63 -186
  8. pulumi_vault/approle/auth_backend_role_secret_id.py +0 -4
  9. pulumi_vault/approle/get_auth_backend_role_id.py +0 -4
  10. pulumi_vault/audit.py +12 -20
  11. pulumi_vault/audit_request_header.py +6 -6
  12. pulumi_vault/aws/auth_backend_client.py +6 -10
  13. pulumi_vault/aws/auth_backend_config_identity.py +0 -4
  14. pulumi_vault/aws/auth_backend_identity_whitelist.py +6 -10
  15. pulumi_vault/aws/auth_backend_login.py +0 -8
  16. pulumi_vault/aws/auth_backend_role.py +63 -186
  17. pulumi_vault/aws/auth_backend_roletag_blacklist.py +6 -10
  18. pulumi_vault/aws/auth_backend_sts_role.py +0 -4
  19. pulumi_vault/aws/secret_backend.py +63 -0
  20. pulumi_vault/aws/secret_backend_role.py +2 -4
  21. pulumi_vault/aws/secret_backend_static_role.py +2 -4
  22. pulumi_vault/azure/auth_backend_config.py +6 -10
  23. pulumi_vault/azure/auth_backend_role.py +63 -186
  24. pulumi_vault/azure/backend.py +16 -24
  25. pulumi_vault/azure/backend_role.py +14 -18
  26. pulumi_vault/azure/get_access_credentials.py +0 -4
  27. pulumi_vault/cert_auth_backend_role.py +75 -208
  28. pulumi_vault/consul/secret_backend.py +10 -18
  29. pulumi_vault/consul/secret_backend_role.py +2 -4
  30. pulumi_vault/database/_inputs.py +522 -784
  31. pulumi_vault/database/outputs.py +522 -784
  32. pulumi_vault/database/secret_backend_connection.py +2 -4
  33. pulumi_vault/database/secret_backend_role.py +4 -4
  34. pulumi_vault/database/secret_backend_static_role.py +10 -8
  35. pulumi_vault/database/secrets_mount.py +4 -4
  36. pulumi_vault/egp_policy.py +4 -8
  37. pulumi_vault/gcp/auth_backend.py +0 -36
  38. pulumi_vault/gcp/auth_backend_role.py +63 -264
  39. pulumi_vault/gcp/get_auth_backend_role.py +0 -4
  40. pulumi_vault/gcp/secret_backend.py +4 -6
  41. pulumi_vault/gcp/secret_impersonated_account.py +12 -14
  42. pulumi_vault/gcp/secret_roleset.py +4 -6
  43. pulumi_vault/gcp/secret_static_account.py +14 -16
  44. pulumi_vault/generic/endpoint.py +4 -8
  45. pulumi_vault/generic/get_secret.py +40 -4
  46. pulumi_vault/get_auth_backend.py +0 -4
  47. pulumi_vault/get_auth_backends.py +0 -8
  48. pulumi_vault/get_namespace.py +0 -12
  49. pulumi_vault/get_namespaces.py +4 -12
  50. pulumi_vault/get_nomad_access_token.py +0 -4
  51. pulumi_vault/get_policy_document.py +8 -8
  52. pulumi_vault/get_raft_autopilot_state.py +0 -4
  53. pulumi_vault/github/auth_backend.py +0 -4
  54. pulumi_vault/github/team.py +2 -6
  55. pulumi_vault/github/user.py +2 -6
  56. pulumi_vault/identity/entity.py +6 -8
  57. pulumi_vault/identity/entity_alias.py +6 -8
  58. pulumi_vault/identity/entity_policies.py +12 -12
  59. pulumi_vault/identity/get_entity.py +0 -4
  60. pulumi_vault/identity/get_group.py +0 -4
  61. pulumi_vault/identity/get_oidc_client_creds.py +2 -4
  62. pulumi_vault/identity/get_oidc_openid_config.py +10 -6
  63. pulumi_vault/identity/get_oidc_public_keys.py +10 -6
  64. pulumi_vault/identity/group.py +38 -42
  65. pulumi_vault/identity/group_alias.py +2 -4
  66. pulumi_vault/identity/group_member_entity_ids.py +12 -16
  67. pulumi_vault/identity/group_member_group_ids.py +24 -20
  68. pulumi_vault/identity/group_policies.py +4 -8
  69. pulumi_vault/identity/mfa_duo.py +4 -8
  70. pulumi_vault/identity/mfa_login_enforcement.py +8 -8
  71. pulumi_vault/identity/mfa_okta.py +4 -8
  72. pulumi_vault/identity/mfa_pingid.py +0 -4
  73. pulumi_vault/identity/mfa_totp.py +0 -4
  74. pulumi_vault/identity/oidc.py +0 -4
  75. pulumi_vault/identity/oidc_assignment.py +10 -6
  76. pulumi_vault/identity/oidc_client.py +10 -10
  77. pulumi_vault/identity/oidc_key.py +16 -12
  78. pulumi_vault/identity/oidc_key_allowed_client_id.py +16 -12
  79. pulumi_vault/identity/oidc_provider.py +22 -16
  80. pulumi_vault/identity/oidc_role.py +28 -20
  81. pulumi_vault/identity/oidc_scope.py +6 -8
  82. pulumi_vault/jwt/auth_backend.py +20 -32
  83. pulumi_vault/jwt/auth_backend_role.py +63 -190
  84. pulumi_vault/kmip/secret_backend.py +10 -14
  85. pulumi_vault/kmip/secret_role.py +0 -4
  86. pulumi_vault/kmip/secret_scope.py +0 -4
  87. pulumi_vault/kubernetes/auth_backend_config.py +0 -4
  88. pulumi_vault/kubernetes/auth_backend_role.py +56 -172
  89. pulumi_vault/kubernetes/get_service_account_token.py +8 -8
  90. pulumi_vault/kubernetes/secret_backend.py +6 -8
  91. pulumi_vault/kubernetes/secret_backend_role.py +24 -24
  92. pulumi_vault/kv/get_secret.py +0 -4
  93. pulumi_vault/kv/get_secret_subkeys_v2.py +4 -6
  94. pulumi_vault/kv/get_secret_v2.py +58 -0
  95. pulumi_vault/kv/get_secrets_list.py +4 -8
  96. pulumi_vault/kv/get_secrets_list_v2.py +14 -12
  97. pulumi_vault/kv/secret.py +0 -4
  98. pulumi_vault/kv/secret_backend_v2.py +0 -4
  99. pulumi_vault/kv/secret_v2.py +2 -4
  100. pulumi_vault/ldap/auth_backend.py +66 -161
  101. pulumi_vault/ldap/auth_backend_group.py +0 -4
  102. pulumi_vault/ldap/auth_backend_user.py +0 -4
  103. pulumi_vault/ldap/secret_backend.py +4 -8
  104. pulumi_vault/ldap/secret_backend_dynamic_role.py +0 -4
  105. pulumi_vault/ldap/secret_backend_library_set.py +2 -4
  106. pulumi_vault/ldap/secret_backend_static_role.py +0 -4
  107. pulumi_vault/managed/_inputs.py +84 -132
  108. pulumi_vault/managed/keys.py +7 -28
  109. pulumi_vault/managed/outputs.py +84 -132
  110. pulumi_vault/mfa_duo.py +4 -6
  111. pulumi_vault/mfa_okta.py +4 -6
  112. pulumi_vault/mfa_pingid.py +4 -6
  113. pulumi_vault/mfa_totp.py +10 -12
  114. pulumi_vault/mongodbatlas/secret_backend.py +0 -4
  115. pulumi_vault/mongodbatlas/secret_role.py +2 -4
  116. pulumi_vault/mount.py +26 -42
  117. pulumi_vault/nomad_secret_backend.py +4 -8
  118. pulumi_vault/nomad_secret_role.py +0 -4
  119. pulumi_vault/okta/_inputs.py +8 -8
  120. pulumi_vault/okta/auth_backend.py +6 -10
  121. pulumi_vault/okta/auth_backend_group.py +0 -4
  122. pulumi_vault/okta/auth_backend_user.py +0 -4
  123. pulumi_vault/okta/outputs.py +8 -8
  124. pulumi_vault/outputs.py +0 -20
  125. pulumi_vault/password_policy.py +6 -8
  126. pulumi_vault/pkisecret/backend_config_cluster.py +0 -4
  127. pulumi_vault/pkisecret/get_backend_issuer.py +36 -0
  128. pulumi_vault/pkisecret/get_backend_issuers.py +0 -4
  129. pulumi_vault/pkisecret/get_backend_key.py +2 -6
  130. pulumi_vault/pkisecret/get_backend_keys.py +0 -4
  131. pulumi_vault/pkisecret/secret_backend_cert.py +6 -8
  132. pulumi_vault/pkisecret/secret_backend_config_ca.py +4 -8
  133. pulumi_vault/pkisecret/secret_backend_config_issuers.py +0 -4
  134. pulumi_vault/pkisecret/secret_backend_config_urls.py +0 -4
  135. pulumi_vault/pkisecret/secret_backend_crl_config.py +2 -6
  136. pulumi_vault/pkisecret/secret_backend_intermediate_cert_request.py +4 -8
  137. pulumi_vault/pkisecret/secret_backend_intermediate_set_signed.py +10 -14
  138. pulumi_vault/pkisecret/secret_backend_issuer.py +0 -4
  139. pulumi_vault/pkisecret/secret_backend_role.py +2 -4
  140. pulumi_vault/pkisecret/secret_backend_root_cert.py +4 -8
  141. pulumi_vault/pkisecret/secret_backend_root_sign_intermediate.py +6 -10
  142. pulumi_vault/pkisecret/secret_backend_sign.py +6 -8
  143. pulumi_vault/provider.py +0 -8
  144. pulumi_vault/pulumi-plugin.json +2 -1
  145. pulumi_vault/quota_lease_count.py +6 -8
  146. pulumi_vault/quota_rate_limit.py +2 -4
  147. pulumi_vault/rabbitmq/secret_backend.py +4 -8
  148. pulumi_vault/rabbitmq/secret_backend_role.py +2 -4
  149. pulumi_vault/raft_autopilot.py +0 -4
  150. pulumi_vault/raft_snapshot_agent_config.py +109 -304
  151. pulumi_vault/rgp_policy.py +2 -6
  152. pulumi_vault/saml/auth_backend.py +8 -12
  153. pulumi_vault/saml/auth_backend_role.py +64 -178
  154. pulumi_vault/secrets/sync_association.py +12 -10
  155. pulumi_vault/secrets/sync_aws_destination.py +6 -8
  156. pulumi_vault/secrets/sync_azure_destination.py +10 -12
  157. pulumi_vault/secrets/sync_config.py +2 -6
  158. pulumi_vault/secrets/sync_gcp_destination.py +6 -6
  159. pulumi_vault/secrets/sync_gh_destination.py +6 -8
  160. pulumi_vault/secrets/sync_github_apps.py +8 -8
  161. pulumi_vault/secrets/sync_vercel_destination.py +6 -8
  162. pulumi_vault/ssh/_inputs.py +6 -32
  163. pulumi_vault/ssh/outputs.py +6 -32
  164. pulumi_vault/ssh/secret_backend_ca.py +0 -4
  165. pulumi_vault/ssh/secret_backend_role.py +4 -4
  166. pulumi_vault/terraformcloud/secret_backend.py +0 -56
  167. pulumi_vault/terraformcloud/secret_creds.py +2 -17
  168. pulumi_vault/terraformcloud/secret_role.py +2 -69
  169. pulumi_vault/token.py +14 -18
  170. pulumi_vault/tokenauth/auth_backend_role.py +64 -180
  171. pulumi_vault/transform/alphabet.py +4 -6
  172. pulumi_vault/transform/get_decode.py +4 -4
  173. pulumi_vault/transform/get_encode.py +4 -4
  174. pulumi_vault/transform/role.py +4 -6
  175. pulumi_vault/transform/template.py +4 -4
  176. pulumi_vault/transit/get_decrypt.py +4 -20
  177. pulumi_vault/transit/get_encrypt.py +0 -14
  178. pulumi_vault/transit/secret_backend_key.py +6 -6
  179. pulumi_vault/transit/secret_cache_config.py +0 -4
  180. {pulumi_vault-6.1.0a1712233015.dist-info → pulumi_vault-6.1.1a1717550614.dist-info}/METADATA +1 -1
  181. pulumi_vault-6.1.1a1717550614.dist-info/RECORD +252 -0
  182. pulumi_vault-6.1.0a1712233015.dist-info/RECORD +0 -252
  183. {pulumi_vault-6.1.0a1712233015.dist-info → pulumi_vault-6.1.1a1717550614.dist-info}/WHEEL +0 -0
  184. {pulumi_vault-6.1.0a1712233015.dist-info → pulumi_vault-6.1.1a1717550614.dist-info}/top_level.txt +0 -0
@@ -150,19 +150,18 @@ class PasswordPolicy(pulumi.CustomResource):
150
150
 
151
151
  ## Example Usage
152
152
 
153
- <!--Start PulumiCodeChooser -->
154
153
  ```python
155
154
  import pulumi
156
155
  import pulumi_vault as vault
157
156
 
158
- alphanumeric = vault.PasswordPolicy("alphanumeric", policy=\"\"\" length = 20
157
+ alphanumeric = vault.PasswordPolicy("alphanumeric",
158
+ name="alphanumeric",
159
+ policy=\"\"\" length = 20
159
160
  rule "charset" {
160
161
  charset = "abcdefghijklmnopqrstuvwxyz0123456789"
161
162
  }
162
-
163
163
  \"\"\")
164
164
  ```
165
- <!--End PulumiCodeChooser -->
166
165
 
167
166
  ## Import
168
167
 
@@ -194,19 +193,18 @@ class PasswordPolicy(pulumi.CustomResource):
194
193
 
195
194
  ## Example Usage
196
195
 
197
- <!--Start PulumiCodeChooser -->
198
196
  ```python
199
197
  import pulumi
200
198
  import pulumi_vault as vault
201
199
 
202
- alphanumeric = vault.PasswordPolicy("alphanumeric", policy=\"\"\" length = 20
200
+ alphanumeric = vault.PasswordPolicy("alphanumeric",
201
+ name="alphanumeric",
202
+ policy=\"\"\" length = 20
203
203
  rule "charset" {
204
204
  charset = "abcdefghijklmnopqrstuvwxyz0123456789"
205
205
  }
206
-
207
206
  \"\"\")
208
207
  ```
209
- <!--End PulumiCodeChooser -->
210
208
 
211
209
  ## Import
212
210
 
@@ -181,7 +181,6 @@ class BackendConfigCluster(pulumi.CustomResource):
181
181
 
182
182
  ## Example Usage
183
183
 
184
- <!--Start PulumiCodeChooser -->
185
184
  ```python
186
185
  import pulumi
187
186
  import pulumi_vault as vault
@@ -197,7 +196,6 @@ class BackendConfigCluster(pulumi.CustomResource):
197
196
  path="http://127.0.0.1:8200/v1/pki-root",
198
197
  aia_path="http://127.0.0.1:8200/v1/pki-root")
199
198
  ```
200
- <!--End PulumiCodeChooser -->
201
199
 
202
200
  ## Import
203
201
 
@@ -230,7 +228,6 @@ class BackendConfigCluster(pulumi.CustomResource):
230
228
 
231
229
  ## Example Usage
232
230
 
233
- <!--Start PulumiCodeChooser -->
234
231
  ```python
235
232
  import pulumi
236
233
  import pulumi_vault as vault
@@ -246,7 +243,6 @@ class BackendConfigCluster(pulumi.CustomResource):
246
243
  path="http://127.0.0.1:8200/v1/pki-root",
247
244
  aia_path="http://127.0.0.1:8200/v1/pki-root")
248
245
  ```
249
- <!--End PulumiCodeChooser -->
250
246
 
251
247
  ## Import
252
248
 
@@ -175,6 +175,24 @@ def get_backend_issuer(backend: Optional[str] = None,
175
175
  """
176
176
  ## Example Usage
177
177
 
178
+ ```python
179
+ import pulumi
180
+ import pulumi_vault as vault
181
+
182
+ pki = vault.Mount("pki",
183
+ path="pki",
184
+ type="pki",
185
+ description="PKI secret engine mount")
186
+ root = vault.pki_secret.SecretBackendRootCert("root",
187
+ backend=pki.path,
188
+ type="internal",
189
+ common_name="example",
190
+ ttl="86400",
191
+ issuer_name="example")
192
+ example = root.issuer_id.apply(lambda issuer_id: vault.pkiSecret.get_backend_issuer_output(backend=root.path,
193
+ issuer_ref=issuer_id))
194
+ ```
195
+
178
196
 
179
197
  :param str backend: The path to the PKI secret backend to
180
198
  read the issuer from, with no leading or trailing `/`s.
@@ -214,6 +232,24 @@ def get_backend_issuer_output(backend: Optional[pulumi.Input[str]] = None,
214
232
  """
215
233
  ## Example Usage
216
234
 
235
+ ```python
236
+ import pulumi
237
+ import pulumi_vault as vault
238
+
239
+ pki = vault.Mount("pki",
240
+ path="pki",
241
+ type="pki",
242
+ description="PKI secret engine mount")
243
+ root = vault.pki_secret.SecretBackendRootCert("root",
244
+ backend=pki.path,
245
+ type="internal",
246
+ common_name="example",
247
+ ttl="86400",
248
+ issuer_name="example")
249
+ example = root.issuer_id.apply(lambda issuer_id: vault.pkiSecret.get_backend_issuer_output(backend=root.path,
250
+ issuer_ref=issuer_id))
251
+ ```
252
+
217
253
 
218
254
  :param str backend: The path to the PKI secret backend to
219
255
  read the issuer from, with no leading or trailing `/`s.
@@ -104,7 +104,6 @@ def get_backend_issuers(backend: Optional[str] = None,
104
104
  """
105
105
  ## Example Usage
106
106
 
107
- <!--Start PulumiCodeChooser -->
108
107
  ```python
109
108
  import pulumi
110
109
  import pulumi_vault as vault
@@ -121,7 +120,6 @@ def get_backend_issuers(backend: Optional[str] = None,
121
120
  issuer_name="example")
122
121
  test = vault.pkiSecret.get_backend_issuers_output(backend=root.backend)
123
122
  ```
124
- <!--End PulumiCodeChooser -->
125
123
 
126
124
 
127
125
  :param str backend: The path to the PKI secret backend to
@@ -153,7 +151,6 @@ def get_backend_issuers_output(backend: Optional[pulumi.Input[str]] = None,
153
151
  """
154
152
  ## Example Usage
155
153
 
156
- <!--Start PulumiCodeChooser -->
157
154
  ```python
158
155
  import pulumi
159
156
  import pulumi_vault as vault
@@ -170,7 +167,6 @@ def get_backend_issuers_output(backend: Optional[pulumi.Input[str]] = None,
170
167
  issuer_name="example")
171
168
  test = vault.pkiSecret.get_backend_issuers_output(backend=root.backend)
172
169
  ```
173
- <!--End PulumiCodeChooser -->
174
170
 
175
171
 
176
172
  :param str backend: The path to the PKI secret backend to
@@ -114,7 +114,6 @@ def get_backend_key(backend: Optional[str] = None,
114
114
  """
115
115
  ## Example Usage
116
116
 
117
- <!--Start PulumiCodeChooser -->
118
117
  ```python
119
118
  import pulumi
120
119
  import pulumi_vault as vault
@@ -129,10 +128,9 @@ def get_backend_key(backend: Optional[str] = None,
129
128
  key_name="example",
130
129
  key_type="rsa",
131
130
  key_bits=4096)
132
- example = key.key_id.apply(lambda key_id: vault.pkiSecret.get_backend_key_output(backend=vault_mount["key"]["path"],
131
+ example = key.key_id.apply(lambda key_id: vault.pkiSecret.get_backend_key_output(backend=key_vault_mount["path"],
133
132
  key_ref=key_id))
134
133
  ```
135
- <!--End PulumiCodeChooser -->
136
134
 
137
135
 
138
136
  :param str backend: The path to the PKI secret backend to
@@ -168,7 +166,6 @@ def get_backend_key_output(backend: Optional[pulumi.Input[str]] = None,
168
166
  """
169
167
  ## Example Usage
170
168
 
171
- <!--Start PulumiCodeChooser -->
172
169
  ```python
173
170
  import pulumi
174
171
  import pulumi_vault as vault
@@ -183,10 +180,9 @@ def get_backend_key_output(backend: Optional[pulumi.Input[str]] = None,
183
180
  key_name="example",
184
181
  key_type="rsa",
185
182
  key_bits=4096)
186
- example = key.key_id.apply(lambda key_id: vault.pkiSecret.get_backend_key_output(backend=vault_mount["key"]["path"],
183
+ example = key.key_id.apply(lambda key_id: vault.pkiSecret.get_backend_key_output(backend=key_vault_mount["path"],
187
184
  key_ref=key_id))
188
185
  ```
189
- <!--End PulumiCodeChooser -->
190
186
 
191
187
 
192
188
  :param str backend: The path to the PKI secret backend to
@@ -104,7 +104,6 @@ def get_backend_keys(backend: Optional[str] = None,
104
104
  """
105
105
  ## Example Usage
106
106
 
107
- <!--Start PulumiCodeChooser -->
108
107
  ```python
109
108
  import pulumi
110
109
  import pulumi_vault as vault
@@ -121,7 +120,6 @@ def get_backend_keys(backend: Optional[str] = None,
121
120
  key_name="example")
122
121
  example = vault.pkiSecret.get_backend_keys_output(backend=root.backend)
123
122
  ```
124
- <!--End PulumiCodeChooser -->
125
123
 
126
124
 
127
125
  :param str backend: The path to the PKI secret backend to
@@ -153,7 +151,6 @@ def get_backend_keys_output(backend: Optional[pulumi.Input[str]] = None,
153
151
  """
154
152
  ## Example Usage
155
153
 
156
- <!--Start PulumiCodeChooser -->
157
154
  ```python
158
155
  import pulumi
159
156
  import pulumi_vault as vault
@@ -170,7 +167,6 @@ def get_backend_keys_output(backend: Optional[pulumi.Input[str]] = None,
170
167
  key_name="example")
171
168
  example = vault.pkiSecret.get_backend_keys_output(backend=root.backend)
172
169
  ```
173
- <!--End PulumiCodeChooser -->
174
170
 
175
171
 
176
172
  :param str backend: The path to the PKI secret backend to
@@ -735,17 +735,16 @@ class SecretBackendCert(pulumi.CustomResource):
735
735
  """
736
736
  ## Example Usage
737
737
 
738
- <!--Start PulumiCodeChooser -->
739
738
  ```python
740
739
  import pulumi
741
740
  import pulumi_vault as vault
742
741
 
743
742
  app = vault.pki_secret.SecretBackendCert("app",
744
- backend=vault_mount["intermediate"]["path"],
743
+ backend=intermediate["path"],
744
+ name=test["name"],
745
745
  common_name="app.my.domain",
746
- opts=pulumi.ResourceOptions(depends_on=[vault_pki_secret_backend_role["admin"]]))
746
+ opts=pulumi.ResourceOptions(depends_on=[admin]))
747
747
  ```
748
- <!--End PulumiCodeChooser -->
749
748
 
750
749
  :param str resource_name: The name of the resource.
751
750
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -779,17 +778,16 @@ class SecretBackendCert(pulumi.CustomResource):
779
778
  """
780
779
  ## Example Usage
781
780
 
782
- <!--Start PulumiCodeChooser -->
783
781
  ```python
784
782
  import pulumi
785
783
  import pulumi_vault as vault
786
784
 
787
785
  app = vault.pki_secret.SecretBackendCert("app",
788
- backend=vault_mount["intermediate"]["path"],
786
+ backend=intermediate["path"],
787
+ name=test["name"],
789
788
  common_name="app.my.domain",
790
- opts=pulumi.ResourceOptions(depends_on=[vault_pki_secret_backend_role["admin"]]))
789
+ opts=pulumi.ResourceOptions(depends_on=[admin]))
791
790
  ```
792
- <!--End PulumiCodeChooser -->
793
791
 
794
792
  :param str resource_name: The name of the resource.
795
793
  :param SecretBackendCertArgs args: The arguments to use to populate this resource's properties.
@@ -145,13 +145,12 @@ class SecretBackendConfigCa(pulumi.CustomResource):
145
145
  """
146
146
  ## Example Usage
147
147
 
148
- <!--Start PulumiCodeChooser -->
149
148
  ```python
150
149
  import pulumi
151
150
  import pulumi_vault as vault
152
151
 
153
152
  intermediate = vault.pki_secret.SecretBackendConfigCa("intermediate",
154
- backend=vault_mount["intermediate"]["path"],
153
+ backend=intermediate_vault_mount["path"],
155
154
  pem_bundle=\"\"\"-----BEGIN RSA PRIVATE KEY-----
156
155
  MIIEowIBAAKCAQEAwvEHeJCXnFgi88rE1dTX6FHdBPK0wSjedh0ywVnCZxLWbBv/
157
156
  5PytjTcCPdrfW7g2sfbPwOge/WF3X2KeYSP8SxZA0czmz6QDspeG921JkZWtyp5o
@@ -201,9 +200,8 @@ class SecretBackendConfigCa(pulumi.CustomResource):
201
200
  MUR4qFxeUOW/GJGccMUd
202
201
  -----END CERTIFICATE-----
203
202
  \"\"\",
204
- opts=pulumi.ResourceOptions(depends_on=[vault_mount["intermediate"]]))
203
+ opts=pulumi.ResourceOptions(depends_on=[intermediate_vault_mount]))
205
204
  ```
206
- <!--End PulumiCodeChooser -->
207
205
 
208
206
  :param str resource_name: The name of the resource.
209
207
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -223,13 +221,12 @@ class SecretBackendConfigCa(pulumi.CustomResource):
223
221
  """
224
222
  ## Example Usage
225
223
 
226
- <!--Start PulumiCodeChooser -->
227
224
  ```python
228
225
  import pulumi
229
226
  import pulumi_vault as vault
230
227
 
231
228
  intermediate = vault.pki_secret.SecretBackendConfigCa("intermediate",
232
- backend=vault_mount["intermediate"]["path"],
229
+ backend=intermediate_vault_mount["path"],
233
230
  pem_bundle=\"\"\"-----BEGIN RSA PRIVATE KEY-----
234
231
  MIIEowIBAAKCAQEAwvEHeJCXnFgi88rE1dTX6FHdBPK0wSjedh0ywVnCZxLWbBv/
235
232
  5PytjTcCPdrfW7g2sfbPwOge/WF3X2KeYSP8SxZA0czmz6QDspeG921JkZWtyp5o
@@ -279,9 +276,8 @@ class SecretBackendConfigCa(pulumi.CustomResource):
279
276
  MUR4qFxeUOW/GJGccMUd
280
277
  -----END CERTIFICATE-----
281
278
  \"\"\",
282
- opts=pulumi.ResourceOptions(depends_on=[vault_mount["intermediate"]]))
279
+ opts=pulumi.ResourceOptions(depends_on=[intermediate_vault_mount]))
283
280
  ```
284
- <!--End PulumiCodeChooser -->
285
281
 
286
282
  :param str resource_name: The name of the resource.
287
283
  :param SecretBackendConfigCaArgs args: The arguments to use to populate this resource's properties.
@@ -187,7 +187,6 @@ class SecretBackendConfigIssuers(pulumi.CustomResource):
187
187
  """
188
188
  ## Example Usage
189
189
 
190
- <!--Start PulumiCodeChooser -->
191
190
  ```python
192
191
  import pulumi
193
192
  import pulumi_vault as vault
@@ -211,7 +210,6 @@ class SecretBackendConfigIssuers(pulumi.CustomResource):
211
210
  default=example.issuer_id,
212
211
  default_follows_latest_issuer=True)
213
212
  ```
214
- <!--End PulumiCodeChooser -->
215
213
 
216
214
  ## Import
217
215
 
@@ -242,7 +240,6 @@ class SecretBackendConfigIssuers(pulumi.CustomResource):
242
240
  """
243
241
  ## Example Usage
244
242
 
245
- <!--Start PulumiCodeChooser -->
246
243
  ```python
247
244
  import pulumi
248
245
  import pulumi_vault as vault
@@ -266,7 +263,6 @@ class SecretBackendConfigIssuers(pulumi.CustomResource):
266
263
  default=example.issuer_id,
267
264
  default_follows_latest_issuer=True)
268
265
  ```
269
- <!--End PulumiCodeChooser -->
270
266
 
271
267
  ## Import
272
268
 
@@ -247,7 +247,6 @@ class SecretBackendConfigUrls(pulumi.CustomResource):
247
247
 
248
248
  ## Example Usage
249
249
 
250
- <!--Start PulumiCodeChooser -->
251
250
  ```python
252
251
  import pulumi
253
252
  import pulumi_vault as vault
@@ -262,7 +261,6 @@ class SecretBackendConfigUrls(pulumi.CustomResource):
262
261
  backend=root.path,
263
262
  issuing_certificates=["http://127.0.0.1:8200/v1/pki/ca"])
264
263
  ```
265
- <!--End PulumiCodeChooser -->
266
264
 
267
265
  ## Import
268
266
 
@@ -297,7 +295,6 @@ class SecretBackendConfigUrls(pulumi.CustomResource):
297
295
 
298
296
  ## Example Usage
299
297
 
300
- <!--Start PulumiCodeChooser -->
301
298
  ```python
302
299
  import pulumi
303
300
  import pulumi_vault as vault
@@ -312,7 +309,6 @@ class SecretBackendConfigUrls(pulumi.CustomResource):
312
309
  backend=root.path,
313
310
  issuing_certificates=["http://127.0.0.1:8200/v1/pki/ca"])
314
311
  ```
315
- <!--End PulumiCodeChooser -->
316
312
 
317
313
  ## Import
318
314
 
@@ -490,7 +490,6 @@ class SecretBackendCrlConfig(pulumi.CustomResource):
490
490
 
491
491
  ## Example Usage
492
492
 
493
- <!--Start PulumiCodeChooser -->
494
493
  ```python
495
494
  import pulumi
496
495
  import pulumi_vault as vault
@@ -500,12 +499,11 @@ class SecretBackendCrlConfig(pulumi.CustomResource):
500
499
  type="pki",
501
500
  default_lease_ttl_seconds=3600,
502
501
  max_lease_ttl_seconds=86400)
503
- crl_config = vault.pki_secret.SecretBackendCrlConfig("crlConfig",
502
+ crl_config = vault.pki_secret.SecretBackendCrlConfig("crl_config",
504
503
  backend=pki.path,
505
504
  expiry="72h",
506
505
  disable=False)
507
506
  ```
508
- <!--End PulumiCodeChooser -->
509
507
 
510
508
  :param str resource_name: The name of the resource.
511
509
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -540,7 +538,6 @@ class SecretBackendCrlConfig(pulumi.CustomResource):
540
538
 
541
539
  ## Example Usage
542
540
 
543
- <!--Start PulumiCodeChooser -->
544
541
  ```python
545
542
  import pulumi
546
543
  import pulumi_vault as vault
@@ -550,12 +547,11 @@ class SecretBackendCrlConfig(pulumi.CustomResource):
550
547
  type="pki",
551
548
  default_lease_ttl_seconds=3600,
552
549
  max_lease_ttl_seconds=86400)
553
- crl_config = vault.pki_secret.SecretBackendCrlConfig("crlConfig",
550
+ crl_config = vault.pki_secret.SecretBackendCrlConfig("crl_config",
554
551
  backend=pki.path,
555
552
  expiry="72h",
556
553
  disable=False)
557
554
  ```
558
- <!--End PulumiCodeChooser -->
559
555
 
560
556
  :param str resource_name: The name of the resource.
561
557
  :param SecretBackendCrlConfigArgs args: The arguments to use to populate this resource's properties.
@@ -962,18 +962,16 @@ class SecretBackendIntermediateCertRequest(pulumi.CustomResource):
962
962
  """
963
963
  ## Example Usage
964
964
 
965
- <!--Start PulumiCodeChooser -->
966
965
  ```python
967
966
  import pulumi
968
967
  import pulumi_vault as vault
969
968
 
970
969
  test = vault.pki_secret.SecretBackendIntermediateCertRequest("test",
971
- backend=vault_mount["pki"]["path"],
970
+ backend=pki["path"],
972
971
  type="internal",
973
972
  common_name="app.my.domain",
974
- opts=pulumi.ResourceOptions(depends_on=[vault_mount["pki"]]))
973
+ opts=pulumi.ResourceOptions(depends_on=[pki]))
975
974
  ```
976
- <!--End PulumiCodeChooser -->
977
975
 
978
976
  :param str resource_name: The name of the resource.
979
977
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -1022,18 +1020,16 @@ class SecretBackendIntermediateCertRequest(pulumi.CustomResource):
1022
1020
  """
1023
1021
  ## Example Usage
1024
1022
 
1025
- <!--Start PulumiCodeChooser -->
1026
1023
  ```python
1027
1024
  import pulumi
1028
1025
  import pulumi_vault as vault
1029
1026
 
1030
1027
  test = vault.pki_secret.SecretBackendIntermediateCertRequest("test",
1031
- backend=vault_mount["pki"]["path"],
1028
+ backend=pki["path"],
1032
1029
  type="internal",
1033
1030
  common_name="app.my.domain",
1034
- opts=pulumi.ResourceOptions(depends_on=[vault_mount["pki"]]))
1031
+ opts=pulumi.ResourceOptions(depends_on=[pki]))
1035
1032
  ```
1036
- <!--End PulumiCodeChooser -->
1037
1033
 
1038
1034
  :param str resource_name: The name of the resource.
1039
1035
  :param SecretBackendIntermediateCertRequestArgs args: The arguments to use to populate this resource's properties.
@@ -187,7 +187,6 @@ class SecretBackendIntermediateSetSigned(pulumi.CustomResource):
187
187
  """
188
188
  ## Example Usage
189
189
 
190
- <!--Start PulumiCodeChooser -->
191
190
  ```python
192
191
  import pulumi
193
192
  import pulumi_vault as vault
@@ -204,7 +203,7 @@ class SecretBackendIntermediateSetSigned(pulumi.CustomResource):
204
203
  description="intermediate",
205
204
  default_lease_ttl_seconds=86400,
206
205
  max_lease_ttl_seconds=86400)
207
- example_secret_backend_root_cert = vault.pki_secret.SecretBackendRootCert("exampleSecretBackendRootCert",
206
+ example = vault.pki_secret.SecretBackendRootCert("example",
208
207
  backend=root.path,
209
208
  type="internal",
210
209
  common_name="RootOrg Root CA",
@@ -219,11 +218,11 @@ class SecretBackendIntermediateSetSigned(pulumi.CustomResource):
219
218
  country="US",
220
219
  locality="San Francisco",
221
220
  province="CA")
222
- example_secret_backend_intermediate_cert_request = vault.pki_secret.SecretBackendIntermediateCertRequest("exampleSecretBackendIntermediateCertRequest",
221
+ example_secret_backend_intermediate_cert_request = vault.pki_secret.SecretBackendIntermediateCertRequest("example",
223
222
  backend=intermediate.path,
224
- type=example_secret_backend_root_cert.type,
223
+ type=example.type,
225
224
  common_name="SubOrg Intermediate CA")
226
- example_secret_backend_root_sign_intermediate = vault.pki_secret.SecretBackendRootSignIntermediate("exampleSecretBackendRootSignIntermediate",
225
+ example_secret_backend_root_sign_intermediate = vault.pki_secret.SecretBackendRootSignIntermediate("example",
227
226
  backend=root.path,
228
227
  csr=example_secret_backend_intermediate_cert_request.csr,
229
228
  common_name="SubOrg Intermediate CA",
@@ -234,11 +233,10 @@ class SecretBackendIntermediateSetSigned(pulumi.CustomResource):
234
233
  locality="San Francisco",
235
234
  province="CA",
236
235
  revoke=True)
237
- example_secret_backend_intermediate_set_signed = vault.pki_secret.SecretBackendIntermediateSetSigned("exampleSecretBackendIntermediateSetSigned",
236
+ example_secret_backend_intermediate_set_signed = vault.pki_secret.SecretBackendIntermediateSetSigned("example",
238
237
  backend=intermediate.path,
239
238
  certificate=example_secret_backend_root_sign_intermediate.certificate)
240
239
  ```
241
- <!--End PulumiCodeChooser -->
242
240
 
243
241
  :param str resource_name: The name of the resource.
244
242
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -260,7 +258,6 @@ class SecretBackendIntermediateSetSigned(pulumi.CustomResource):
260
258
  """
261
259
  ## Example Usage
262
260
 
263
- <!--Start PulumiCodeChooser -->
264
261
  ```python
265
262
  import pulumi
266
263
  import pulumi_vault as vault
@@ -277,7 +274,7 @@ class SecretBackendIntermediateSetSigned(pulumi.CustomResource):
277
274
  description="intermediate",
278
275
  default_lease_ttl_seconds=86400,
279
276
  max_lease_ttl_seconds=86400)
280
- example_secret_backend_root_cert = vault.pki_secret.SecretBackendRootCert("exampleSecretBackendRootCert",
277
+ example = vault.pki_secret.SecretBackendRootCert("example",
281
278
  backend=root.path,
282
279
  type="internal",
283
280
  common_name="RootOrg Root CA",
@@ -292,11 +289,11 @@ class SecretBackendIntermediateSetSigned(pulumi.CustomResource):
292
289
  country="US",
293
290
  locality="San Francisco",
294
291
  province="CA")
295
- example_secret_backend_intermediate_cert_request = vault.pki_secret.SecretBackendIntermediateCertRequest("exampleSecretBackendIntermediateCertRequest",
292
+ example_secret_backend_intermediate_cert_request = vault.pki_secret.SecretBackendIntermediateCertRequest("example",
296
293
  backend=intermediate.path,
297
- type=example_secret_backend_root_cert.type,
294
+ type=example.type,
298
295
  common_name="SubOrg Intermediate CA")
299
- example_secret_backend_root_sign_intermediate = vault.pki_secret.SecretBackendRootSignIntermediate("exampleSecretBackendRootSignIntermediate",
296
+ example_secret_backend_root_sign_intermediate = vault.pki_secret.SecretBackendRootSignIntermediate("example",
300
297
  backend=root.path,
301
298
  csr=example_secret_backend_intermediate_cert_request.csr,
302
299
  common_name="SubOrg Intermediate CA",
@@ -307,11 +304,10 @@ class SecretBackendIntermediateSetSigned(pulumi.CustomResource):
307
304
  locality="San Francisco",
308
305
  province="CA",
309
306
  revoke=True)
310
- example_secret_backend_intermediate_set_signed = vault.pki_secret.SecretBackendIntermediateSetSigned("exampleSecretBackendIntermediateSetSigned",
307
+ example_secret_backend_intermediate_set_signed = vault.pki_secret.SecretBackendIntermediateSetSigned("example",
311
308
  backend=intermediate.path,
312
309
  certificate=example_secret_backend_root_sign_intermediate.certificate)
313
310
  ```
314
- <!--End PulumiCodeChooser -->
315
311
 
316
312
  :param str resource_name: The name of the resource.
317
313
  :param SecretBackendIntermediateSetSignedArgs args: The arguments to use to populate this resource's properties.
@@ -486,7 +486,6 @@ class SecretBackendIssuer(pulumi.CustomResource):
486
486
  """
487
487
  ## Example Usage
488
488
 
489
- <!--Start PulumiCodeChooser -->
490
489
  ```python
491
490
  import pulumi
492
491
  import pulumi_vault as vault
@@ -506,7 +505,6 @@ class SecretBackendIssuer(pulumi.CustomResource):
506
505
  issuer_ref=root.issuer_id,
507
506
  issuer_name="example-issuer")
508
507
  ```
509
- <!--End PulumiCodeChooser -->
510
508
 
511
509
  ## Import
512
510
 
@@ -550,7 +548,6 @@ class SecretBackendIssuer(pulumi.CustomResource):
550
548
  """
551
549
  ## Example Usage
552
550
 
553
- <!--Start PulumiCodeChooser -->
554
551
  ```python
555
552
  import pulumi
556
553
  import pulumi_vault as vault
@@ -570,7 +567,6 @@ class SecretBackendIssuer(pulumi.CustomResource):
570
567
  issuer_ref=root.issuer_id,
571
568
  issuer_name="example-issuer")
572
569
  ```
573
- <!--End PulumiCodeChooser -->
574
570
 
575
571
  ## Import
576
572
 
@@ -1593,7 +1593,6 @@ class SecretBackendRole(pulumi.CustomResource):
1593
1593
 
1594
1594
  ## Example Usage
1595
1595
 
1596
- <!--Start PulumiCodeChooser -->
1597
1596
  ```python
1598
1597
  import pulumi
1599
1598
  import pulumi_vault as vault
@@ -1605,6 +1604,7 @@ class SecretBackendRole(pulumi.CustomResource):
1605
1604
  max_lease_ttl_seconds=86400)
1606
1605
  role = vault.pki_secret.SecretBackendRole("role",
1607
1606
  backend=pki.path,
1607
+ name="my_role",
1608
1608
  ttl="3600",
1609
1609
  allow_ip_sans=True,
1610
1610
  key_type="rsa",
@@ -1615,7 +1615,6 @@ class SecretBackendRole(pulumi.CustomResource):
1615
1615
  ],
1616
1616
  allow_subdomains=True)
1617
1617
  ```
1618
- <!--End PulumiCodeChooser -->
1619
1618
 
1620
1619
  ## Import
1621
1620
 
@@ -1694,7 +1693,6 @@ class SecretBackendRole(pulumi.CustomResource):
1694
1693
 
1695
1694
  ## Example Usage
1696
1695
 
1697
- <!--Start PulumiCodeChooser -->
1698
1696
  ```python
1699
1697
  import pulumi
1700
1698
  import pulumi_vault as vault
@@ -1706,6 +1704,7 @@ class SecretBackendRole(pulumi.CustomResource):
1706
1704
  max_lease_ttl_seconds=86400)
1707
1705
  role = vault.pki_secret.SecretBackendRole("role",
1708
1706
  backend=pki.path,
1707
+ name="my_role",
1709
1708
  ttl="3600",
1710
1709
  allow_ip_sans=True,
1711
1710
  key_type="rsa",
@@ -1716,7 +1715,6 @@ class SecretBackendRole(pulumi.CustomResource):
1716
1715
  ],
1717
1716
  allow_subdomains=True)
1718
1717
  ```
1719
- <!--End PulumiCodeChooser -->
1720
1718
 
1721
1719
  ## Import
1722
1720