@formalco/pulumi 1.2.4 → 1.2.6
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.
- package/config/vars.d.ts +12 -0
- package/config/vars.d.ts.map +1 -1
- package/config/vars.js +12 -0
- package/config/vars.js.map +1 -1
- package/encryptionKey.d.ts +6 -6
- package/index.d.ts +12 -0
- package/index.d.ts.map +1 -1
- package/index.js +22 -2
- package/index.js.map +1 -1
- package/integrationCloud.d.ts +102 -2
- package/integrationCloud.d.ts.map +1 -1
- package/integrationCloud.js +24 -0
- package/integrationCloud.js.map +1 -1
- package/integrationCloudAzureActivation.d.ts +76 -0
- package/integrationCloudAzureActivation.d.ts.map +1 -0
- package/integrationCloudAzureActivation.js +88 -0
- package/integrationCloudAzureActivation.js.map +1 -0
- package/integrationOidc.d.ts +5 -5
- package/logRewrite.d.ts +106 -0
- package/logRewrite.d.ts.map +1 -0
- package/logRewrite.js +91 -0
- package/logRewrite.js.map +1 -0
- package/nativeUser.d.ts +3 -3
- package/nativeUserV3.d.ts +348 -0
- package/nativeUserV3.d.ts.map +1 -0
- package/nativeUserV3.js +203 -0
- package/nativeUserV3.js.map +1 -0
- package/package.json +2 -2
- package/policy.d.ts +18 -0
- package/policy.d.ts.map +1 -1
- package/policy.js +2 -0
- package/policy.js.map +1 -1
- package/provider.d.ts +19 -0
- package/provider.d.ts.map +1 -1
- package/provider.js +5 -1
- package/provider.js.map +1 -1
- package/resource.d.ts +23 -3
- package/resource.d.ts.map +1 -1
- package/resource.js +4 -0
- package/resource.js.map +1 -1
- package/resourceNativeUserSelection.d.ts +107 -0
- package/resourceNativeUserSelection.d.ts.map +1 -0
- package/resourceNativeUserSelection.js +126 -0
- package/resourceNativeUserSelection.js.map +1 -0
- package/types/input.d.ts +415 -3
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +414 -2
- package/types/output.d.ts.map +1 -1
- package/user.d.ts +6 -6
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* A Native User the Formal connector authenticates to a Resource as. The Resource decides which Native User a session uses through its `formal.ResourceNativeUserSelection` expression.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as formal from "@formalco/pulumi";
|
|
12
|
+
*
|
|
13
|
+
* const config = new pulumi.Config();
|
|
14
|
+
* const analyticsAdminPassword = config.require("analyticsAdminPassword");
|
|
15
|
+
* const db = new formal.Resource("db", {
|
|
16
|
+
* name: "analytics-postgres",
|
|
17
|
+
* hostname: "analytics.internal",
|
|
18
|
+
* technology: "postgres",
|
|
19
|
+
* port: 5432,
|
|
20
|
+
* nativeUsersV3Enabled: true,
|
|
21
|
+
* });
|
|
22
|
+
* // Username and password, read from an environment variable on the connector.
|
|
23
|
+
* const basic = new formal.NativeUserV3("basic", {
|
|
24
|
+
* basic: {
|
|
25
|
+
* password: {
|
|
26
|
+
* environmentVariable: "ANALYTICS_ADMIN_PASSWORD",
|
|
27
|
+
* },
|
|
28
|
+
* username: "app_admin",
|
|
29
|
+
* },
|
|
30
|
+
* resourceId: db.id,
|
|
31
|
+
* label: "admin",
|
|
32
|
+
* });
|
|
33
|
+
* // Username and password, with the password passed as a write-only value so it
|
|
34
|
+
* // never lands in Terraform state. Increment literal_wo_version to rotate it.
|
|
35
|
+
* const basicWriteOnly = new formal.NativeUserV3("basic_write_only", {
|
|
36
|
+
* basic: {
|
|
37
|
+
* password: {
|
|
38
|
+
* literalWo: analyticsAdminPassword,
|
|
39
|
+
* literalWoVersion: 1,
|
|
40
|
+
* },
|
|
41
|
+
* username: "app_admin",
|
|
42
|
+
* },
|
|
43
|
+
* resourceId: db.id,
|
|
44
|
+
* label: "admin-write-only",
|
|
45
|
+
* });
|
|
46
|
+
* // AWS IAM, inheriting the role from the connector's environment.
|
|
47
|
+
* const awsIam = new formal.NativeUserV3("aws_iam", {
|
|
48
|
+
* awsIam: {
|
|
49
|
+
* username: "app_iam",
|
|
50
|
+
* },
|
|
51
|
+
* resourceId: db.id,
|
|
52
|
+
* label: "iam",
|
|
53
|
+
* });
|
|
54
|
+
* const api = new formal.Resource("api", {
|
|
55
|
+
* name: "billing-api",
|
|
56
|
+
* hostname: "billing.internal",
|
|
57
|
+
* technology: "http",
|
|
58
|
+
* port: 443,
|
|
59
|
+
* nativeUsersV3Enabled: true,
|
|
60
|
+
* });
|
|
61
|
+
* const bearerToken = new formal.NativeUserV3("bearer_token", {
|
|
62
|
+
* httpBearer: {
|
|
63
|
+
* token: {
|
|
64
|
+
* environmentVariable: "BILLING_API_TOKEN",
|
|
65
|
+
* },
|
|
66
|
+
* header: "Authorization",
|
|
67
|
+
* },
|
|
68
|
+
* resourceId: api.id,
|
|
69
|
+
* label: "service-account",
|
|
70
|
+
* });
|
|
71
|
+
* // Credentials resolved at connection time by a hook running on the connector,
|
|
72
|
+
* // for example to mint short-lived credentials from a secrets manager.
|
|
73
|
+
* const fromHook = new formal.NativeUserV3("from_hook", {
|
|
74
|
+
* hook: {
|
|
75
|
+
* outputType: "basic",
|
|
76
|
+
* allowlistedEnvVariables: [
|
|
77
|
+
* "FORMAL_ENV_USER",
|
|
78
|
+
* "FORMAL_ENV_PASSWORD",
|
|
79
|
+
* ],
|
|
80
|
+
* code: `export default async function (_input, env) {
|
|
81
|
+
* return {
|
|
82
|
+
* username: env.FORMAL_ENV_USER,
|
|
83
|
+
* password: env.FORMAL_ENV_PASSWORD,
|
|
84
|
+
* };
|
|
85
|
+
* }
|
|
86
|
+
* `,
|
|
87
|
+
* },
|
|
88
|
+
* resourceId: db.id,
|
|
89
|
+
* label: "dynamic",
|
|
90
|
+
* });
|
|
91
|
+
* ```
|
|
92
|
+
*/
|
|
93
|
+
export declare class NativeUserV3 extends pulumi.CustomResource {
|
|
94
|
+
/**
|
|
95
|
+
* Get an existing NativeUserV3 resource's state with the given name, ID, and optional extra
|
|
96
|
+
* properties used to qualify the lookup.
|
|
97
|
+
*
|
|
98
|
+
* @param name The _unique_ name of the resulting resource.
|
|
99
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
100
|
+
* @param state Any extra arguments used during the lookup.
|
|
101
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
102
|
+
*/
|
|
103
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NativeUserV3State, opts?: pulumi.CustomResourceOptions): NativeUserV3;
|
|
104
|
+
/**
|
|
105
|
+
* Returns true if the given object is an instance of NativeUserV3. This is designed to work even
|
|
106
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
107
|
+
*/
|
|
108
|
+
static isInstance(obj: any): obj is NativeUserV3;
|
|
109
|
+
/**
|
|
110
|
+
* AWS IAM authentication.
|
|
111
|
+
*/
|
|
112
|
+
readonly awsIam: pulumi.Output<outputs.NativeUserV3AwsIam | undefined>;
|
|
113
|
+
/**
|
|
114
|
+
* AWS IAM authentication using an assumed role.
|
|
115
|
+
*/
|
|
116
|
+
readonly awsIamRole: pulumi.Output<outputs.NativeUserV3AwsIamRole | undefined>;
|
|
117
|
+
/**
|
|
118
|
+
* Azure IAM authentication.
|
|
119
|
+
*/
|
|
120
|
+
readonly azureIam: pulumi.Output<outputs.NativeUserV3AzureIam | undefined>;
|
|
121
|
+
/**
|
|
122
|
+
* Username and password authentication, for example Postgres or MySQL.
|
|
123
|
+
*/
|
|
124
|
+
readonly basic: pulumi.Output<outputs.NativeUserV3Basic | undefined>;
|
|
125
|
+
/**
|
|
126
|
+
* Creation time of the Native User.
|
|
127
|
+
*/
|
|
128
|
+
readonly createdAt: pulumi.Output<string>;
|
|
129
|
+
/**
|
|
130
|
+
* GCP IAM authentication.
|
|
131
|
+
*/
|
|
132
|
+
readonly gcpIam: pulumi.Output<outputs.NativeUserV3GcpIam | undefined>;
|
|
133
|
+
/**
|
|
134
|
+
* Credentials resolved on the connector by running a hook.
|
|
135
|
+
*/
|
|
136
|
+
readonly hook: pulumi.Output<outputs.NativeUserV3Hook | undefined>;
|
|
137
|
+
/**
|
|
138
|
+
* HTTP API key authentication, sent as a header.
|
|
139
|
+
*/
|
|
140
|
+
readonly httpApiKeyHeader: pulumi.Output<outputs.NativeUserV3HttpApiKeyHeader | undefined>;
|
|
141
|
+
/**
|
|
142
|
+
* HTTP API key authentication, sent as a query parameter.
|
|
143
|
+
*/
|
|
144
|
+
readonly httpApiKeyQuery: pulumi.Output<outputs.NativeUserV3HttpApiKeyQuery | undefined>;
|
|
145
|
+
/**
|
|
146
|
+
* HTTP Basic authentication, injected on a named header.
|
|
147
|
+
*/
|
|
148
|
+
readonly httpBasic: pulumi.Output<outputs.NativeUserV3HttpBasic | undefined>;
|
|
149
|
+
/**
|
|
150
|
+
* HTTP Bearer token authentication, injected on a named header.
|
|
151
|
+
*/
|
|
152
|
+
readonly httpBearer: pulumi.Output<outputs.NativeUserV3HttpBearer | undefined>;
|
|
153
|
+
/**
|
|
154
|
+
* Kubernetes authentication using an inline kubeconfig document.
|
|
155
|
+
*/
|
|
156
|
+
readonly kubernetesInline: pulumi.Output<outputs.NativeUserV3KubernetesInline | undefined>;
|
|
157
|
+
/**
|
|
158
|
+
* Kubernetes authentication using a kubeconfig file path on the connector.
|
|
159
|
+
*/
|
|
160
|
+
readonly kubernetesPath: pulumi.Output<outputs.NativeUserV3KubernetesPath | undefined>;
|
|
161
|
+
/**
|
|
162
|
+
* A name for this Native User, unique within the Resource. Selection expressions reference the Native User by ID, so the label is safe to rename.
|
|
163
|
+
*/
|
|
164
|
+
readonly label: pulumi.Output<string>;
|
|
165
|
+
/**
|
|
166
|
+
* The ID of the Resource this Native User authenticates to.
|
|
167
|
+
*/
|
|
168
|
+
readonly resourceId: pulumi.Output<string>;
|
|
169
|
+
/**
|
|
170
|
+
* Snowflake key-pair authentication.
|
|
171
|
+
*/
|
|
172
|
+
readonly snowflakeKey: pulumi.Output<outputs.NativeUserV3SnowflakeKey | undefined>;
|
|
173
|
+
/**
|
|
174
|
+
* SSH private key authentication.
|
|
175
|
+
*/
|
|
176
|
+
readonly sshKey: pulumi.Output<outputs.NativeUserV3SshKey | undefined>;
|
|
177
|
+
/**
|
|
178
|
+
* If set to true, this Native User cannot be deleted.
|
|
179
|
+
*/
|
|
180
|
+
readonly terminationProtection: pulumi.Output<boolean | undefined>;
|
|
181
|
+
/**
|
|
182
|
+
* Last update time of the Native User.
|
|
183
|
+
*/
|
|
184
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
185
|
+
/**
|
|
186
|
+
* Create a NativeUserV3 resource with the given unique name, arguments, and options.
|
|
187
|
+
*
|
|
188
|
+
* @param name The _unique_ name of the resource.
|
|
189
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
190
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
191
|
+
*/
|
|
192
|
+
constructor(name: string, args: NativeUserV3Args, opts?: pulumi.CustomResourceOptions);
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* Input properties used for looking up and filtering NativeUserV3 resources.
|
|
196
|
+
*/
|
|
197
|
+
export interface NativeUserV3State {
|
|
198
|
+
/**
|
|
199
|
+
* AWS IAM authentication.
|
|
200
|
+
*/
|
|
201
|
+
awsIam?: pulumi.Input<inputs.NativeUserV3AwsIam | undefined>;
|
|
202
|
+
/**
|
|
203
|
+
* AWS IAM authentication using an assumed role.
|
|
204
|
+
*/
|
|
205
|
+
awsIamRole?: pulumi.Input<inputs.NativeUserV3AwsIamRole | undefined>;
|
|
206
|
+
/**
|
|
207
|
+
* Azure IAM authentication.
|
|
208
|
+
*/
|
|
209
|
+
azureIam?: pulumi.Input<inputs.NativeUserV3AzureIam | undefined>;
|
|
210
|
+
/**
|
|
211
|
+
* Username and password authentication, for example Postgres or MySQL.
|
|
212
|
+
*/
|
|
213
|
+
basic?: pulumi.Input<inputs.NativeUserV3Basic | undefined>;
|
|
214
|
+
/**
|
|
215
|
+
* Creation time of the Native User.
|
|
216
|
+
*/
|
|
217
|
+
createdAt?: pulumi.Input<string | undefined>;
|
|
218
|
+
/**
|
|
219
|
+
* GCP IAM authentication.
|
|
220
|
+
*/
|
|
221
|
+
gcpIam?: pulumi.Input<inputs.NativeUserV3GcpIam | undefined>;
|
|
222
|
+
/**
|
|
223
|
+
* Credentials resolved on the connector by running a hook.
|
|
224
|
+
*/
|
|
225
|
+
hook?: pulumi.Input<inputs.NativeUserV3Hook | undefined>;
|
|
226
|
+
/**
|
|
227
|
+
* HTTP API key authentication, sent as a header.
|
|
228
|
+
*/
|
|
229
|
+
httpApiKeyHeader?: pulumi.Input<inputs.NativeUserV3HttpApiKeyHeader | undefined>;
|
|
230
|
+
/**
|
|
231
|
+
* HTTP API key authentication, sent as a query parameter.
|
|
232
|
+
*/
|
|
233
|
+
httpApiKeyQuery?: pulumi.Input<inputs.NativeUserV3HttpApiKeyQuery | undefined>;
|
|
234
|
+
/**
|
|
235
|
+
* HTTP Basic authentication, injected on a named header.
|
|
236
|
+
*/
|
|
237
|
+
httpBasic?: pulumi.Input<inputs.NativeUserV3HttpBasic | undefined>;
|
|
238
|
+
/**
|
|
239
|
+
* HTTP Bearer token authentication, injected on a named header.
|
|
240
|
+
*/
|
|
241
|
+
httpBearer?: pulumi.Input<inputs.NativeUserV3HttpBearer | undefined>;
|
|
242
|
+
/**
|
|
243
|
+
* Kubernetes authentication using an inline kubeconfig document.
|
|
244
|
+
*/
|
|
245
|
+
kubernetesInline?: pulumi.Input<inputs.NativeUserV3KubernetesInline | undefined>;
|
|
246
|
+
/**
|
|
247
|
+
* Kubernetes authentication using a kubeconfig file path on the connector.
|
|
248
|
+
*/
|
|
249
|
+
kubernetesPath?: pulumi.Input<inputs.NativeUserV3KubernetesPath | undefined>;
|
|
250
|
+
/**
|
|
251
|
+
* A name for this Native User, unique within the Resource. Selection expressions reference the Native User by ID, so the label is safe to rename.
|
|
252
|
+
*/
|
|
253
|
+
label?: pulumi.Input<string | undefined>;
|
|
254
|
+
/**
|
|
255
|
+
* The ID of the Resource this Native User authenticates to.
|
|
256
|
+
*/
|
|
257
|
+
resourceId?: pulumi.Input<string | undefined>;
|
|
258
|
+
/**
|
|
259
|
+
* Snowflake key-pair authentication.
|
|
260
|
+
*/
|
|
261
|
+
snowflakeKey?: pulumi.Input<inputs.NativeUserV3SnowflakeKey | undefined>;
|
|
262
|
+
/**
|
|
263
|
+
* SSH private key authentication.
|
|
264
|
+
*/
|
|
265
|
+
sshKey?: pulumi.Input<inputs.NativeUserV3SshKey | undefined>;
|
|
266
|
+
/**
|
|
267
|
+
* If set to true, this Native User cannot be deleted.
|
|
268
|
+
*/
|
|
269
|
+
terminationProtection?: pulumi.Input<boolean | undefined>;
|
|
270
|
+
/**
|
|
271
|
+
* Last update time of the Native User.
|
|
272
|
+
*/
|
|
273
|
+
updatedAt?: pulumi.Input<string | undefined>;
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* The set of arguments for constructing a NativeUserV3 resource.
|
|
277
|
+
*/
|
|
278
|
+
export interface NativeUserV3Args {
|
|
279
|
+
/**
|
|
280
|
+
* AWS IAM authentication.
|
|
281
|
+
*/
|
|
282
|
+
awsIam?: pulumi.Input<inputs.NativeUserV3AwsIam | undefined>;
|
|
283
|
+
/**
|
|
284
|
+
* AWS IAM authentication using an assumed role.
|
|
285
|
+
*/
|
|
286
|
+
awsIamRole?: pulumi.Input<inputs.NativeUserV3AwsIamRole | undefined>;
|
|
287
|
+
/**
|
|
288
|
+
* Azure IAM authentication.
|
|
289
|
+
*/
|
|
290
|
+
azureIam?: pulumi.Input<inputs.NativeUserV3AzureIam | undefined>;
|
|
291
|
+
/**
|
|
292
|
+
* Username and password authentication, for example Postgres or MySQL.
|
|
293
|
+
*/
|
|
294
|
+
basic?: pulumi.Input<inputs.NativeUserV3Basic | undefined>;
|
|
295
|
+
/**
|
|
296
|
+
* GCP IAM authentication.
|
|
297
|
+
*/
|
|
298
|
+
gcpIam?: pulumi.Input<inputs.NativeUserV3GcpIam | undefined>;
|
|
299
|
+
/**
|
|
300
|
+
* Credentials resolved on the connector by running a hook.
|
|
301
|
+
*/
|
|
302
|
+
hook?: pulumi.Input<inputs.NativeUserV3Hook | undefined>;
|
|
303
|
+
/**
|
|
304
|
+
* HTTP API key authentication, sent as a header.
|
|
305
|
+
*/
|
|
306
|
+
httpApiKeyHeader?: pulumi.Input<inputs.NativeUserV3HttpApiKeyHeader | undefined>;
|
|
307
|
+
/**
|
|
308
|
+
* HTTP API key authentication, sent as a query parameter.
|
|
309
|
+
*/
|
|
310
|
+
httpApiKeyQuery?: pulumi.Input<inputs.NativeUserV3HttpApiKeyQuery | undefined>;
|
|
311
|
+
/**
|
|
312
|
+
* HTTP Basic authentication, injected on a named header.
|
|
313
|
+
*/
|
|
314
|
+
httpBasic?: pulumi.Input<inputs.NativeUserV3HttpBasic | undefined>;
|
|
315
|
+
/**
|
|
316
|
+
* HTTP Bearer token authentication, injected on a named header.
|
|
317
|
+
*/
|
|
318
|
+
httpBearer?: pulumi.Input<inputs.NativeUserV3HttpBearer | undefined>;
|
|
319
|
+
/**
|
|
320
|
+
* Kubernetes authentication using an inline kubeconfig document.
|
|
321
|
+
*/
|
|
322
|
+
kubernetesInline?: pulumi.Input<inputs.NativeUserV3KubernetesInline | undefined>;
|
|
323
|
+
/**
|
|
324
|
+
* Kubernetes authentication using a kubeconfig file path on the connector.
|
|
325
|
+
*/
|
|
326
|
+
kubernetesPath?: pulumi.Input<inputs.NativeUserV3KubernetesPath | undefined>;
|
|
327
|
+
/**
|
|
328
|
+
* A name for this Native User, unique within the Resource. Selection expressions reference the Native User by ID, so the label is safe to rename.
|
|
329
|
+
*/
|
|
330
|
+
label: pulumi.Input<string>;
|
|
331
|
+
/**
|
|
332
|
+
* The ID of the Resource this Native User authenticates to.
|
|
333
|
+
*/
|
|
334
|
+
resourceId: pulumi.Input<string>;
|
|
335
|
+
/**
|
|
336
|
+
* Snowflake key-pair authentication.
|
|
337
|
+
*/
|
|
338
|
+
snowflakeKey?: pulumi.Input<inputs.NativeUserV3SnowflakeKey | undefined>;
|
|
339
|
+
/**
|
|
340
|
+
* SSH private key authentication.
|
|
341
|
+
*/
|
|
342
|
+
sshKey?: pulumi.Input<inputs.NativeUserV3SshKey | undefined>;
|
|
343
|
+
/**
|
|
344
|
+
* If set to true, this Native User cannot be deleted.
|
|
345
|
+
*/
|
|
346
|
+
terminationProtection?: pulumi.Input<boolean | undefined>;
|
|
347
|
+
}
|
|
348
|
+
//# sourceMappingURL=nativeUserV3.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nativeUserV3.d.ts","sourceRoot":"","sources":["../nativeUserV3.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwFG;AACH,qBAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,iBAAiB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,YAAY;IAO1I;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,YAAY;IAOvD;;OAEG;IACH,SAAwB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IACtF;;OAEG;IACH,SAAwB,UAAU,EAAE,MAAM,CA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,GAAG,SAAS,CAAC,CAAC;IACrE;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,4BAA4B,GAAG,SAAS,CAAC,CAAC;IACjF;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,0BAA0B,GAAG,SAAS,CAAC,CAAC;IAC7E;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,wBAAwB,GAAG,SAAS,CAAC,CAAC;IACzE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IAC7D;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;CAC7D"}
|
package/nativeUserV3.js
ADDED
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.NativeUserV3 = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* A Native User the Formal connector authenticates to a Resource as. The Resource decides which Native User a session uses through its `formal.ResourceNativeUserSelection` expression.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as formal from "@formalco/pulumi";
|
|
39
|
+
*
|
|
40
|
+
* const config = new pulumi.Config();
|
|
41
|
+
* const analyticsAdminPassword = config.require("analyticsAdminPassword");
|
|
42
|
+
* const db = new formal.Resource("db", {
|
|
43
|
+
* name: "analytics-postgres",
|
|
44
|
+
* hostname: "analytics.internal",
|
|
45
|
+
* technology: "postgres",
|
|
46
|
+
* port: 5432,
|
|
47
|
+
* nativeUsersV3Enabled: true,
|
|
48
|
+
* });
|
|
49
|
+
* // Username and password, read from an environment variable on the connector.
|
|
50
|
+
* const basic = new formal.NativeUserV3("basic", {
|
|
51
|
+
* basic: {
|
|
52
|
+
* password: {
|
|
53
|
+
* environmentVariable: "ANALYTICS_ADMIN_PASSWORD",
|
|
54
|
+
* },
|
|
55
|
+
* username: "app_admin",
|
|
56
|
+
* },
|
|
57
|
+
* resourceId: db.id,
|
|
58
|
+
* label: "admin",
|
|
59
|
+
* });
|
|
60
|
+
* // Username and password, with the password passed as a write-only value so it
|
|
61
|
+
* // never lands in Terraform state. Increment literal_wo_version to rotate it.
|
|
62
|
+
* const basicWriteOnly = new formal.NativeUserV3("basic_write_only", {
|
|
63
|
+
* basic: {
|
|
64
|
+
* password: {
|
|
65
|
+
* literalWo: analyticsAdminPassword,
|
|
66
|
+
* literalWoVersion: 1,
|
|
67
|
+
* },
|
|
68
|
+
* username: "app_admin",
|
|
69
|
+
* },
|
|
70
|
+
* resourceId: db.id,
|
|
71
|
+
* label: "admin-write-only",
|
|
72
|
+
* });
|
|
73
|
+
* // AWS IAM, inheriting the role from the connector's environment.
|
|
74
|
+
* const awsIam = new formal.NativeUserV3("aws_iam", {
|
|
75
|
+
* awsIam: {
|
|
76
|
+
* username: "app_iam",
|
|
77
|
+
* },
|
|
78
|
+
* resourceId: db.id,
|
|
79
|
+
* label: "iam",
|
|
80
|
+
* });
|
|
81
|
+
* const api = new formal.Resource("api", {
|
|
82
|
+
* name: "billing-api",
|
|
83
|
+
* hostname: "billing.internal",
|
|
84
|
+
* technology: "http",
|
|
85
|
+
* port: 443,
|
|
86
|
+
* nativeUsersV3Enabled: true,
|
|
87
|
+
* });
|
|
88
|
+
* const bearerToken = new formal.NativeUserV3("bearer_token", {
|
|
89
|
+
* httpBearer: {
|
|
90
|
+
* token: {
|
|
91
|
+
* environmentVariable: "BILLING_API_TOKEN",
|
|
92
|
+
* },
|
|
93
|
+
* header: "Authorization",
|
|
94
|
+
* },
|
|
95
|
+
* resourceId: api.id,
|
|
96
|
+
* label: "service-account",
|
|
97
|
+
* });
|
|
98
|
+
* // Credentials resolved at connection time by a hook running on the connector,
|
|
99
|
+
* // for example to mint short-lived credentials from a secrets manager.
|
|
100
|
+
* const fromHook = new formal.NativeUserV3("from_hook", {
|
|
101
|
+
* hook: {
|
|
102
|
+
* outputType: "basic",
|
|
103
|
+
* allowlistedEnvVariables: [
|
|
104
|
+
* "FORMAL_ENV_USER",
|
|
105
|
+
* "FORMAL_ENV_PASSWORD",
|
|
106
|
+
* ],
|
|
107
|
+
* code: `export default async function (_input, env) {
|
|
108
|
+
* return {
|
|
109
|
+
* username: env.FORMAL_ENV_USER,
|
|
110
|
+
* password: env.FORMAL_ENV_PASSWORD,
|
|
111
|
+
* };
|
|
112
|
+
* }
|
|
113
|
+
* `,
|
|
114
|
+
* },
|
|
115
|
+
* resourceId: db.id,
|
|
116
|
+
* label: "dynamic",
|
|
117
|
+
* });
|
|
118
|
+
* ```
|
|
119
|
+
*/
|
|
120
|
+
class NativeUserV3 extends pulumi.CustomResource {
|
|
121
|
+
/**
|
|
122
|
+
* Get an existing NativeUserV3 resource's state with the given name, ID, and optional extra
|
|
123
|
+
* properties used to qualify the lookup.
|
|
124
|
+
*
|
|
125
|
+
* @param name The _unique_ name of the resulting resource.
|
|
126
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
127
|
+
* @param state Any extra arguments used during the lookup.
|
|
128
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
129
|
+
*/
|
|
130
|
+
static get(name, id, state, opts) {
|
|
131
|
+
return new NativeUserV3(name, state, { ...opts, id: id });
|
|
132
|
+
}
|
|
133
|
+
/** @internal */
|
|
134
|
+
static __pulumiType = 'formal:index/nativeUserV3:NativeUserV3';
|
|
135
|
+
/**
|
|
136
|
+
* Returns true if the given object is an instance of NativeUserV3. This is designed to work even
|
|
137
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
138
|
+
*/
|
|
139
|
+
static isInstance(obj) {
|
|
140
|
+
if (obj === undefined || obj === null) {
|
|
141
|
+
return false;
|
|
142
|
+
}
|
|
143
|
+
return obj['__pulumiType'] === NativeUserV3.__pulumiType;
|
|
144
|
+
}
|
|
145
|
+
constructor(name, argsOrState, opts) {
|
|
146
|
+
let resourceInputs = {};
|
|
147
|
+
opts = opts || {};
|
|
148
|
+
if (opts.id) {
|
|
149
|
+
const state = argsOrState;
|
|
150
|
+
resourceInputs["awsIam"] = state?.awsIam;
|
|
151
|
+
resourceInputs["awsIamRole"] = state?.awsIamRole;
|
|
152
|
+
resourceInputs["azureIam"] = state?.azureIam;
|
|
153
|
+
resourceInputs["basic"] = state?.basic;
|
|
154
|
+
resourceInputs["createdAt"] = state?.createdAt;
|
|
155
|
+
resourceInputs["gcpIam"] = state?.gcpIam;
|
|
156
|
+
resourceInputs["hook"] = state?.hook;
|
|
157
|
+
resourceInputs["httpApiKeyHeader"] = state?.httpApiKeyHeader;
|
|
158
|
+
resourceInputs["httpApiKeyQuery"] = state?.httpApiKeyQuery;
|
|
159
|
+
resourceInputs["httpBasic"] = state?.httpBasic;
|
|
160
|
+
resourceInputs["httpBearer"] = state?.httpBearer;
|
|
161
|
+
resourceInputs["kubernetesInline"] = state?.kubernetesInline;
|
|
162
|
+
resourceInputs["kubernetesPath"] = state?.kubernetesPath;
|
|
163
|
+
resourceInputs["label"] = state?.label;
|
|
164
|
+
resourceInputs["resourceId"] = state?.resourceId;
|
|
165
|
+
resourceInputs["snowflakeKey"] = state?.snowflakeKey;
|
|
166
|
+
resourceInputs["sshKey"] = state?.sshKey;
|
|
167
|
+
resourceInputs["terminationProtection"] = state?.terminationProtection;
|
|
168
|
+
resourceInputs["updatedAt"] = state?.updatedAt;
|
|
169
|
+
}
|
|
170
|
+
else {
|
|
171
|
+
const args = argsOrState;
|
|
172
|
+
if (args?.label === undefined && !opts.urn) {
|
|
173
|
+
throw new Error("Missing required property 'label'");
|
|
174
|
+
}
|
|
175
|
+
if (args?.resourceId === undefined && !opts.urn) {
|
|
176
|
+
throw new Error("Missing required property 'resourceId'");
|
|
177
|
+
}
|
|
178
|
+
resourceInputs["awsIam"] = args?.awsIam;
|
|
179
|
+
resourceInputs["awsIamRole"] = args?.awsIamRole;
|
|
180
|
+
resourceInputs["azureIam"] = args?.azureIam;
|
|
181
|
+
resourceInputs["basic"] = args?.basic;
|
|
182
|
+
resourceInputs["gcpIam"] = args?.gcpIam;
|
|
183
|
+
resourceInputs["hook"] = args?.hook;
|
|
184
|
+
resourceInputs["httpApiKeyHeader"] = args?.httpApiKeyHeader;
|
|
185
|
+
resourceInputs["httpApiKeyQuery"] = args?.httpApiKeyQuery;
|
|
186
|
+
resourceInputs["httpBasic"] = args?.httpBasic;
|
|
187
|
+
resourceInputs["httpBearer"] = args?.httpBearer;
|
|
188
|
+
resourceInputs["kubernetesInline"] = args?.kubernetesInline;
|
|
189
|
+
resourceInputs["kubernetesPath"] = args?.kubernetesPath;
|
|
190
|
+
resourceInputs["label"] = args?.label;
|
|
191
|
+
resourceInputs["resourceId"] = args?.resourceId;
|
|
192
|
+
resourceInputs["snowflakeKey"] = args?.snowflakeKey;
|
|
193
|
+
resourceInputs["sshKey"] = args?.sshKey;
|
|
194
|
+
resourceInputs["terminationProtection"] = args?.terminationProtection;
|
|
195
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
196
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
197
|
+
}
|
|
198
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
199
|
+
super(NativeUserV3.__pulumiType, name, resourceInputs, opts);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
exports.NativeUserV3 = NativeUserV3;
|
|
203
|
+
//# sourceMappingURL=nativeUserV3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nativeUserV3.js","sourceRoot":"","sources":["../nativeUserV3.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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
|
2
2
|
"name": "@formalco/pulumi",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.6",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Formal resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"formal",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"pulumi": {
|
|
25
25
|
"resource": true,
|
|
26
26
|
"name": "formal",
|
|
27
|
-
"version": "1.2.
|
|
27
|
+
"version": "1.2.6",
|
|
28
28
|
"server": "github://api.github.com/formalco"
|
|
29
29
|
}
|
|
30
30
|
}
|
package/policy.d.ts
CHANGED
|
@@ -38,6 +38,12 @@ export declare class Policy extends pulumi.CustomResource {
|
|
|
38
38
|
* Defines the current status of the policy. It can be one of the following: 'draft', 'dry-run', or 'active'.
|
|
39
39
|
*/
|
|
40
40
|
readonly status: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* Policy metadata as string key/value pairs. Maximum 500 tags per policy.
|
|
43
|
+
*/
|
|
44
|
+
readonly tags: pulumi.Output<{
|
|
45
|
+
[key: string]: string;
|
|
46
|
+
} | undefined>;
|
|
41
47
|
/**
|
|
42
48
|
* If set to true, this Policy cannot be deleted.
|
|
43
49
|
*/
|
|
@@ -79,6 +85,12 @@ export interface PolicyState {
|
|
|
79
85
|
* Defines the current status of the policy. It can be one of the following: 'draft', 'dry-run', or 'active'.
|
|
80
86
|
*/
|
|
81
87
|
status?: pulumi.Input<string | undefined>;
|
|
88
|
+
/**
|
|
89
|
+
* Policy metadata as string key/value pairs. Maximum 500 tags per policy.
|
|
90
|
+
*/
|
|
91
|
+
tags?: pulumi.Input<{
|
|
92
|
+
[key: string]: pulumi.Input<string>;
|
|
93
|
+
} | undefined>;
|
|
82
94
|
/**
|
|
83
95
|
* If set to true, this Policy cannot be deleted.
|
|
84
96
|
*/
|
|
@@ -108,6 +120,12 @@ export interface PolicyArgs {
|
|
|
108
120
|
* Defines the current status of the policy. It can be one of the following: 'draft', 'dry-run', or 'active'.
|
|
109
121
|
*/
|
|
110
122
|
status: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* Policy metadata as string key/value pairs. Maximum 500 tags per policy.
|
|
125
|
+
*/
|
|
126
|
+
tags?: pulumi.Input<{
|
|
127
|
+
[key: string]: pulumi.Input<string>;
|
|
128
|
+
} | undefined>;
|
|
111
129
|
/**
|
|
112
130
|
* If set to true, this Policy cannot be deleted.
|
|
113
131
|
*/
|
package/policy.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policy.d.ts","sourceRoot":"","sources":["../policy.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,WAAW,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,MAAM;IAO9H;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,MAAM;IAOjD;;OAEG;IACH,SAAgC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACjE;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC3D;;OAEG;IACH,SAAwB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACtD;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpD;;OAEG;IACH,SAAwB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACtD;;OAEG;IACH,SAAwB,qBAAqB,EAAE,MAAM,CAAC,MA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M,CAAC,CAAC;IAClC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;KAAC,GAAG,SAAS,CAAC,CAAC;IACvE;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;CAC7D"}
|
package/policy.js
CHANGED
|
@@ -66,6 +66,7 @@ class Policy extends pulumi.CustomResource {
|
|
|
66
66
|
resourceInputs["module"] = state?.module;
|
|
67
67
|
resourceInputs["name"] = state?.name;
|
|
68
68
|
resourceInputs["status"] = state?.status;
|
|
69
|
+
resourceInputs["tags"] = state?.tags;
|
|
69
70
|
resourceInputs["terminationProtection"] = state?.terminationProtection;
|
|
70
71
|
resourceInputs["updatedAt"] = state?.updatedAt;
|
|
71
72
|
}
|
|
@@ -84,6 +85,7 @@ class Policy extends pulumi.CustomResource {
|
|
|
84
85
|
resourceInputs["module"] = args?.module;
|
|
85
86
|
resourceInputs["name"] = args?.name;
|
|
86
87
|
resourceInputs["status"] = args?.status;
|
|
88
|
+
resourceInputs["tags"] = args?.tags;
|
|
87
89
|
resourceInputs["terminationProtection"] = args?.terminationProtection;
|
|
88
90
|
resourceInputs["createdAt"] = undefined /*out*/;
|
|
89
91
|
resourceInputs["updatedAt"] = undefined /*out*/;
|
package/policy.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policy.js","sourceRoot":"","sources":["../policy.ts"],"names":[],"mapp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