pulumi-vault 5.21.0a1711033014__py3-none-any.whl → 6.0.0__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 +24 -0
- pulumi_vault/ad/get_access_credentials.py +2 -2
- pulumi_vault/ad/secret_backend.py +7 -138
- pulumi_vault/ad/secret_library.py +7 -7
- pulumi_vault/ad/secret_role.py +7 -7
- pulumi_vault/approle/auth_backend_login.py +7 -7
- pulumi_vault/approle/auth_backend_role.py +7 -7
- pulumi_vault/approle/auth_backend_role_secret_id.py +7 -7
- pulumi_vault/audit.py +7 -7
- pulumi_vault/auth_backend.py +7 -7
- pulumi_vault/aws/auth_backend_cert.py +7 -7
- pulumi_vault/aws/auth_backend_client.py +7 -7
- pulumi_vault/aws/auth_backend_config_identity.py +7 -7
- pulumi_vault/aws/auth_backend_identity_whitelist.py +7 -7
- pulumi_vault/aws/auth_backend_login.py +7 -7
- pulumi_vault/aws/auth_backend_role.py +7 -7
- pulumi_vault/aws/auth_backend_role_tag.py +7 -7
- pulumi_vault/aws/auth_backend_roletag_blacklist.py +7 -7
- pulumi_vault/aws/auth_backend_sts_role.py +7 -7
- pulumi_vault/aws/get_access_credentials.py +2 -2
- pulumi_vault/aws/secret_backend.py +7 -7
- pulumi_vault/aws/secret_backend_role.py +7 -7
- pulumi_vault/aws/secret_backend_static_role.py +7 -7
- pulumi_vault/azure/auth_backend_config.py +7 -7
- pulumi_vault/azure/auth_backend_role.py +7 -7
- pulumi_vault/azure/backend.py +7 -7
- pulumi_vault/azure/backend_role.py +7 -7
- pulumi_vault/azure/get_access_credentials.py +2 -2
- pulumi_vault/cert_auth_backend_role.py +7 -63
- pulumi_vault/config/_inputs.py +52 -0
- pulumi_vault/config/outputs.py +30 -0
- pulumi_vault/config/ui_custom_message.py +524 -0
- pulumi_vault/consul/secret_backend.py +7 -7
- pulumi_vault/consul/secret_backend_role.py +7 -76
- pulumi_vault/egp_policy.py +7 -7
- pulumi_vault/gcp/auth_backend.py +7 -7
- pulumi_vault/gcp/auth_backend_role.py +7 -7
- pulumi_vault/gcp/secret_backend.py +7 -7
- pulumi_vault/gcp/secret_roleset.py +7 -7
- pulumi_vault/gcp/secret_static_account.py +7 -7
- pulumi_vault/generic/endpoint.py +7 -7
- pulumi_vault/generic/get_secret.py +2 -2
- pulumi_vault/generic/secret.py +7 -7
- pulumi_vault/get_auth_backend.py +2 -2
- pulumi_vault/get_auth_backends.py +20 -2
- pulumi_vault/get_nomad_access_token.py +2 -2
- pulumi_vault/get_raft_autopilot_state.py +2 -2
- pulumi_vault/github/auth_backend.py +7 -7
- pulumi_vault/github/team.py +7 -7
- pulumi_vault/github/user.py +7 -7
- pulumi_vault/identity/entity.py +7 -7
- pulumi_vault/identity/entity_alias.py +7 -7
- pulumi_vault/identity/entity_policies.py +7 -7
- pulumi_vault/identity/get_entity.py +2 -2
- pulumi_vault/identity/get_group.py +2 -2
- pulumi_vault/identity/get_oidc_client_creds.py +2 -2
- pulumi_vault/identity/get_oidc_openid_config.py +2 -2
- pulumi_vault/identity/get_oidc_public_keys.py +2 -2
- pulumi_vault/identity/group.py +7 -7
- pulumi_vault/identity/group_alias.py +7 -7
- pulumi_vault/identity/group_member_entity_ids.py +7 -58
- pulumi_vault/identity/group_member_group_ids.py +7 -7
- pulumi_vault/identity/group_policies.py +7 -7
- pulumi_vault/identity/oidc.py +7 -7
- pulumi_vault/identity/oidc_assignment.py +7 -7
- pulumi_vault/identity/oidc_client.py +19 -15
- pulumi_vault/identity/oidc_key.py +7 -7
- pulumi_vault/identity/oidc_key_allowed_client_id.py +7 -7
- pulumi_vault/identity/oidc_provider.py +7 -7
- pulumi_vault/identity/oidc_role.py +7 -7
- pulumi_vault/identity/oidc_scope.py +7 -7
- pulumi_vault/jwt/auth_backend.py +7 -7
- pulumi_vault/jwt/auth_backend_role.py +7 -7
- pulumi_vault/kmip/secret_backend.py +7 -7
- pulumi_vault/kmip/secret_role.py +7 -7
- pulumi_vault/kmip/secret_scope.py +7 -7
- pulumi_vault/kubernetes/auth_backend_role.py +7 -7
- pulumi_vault/kubernetes/get_service_account_token.py +2 -2
- pulumi_vault/kubernetes/secret_backend.py +7 -7
- pulumi_vault/kubernetes/secret_backend_role.py +7 -7
- pulumi_vault/kv/get_secret.py +2 -2
- pulumi_vault/kv/get_secret_subkeys_v2.py +2 -2
- pulumi_vault/kv/get_secret_v2.py +5 -2
- pulumi_vault/kv/get_secrets_list.py +2 -2
- pulumi_vault/kv/get_secrets_list_v2.py +2 -2
- pulumi_vault/kv/secret.py +7 -7
- pulumi_vault/kv/secret_backend_v2.py +7 -7
- pulumi_vault/kv/secret_v2.py +7 -7
- pulumi_vault/ldap/auth_backend.py +7 -7
- pulumi_vault/ldap/auth_backend_group.py +7 -7
- pulumi_vault/ldap/auth_backend_user.py +7 -7
- pulumi_vault/ldap/secret_backend.py +61 -76
- pulumi_vault/ldap/secret_backend_dynamic_role.py +7 -7
- pulumi_vault/ldap/secret_backend_library_set.py +7 -7
- pulumi_vault/ldap/secret_backend_static_role.py +62 -8
- pulumi_vault/mfa_duo.py +7 -7
- pulumi_vault/mfa_okta.py +7 -7
- pulumi_vault/mfa_pingid.py +7 -7
- pulumi_vault/mfa_totp.py +7 -7
- pulumi_vault/mongodbatlas/secret_backend.py +7 -7
- pulumi_vault/mongodbatlas/secret_role.py +7 -7
- pulumi_vault/mount.py +11 -7
- pulumi_vault/namespace.py +7 -7
- pulumi_vault/nomad_secret_backend.py +7 -7
- pulumi_vault/nomad_secret_role.py +7 -7
- pulumi_vault/okta/auth_backend.py +7 -7
- pulumi_vault/okta/auth_backend_group.py +7 -7
- pulumi_vault/okta/auth_backend_user.py +7 -7
- pulumi_vault/password_policy.py +7 -7
- pulumi_vault/pkisecret/__init__.py +1 -0
- pulumi_vault/pkisecret/backend_config_cluster.py +368 -0
- pulumi_vault/pkisecret/get_backend_issuer.py +2 -2
- pulumi_vault/pkisecret/get_backend_issuers.py +2 -2
- pulumi_vault/pkisecret/get_backend_key.py +2 -2
- pulumi_vault/pkisecret/get_backend_keys.py +2 -2
- pulumi_vault/pkisecret/secret_backend_cert.py +7 -7
- pulumi_vault/pkisecret/secret_backend_config_ca.py +7 -7
- pulumi_vault/pkisecret/secret_backend_config_issuers.py +7 -7
- pulumi_vault/pkisecret/secret_backend_config_urls.py +54 -7
- pulumi_vault/pkisecret/secret_backend_crl_config.py +7 -7
- pulumi_vault/pkisecret/secret_backend_intermediate_cert_request.py +7 -7
- pulumi_vault/pkisecret/secret_backend_intermediate_set_signed.py +7 -7
- pulumi_vault/pkisecret/secret_backend_issuer.py +7 -7
- pulumi_vault/pkisecret/secret_backend_key.py +7 -7
- pulumi_vault/pkisecret/secret_backend_role.py +7 -7
- pulumi_vault/pkisecret/secret_backend_root_cert.py +7 -44
- pulumi_vault/pkisecret/secret_backend_root_sign_intermediate.py +7 -52
- pulumi_vault/pkisecret/secret_backend_sign.py +7 -52
- pulumi_vault/policy.py +7 -7
- pulumi_vault/rabbitmq/secret_backend.py +7 -7
- pulumi_vault/rabbitmq/secret_backend_role.py +7 -7
- pulumi_vault/raft_autopilot.py +7 -7
- pulumi_vault/raft_snapshot_agent_config.py +7 -7
- pulumi_vault/rgp_policy.py +7 -7
- pulumi_vault/saml/auth_backend.py +7 -7
- pulumi_vault/saml/auth_backend_role.py +7 -7
- pulumi_vault/secrets/__init__.py +1 -0
- pulumi_vault/secrets/sync_association.py +7 -7
- pulumi_vault/secrets/sync_aws_destination.py +161 -7
- pulumi_vault/secrets/sync_azure_destination.py +7 -7
- pulumi_vault/secrets/sync_gcp_destination.py +77 -7
- pulumi_vault/secrets/sync_gh_destination.py +122 -7
- pulumi_vault/secrets/sync_github_apps.py +370 -0
- pulumi_vault/secrets/sync_vercel_destination.py +7 -7
- pulumi_vault/ssh/secret_backend_ca.py +7 -7
- pulumi_vault/ssh/secret_backend_role.py +7 -83
- pulumi_vault/terraformcloud/secret_creds.py +7 -7
- pulumi_vault/terraformcloud/secret_role.py +7 -7
- pulumi_vault/token.py +7 -7
- pulumi_vault/tokenauth/auth_backend_role.py +7 -7
- pulumi_vault/transform/alphabet.py +7 -7
- pulumi_vault/transform/get_decode.py +2 -2
- pulumi_vault/transform/get_encode.py +2 -2
- pulumi_vault/transform/role.py +7 -7
- pulumi_vault/transform/template.py +7 -7
- pulumi_vault/transform/transformation.py +7 -7
- pulumi_vault/transit/secret_backend_key.py +7 -84
- pulumi_vault/transit/secret_cache_config.py +7 -7
- {pulumi_vault-5.21.0a1711033014.dist-info → pulumi_vault-6.0.0.dist-info}/METADATA +2 -2
- pulumi_vault-6.0.0.dist-info/RECORD +248 -0
- pulumi_vault-5.21.0a1711033014.dist-info/RECORD +0 -244
- {pulumi_vault-5.21.0a1711033014.dist-info → pulumi_vault-6.0.0.dist-info}/WHEEL +0 -0
- {pulumi_vault-5.21.0a1711033014.dist-info → pulumi_vault-6.0.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,370 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
|
12
|
+
__all__ = ['SyncGithubAppsArgs', 'SyncGithubApps']
|
13
|
+
|
14
|
+
@pulumi.input_type
|
15
|
+
class SyncGithubAppsArgs:
|
16
|
+
def __init__(__self__, *,
|
17
|
+
app_id: pulumi.Input[int],
|
18
|
+
private_key: pulumi.Input[str],
|
19
|
+
name: Optional[pulumi.Input[str]] = None,
|
20
|
+
namespace: Optional[pulumi.Input[str]] = None):
|
21
|
+
"""
|
22
|
+
The set of arguments for constructing a SyncGithubApps resource.
|
23
|
+
:param pulumi.Input[int] app_id: The GitHub application ID.
|
24
|
+
:param pulumi.Input[str] private_key: The content of a PEM formatted private key generated on GitHub for the app.
|
25
|
+
:param pulumi.Input[str] name: The user-defined name of the GitHub App configuration.
|
26
|
+
:param pulumi.Input[str] namespace: The namespace to provision the resource in.
|
27
|
+
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/index.html#namespace).
|
29
|
+
"""
|
30
|
+
pulumi.set(__self__, "app_id", app_id)
|
31
|
+
pulumi.set(__self__, "private_key", private_key)
|
32
|
+
if name is not None:
|
33
|
+
pulumi.set(__self__, "name", name)
|
34
|
+
if namespace is not None:
|
35
|
+
pulumi.set(__self__, "namespace", namespace)
|
36
|
+
|
37
|
+
@property
|
38
|
+
@pulumi.getter(name="appId")
|
39
|
+
def app_id(self) -> pulumi.Input[int]:
|
40
|
+
"""
|
41
|
+
The GitHub application ID.
|
42
|
+
"""
|
43
|
+
return pulumi.get(self, "app_id")
|
44
|
+
|
45
|
+
@app_id.setter
|
46
|
+
def app_id(self, value: pulumi.Input[int]):
|
47
|
+
pulumi.set(self, "app_id", value)
|
48
|
+
|
49
|
+
@property
|
50
|
+
@pulumi.getter(name="privateKey")
|
51
|
+
def private_key(self) -> pulumi.Input[str]:
|
52
|
+
"""
|
53
|
+
The content of a PEM formatted private key generated on GitHub for the app.
|
54
|
+
"""
|
55
|
+
return pulumi.get(self, "private_key")
|
56
|
+
|
57
|
+
@private_key.setter
|
58
|
+
def private_key(self, value: pulumi.Input[str]):
|
59
|
+
pulumi.set(self, "private_key", value)
|
60
|
+
|
61
|
+
@property
|
62
|
+
@pulumi.getter
|
63
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
64
|
+
"""
|
65
|
+
The user-defined name of the GitHub App configuration.
|
66
|
+
"""
|
67
|
+
return pulumi.get(self, "name")
|
68
|
+
|
69
|
+
@name.setter
|
70
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
71
|
+
pulumi.set(self, "name", value)
|
72
|
+
|
73
|
+
@property
|
74
|
+
@pulumi.getter
|
75
|
+
def namespace(self) -> Optional[pulumi.Input[str]]:
|
76
|
+
"""
|
77
|
+
The namespace to provision the resource in.
|
78
|
+
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/index.html#namespace).
|
80
|
+
"""
|
81
|
+
return pulumi.get(self, "namespace")
|
82
|
+
|
83
|
+
@namespace.setter
|
84
|
+
def namespace(self, value: Optional[pulumi.Input[str]]):
|
85
|
+
pulumi.set(self, "namespace", value)
|
86
|
+
|
87
|
+
|
88
|
+
@pulumi.input_type
|
89
|
+
class _SyncGithubAppsState:
|
90
|
+
def __init__(__self__, *,
|
91
|
+
app_id: Optional[pulumi.Input[int]] = None,
|
92
|
+
fingerprint: Optional[pulumi.Input[str]] = None,
|
93
|
+
name: Optional[pulumi.Input[str]] = None,
|
94
|
+
namespace: Optional[pulumi.Input[str]] = None,
|
95
|
+
private_key: Optional[pulumi.Input[str]] = None):
|
96
|
+
"""
|
97
|
+
Input properties used for looking up and filtering SyncGithubApps resources.
|
98
|
+
:param pulumi.Input[int] app_id: The GitHub application ID.
|
99
|
+
:param pulumi.Input[str] fingerprint: A fingerprint of a private key.
|
100
|
+
:param pulumi.Input[str] name: The user-defined name of the GitHub App configuration.
|
101
|
+
:param pulumi.Input[str] namespace: The namespace to provision the resource in.
|
102
|
+
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/index.html#namespace).
|
104
|
+
:param pulumi.Input[str] private_key: The content of a PEM formatted private key generated on GitHub for the app.
|
105
|
+
"""
|
106
|
+
if app_id is not None:
|
107
|
+
pulumi.set(__self__, "app_id", app_id)
|
108
|
+
if fingerprint is not None:
|
109
|
+
pulumi.set(__self__, "fingerprint", fingerprint)
|
110
|
+
if name is not None:
|
111
|
+
pulumi.set(__self__, "name", name)
|
112
|
+
if namespace is not None:
|
113
|
+
pulumi.set(__self__, "namespace", namespace)
|
114
|
+
if private_key is not None:
|
115
|
+
pulumi.set(__self__, "private_key", private_key)
|
116
|
+
|
117
|
+
@property
|
118
|
+
@pulumi.getter(name="appId")
|
119
|
+
def app_id(self) -> Optional[pulumi.Input[int]]:
|
120
|
+
"""
|
121
|
+
The GitHub application ID.
|
122
|
+
"""
|
123
|
+
return pulumi.get(self, "app_id")
|
124
|
+
|
125
|
+
@app_id.setter
|
126
|
+
def app_id(self, value: Optional[pulumi.Input[int]]):
|
127
|
+
pulumi.set(self, "app_id", value)
|
128
|
+
|
129
|
+
@property
|
130
|
+
@pulumi.getter
|
131
|
+
def fingerprint(self) -> Optional[pulumi.Input[str]]:
|
132
|
+
"""
|
133
|
+
A fingerprint of a private key.
|
134
|
+
"""
|
135
|
+
return pulumi.get(self, "fingerprint")
|
136
|
+
|
137
|
+
@fingerprint.setter
|
138
|
+
def fingerprint(self, value: Optional[pulumi.Input[str]]):
|
139
|
+
pulumi.set(self, "fingerprint", value)
|
140
|
+
|
141
|
+
@property
|
142
|
+
@pulumi.getter
|
143
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
144
|
+
"""
|
145
|
+
The user-defined name of the GitHub App configuration.
|
146
|
+
"""
|
147
|
+
return pulumi.get(self, "name")
|
148
|
+
|
149
|
+
@name.setter
|
150
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
151
|
+
pulumi.set(self, "name", value)
|
152
|
+
|
153
|
+
@property
|
154
|
+
@pulumi.getter
|
155
|
+
def namespace(self) -> Optional[pulumi.Input[str]]:
|
156
|
+
"""
|
157
|
+
The namespace to provision the resource in.
|
158
|
+
The value should not contain leading or trailing forward slashes.
|
159
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
160
|
+
"""
|
161
|
+
return pulumi.get(self, "namespace")
|
162
|
+
|
163
|
+
@namespace.setter
|
164
|
+
def namespace(self, value: Optional[pulumi.Input[str]]):
|
165
|
+
pulumi.set(self, "namespace", value)
|
166
|
+
|
167
|
+
@property
|
168
|
+
@pulumi.getter(name="privateKey")
|
169
|
+
def private_key(self) -> Optional[pulumi.Input[str]]:
|
170
|
+
"""
|
171
|
+
The content of a PEM formatted private key generated on GitHub for the app.
|
172
|
+
"""
|
173
|
+
return pulumi.get(self, "private_key")
|
174
|
+
|
175
|
+
@private_key.setter
|
176
|
+
def private_key(self, value: Optional[pulumi.Input[str]]):
|
177
|
+
pulumi.set(self, "private_key", value)
|
178
|
+
|
179
|
+
|
180
|
+
class SyncGithubApps(pulumi.CustomResource):
|
181
|
+
@overload
|
182
|
+
def __init__(__self__,
|
183
|
+
resource_name: str,
|
184
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
185
|
+
app_id: Optional[pulumi.Input[int]] = None,
|
186
|
+
name: Optional[pulumi.Input[str]] = None,
|
187
|
+
namespace: Optional[pulumi.Input[str]] = None,
|
188
|
+
private_key: Optional[pulumi.Input[str]] = None,
|
189
|
+
__props__=None):
|
190
|
+
"""
|
191
|
+
## Example Usage
|
192
|
+
|
193
|
+
<!--Start PulumiCodeChooser -->
|
194
|
+
```python
|
195
|
+
import pulumi
|
196
|
+
import pulumi_vault as vault
|
197
|
+
|
198
|
+
github_apps = vault.secrets.SyncGithubApps("github-apps",
|
199
|
+
app_id=var["app_id"],
|
200
|
+
private_key=(lambda path: open(path).read())(var["privatekey_file"]))
|
201
|
+
```
|
202
|
+
<!--End PulumiCodeChooser -->
|
203
|
+
|
204
|
+
## Import
|
205
|
+
|
206
|
+
GitHub Apps Secrets sync configuration endpoint can be imported using the `name`, e.g.
|
207
|
+
|
208
|
+
```sh
|
209
|
+
$ pulumi import vault:secrets/syncGithubApps:SyncGithubApps gh github-apps
|
210
|
+
```
|
211
|
+
|
212
|
+
:param str resource_name: The name of the resource.
|
213
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
214
|
+
:param pulumi.Input[int] app_id: The GitHub application ID.
|
215
|
+
:param pulumi.Input[str] name: The user-defined name of the GitHub App configuration.
|
216
|
+
:param pulumi.Input[str] namespace: The namespace to provision the resource in.
|
217
|
+
The value should not contain leading or trailing forward slashes.
|
218
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
219
|
+
:param pulumi.Input[str] private_key: The content of a PEM formatted private key generated on GitHub for the app.
|
220
|
+
"""
|
221
|
+
...
|
222
|
+
@overload
|
223
|
+
def __init__(__self__,
|
224
|
+
resource_name: str,
|
225
|
+
args: SyncGithubAppsArgs,
|
226
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
227
|
+
"""
|
228
|
+
## Example Usage
|
229
|
+
|
230
|
+
<!--Start PulumiCodeChooser -->
|
231
|
+
```python
|
232
|
+
import pulumi
|
233
|
+
import pulumi_vault as vault
|
234
|
+
|
235
|
+
github_apps = vault.secrets.SyncGithubApps("github-apps",
|
236
|
+
app_id=var["app_id"],
|
237
|
+
private_key=(lambda path: open(path).read())(var["privatekey_file"]))
|
238
|
+
```
|
239
|
+
<!--End PulumiCodeChooser -->
|
240
|
+
|
241
|
+
## Import
|
242
|
+
|
243
|
+
GitHub Apps Secrets sync configuration endpoint can be imported using the `name`, e.g.
|
244
|
+
|
245
|
+
```sh
|
246
|
+
$ pulumi import vault:secrets/syncGithubApps:SyncGithubApps gh github-apps
|
247
|
+
```
|
248
|
+
|
249
|
+
:param str resource_name: The name of the resource.
|
250
|
+
:param SyncGithubAppsArgs args: The arguments to use to populate this resource's properties.
|
251
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
252
|
+
"""
|
253
|
+
...
|
254
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
255
|
+
resource_args, opts = _utilities.get_resource_args_opts(SyncGithubAppsArgs, pulumi.ResourceOptions, *args, **kwargs)
|
256
|
+
if resource_args is not None:
|
257
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
258
|
+
else:
|
259
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
260
|
+
|
261
|
+
def _internal_init(__self__,
|
262
|
+
resource_name: str,
|
263
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
264
|
+
app_id: Optional[pulumi.Input[int]] = None,
|
265
|
+
name: Optional[pulumi.Input[str]] = None,
|
266
|
+
namespace: Optional[pulumi.Input[str]] = None,
|
267
|
+
private_key: Optional[pulumi.Input[str]] = None,
|
268
|
+
__props__=None):
|
269
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
270
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
271
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
272
|
+
if opts.id is None:
|
273
|
+
if __props__ is not None:
|
274
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
275
|
+
__props__ = SyncGithubAppsArgs.__new__(SyncGithubAppsArgs)
|
276
|
+
|
277
|
+
if app_id is None and not opts.urn:
|
278
|
+
raise TypeError("Missing required property 'app_id'")
|
279
|
+
__props__.__dict__["app_id"] = app_id
|
280
|
+
__props__.__dict__["name"] = name
|
281
|
+
__props__.__dict__["namespace"] = namespace
|
282
|
+
if private_key is None and not opts.urn:
|
283
|
+
raise TypeError("Missing required property 'private_key'")
|
284
|
+
__props__.__dict__["private_key"] = None if private_key is None else pulumi.Output.secret(private_key)
|
285
|
+
__props__.__dict__["fingerprint"] = None
|
286
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["privateKey"])
|
287
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
288
|
+
super(SyncGithubApps, __self__).__init__(
|
289
|
+
'vault:secrets/syncGithubApps:SyncGithubApps',
|
290
|
+
resource_name,
|
291
|
+
__props__,
|
292
|
+
opts)
|
293
|
+
|
294
|
+
@staticmethod
|
295
|
+
def get(resource_name: str,
|
296
|
+
id: pulumi.Input[str],
|
297
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
298
|
+
app_id: Optional[pulumi.Input[int]] = None,
|
299
|
+
fingerprint: Optional[pulumi.Input[str]] = None,
|
300
|
+
name: Optional[pulumi.Input[str]] = None,
|
301
|
+
namespace: Optional[pulumi.Input[str]] = None,
|
302
|
+
private_key: Optional[pulumi.Input[str]] = None) -> 'SyncGithubApps':
|
303
|
+
"""
|
304
|
+
Get an existing SyncGithubApps resource's state with the given name, id, and optional extra
|
305
|
+
properties used to qualify the lookup.
|
306
|
+
|
307
|
+
:param str resource_name: The unique name of the resulting resource.
|
308
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
309
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
310
|
+
:param pulumi.Input[int] app_id: The GitHub application ID.
|
311
|
+
:param pulumi.Input[str] fingerprint: A fingerprint of a private key.
|
312
|
+
:param pulumi.Input[str] name: The user-defined name of the GitHub App configuration.
|
313
|
+
:param pulumi.Input[str] namespace: The namespace to provision the resource in.
|
314
|
+
The value should not contain leading or trailing forward slashes.
|
315
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
316
|
+
:param pulumi.Input[str] private_key: The content of a PEM formatted private key generated on GitHub for the app.
|
317
|
+
"""
|
318
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
319
|
+
|
320
|
+
__props__ = _SyncGithubAppsState.__new__(_SyncGithubAppsState)
|
321
|
+
|
322
|
+
__props__.__dict__["app_id"] = app_id
|
323
|
+
__props__.__dict__["fingerprint"] = fingerprint
|
324
|
+
__props__.__dict__["name"] = name
|
325
|
+
__props__.__dict__["namespace"] = namespace
|
326
|
+
__props__.__dict__["private_key"] = private_key
|
327
|
+
return SyncGithubApps(resource_name, opts=opts, __props__=__props__)
|
328
|
+
|
329
|
+
@property
|
330
|
+
@pulumi.getter(name="appId")
|
331
|
+
def app_id(self) -> pulumi.Output[int]:
|
332
|
+
"""
|
333
|
+
The GitHub application ID.
|
334
|
+
"""
|
335
|
+
return pulumi.get(self, "app_id")
|
336
|
+
|
337
|
+
@property
|
338
|
+
@pulumi.getter
|
339
|
+
def fingerprint(self) -> pulumi.Output[str]:
|
340
|
+
"""
|
341
|
+
A fingerprint of a private key.
|
342
|
+
"""
|
343
|
+
return pulumi.get(self, "fingerprint")
|
344
|
+
|
345
|
+
@property
|
346
|
+
@pulumi.getter
|
347
|
+
def name(self) -> pulumi.Output[str]:
|
348
|
+
"""
|
349
|
+
The user-defined name of the GitHub App configuration.
|
350
|
+
"""
|
351
|
+
return pulumi.get(self, "name")
|
352
|
+
|
353
|
+
@property
|
354
|
+
@pulumi.getter
|
355
|
+
def namespace(self) -> pulumi.Output[Optional[str]]:
|
356
|
+
"""
|
357
|
+
The namespace to provision the resource in.
|
358
|
+
The value should not contain leading or trailing forward slashes.
|
359
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
360
|
+
"""
|
361
|
+
return pulumi.get(self, "namespace")
|
362
|
+
|
363
|
+
@property
|
364
|
+
@pulumi.getter(name="privateKey")
|
365
|
+
def private_key(self) -> pulumi.Output[str]:
|
366
|
+
"""
|
367
|
+
The content of a PEM formatted private key generated on GitHub for the app.
|
368
|
+
"""
|
369
|
+
return pulumi.get(self, "private_key")
|
370
|
+
|
@@ -31,7 +31,7 @@ class SyncVercelDestinationArgs:
|
|
31
31
|
:param pulumi.Input[str] name: Unique name of the GitHub destination.
|
32
32
|
:param pulumi.Input[str] namespace: The namespace to provision the resource in.
|
33
33
|
The value should not contain leading or trailing forward slashes.
|
34
|
-
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
34
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
35
35
|
:param pulumi.Input[str] secret_name_template: Template describing how to generate external secret names.
|
36
36
|
Supports a subset of the Go Template syntax.
|
37
37
|
:param pulumi.Input[str] team_id: Team ID where to manage environment variables.
|
@@ -104,7 +104,7 @@ class SyncVercelDestinationArgs:
|
|
104
104
|
"""
|
105
105
|
The namespace to provision the resource in.
|
106
106
|
The value should not contain leading or trailing forward slashes.
|
107
|
-
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
107
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
108
108
|
"""
|
109
109
|
return pulumi.get(self, "namespace")
|
110
110
|
|
@@ -158,7 +158,7 @@ class _SyncVercelDestinationState:
|
|
158
158
|
:param pulumi.Input[str] name: Unique name of the GitHub destination.
|
159
159
|
:param pulumi.Input[str] namespace: The namespace to provision the resource in.
|
160
160
|
The value should not contain leading or trailing forward slashes.
|
161
|
-
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
161
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
162
162
|
:param pulumi.Input[str] project_id: Project ID where to manage environment variables.
|
163
163
|
:param pulumi.Input[str] secret_name_template: Template describing how to generate external secret names.
|
164
164
|
Supports a subset of the Go Template syntax.
|
@@ -226,7 +226,7 @@ class _SyncVercelDestinationState:
|
|
226
226
|
"""
|
227
227
|
The namespace to provision the resource in.
|
228
228
|
The value should not contain leading or trailing forward slashes.
|
229
|
-
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
229
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
230
230
|
"""
|
231
231
|
return pulumi.get(self, "namespace")
|
232
232
|
|
@@ -334,7 +334,7 @@ class SyncVercelDestination(pulumi.CustomResource):
|
|
334
334
|
:param pulumi.Input[str] name: Unique name of the GitHub destination.
|
335
335
|
:param pulumi.Input[str] namespace: The namespace to provision the resource in.
|
336
336
|
The value should not contain leading or trailing forward slashes.
|
337
|
-
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
337
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
338
338
|
:param pulumi.Input[str] project_id: Project ID where to manage environment variables.
|
339
339
|
:param pulumi.Input[str] secret_name_template: Template describing how to generate external secret names.
|
340
340
|
Supports a subset of the Go Template syntax.
|
@@ -453,7 +453,7 @@ class SyncVercelDestination(pulumi.CustomResource):
|
|
453
453
|
:param pulumi.Input[str] name: Unique name of the GitHub destination.
|
454
454
|
:param pulumi.Input[str] namespace: The namespace to provision the resource in.
|
455
455
|
The value should not contain leading or trailing forward slashes.
|
456
|
-
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
456
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
457
457
|
:param pulumi.Input[str] project_id: Project ID where to manage environment variables.
|
458
458
|
:param pulumi.Input[str] secret_name_template: Template describing how to generate external secret names.
|
459
459
|
Supports a subset of the Go Template syntax.
|
@@ -506,7 +506,7 @@ class SyncVercelDestination(pulumi.CustomResource):
|
|
506
506
|
"""
|
507
507
|
The namespace to provision the resource in.
|
508
508
|
The value should not contain leading or trailing forward slashes.
|
509
|
-
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
509
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
510
510
|
"""
|
511
511
|
return pulumi.get(self, "namespace")
|
512
512
|
|
@@ -25,7 +25,7 @@ class SecretBackendCaArgs:
|
|
25
25
|
:param pulumi.Input[bool] generate_signing_key: Whether Vault should generate the signing key pair internally. Defaults to true
|
26
26
|
:param pulumi.Input[str] namespace: The namespace to provision the resource in.
|
27
27
|
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).
|
28
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
29
29
|
*Available only for Vault Enterprise*.
|
30
30
|
:param pulumi.Input[str] private_key: Private key part the SSH CA key pair; required if generate_signing_key is false.
|
31
31
|
:param pulumi.Input[str] public_key: The public key part the SSH CA key pair; required if generate_signing_key is false.
|
@@ -71,7 +71,7 @@ class SecretBackendCaArgs:
|
|
71
71
|
"""
|
72
72
|
The namespace to provision the resource in.
|
73
73
|
The value should not contain leading or trailing forward slashes.
|
74
|
-
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
74
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
75
75
|
*Available only for Vault Enterprise*.
|
76
76
|
"""
|
77
77
|
return pulumi.get(self, "namespace")
|
@@ -119,7 +119,7 @@ class _SecretBackendCaState:
|
|
119
119
|
:param pulumi.Input[bool] generate_signing_key: Whether Vault should generate the signing key pair internally. Defaults to true
|
120
120
|
:param pulumi.Input[str] namespace: The namespace to provision the resource in.
|
121
121
|
The value should not contain leading or trailing forward slashes.
|
122
|
-
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).
|
123
123
|
*Available only for Vault Enterprise*.
|
124
124
|
:param pulumi.Input[str] private_key: Private key part the SSH CA key pair; required if generate_signing_key is false.
|
125
125
|
:param pulumi.Input[str] public_key: The public key part the SSH CA key pair; required if generate_signing_key is false.
|
@@ -165,7 +165,7 @@ class _SecretBackendCaState:
|
|
165
165
|
"""
|
166
166
|
The namespace to provision the resource in.
|
167
167
|
The value should not contain leading or trailing forward slashes.
|
168
|
-
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
168
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
169
169
|
*Available only for Vault Enterprise*.
|
170
170
|
"""
|
171
171
|
return pulumi.get(self, "namespace")
|
@@ -240,7 +240,7 @@ class SecretBackendCa(pulumi.CustomResource):
|
|
240
240
|
:param pulumi.Input[bool] generate_signing_key: Whether Vault should generate the signing key pair internally. Defaults to true
|
241
241
|
:param pulumi.Input[str] namespace: The namespace to provision the resource in.
|
242
242
|
The value should not contain leading or trailing forward slashes.
|
243
|
-
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
243
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
244
244
|
*Available only for Vault Enterprise*.
|
245
245
|
:param pulumi.Input[str] private_key: Private key part the SSH CA key pair; required if generate_signing_key is false.
|
246
246
|
:param pulumi.Input[str] public_key: The public key part the SSH CA key pair; required if generate_signing_key is false.
|
@@ -337,7 +337,7 @@ class SecretBackendCa(pulumi.CustomResource):
|
|
337
337
|
:param pulumi.Input[bool] generate_signing_key: Whether Vault should generate the signing key pair internally. Defaults to true
|
338
338
|
:param pulumi.Input[str] namespace: The namespace to provision the resource in.
|
339
339
|
The value should not contain leading or trailing forward slashes.
|
340
|
-
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
340
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
341
341
|
*Available only for Vault Enterprise*.
|
342
342
|
:param pulumi.Input[str] private_key: Private key part the SSH CA key pair; required if generate_signing_key is false.
|
343
343
|
:param pulumi.Input[str] public_key: The public key part the SSH CA key pair; required if generate_signing_key is false.
|
@@ -375,7 +375,7 @@ class SecretBackendCa(pulumi.CustomResource):
|
|
375
375
|
"""
|
376
376
|
The namespace to provision the resource in.
|
377
377
|
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).
|
378
|
+
The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
|
379
379
|
*Available only for Vault Enterprise*.
|
380
380
|
"""
|
381
381
|
return pulumi.get(self, "namespace")
|