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