pulumi-vault 5.21.0a1710160723__py3-none-any.whl → 6.5.0a1736836139__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/__init__.py +52 -0
- pulumi_vault/_inputs.py +560 -0
- pulumi_vault/_utilities.py +41 -5
- pulumi_vault/ad/get_access_credentials.py +22 -7
- pulumi_vault/ad/secret_backend.py +14 -144
- pulumi_vault/ad/secret_library.py +14 -11
- pulumi_vault/ad/secret_role.py +12 -11
- pulumi_vault/alicloud/auth_backend_role.py +74 -192
- pulumi_vault/approle/auth_backend_login.py +12 -11
- pulumi_vault/approle/auth_backend_role.py +75 -193
- pulumi_vault/approle/auth_backend_role_secret_id.py +106 -11
- pulumi_vault/approle/get_auth_backend_role_id.py +18 -9
- pulumi_vault/audit.py +24 -27
- pulumi_vault/audit_request_header.py +11 -6
- pulumi_vault/auth_backend.py +64 -12
- pulumi_vault/aws/auth_backend_cert.py +12 -7
- pulumi_vault/aws/auth_backend_client.py +265 -24
- pulumi_vault/aws/auth_backend_config_identity.py +12 -11
- pulumi_vault/aws/auth_backend_identity_whitelist.py +18 -17
- pulumi_vault/aws/auth_backend_login.py +19 -22
- pulumi_vault/aws/auth_backend_role.py +75 -193
- pulumi_vault/aws/auth_backend_role_tag.py +12 -7
- pulumi_vault/aws/auth_backend_roletag_blacklist.py +18 -17
- pulumi_vault/aws/auth_backend_sts_role.py +12 -11
- pulumi_vault/aws/get_access_credentials.py +34 -7
- pulumi_vault/aws/get_static_access_credentials.py +19 -5
- pulumi_vault/aws/secret_backend.py +75 -7
- pulumi_vault/aws/secret_backend_role.py +183 -11
- pulumi_vault/aws/secret_backend_static_role.py +14 -11
- pulumi_vault/azure/_inputs.py +24 -0
- pulumi_vault/azure/auth_backend_config.py +151 -17
- pulumi_vault/azure/auth_backend_role.py +75 -193
- pulumi_vault/azure/backend.py +223 -29
- pulumi_vault/azure/backend_role.py +42 -41
- pulumi_vault/azure/get_access_credentials.py +39 -11
- pulumi_vault/azure/outputs.py +5 -0
- pulumi_vault/cert_auth_backend_role.py +87 -271
- pulumi_vault/config/__init__.pyi +5 -0
- pulumi_vault/config/_inputs.py +73 -0
- pulumi_vault/config/outputs.py +35 -0
- pulumi_vault/config/ui_custom_message.py +529 -0
- pulumi_vault/config/vars.py +5 -0
- pulumi_vault/consul/secret_backend.py +22 -25
- pulumi_vault/consul/secret_backend_role.py +14 -80
- pulumi_vault/database/_inputs.py +2770 -881
- pulumi_vault/database/outputs.py +721 -838
- pulumi_vault/database/secret_backend_connection.py +117 -114
- pulumi_vault/database/secret_backend_role.py +29 -24
- pulumi_vault/database/secret_backend_static_role.py +85 -15
- pulumi_vault/database/secrets_mount.py +425 -138
- pulumi_vault/egp_policy.py +16 -15
- pulumi_vault/gcp/_inputs.py +111 -0
- pulumi_vault/gcp/auth_backend.py +248 -35
- pulumi_vault/gcp/auth_backend_role.py +75 -271
- pulumi_vault/gcp/get_auth_backend_role.py +43 -9
- pulumi_vault/gcp/outputs.py +5 -0
- pulumi_vault/gcp/secret_backend.py +287 -16
- pulumi_vault/gcp/secret_impersonated_account.py +74 -17
- pulumi_vault/gcp/secret_roleset.py +29 -26
- pulumi_vault/gcp/secret_static_account.py +37 -34
- pulumi_vault/generic/endpoint.py +22 -21
- pulumi_vault/generic/get_secret.py +68 -12
- pulumi_vault/generic/secret.py +19 -14
- pulumi_vault/get_auth_backend.py +24 -11
- pulumi_vault/get_auth_backends.py +33 -11
- pulumi_vault/get_namespace.py +226 -0
- pulumi_vault/get_namespaces.py +153 -0
- pulumi_vault/get_nomad_access_token.py +31 -15
- pulumi_vault/get_policy_document.py +34 -23
- pulumi_vault/get_raft_autopilot_state.py +29 -14
- pulumi_vault/github/_inputs.py +55 -0
- pulumi_vault/github/auth_backend.py +17 -16
- pulumi_vault/github/outputs.py +5 -0
- pulumi_vault/github/team.py +14 -13
- pulumi_vault/github/user.py +14 -13
- pulumi_vault/identity/entity.py +18 -15
- pulumi_vault/identity/entity_alias.py +18 -15
- pulumi_vault/identity/entity_policies.py +24 -19
- pulumi_vault/identity/get_entity.py +40 -14
- pulumi_vault/identity/get_group.py +45 -13
- pulumi_vault/identity/get_oidc_client_creds.py +21 -11
- pulumi_vault/identity/get_oidc_openid_config.py +39 -13
- pulumi_vault/identity/get_oidc_public_keys.py +29 -14
- pulumi_vault/identity/group.py +50 -49
- pulumi_vault/identity/group_alias.py +14 -11
- pulumi_vault/identity/group_member_entity_ids.py +24 -74
- pulumi_vault/identity/group_member_group_ids.py +36 -27
- pulumi_vault/identity/group_policies.py +16 -15
- pulumi_vault/identity/mfa_duo.py +9 -8
- pulumi_vault/identity/mfa_login_enforcement.py +13 -8
- pulumi_vault/identity/mfa_okta.py +9 -8
- pulumi_vault/identity/mfa_pingid.py +5 -4
- pulumi_vault/identity/mfa_totp.py +5 -4
- pulumi_vault/identity/oidc.py +12 -11
- pulumi_vault/identity/oidc_assignment.py +22 -13
- pulumi_vault/identity/oidc_client.py +34 -25
- pulumi_vault/identity/oidc_key.py +28 -19
- pulumi_vault/identity/oidc_key_allowed_client_id.py +28 -19
- pulumi_vault/identity/oidc_provider.py +34 -23
- pulumi_vault/identity/oidc_role.py +40 -27
- pulumi_vault/identity/oidc_scope.py +18 -15
- pulumi_vault/identity/outputs.py +8 -3
- pulumi_vault/jwt/_inputs.py +55 -0
- pulumi_vault/jwt/auth_backend.py +39 -46
- pulumi_vault/jwt/auth_backend_role.py +131 -260
- pulumi_vault/jwt/outputs.py +5 -0
- pulumi_vault/kmip/secret_backend.py +22 -21
- pulumi_vault/kmip/secret_role.py +12 -11
- pulumi_vault/kmip/secret_scope.py +12 -11
- pulumi_vault/kubernetes/auth_backend_config.py +55 -7
- pulumi_vault/kubernetes/auth_backend_role.py +68 -179
- pulumi_vault/kubernetes/get_auth_backend_config.py +60 -8
- pulumi_vault/kubernetes/get_auth_backend_role.py +40 -5
- pulumi_vault/kubernetes/get_service_account_token.py +39 -15
- pulumi_vault/kubernetes/secret_backend.py +314 -29
- pulumi_vault/kubernetes/secret_backend_role.py +135 -56
- pulumi_vault/kv/_inputs.py +36 -4
- pulumi_vault/kv/get_secret.py +23 -12
- pulumi_vault/kv/get_secret_subkeys_v2.py +31 -14
- pulumi_vault/kv/get_secret_v2.py +89 -9
- pulumi_vault/kv/get_secrets_list.py +22 -15
- pulumi_vault/kv/get_secrets_list_v2.py +35 -19
- pulumi_vault/kv/outputs.py +8 -3
- pulumi_vault/kv/secret.py +19 -18
- pulumi_vault/kv/secret_backend_v2.py +12 -11
- pulumi_vault/kv/secret_v2.py +55 -52
- pulumi_vault/ldap/auth_backend.py +125 -168
- pulumi_vault/ldap/auth_backend_group.py +12 -11
- pulumi_vault/ldap/auth_backend_user.py +12 -11
- pulumi_vault/ldap/get_dynamic_credentials.py +23 -5
- pulumi_vault/ldap/get_static_credentials.py +24 -5
- pulumi_vault/ldap/secret_backend.py +352 -84
- pulumi_vault/ldap/secret_backend_dynamic_role.py +12 -11
- pulumi_vault/ldap/secret_backend_library_set.py +14 -11
- pulumi_vault/ldap/secret_backend_static_role.py +67 -12
- pulumi_vault/managed/_inputs.py +289 -132
- pulumi_vault/managed/keys.py +27 -43
- pulumi_vault/managed/outputs.py +89 -132
- pulumi_vault/mfa_duo.py +16 -13
- pulumi_vault/mfa_okta.py +16 -13
- pulumi_vault/mfa_pingid.py +16 -13
- pulumi_vault/mfa_totp.py +22 -19
- pulumi_vault/mongodbatlas/secret_backend.py +18 -17
- pulumi_vault/mongodbatlas/secret_role.py +41 -38
- pulumi_vault/mount.py +389 -65
- pulumi_vault/namespace.py +26 -21
- pulumi_vault/nomad_secret_backend.py +16 -15
- pulumi_vault/nomad_secret_role.py +12 -11
- pulumi_vault/okta/_inputs.py +47 -8
- pulumi_vault/okta/auth_backend.py +483 -41
- pulumi_vault/okta/auth_backend_group.py +12 -11
- pulumi_vault/okta/auth_backend_user.py +12 -11
- pulumi_vault/okta/outputs.py +13 -8
- pulumi_vault/outputs.py +5 -0
- pulumi_vault/password_policy.py +18 -15
- pulumi_vault/pkisecret/__init__.py +3 -0
- pulumi_vault/pkisecret/_inputs.py +81 -0
- pulumi_vault/pkisecret/backend_config_cluster.py +369 -0
- pulumi_vault/pkisecret/backend_config_est.py +619 -0
- pulumi_vault/pkisecret/get_backend_config_est.py +251 -0
- pulumi_vault/pkisecret/get_backend_issuer.py +63 -7
- pulumi_vault/pkisecret/get_backend_issuers.py +21 -12
- pulumi_vault/pkisecret/get_backend_key.py +24 -13
- pulumi_vault/pkisecret/get_backend_keys.py +21 -12
- pulumi_vault/pkisecret/outputs.py +69 -0
- pulumi_vault/pkisecret/secret_backend_cert.py +18 -15
- pulumi_vault/pkisecret/secret_backend_config_ca.py +16 -15
- pulumi_vault/pkisecret/secret_backend_config_issuers.py +12 -11
- pulumi_vault/pkisecret/secret_backend_config_urls.py +59 -11
- pulumi_vault/pkisecret/secret_backend_crl_config.py +14 -13
- pulumi_vault/pkisecret/secret_backend_intermediate_cert_request.py +16 -15
- pulumi_vault/pkisecret/secret_backend_intermediate_set_signed.py +22 -21
- pulumi_vault/pkisecret/secret_backend_issuer.py +12 -11
- pulumi_vault/pkisecret/secret_backend_key.py +12 -7
- pulumi_vault/pkisecret/secret_backend_role.py +19 -16
- pulumi_vault/pkisecret/secret_backend_root_cert.py +16 -52
- pulumi_vault/pkisecret/secret_backend_root_sign_intermediate.py +18 -62
- pulumi_vault/pkisecret/secret_backend_sign.py +18 -60
- pulumi_vault/plugin.py +595 -0
- pulumi_vault/plugin_pinned_version.py +298 -0
- pulumi_vault/policy.py +12 -7
- pulumi_vault/provider.py +48 -53
- pulumi_vault/pulumi-plugin.json +2 -1
- pulumi_vault/quota_lease_count.py +58 -8
- pulumi_vault/quota_rate_limit.py +54 -4
- pulumi_vault/rabbitmq/_inputs.py +61 -0
- pulumi_vault/rabbitmq/outputs.py +5 -0
- pulumi_vault/rabbitmq/secret_backend.py +16 -15
- pulumi_vault/rabbitmq/secret_backend_role.py +52 -49
- pulumi_vault/raft_autopilot.py +12 -11
- pulumi_vault/raft_snapshot_agent_config.py +121 -311
- pulumi_vault/rgp_policy.py +14 -13
- pulumi_vault/saml/auth_backend.py +20 -19
- pulumi_vault/saml/auth_backend_role.py +90 -199
- pulumi_vault/secrets/__init__.py +3 -0
- pulumi_vault/secrets/_inputs.py +110 -0
- pulumi_vault/secrets/outputs.py +94 -0
- pulumi_vault/secrets/sync_association.py +56 -75
- pulumi_vault/secrets/sync_aws_destination.py +240 -29
- pulumi_vault/secrets/sync_azure_destination.py +90 -33
- pulumi_vault/secrets/sync_config.py +7 -6
- pulumi_vault/secrets/sync_gcp_destination.py +156 -27
- pulumi_vault/secrets/sync_gh_destination.py +187 -15
- pulumi_vault/secrets/sync_github_apps.py +375 -0
- pulumi_vault/secrets/sync_vercel_destination.py +72 -15
- pulumi_vault/ssh/_inputs.py +28 -32
- pulumi_vault/ssh/outputs.py +11 -32
- pulumi_vault/ssh/secret_backend_ca.py +106 -11
- pulumi_vault/ssh/secret_backend_role.py +83 -120
- pulumi_vault/terraformcloud/secret_backend.py +5 -56
- pulumi_vault/terraformcloud/secret_creds.py +14 -24
- pulumi_vault/terraformcloud/secret_role.py +14 -76
- pulumi_vault/token.py +26 -25
- pulumi_vault/tokenauth/auth_backend_role.py +76 -201
- pulumi_vault/transform/alphabet.py +16 -13
- pulumi_vault/transform/get_decode.py +45 -21
- pulumi_vault/transform/get_encode.py +45 -21
- pulumi_vault/transform/role.py +16 -13
- pulumi_vault/transform/template.py +30 -25
- pulumi_vault/transform/transformation.py +12 -7
- pulumi_vault/transit/get_decrypt.py +26 -25
- pulumi_vault/transit/get_encrypt.py +24 -19
- pulumi_vault/transit/secret_backend_key.py +25 -97
- pulumi_vault/transit/secret_cache_config.py +12 -11
- {pulumi_vault-5.21.0a1710160723.dist-info → pulumi_vault-6.5.0a1736836139.dist-info}/METADATA +8 -7
- pulumi_vault-6.5.0a1736836139.dist-info/RECORD +256 -0
- {pulumi_vault-5.21.0a1710160723.dist-info → pulumi_vault-6.5.0a1736836139.dist-info}/WHEEL +1 -1
- pulumi_vault-5.21.0a1710160723.dist-info/RECORD +0 -244
- {pulumi_vault-5.21.0a1710160723.dist-info → pulumi_vault-6.5.0a1736836139.dist-info}/top_level.txt +0 -0
@@ -4,9 +4,14 @@
|
|
4
4
|
|
5
5
|
import copy
|
6
6
|
import warnings
|
7
|
+
import sys
|
7
8
|
import pulumi
|
8
9
|
import pulumi.runtime
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
10
15
|
from .. import _utilities
|
11
16
|
|
12
17
|
__all__ = ['GroupAliasArgs', 'GroupAlias']
|
@@ -25,7 +30,7 @@ class GroupAliasArgs:
|
|
25
30
|
:param pulumi.Input[str] name: Name of the group alias to create.
|
26
31
|
:param pulumi.Input[str] namespace: The namespace to provision the resource in.
|
27
32
|
The value should not contain leading or trailing forward slashes.
|
28
|
-
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
33
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
29
34
|
*Available only for Vault Enterprise*.
|
30
35
|
"""
|
31
36
|
pulumi.set(__self__, "canonical_id", canonical_id)
|
@@ -76,7 +81,7 @@ class GroupAliasArgs:
|
|
76
81
|
"""
|
77
82
|
The namespace to provision the resource in.
|
78
83
|
The value should not contain leading or trailing forward slashes.
|
79
|
-
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
84
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
80
85
|
*Available only for Vault Enterprise*.
|
81
86
|
"""
|
82
87
|
return pulumi.get(self, "namespace")
|
@@ -100,7 +105,7 @@ class _GroupAliasState:
|
|
100
105
|
:param pulumi.Input[str] name: Name of the group alias to create.
|
101
106
|
:param pulumi.Input[str] namespace: The namespace to provision the resource in.
|
102
107
|
The value should not contain leading or trailing forward slashes.
|
103
|
-
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
108
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
104
109
|
*Available only for Vault Enterprise*.
|
105
110
|
"""
|
106
111
|
if canonical_id is not None:
|
@@ -154,7 +159,7 @@ class _GroupAliasState:
|
|
154
159
|
"""
|
155
160
|
The namespace to provision the resource in.
|
156
161
|
The value should not contain leading or trailing forward slashes.
|
157
|
-
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
162
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
158
163
|
*Available only for Vault Enterprise*.
|
159
164
|
"""
|
160
165
|
return pulumi.get(self, "namespace")
|
@@ -181,12 +186,12 @@ class GroupAlias(pulumi.CustomResource):
|
|
181
186
|
|
182
187
|
## Example Usage
|
183
188
|
|
184
|
-
<!--Start PulumiCodeChooser -->
|
185
189
|
```python
|
186
190
|
import pulumi
|
187
191
|
import pulumi_vault as vault
|
188
192
|
|
189
193
|
group = vault.identity.Group("group",
|
194
|
+
name="test",
|
190
195
|
type="external",
|
191
196
|
policies=["test"])
|
192
197
|
github = vault.AuthBackend("github",
|
@@ -197,7 +202,6 @@ class GroupAlias(pulumi.CustomResource):
|
|
197
202
|
mount_accessor=github.accessor,
|
198
203
|
canonical_id=group.id)
|
199
204
|
```
|
200
|
-
<!--End PulumiCodeChooser -->
|
201
205
|
|
202
206
|
## Import
|
203
207
|
|
@@ -220,7 +224,7 @@ class GroupAlias(pulumi.CustomResource):
|
|
220
224
|
:param pulumi.Input[str] name: Name of the group alias to create.
|
221
225
|
:param pulumi.Input[str] namespace: The namespace to provision the resource in.
|
222
226
|
The value should not contain leading or trailing forward slashes.
|
223
|
-
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
227
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
224
228
|
*Available only for Vault Enterprise*.
|
225
229
|
"""
|
226
230
|
...
|
@@ -236,12 +240,12 @@ class GroupAlias(pulumi.CustomResource):
|
|
236
240
|
|
237
241
|
## Example Usage
|
238
242
|
|
239
|
-
<!--Start PulumiCodeChooser -->
|
240
243
|
```python
|
241
244
|
import pulumi
|
242
245
|
import pulumi_vault as vault
|
243
246
|
|
244
247
|
group = vault.identity.Group("group",
|
248
|
+
name="test",
|
245
249
|
type="external",
|
246
250
|
policies=["test"])
|
247
251
|
github = vault.AuthBackend("github",
|
@@ -252,7 +256,6 @@ class GroupAlias(pulumi.CustomResource):
|
|
252
256
|
mount_accessor=github.accessor,
|
253
257
|
canonical_id=group.id)
|
254
258
|
```
|
255
|
-
<!--End PulumiCodeChooser -->
|
256
259
|
|
257
260
|
## Import
|
258
261
|
|
@@ -332,7 +335,7 @@ class GroupAlias(pulumi.CustomResource):
|
|
332
335
|
:param pulumi.Input[str] name: Name of the group alias to create.
|
333
336
|
:param pulumi.Input[str] namespace: The namespace to provision the resource in.
|
334
337
|
The value should not contain leading or trailing forward slashes.
|
335
|
-
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
338
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
336
339
|
*Available only for Vault Enterprise*.
|
337
340
|
"""
|
338
341
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -375,7 +378,7 @@ class GroupAlias(pulumi.CustomResource):
|
|
375
378
|
"""
|
376
379
|
The namespace to provision the resource in.
|
377
380
|
The value should not contain leading or trailing forward slashes.
|
378
|
-
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
381
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
379
382
|
*Available only for Vault Enterprise*.
|
380
383
|
"""
|
381
384
|
return pulumi.get(self, "namespace")
|
@@ -4,9 +4,14 @@
|
|
4
4
|
|
5
5
|
import copy
|
6
6
|
import warnings
|
7
|
+
import sys
|
7
8
|
import pulumi
|
8
9
|
import pulumi.runtime
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
10
15
|
from .. import _utilities
|
11
16
|
|
12
17
|
__all__ = ['GroupMemberEntityIdsArgs', 'GroupMemberEntityIds']
|
@@ -29,7 +34,7 @@ class GroupMemberEntityIdsArgs:
|
|
29
34
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] member_entity_ids: List of member entities that belong to the group
|
30
35
|
:param pulumi.Input[str] namespace: The namespace to provision the resource in.
|
31
36
|
The value should not contain leading or trailing forward slashes.
|
32
|
-
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
37
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
33
38
|
*Available only for Vault Enterprise*.
|
34
39
|
"""
|
35
40
|
pulumi.set(__self__, "group_id", group_id)
|
@@ -86,7 +91,7 @@ class GroupMemberEntityIdsArgs:
|
|
86
91
|
"""
|
87
92
|
The namespace to provision the resource in.
|
88
93
|
The value should not contain leading or trailing forward slashes.
|
89
|
-
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
94
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
90
95
|
*Available only for Vault Enterprise*.
|
91
96
|
"""
|
92
97
|
return pulumi.get(self, "namespace")
|
@@ -101,7 +106,6 @@ class _GroupMemberEntityIdsState:
|
|
101
106
|
def __init__(__self__, *,
|
102
107
|
exclusive: Optional[pulumi.Input[bool]] = None,
|
103
108
|
group_id: Optional[pulumi.Input[str]] = None,
|
104
|
-
group_name: Optional[pulumi.Input[str]] = None,
|
105
109
|
member_entity_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
106
110
|
namespace: Optional[pulumi.Input[str]] = None):
|
107
111
|
"""
|
@@ -112,26 +116,16 @@ class _GroupMemberEntityIdsState:
|
|
112
116
|
|
113
117
|
If set to `false`, this resource will simply ensure that the member entities specified in the resource are present in the group. When destroying the resource, the resource will ensure that the member entities specified in the resource are removed.
|
114
118
|
:param pulumi.Input[str] group_id: Group ID to assign member entities to.
|
115
|
-
:param pulumi.Input[str] group_name: The name of the group that are assigned the member entities.
|
116
|
-
*Deprecated: The value for group_name may not always be accurate*
|
117
|
-
*use* `data.vault_identity_group.*.group_name`, *or* `vault_identity_group.*.group_name` *instead.*
|
118
119
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] member_entity_ids: List of member entities that belong to the group
|
119
120
|
:param pulumi.Input[str] namespace: The namespace to provision the resource in.
|
120
121
|
The value should not contain leading or trailing forward slashes.
|
121
|
-
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
122
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
122
123
|
*Available only for Vault Enterprise*.
|
123
124
|
"""
|
124
125
|
if exclusive is not None:
|
125
126
|
pulumi.set(__self__, "exclusive", exclusive)
|
126
127
|
if group_id is not None:
|
127
128
|
pulumi.set(__self__, "group_id", group_id)
|
128
|
-
if group_name is not None:
|
129
|
-
warnings.warn("""The value for group_name may not always be accurate,
|
130
|
-
use \"data.vault_identity_group.*.group_name\", \"vault_identity_group.*.group_name\" instead""", DeprecationWarning)
|
131
|
-
pulumi.log.warn("""group_name is deprecated: The value for group_name may not always be accurate,
|
132
|
-
use \"data.vault_identity_group.*.group_name\", \"vault_identity_group.*.group_name\" instead""")
|
133
|
-
if group_name is not None:
|
134
|
-
pulumi.set(__self__, "group_name", group_name)
|
135
129
|
if member_entity_ids is not None:
|
136
130
|
pulumi.set(__self__, "member_entity_ids", member_entity_ids)
|
137
131
|
if namespace is not None:
|
@@ -165,25 +159,6 @@ use \"data.vault_identity_group.*.group_name\", \"vault_identity_group.*.group_n
|
|
165
159
|
def group_id(self, value: Optional[pulumi.Input[str]]):
|
166
160
|
pulumi.set(self, "group_id", value)
|
167
161
|
|
168
|
-
@property
|
169
|
-
@pulumi.getter(name="groupName")
|
170
|
-
def group_name(self) -> Optional[pulumi.Input[str]]:
|
171
|
-
"""
|
172
|
-
The name of the group that are assigned the member entities.
|
173
|
-
*Deprecated: The value for group_name may not always be accurate*
|
174
|
-
*use* `data.vault_identity_group.*.group_name`, *or* `vault_identity_group.*.group_name` *instead.*
|
175
|
-
"""
|
176
|
-
warnings.warn("""The value for group_name may not always be accurate,
|
177
|
-
use \"data.vault_identity_group.*.group_name\", \"vault_identity_group.*.group_name\" instead""", DeprecationWarning)
|
178
|
-
pulumi.log.warn("""group_name is deprecated: The value for group_name may not always be accurate,
|
179
|
-
use \"data.vault_identity_group.*.group_name\", \"vault_identity_group.*.group_name\" instead""")
|
180
|
-
|
181
|
-
return pulumi.get(self, "group_name")
|
182
|
-
|
183
|
-
@group_name.setter
|
184
|
-
def group_name(self, value: Optional[pulumi.Input[str]]):
|
185
|
-
pulumi.set(self, "group_name", value)
|
186
|
-
|
187
162
|
@property
|
188
163
|
@pulumi.getter(name="memberEntityIds")
|
189
164
|
def member_entity_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
@@ -202,7 +177,7 @@ use \"data.vault_identity_group.*.group_name\", \"vault_identity_group.*.group_n
|
|
202
177
|
"""
|
203
178
|
The namespace to provision the resource in.
|
204
179
|
The value should not contain leading or trailing forward slashes.
|
205
|
-
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
180
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
206
181
|
*Available only for Vault Enterprise*.
|
207
182
|
"""
|
208
183
|
return pulumi.get(self, "namespace")
|
@@ -229,41 +204,40 @@ class GroupMemberEntityIds(pulumi.CustomResource):
|
|
229
204
|
|
230
205
|
### Exclusive Member Entities
|
231
206
|
|
232
|
-
<!--Start PulumiCodeChooser -->
|
233
207
|
```python
|
234
208
|
import pulumi
|
235
209
|
import pulumi_vault as vault
|
236
210
|
|
237
211
|
internal = vault.identity.Group("internal",
|
212
|
+
name="internal",
|
238
213
|
type="internal",
|
239
214
|
external_member_entity_ids=True,
|
240
215
|
metadata={
|
241
216
|
"version": "2",
|
242
217
|
})
|
243
|
-
user = vault.identity.Entity("user")
|
218
|
+
user = vault.identity.Entity("user", name="user")
|
244
219
|
members = vault.identity.GroupMemberEntityIds("members",
|
245
220
|
exclusive=True,
|
246
221
|
member_entity_ids=[user.id],
|
247
222
|
group_id=internal.id)
|
248
223
|
```
|
249
|
-
<!--End PulumiCodeChooser -->
|
250
224
|
|
251
225
|
### Non-exclusive Member Entities
|
252
226
|
|
253
|
-
<!--Start PulumiCodeChooser -->
|
254
227
|
```python
|
255
228
|
import pulumi
|
256
229
|
import pulumi_vault as vault
|
257
230
|
|
258
231
|
internal = vault.identity.Group("internal",
|
232
|
+
name="internal",
|
259
233
|
type="internal",
|
260
234
|
external_member_entity_ids=True,
|
261
235
|
metadata={
|
262
236
|
"version": "2",
|
263
237
|
})
|
264
|
-
test_user = vault.identity.Entity("
|
265
|
-
second_test_user = vault.identity.Entity("
|
266
|
-
dev_user = vault.identity.Entity("
|
238
|
+
test_user = vault.identity.Entity("test_user", name="test")
|
239
|
+
second_test_user = vault.identity.Entity("second_test_user", name="second_test")
|
240
|
+
dev_user = vault.identity.Entity("dev_user", name="dev")
|
267
241
|
test = vault.identity.GroupMemberEntityIds("test",
|
268
242
|
member_entity_ids=[
|
269
243
|
test_user.id,
|
@@ -276,7 +250,6 @@ class GroupMemberEntityIds(pulumi.CustomResource):
|
|
276
250
|
exclusive=False,
|
277
251
|
group_id=internal.id)
|
278
252
|
```
|
279
|
-
<!--End PulumiCodeChooser -->
|
280
253
|
|
281
254
|
:param str resource_name: The name of the resource.
|
282
255
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
@@ -289,7 +262,7 @@ class GroupMemberEntityIds(pulumi.CustomResource):
|
|
289
262
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] member_entity_ids: List of member entities that belong to the group
|
290
263
|
:param pulumi.Input[str] namespace: The namespace to provision the resource in.
|
291
264
|
The value should not contain leading or trailing forward slashes.
|
292
|
-
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
265
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
293
266
|
*Available only for Vault Enterprise*.
|
294
267
|
"""
|
295
268
|
...
|
@@ -305,41 +278,40 @@ class GroupMemberEntityIds(pulumi.CustomResource):
|
|
305
278
|
|
306
279
|
### Exclusive Member Entities
|
307
280
|
|
308
|
-
<!--Start PulumiCodeChooser -->
|
309
281
|
```python
|
310
282
|
import pulumi
|
311
283
|
import pulumi_vault as vault
|
312
284
|
|
313
285
|
internal = vault.identity.Group("internal",
|
286
|
+
name="internal",
|
314
287
|
type="internal",
|
315
288
|
external_member_entity_ids=True,
|
316
289
|
metadata={
|
317
290
|
"version": "2",
|
318
291
|
})
|
319
|
-
user = vault.identity.Entity("user")
|
292
|
+
user = vault.identity.Entity("user", name="user")
|
320
293
|
members = vault.identity.GroupMemberEntityIds("members",
|
321
294
|
exclusive=True,
|
322
295
|
member_entity_ids=[user.id],
|
323
296
|
group_id=internal.id)
|
324
297
|
```
|
325
|
-
<!--End PulumiCodeChooser -->
|
326
298
|
|
327
299
|
### Non-exclusive Member Entities
|
328
300
|
|
329
|
-
<!--Start PulumiCodeChooser -->
|
330
301
|
```python
|
331
302
|
import pulumi
|
332
303
|
import pulumi_vault as vault
|
333
304
|
|
334
305
|
internal = vault.identity.Group("internal",
|
306
|
+
name="internal",
|
335
307
|
type="internal",
|
336
308
|
external_member_entity_ids=True,
|
337
309
|
metadata={
|
338
310
|
"version": "2",
|
339
311
|
})
|
340
|
-
test_user = vault.identity.Entity("
|
341
|
-
second_test_user = vault.identity.Entity("
|
342
|
-
dev_user = vault.identity.Entity("
|
312
|
+
test_user = vault.identity.Entity("test_user", name="test")
|
313
|
+
second_test_user = vault.identity.Entity("second_test_user", name="second_test")
|
314
|
+
dev_user = vault.identity.Entity("dev_user", name="dev")
|
343
315
|
test = vault.identity.GroupMemberEntityIds("test",
|
344
316
|
member_entity_ids=[
|
345
317
|
test_user.id,
|
@@ -352,7 +324,6 @@ class GroupMemberEntityIds(pulumi.CustomResource):
|
|
352
324
|
exclusive=False,
|
353
325
|
group_id=internal.id)
|
354
326
|
```
|
355
|
-
<!--End PulumiCodeChooser -->
|
356
327
|
|
357
328
|
:param str resource_name: The name of the resource.
|
358
329
|
:param GroupMemberEntityIdsArgs args: The arguments to use to populate this resource's properties.
|
@@ -388,7 +359,6 @@ class GroupMemberEntityIds(pulumi.CustomResource):
|
|
388
359
|
__props__.__dict__["group_id"] = group_id
|
389
360
|
__props__.__dict__["member_entity_ids"] = member_entity_ids
|
390
361
|
__props__.__dict__["namespace"] = namespace
|
391
|
-
__props__.__dict__["group_name"] = None
|
392
362
|
super(GroupMemberEntityIds, __self__).__init__(
|
393
363
|
'vault:identity/groupMemberEntityIds:GroupMemberEntityIds',
|
394
364
|
resource_name,
|
@@ -401,7 +371,6 @@ class GroupMemberEntityIds(pulumi.CustomResource):
|
|
401
371
|
opts: Optional[pulumi.ResourceOptions] = None,
|
402
372
|
exclusive: Optional[pulumi.Input[bool]] = None,
|
403
373
|
group_id: Optional[pulumi.Input[str]] = None,
|
404
|
-
group_name: Optional[pulumi.Input[str]] = None,
|
405
374
|
member_entity_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
406
375
|
namespace: Optional[pulumi.Input[str]] = None) -> 'GroupMemberEntityIds':
|
407
376
|
"""
|
@@ -417,13 +386,10 @@ class GroupMemberEntityIds(pulumi.CustomResource):
|
|
417
386
|
|
418
387
|
If set to `false`, this resource will simply ensure that the member entities specified in the resource are present in the group. When destroying the resource, the resource will ensure that the member entities specified in the resource are removed.
|
419
388
|
:param pulumi.Input[str] group_id: Group ID to assign member entities to.
|
420
|
-
:param pulumi.Input[str] group_name: The name of the group that are assigned the member entities.
|
421
|
-
*Deprecated: The value for group_name may not always be accurate*
|
422
|
-
*use* `data.vault_identity_group.*.group_name`, *or* `vault_identity_group.*.group_name` *instead.*
|
423
389
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] member_entity_ids: List of member entities that belong to the group
|
424
390
|
:param pulumi.Input[str] namespace: The namespace to provision the resource in.
|
425
391
|
The value should not contain leading or trailing forward slashes.
|
426
|
-
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
392
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
427
393
|
*Available only for Vault Enterprise*.
|
428
394
|
"""
|
429
395
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -432,7 +398,6 @@ class GroupMemberEntityIds(pulumi.CustomResource):
|
|
432
398
|
|
433
399
|
__props__.__dict__["exclusive"] = exclusive
|
434
400
|
__props__.__dict__["group_id"] = group_id
|
435
|
-
__props__.__dict__["group_name"] = group_name
|
436
401
|
__props__.__dict__["member_entity_ids"] = member_entity_ids
|
437
402
|
__props__.__dict__["namespace"] = namespace
|
438
403
|
return GroupMemberEntityIds(resource_name, opts=opts, __props__=__props__)
|
@@ -457,21 +422,6 @@ class GroupMemberEntityIds(pulumi.CustomResource):
|
|
457
422
|
"""
|
458
423
|
return pulumi.get(self, "group_id")
|
459
424
|
|
460
|
-
@property
|
461
|
-
@pulumi.getter(name="groupName")
|
462
|
-
def group_name(self) -> pulumi.Output[str]:
|
463
|
-
"""
|
464
|
-
The name of the group that are assigned the member entities.
|
465
|
-
*Deprecated: The value for group_name may not always be accurate*
|
466
|
-
*use* `data.vault_identity_group.*.group_name`, *or* `vault_identity_group.*.group_name` *instead.*
|
467
|
-
"""
|
468
|
-
warnings.warn("""The value for group_name may not always be accurate,
|
469
|
-
use \"data.vault_identity_group.*.group_name\", \"vault_identity_group.*.group_name\" instead""", DeprecationWarning)
|
470
|
-
pulumi.log.warn("""group_name is deprecated: The value for group_name may not always be accurate,
|
471
|
-
use \"data.vault_identity_group.*.group_name\", \"vault_identity_group.*.group_name\" instead""")
|
472
|
-
|
473
|
-
return pulumi.get(self, "group_name")
|
474
|
-
|
475
425
|
@property
|
476
426
|
@pulumi.getter(name="memberEntityIds")
|
477
427
|
def member_entity_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
@@ -486,7 +436,7 @@ use \"data.vault_identity_group.*.group_name\", \"vault_identity_group.*.group_n
|
|
486
436
|
"""
|
487
437
|
The namespace to provision the resource in.
|
488
438
|
The value should not contain leading or trailing forward slashes.
|
489
|
-
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
439
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
490
440
|
*Available only for Vault Enterprise*.
|
491
441
|
"""
|
492
442
|
return pulumi.get(self, "namespace")
|
@@ -4,9 +4,14 @@
|
|
4
4
|
|
5
5
|
import copy
|
6
6
|
import warnings
|
7
|
+
import sys
|
7
8
|
import pulumi
|
8
9
|
import pulumi.runtime
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
10
15
|
from .. import _utilities
|
11
16
|
|
12
17
|
__all__ = ['GroupMemberGroupIdsArgs', 'GroupMemberGroupIds']
|
@@ -32,7 +37,7 @@ class GroupMemberGroupIdsArgs:
|
|
32
37
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] member_group_ids: List of member groups that belong to the group
|
33
38
|
:param pulumi.Input[str] namespace: The namespace to provision the resource in.
|
34
39
|
The value should not contain leading or trailing forward slashes.
|
35
|
-
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
40
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
36
41
|
*Available only for Vault Enterprise*.
|
37
42
|
"""
|
38
43
|
pulumi.set(__self__, "group_id", group_id)
|
@@ -92,7 +97,7 @@ class GroupMemberGroupIdsArgs:
|
|
92
97
|
"""
|
93
98
|
The namespace to provision the resource in.
|
94
99
|
The value should not contain leading or trailing forward slashes.
|
95
|
-
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
100
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
96
101
|
*Available only for Vault Enterprise*.
|
97
102
|
"""
|
98
103
|
return pulumi.get(self, "namespace")
|
@@ -123,7 +128,7 @@ class _GroupMemberGroupIdsState:
|
|
123
128
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] member_group_ids: List of member groups that belong to the group
|
124
129
|
:param pulumi.Input[str] namespace: The namespace to provision the resource in.
|
125
130
|
The value should not contain leading or trailing forward slashes.
|
126
|
-
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
131
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
127
132
|
*Available only for Vault Enterprise*.
|
128
133
|
"""
|
129
134
|
if exclusive is not None:
|
@@ -184,7 +189,7 @@ class _GroupMemberGroupIdsState:
|
|
184
189
|
"""
|
185
190
|
The namespace to provision the resource in.
|
186
191
|
The value should not contain leading or trailing forward slashes.
|
187
|
-
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
192
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
188
193
|
*Available only for Vault Enterprise*.
|
189
194
|
"""
|
190
195
|
return pulumi.get(self, "namespace")
|
@@ -213,49 +218,51 @@ class GroupMemberGroupIds(pulumi.CustomResource):
|
|
213
218
|
|
214
219
|
### Exclusive Member Groups
|
215
220
|
|
216
|
-
<!--Start PulumiCodeChooser -->
|
217
221
|
```python
|
218
222
|
import pulumi
|
219
223
|
import pulumi_vault as vault
|
220
224
|
|
221
225
|
internal = vault.identity.Group("internal",
|
226
|
+
name="internal",
|
222
227
|
type="internal",
|
223
228
|
external_member_group_ids=True,
|
224
229
|
metadata={
|
225
230
|
"version": "2",
|
226
231
|
})
|
227
|
-
users = vault.identity.Group("users",
|
228
|
-
"
|
229
|
-
|
232
|
+
users = vault.identity.Group("users",
|
233
|
+
name="users",
|
234
|
+
metadata={
|
235
|
+
"version": "2",
|
236
|
+
})
|
230
237
|
members = vault.identity.GroupMemberGroupIds("members",
|
231
238
|
exclusive=True,
|
232
239
|
member_group_ids=[users.id],
|
233
240
|
group_id=internal.id)
|
234
241
|
```
|
235
|
-
<!--End PulumiCodeChooser -->
|
236
242
|
|
237
243
|
### Non-Exclusive Member Groups
|
238
244
|
|
239
|
-
<!--Start PulumiCodeChooser -->
|
240
245
|
```python
|
241
246
|
import pulumi
|
242
247
|
import pulumi_vault as vault
|
243
248
|
|
244
249
|
internal = vault.identity.Group("internal",
|
250
|
+
name="internal",
|
245
251
|
type="internal",
|
246
252
|
external_member_group_ids=True,
|
247
253
|
metadata={
|
248
254
|
"version": "2",
|
249
255
|
})
|
250
|
-
users = vault.identity.Group("users",
|
251
|
-
"
|
252
|
-
|
256
|
+
users = vault.identity.Group("users",
|
257
|
+
name="users",
|
258
|
+
metadata={
|
259
|
+
"version": "2",
|
260
|
+
})
|
253
261
|
members = vault.identity.GroupMemberGroupIds("members",
|
254
262
|
exclusive=False,
|
255
263
|
member_group_ids=[users.id],
|
256
264
|
group_id=internal.id)
|
257
265
|
```
|
258
|
-
<!--End PulumiCodeChooser -->
|
259
266
|
|
260
267
|
:param str resource_name: The name of the resource.
|
261
268
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
@@ -271,7 +278,7 @@ class GroupMemberGroupIds(pulumi.CustomResource):
|
|
271
278
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] member_group_ids: List of member groups that belong to the group
|
272
279
|
:param pulumi.Input[str] namespace: The namespace to provision the resource in.
|
273
280
|
The value should not contain leading or trailing forward slashes.
|
274
|
-
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
281
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
275
282
|
*Available only for Vault Enterprise*.
|
276
283
|
"""
|
277
284
|
...
|
@@ -289,49 +296,51 @@ class GroupMemberGroupIds(pulumi.CustomResource):
|
|
289
296
|
|
290
297
|
### Exclusive Member Groups
|
291
298
|
|
292
|
-
<!--Start PulumiCodeChooser -->
|
293
299
|
```python
|
294
300
|
import pulumi
|
295
301
|
import pulumi_vault as vault
|
296
302
|
|
297
303
|
internal = vault.identity.Group("internal",
|
304
|
+
name="internal",
|
298
305
|
type="internal",
|
299
306
|
external_member_group_ids=True,
|
300
307
|
metadata={
|
301
308
|
"version": "2",
|
302
309
|
})
|
303
|
-
users = vault.identity.Group("users",
|
304
|
-
"
|
305
|
-
|
310
|
+
users = vault.identity.Group("users",
|
311
|
+
name="users",
|
312
|
+
metadata={
|
313
|
+
"version": "2",
|
314
|
+
})
|
306
315
|
members = vault.identity.GroupMemberGroupIds("members",
|
307
316
|
exclusive=True,
|
308
317
|
member_group_ids=[users.id],
|
309
318
|
group_id=internal.id)
|
310
319
|
```
|
311
|
-
<!--End PulumiCodeChooser -->
|
312
320
|
|
313
321
|
### Non-Exclusive Member Groups
|
314
322
|
|
315
|
-
<!--Start PulumiCodeChooser -->
|
316
323
|
```python
|
317
324
|
import pulumi
|
318
325
|
import pulumi_vault as vault
|
319
326
|
|
320
327
|
internal = vault.identity.Group("internal",
|
328
|
+
name="internal",
|
321
329
|
type="internal",
|
322
330
|
external_member_group_ids=True,
|
323
331
|
metadata={
|
324
332
|
"version": "2",
|
325
333
|
})
|
326
|
-
users = vault.identity.Group("users",
|
327
|
-
"
|
328
|
-
|
334
|
+
users = vault.identity.Group("users",
|
335
|
+
name="users",
|
336
|
+
metadata={
|
337
|
+
"version": "2",
|
338
|
+
})
|
329
339
|
members = vault.identity.GroupMemberGroupIds("members",
|
330
340
|
exclusive=False,
|
331
341
|
member_group_ids=[users.id],
|
332
342
|
group_id=internal.id)
|
333
343
|
```
|
334
|
-
<!--End PulumiCodeChooser -->
|
335
344
|
|
336
345
|
:param str resource_name: The name of the resource.
|
337
346
|
:param GroupMemberGroupIdsArgs args: The arguments to use to populate this resource's properties.
|
@@ -400,7 +409,7 @@ class GroupMemberGroupIds(pulumi.CustomResource):
|
|
400
409
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] member_group_ids: List of member groups that belong to the group
|
401
410
|
:param pulumi.Input[str] namespace: The namespace to provision the resource in.
|
402
411
|
The value should not contain leading or trailing forward slashes.
|
403
|
-
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
412
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
404
413
|
*Available only for Vault Enterprise*.
|
405
414
|
"""
|
406
415
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -450,7 +459,7 @@ class GroupMemberGroupIds(pulumi.CustomResource):
|
|
450
459
|
"""
|
451
460
|
The namespace to provision the resource in.
|
452
461
|
The value should not contain leading or trailing forward slashes.
|
453
|
-
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
462
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
454
463
|
*Available only for Vault Enterprise*.
|
455
464
|
"""
|
456
465
|
return pulumi.get(self, "namespace")
|