@pierskarsenbarg/sdm 1.26.0 → 1.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/account.d.ts +2 -0
  2. package/account.js +2 -0
  3. package/account.js.map +1 -1
  4. package/approvalWorkflow.d.ts +46 -1
  5. package/approvalWorkflow.js +34 -1
  6. package/approvalWorkflow.js.map +1 -1
  7. package/getAccount.d.ts +12 -0
  8. package/getAccount.js +2 -0
  9. package/getAccount.js.map +1 -1
  10. package/getApprovalWorkflow.d.ts +13 -0
  11. package/getApprovalWorkflow.js +2 -0
  12. package/getApprovalWorkflow.js.map +1 -1
  13. package/getManagedSecret.d.ts +115 -0
  14. package/getManagedSecret.js +38 -0
  15. package/getManagedSecret.js.map +1 -0
  16. package/getResource.d.ts +1 -1
  17. package/getSecretEngine.d.ts +254 -0
  18. package/getSecretEngine.js +64 -0
  19. package/getSecretEngine.js.map +1 -0
  20. package/getWorkflow.d.ts +6 -0
  21. package/getWorkflow.js.map +1 -1
  22. package/getWorkflowApprover.d.ts +2 -30
  23. package/getWorkflowApprover.js +2 -30
  24. package/getWorkflowApprover.js.map +1 -1
  25. package/index.d.ts +13 -15
  26. package/index.js +35 -21
  27. package/index.js.map +1 -1
  28. package/managedSecret.d.ts +134 -0
  29. package/managedSecret.js +80 -0
  30. package/managedSecret.js.map +1 -0
  31. package/package.json +1 -1
  32. package/provider.d.ts +14 -0
  33. package/provider.js +8 -0
  34. package/provider.js.map +1 -1
  35. package/resource.d.ts +45 -27
  36. package/resource.js +10 -0
  37. package/resource.js.map +1 -1
  38. package/secretEngine.d.ts +74 -0
  39. package/secretEngine.js +63 -0
  40. package/secretEngine.js.map +1 -0
  41. package/types/input.d.ts +481 -0
  42. package/types/output.d.ts +954 -26
  43. package/workflow.d.ts +6 -0
  44. package/workflow.js.map +1 -1
  45. package/workflowApprover.d.ts +1 -15
  46. package/workflowApprover.js +1 -15
  47. package/workflowApprover.js.map +1 -1
  48. package/approvalWorkflowApprover.d.ts +0 -113
  49. package/approvalWorkflowApprover.js +0 -90
  50. package/approvalWorkflowApprover.js.map +0 -1
  51. package/approvalWorkflowStep.d.ts +0 -68
  52. package/approvalWorkflowStep.js +0 -72
  53. package/approvalWorkflowStep.js.map +0 -1
  54. package/getApprovalWorkflowApprover.d.ts +0 -127
  55. package/getApprovalWorkflowApprover.js +0 -72
  56. package/getApprovalWorkflowApprover.js.map +0 -1
  57. package/getApprovalWorkflowStep.d.ts +0 -77
  58. package/getApprovalWorkflowStep.js +0 -52
  59. package/getApprovalWorkflowStep.js.map +0 -1
package/types/output.d.ts CHANGED
@@ -37,10 +37,22 @@ export interface AccountUser {
37
37
  * Managed By is a read only field for what service manages this user, e.g. StrongDM, Okta, Azure.
38
38
  */
39
39
  managedBy: string;
40
+ /**
41
+ * Manager ID is the ID of the user's manager. This field is empty when the user has no manager.
42
+ */
43
+ managerId?: string;
40
44
  /**
41
45
  * PermissionLevel is the user's permission level e.g. admin, DBA, user.
42
46
  */
43
47
  permissionLevel: string;
48
+ /**
49
+ * Resolved Manager ID is the ID of the user's manager derived from the manager_id, if present, or from the SCIM metadata. This is a read-only field that's only populated for get and list.
50
+ */
51
+ resolvedManagerId: string;
52
+ /**
53
+ * SCIM contains the raw SCIM metadata for the user. This is a read-only field.
54
+ */
55
+ scim: string;
44
56
  /**
45
57
  * The Service's suspended state.
46
58
  */
@@ -52,6 +64,34 @@ export interface AccountUser {
52
64
  [key: string]: string;
53
65
  };
54
66
  }
67
+ export interface ApprovalWorkflowApprovalStep {
68
+ /**
69
+ * The approvers for this approval step
70
+ */
71
+ approvers: outputs.ApprovalWorkflowApprovalStepApprover[];
72
+ /**
73
+ * Whether any or all approvers are required to approve for this approval step (optional, defaults to any)
74
+ */
75
+ quantifier?: string;
76
+ /**
77
+ * Duration after which this approval step will be skipped if no approval is given (optional, if not provided this step must be manually approved)
78
+ */
79
+ skipAfter?: string;
80
+ }
81
+ export interface ApprovalWorkflowApprovalStepApprover {
82
+ /**
83
+ * The account id of the approver (only one of account_id, role_id, or reference may be present for one approver)
84
+ */
85
+ accountId?: string;
86
+ /**
87
+ * A reference to an approver: 'manager-of-requester' or 'manager-of-manager-of-requester' (only one of account_id, role_id, or reference may be present for one approver)
88
+ */
89
+ reference?: string;
90
+ /**
91
+ * The role id of the approver (only one of account_id, role_id, or reference may be present for one approver)
92
+ */
93
+ roleId?: string;
94
+ }
55
95
  export interface GetAccountAccount {
56
96
  /**
57
97
  * A Service is a service account that can connect to resources they are granted directly, or granted via roles. Services are typically automated jobs.
@@ -151,10 +191,22 @@ export interface GetAccountAccountUser {
151
191
  * Managed By is a read only field for what service manages this user, e.g. StrongDM, Okta, Azure.
152
192
  */
153
193
  managedBy: string;
194
+ /**
195
+ * Manager ID is the ID of the user's manager. This field is empty when the user has no manager.
196
+ */
197
+ managerId?: string;
154
198
  /**
155
199
  * PermissionLevel is the user's permission level e.g. admin, DBA, user.
156
200
  */
157
201
  permissionLevel?: string;
202
+ /**
203
+ * Resolved Manager ID is the ID of the user's manager derived from the manager_id, if present, or from the SCIM metadata. This is a read-only field that's only populated for get and list.
204
+ */
205
+ resolvedManagerId: string;
206
+ /**
207
+ * SCIM contains the raw SCIM metadata for the user. This is a read-only field.
208
+ */
209
+ scim: string;
158
210
  /**
159
211
  * Reserved for future use. Always false for tokens.
160
212
  */
@@ -180,11 +232,43 @@ export interface GetAccountAttachmentAccountAttachment {
180
232
  */
181
233
  roleId?: string;
182
234
  }
235
+ export interface GetApprovalWorkflowApprovalStep {
236
+ /**
237
+ * The approvers for this approval step
238
+ */
239
+ approvers: outputs.GetApprovalWorkflowApprovalStepApprover[];
240
+ /**
241
+ * Whether any or all approvers are required to approve for this approval step (optional, defaults to any)
242
+ */
243
+ quantifier?: string;
244
+ /**
245
+ * Duration after which this approval step will be skipped if no approval is given (optional, if not provided this step must be manually approved)
246
+ */
247
+ skipAfter?: string;
248
+ }
249
+ export interface GetApprovalWorkflowApprovalStepApprover {
250
+ /**
251
+ * The account id of the approver (only one of account_id, role_id, or reference may be present for one approver)
252
+ */
253
+ accountId?: string;
254
+ /**
255
+ * A reference to an approver: 'manager-of-requester' or 'manager-of-manager-of-requester' (only one of account_id, role_id, or reference may be present for one approver)
256
+ */
257
+ reference?: string;
258
+ /**
259
+ * The role id of the approver (only one of account_id, role_id, or reference may be present for one approver)
260
+ */
261
+ roleId?: string;
262
+ }
183
263
  export interface GetApprovalWorkflowApprovalWorkflow {
184
264
  /**
185
265
  * Approval mode of the ApprovalWorkflow
186
266
  */
187
267
  approvalMode?: string;
268
+ /**
269
+ * The approval steps of this approval workflow
270
+ */
271
+ approvalSteps?: outputs.GetApprovalWorkflowApprovalWorkflowApprovalStep[];
188
272
  /**
189
273
  * Optional description of the ApprovalWorkflow.
190
274
  */
@@ -198,37 +282,33 @@ export interface GetApprovalWorkflowApprovalWorkflow {
198
282
  */
199
283
  name?: string;
200
284
  }
201
- export interface GetApprovalWorkflowApproverApprovalWorkflowApprover {
202
- /**
203
- * The approver account id.
204
- */
205
- accountId?: string;
285
+ export interface GetApprovalWorkflowApprovalWorkflowApprovalStep {
206
286
  /**
207
- * The approval flow id specified the approval workflow that this approver belongs to
287
+ * The approvers for this approval step
208
288
  */
209
- approvalFlowId?: string;
289
+ approvers: outputs.GetApprovalWorkflowApprovalWorkflowApprovalStepApprover[];
210
290
  /**
211
- * The approval step id specified the approval flow step that this approver belongs to
291
+ * Whether any or all approvers are required to approve for this approval step (optional, defaults to any)
212
292
  */
213
- approvalStepId?: string;
293
+ quantifier?: string;
214
294
  /**
215
- * Unique identifier of the ApprovalWorkflowApprover.
295
+ * Duration after which this approval step will be skipped if no approval is given (optional, if not provided this step must be manually approved)
216
296
  */
217
- id?: string;
297
+ skipAfter?: string;
298
+ }
299
+ export interface GetApprovalWorkflowApprovalWorkflowApprovalStepApprover {
218
300
  /**
219
- * The approver role id
301
+ * The account id of the approver (only one of account_id, role_id, or reference may be present for one approver)
220
302
  */
221
- roleId?: string;
222
- }
223
- export interface GetApprovalWorkflowStepApprovalWorkflowStep {
303
+ accountId?: string;
224
304
  /**
225
- * The approval flow id specified the approval workfflow that this step belongs to
305
+ * A reference to an approver: 'manager-of-requester' or 'manager-of-manager-of-requester' (only one of account_id, role_id, or reference may be present for one approver)
226
306
  */
227
- approvalFlowId?: string;
307
+ reference?: string;
228
308
  /**
229
- * Unique identifier of the ApprovalWorkflowStep.
309
+ * The role id of the approver (only one of account_id, role_id, or reference may be present for one approver)
230
310
  */
231
- id?: string;
311
+ roleId?: string;
232
312
  }
233
313
  export interface GetIdentityAliasIdentityAlias {
234
314
  /**
@@ -258,6 +338,46 @@ export interface GetIdentitySetIdentitySet {
258
338
  */
259
339
  name?: string;
260
340
  }
341
+ export interface GetManagedSecretManagedSecret {
342
+ /**
343
+ * public part of the secret value
344
+ */
345
+ config: string;
346
+ /**
347
+ * Timestamp of when secret is going to be rotated
348
+ */
349
+ expiresAt: string;
350
+ /**
351
+ * Unique identifier of the Managed Secret.
352
+ */
353
+ id?: string;
354
+ /**
355
+ * Timestamp of when secret was last rotated
356
+ */
357
+ lastRotatedAt: string;
358
+ /**
359
+ * Unique human-readable name of the Managed Secret.
360
+ */
361
+ name?: string;
362
+ /**
363
+ * An ID of a Secret Engine linked with the Managed Secret.
364
+ */
365
+ secretEngineId?: string;
366
+ /**
367
+ * Path in a secret store.
368
+ */
369
+ secretStorePath: string;
370
+ /**
371
+ * Tags is a map of key, value pairs.
372
+ */
373
+ tags?: {
374
+ [key: string]: string;
375
+ };
376
+ /**
377
+ * Sensitive value of the secret.
378
+ */
379
+ value?: string;
380
+ }
261
381
  export interface GetNodeNode {
262
382
  /**
263
383
  * Gateway represents a StrongDM CLI installation running in gateway mode.
@@ -497,6 +617,7 @@ export interface GetRemoteIdentityRemoteIdentity {
497
617
  username?: string;
498
618
  }
499
619
  export interface GetResourceResource {
620
+ aerospikes: outputs.GetResourceResourceAerospike[];
500
621
  aks: outputs.GetResourceResourceAk[];
501
622
  aksBasicAuths: outputs.GetResourceResourceAksBasicAuth[];
502
623
  aksServiceAccountUserImpersonations: outputs.GetResourceResourceAksServiceAccountUserImpersonation[];
@@ -538,6 +659,7 @@ export interface GetResourceResource {
538
659
  db2Luws: outputs.GetResourceResourceDb2Luw[];
539
660
  documentDbHostIams: outputs.GetResourceResourceDocumentDbHostIam[];
540
661
  documentDbHosts: outputs.GetResourceResourceDocumentDbHost[];
662
+ documentDbReplicaSetIams: outputs.GetResourceResourceDocumentDbReplicaSetIam[];
541
663
  documentDbReplicaSets: outputs.GetResourceResourceDocumentDbReplicaSet[];
542
664
  druids: outputs.GetResourceResourceDruid[];
543
665
  dynamoDbiams: outputs.GetResourceResourceDynamoDbiam[];
@@ -572,6 +694,7 @@ export interface GetResourceResource {
572
694
  mysqls: outputs.GetResourceResourceMysql[];
573
695
  neptuneIams: outputs.GetResourceResourceNeptuneIam[];
574
696
  neptunes: outputs.GetResourceResourceNeptune[];
697
+ oracleNnes: outputs.GetResourceResourceOracleNne[];
575
698
  oracles: outputs.GetResourceResourceOracle[];
576
699
  postgres: outputs.GetResourceResourcePostgre[];
577
700
  prestos: outputs.GetResourceResourcePresto[];
@@ -581,6 +704,7 @@ export interface GetResourceResource {
581
704
  rdps: outputs.GetResourceResourceRdp[];
582
705
  rdsPostgresIams: outputs.GetResourceResourceRdsPostgresIam[];
583
706
  redis: outputs.GetResourceResourceRedi[];
707
+ redisClusters: outputs.GetResourceResourceRedisCluster[];
584
708
  redshiftIams: outputs.GetResourceResourceRedshiftIam[];
585
709
  redshiftServerlessIams: outputs.GetResourceResourceRedshiftServerlessIam[];
586
710
  redshifts: outputs.GetResourceResourceRedshift[];
@@ -598,6 +722,63 @@ export interface GetResourceResource {
598
722
  sybases: outputs.GetResourceResourceSybase[];
599
723
  teradatas: outputs.GetResourceResourceTeradata[];
600
724
  trinos: outputs.GetResourceResourceTrino[];
725
+ verticas: outputs.GetResourceResourceVertica[];
726
+ }
727
+ export interface GetResourceResourceAerospike {
728
+ /**
729
+ * The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
730
+ */
731
+ bindInterface?: string;
732
+ /**
733
+ * A filter applied to the routing logic to pin datasource to nodes.
734
+ */
735
+ egressFilter?: string;
736
+ /**
737
+ * The host to dial to initiate a connection from the egress node to this resource.
738
+ */
739
+ hostname?: string;
740
+ /**
741
+ * Unique identifier of the Resource.
742
+ */
743
+ id?: string;
744
+ /**
745
+ * Unique human-readable name of the Resource.
746
+ */
747
+ name?: string;
748
+ /**
749
+ * The password to authenticate with.
750
+ */
751
+ password?: string;
752
+ /**
753
+ * The port to dial to initiate a connection from the egress node to this resource.
754
+ */
755
+ port?: number;
756
+ /**
757
+ * The local port used by clients to connect to this resource.
758
+ */
759
+ portOverride?: number;
760
+ /**
761
+ * ID of the proxy cluster for this resource, if any.
762
+ */
763
+ proxyClusterId?: string;
764
+ /**
765
+ * ID of the secret store containing credentials for this resource, if any.
766
+ */
767
+ secretStoreId?: string;
768
+ /**
769
+ * Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
770
+ */
771
+ subdomain?: string;
772
+ /**
773
+ * Tags is a map of key, value pairs.
774
+ */
775
+ tags?: {
776
+ [key: string]: string;
777
+ };
778
+ /**
779
+ * The username to authenticate with.
780
+ */
781
+ username?: string;
601
782
  }
602
783
  export interface GetResourceResourceAk {
603
784
  /**
@@ -3305,6 +3486,58 @@ export interface GetResourceResourceDocumentDbReplicaSet {
3305
3486
  */
3306
3487
  username?: string;
3307
3488
  }
3489
+ export interface GetResourceResourceDocumentDbReplicaSetIam {
3490
+ /**
3491
+ * The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
3492
+ */
3493
+ bindInterface?: string;
3494
+ /**
3495
+ * Set to connect to a replica instead of the primary node.
3496
+ */
3497
+ connectToReplica?: boolean;
3498
+ /**
3499
+ * A filter applied to the routing logic to pin datasource to nodes.
3500
+ */
3501
+ egressFilter?: string;
3502
+ /**
3503
+ * The host to dial to initiate a connection from the egress node to this resource.
3504
+ */
3505
+ hostname?: string;
3506
+ /**
3507
+ * Unique identifier of the Resource.
3508
+ */
3509
+ id?: string;
3510
+ /**
3511
+ * Unique human-readable name of the Resource.
3512
+ */
3513
+ name?: string;
3514
+ /**
3515
+ * The local port used by clients to connect to this resource.
3516
+ */
3517
+ portOverride?: number;
3518
+ /**
3519
+ * ID of the proxy cluster for this resource, if any.
3520
+ */
3521
+ proxyClusterId?: string;
3522
+ /**
3523
+ * The AWS region to connect to.
3524
+ */
3525
+ region?: string;
3526
+ /**
3527
+ * ID of the secret store containing credentials for this resource, if any.
3528
+ */
3529
+ secretStoreId?: string;
3530
+ /**
3531
+ * Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
3532
+ */
3533
+ subdomain?: string;
3534
+ /**
3535
+ * Tags is a map of key, value pairs.
3536
+ */
3537
+ tags?: {
3538
+ [key: string]: string;
3539
+ };
3540
+ }
3308
3541
  export interface GetResourceResourceDruid {
3309
3542
  /**
3310
3543
  * The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
@@ -5488,6 +5721,66 @@ export interface GetResourceResourceOracle {
5488
5721
  */
5489
5722
  username?: string;
5490
5723
  }
5724
+ export interface GetResourceResourceOracleNne {
5725
+ /**
5726
+ * The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
5727
+ */
5728
+ bindInterface?: string;
5729
+ /**
5730
+ * The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
5731
+ */
5732
+ database?: string;
5733
+ /**
5734
+ * A filter applied to the routing logic to pin datasource to nodes.
5735
+ */
5736
+ egressFilter?: string;
5737
+ /**
5738
+ * The host to dial to initiate a connection from the egress node to this resource.
5739
+ */
5740
+ hostname?: string;
5741
+ /**
5742
+ * Unique identifier of the Resource.
5743
+ */
5744
+ id?: string;
5745
+ /**
5746
+ * Unique human-readable name of the Resource.
5747
+ */
5748
+ name?: string;
5749
+ /**
5750
+ * The password to authenticate with.
5751
+ */
5752
+ password?: string;
5753
+ /**
5754
+ * The port to dial to initiate a connection from the egress node to this resource.
5755
+ */
5756
+ port?: number;
5757
+ /**
5758
+ * The local port used by clients to connect to this resource.
5759
+ */
5760
+ portOverride?: number;
5761
+ /**
5762
+ * ID of the proxy cluster for this resource, if any.
5763
+ */
5764
+ proxyClusterId?: string;
5765
+ /**
5766
+ * ID of the secret store containing credentials for this resource, if any.
5767
+ */
5768
+ secretStoreId?: string;
5769
+ /**
5770
+ * Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
5771
+ */
5772
+ subdomain?: string;
5773
+ /**
5774
+ * Tags is a map of key, value pairs.
5775
+ */
5776
+ tags?: {
5777
+ [key: string]: string;
5778
+ };
5779
+ /**
5780
+ * The username to authenticate with.
5781
+ */
5782
+ username?: string;
5783
+ }
5491
5784
  export interface GetResourceResourcePostgre {
5492
5785
  /**
5493
5786
  * The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
@@ -5980,15 +6273,11 @@ export interface GetResourceResourceRedi {
5980
6273
  */
5981
6274
  username?: string;
5982
6275
  }
5983
- export interface GetResourceResourceRedshift {
6276
+ export interface GetResourceResourceRedisCluster {
5984
6277
  /**
5985
6278
  * The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
5986
6279
  */
5987
6280
  bindInterface?: string;
5988
- /**
5989
- * The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
5990
- */
5991
- database?: string;
5992
6281
  /**
5993
6282
  * A filter applied to the routing logic to pin datasource to nodes.
5994
6283
  */
@@ -6006,7 +6295,71 @@ export interface GetResourceResourceRedshift {
6006
6295
  */
6007
6296
  name?: string;
6008
6297
  /**
6009
- * If set, the database configured cannot be changed by users. This setting is not recommended for most use cases, as some clients will insist their database has changed when it has not, leading to user confusion.
6298
+ * The password to authenticate with.
6299
+ */
6300
+ password?: string;
6301
+ /**
6302
+ * The port to dial to initiate a connection from the egress node to this resource.
6303
+ */
6304
+ port?: number;
6305
+ /**
6306
+ * The local port used by clients to connect to this resource.
6307
+ */
6308
+ portOverride?: number;
6309
+ /**
6310
+ * ID of the proxy cluster for this resource, if any.
6311
+ */
6312
+ proxyClusterId?: string;
6313
+ /**
6314
+ * ID of the secret store containing credentials for this resource, if any.
6315
+ */
6316
+ secretStoreId?: string;
6317
+ /**
6318
+ * Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
6319
+ */
6320
+ subdomain?: string;
6321
+ /**
6322
+ * Tags is a map of key, value pairs.
6323
+ */
6324
+ tags?: {
6325
+ [key: string]: string;
6326
+ };
6327
+ /**
6328
+ * If set, TLS must be used to connect to this resource.
6329
+ */
6330
+ tlsRequired?: boolean;
6331
+ /**
6332
+ * The username to authenticate with.
6333
+ */
6334
+ username?: string;
6335
+ }
6336
+ export interface GetResourceResourceRedshift {
6337
+ /**
6338
+ * The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
6339
+ */
6340
+ bindInterface?: string;
6341
+ /**
6342
+ * The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
6343
+ */
6344
+ database?: string;
6345
+ /**
6346
+ * A filter applied to the routing logic to pin datasource to nodes.
6347
+ */
6348
+ egressFilter?: string;
6349
+ /**
6350
+ * The host to dial to initiate a connection from the egress node to this resource.
6351
+ */
6352
+ hostname?: string;
6353
+ /**
6354
+ * Unique identifier of the Resource.
6355
+ */
6356
+ id?: string;
6357
+ /**
6358
+ * Unique human-readable name of the Resource.
6359
+ */
6360
+ name?: string;
6361
+ /**
6362
+ * If set, the database configured cannot be changed by users. This setting is not recommended for most use cases, as some clients will insist their database has changed when it has not, leading to user confusion.
6010
6363
  */
6011
6364
  overrideDatabase?: boolean;
6012
6365
  /**
@@ -6751,6 +7104,14 @@ export interface GetResourceResourceSshCustomerKey {
6751
7104
  * Unique identifier of the Resource.
6752
7105
  */
6753
7106
  id?: string;
7107
+ /**
7108
+ * The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
7109
+ */
7110
+ identityAliasHealthcheckUsername?: string;
7111
+ /**
7112
+ * The ID of the identity set to use for identity connections.
7113
+ */
7114
+ identitySetId?: string;
6754
7115
  /**
6755
7116
  * Unique human-readable name of the Resource.
6756
7117
  */
@@ -7027,6 +7388,62 @@ export interface GetResourceResourceTeradata {
7027
7388
  username?: string;
7028
7389
  }
7029
7390
  export interface GetResourceResourceTrino {
7391
+ /**
7392
+ * The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
7393
+ */
7394
+ bindInterface?: string;
7395
+ /**
7396
+ * A filter applied to the routing logic to pin datasource to nodes.
7397
+ */
7398
+ egressFilter?: string;
7399
+ /**
7400
+ * The host to dial to initiate a connection from the egress node to this resource.
7401
+ */
7402
+ hostname?: string;
7403
+ /**
7404
+ * Unique identifier of the Resource.
7405
+ */
7406
+ id?: string;
7407
+ /**
7408
+ * Unique human-readable name of the Resource.
7409
+ */
7410
+ name?: string;
7411
+ /**
7412
+ * The password to authenticate with.
7413
+ */
7414
+ password?: string;
7415
+ /**
7416
+ * The port to dial to initiate a connection from the egress node to this resource.
7417
+ */
7418
+ port?: number;
7419
+ /**
7420
+ * The local port used by clients to connect to this resource.
7421
+ */
7422
+ portOverride?: number;
7423
+ /**
7424
+ * ID of the proxy cluster for this resource, if any.
7425
+ */
7426
+ proxyClusterId?: string;
7427
+ /**
7428
+ * ID of the secret store containing credentials for this resource, if any.
7429
+ */
7430
+ secretStoreId?: string;
7431
+ /**
7432
+ * Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
7433
+ */
7434
+ subdomain?: string;
7435
+ /**
7436
+ * Tags is a map of key, value pairs.
7437
+ */
7438
+ tags?: {
7439
+ [key: string]: string;
7440
+ };
7441
+ /**
7442
+ * The username to authenticate with.
7443
+ */
7444
+ username?: string;
7445
+ }
7446
+ export interface GetResourceResourceVertica {
7030
7447
  /**
7031
7448
  * The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
7032
7449
  */
@@ -7110,6 +7527,130 @@ export interface GetRoleRole {
7110
7527
  [key: string]: string;
7111
7528
  };
7112
7529
  }
7530
+ export interface GetSecretEngineSecretEngine {
7531
+ activeDirectories: outputs.GetSecretEngineSecretEngineActiveDirectory[];
7532
+ keyValues: outputs.GetSecretEngineSecretEngineKeyValue[];
7533
+ }
7534
+ export interface GetSecretEngineSecretEngineActiveDirectory {
7535
+ /**
7536
+ * The default time-to-live duration of the password after it's read. Once the ttl has passed, a password will be rotated.
7537
+ */
7538
+ afterReadTtl?: string;
7539
+ /**
7540
+ * Distinguished name of object to bind when performing user and group search. Example: cn=vault,ou=Users,dc=example,dc=com
7541
+ */
7542
+ binddn?: string;
7543
+ /**
7544
+ * Password to use along with binddn when performing user search.
7545
+ */
7546
+ bindpass?: string;
7547
+ /**
7548
+ * CA certificate to use when verifying LDAP server certificate, must be x509 PEM encoded.
7549
+ */
7550
+ certificate?: string;
7551
+ /**
7552
+ * Timeout, in seconds, when attempting to connect to the LDAP server before trying the next URL in the configuration.
7553
+ */
7554
+ connectionTimeout?: number;
7555
+ /**
7556
+ * If set to true this will prevent password change timestamp validation in Active Directory when validating credentials
7557
+ */
7558
+ doNotValidateTimestamps?: boolean;
7559
+ /**
7560
+ * Unique identifier of the Secret Engine.
7561
+ */
7562
+ id?: string;
7563
+ /**
7564
+ * If true, skips LDAP server SSL certificate verification - insecure, use with caution!
7565
+ */
7566
+ insecureTls?: boolean;
7567
+ /**
7568
+ * An interval of public/private key rotation for secret engine in days
7569
+ */
7570
+ keyRotationIntervalDays?: number;
7571
+ /**
7572
+ * The maximum retry duration in case of automatic failure. On failed ttl rotation attempt it will be retried in an increasing intervals until it reaches max_backoff_duration
7573
+ */
7574
+ maxBackoffDuration?: string;
7575
+ /**
7576
+ * Unique human-readable name of the Secret Engine.
7577
+ */
7578
+ name?: string;
7579
+ /**
7580
+ * Public key linked with a secret engine
7581
+ */
7582
+ publicKey: string;
7583
+ /**
7584
+ * Timeout, in seconds, for the connection when making requests against the server before returning back an error.
7585
+ */
7586
+ requestTimeout?: number;
7587
+ /**
7588
+ * Backing secret store identifier
7589
+ */
7590
+ secretStoreId?: string;
7591
+ /**
7592
+ * Backing Secret Store root path where managed secrets are going to be stored
7593
+ */
7594
+ secretStoreRootPath?: string;
7595
+ /**
7596
+ * If true, issues a StartTLS command after establishing an unencrypted connection.
7597
+ */
7598
+ startTls?: boolean;
7599
+ /**
7600
+ * Tags is a map of key, value pairs.
7601
+ */
7602
+ tags?: {
7603
+ [key: string]: string;
7604
+ };
7605
+ /**
7606
+ * The default password time-to-live duration. Once the ttl has passed, a password will be rotated the next time it's requested.
7607
+ */
7608
+ ttl?: string;
7609
+ /**
7610
+ * The domain (userPrincipalDomain) used to construct a UPN string for authentication.
7611
+ */
7612
+ upndomain?: string;
7613
+ /**
7614
+ * The LDAP server to connect to.
7615
+ */
7616
+ url?: string;
7617
+ /**
7618
+ * Base DN under which to perform user search. Example: ou=Users,dc=example,dc=com
7619
+ */
7620
+ userdn?: string;
7621
+ }
7622
+ export interface GetSecretEngineSecretEngineKeyValue {
7623
+ /**
7624
+ * Unique identifier of the Secret Engine.
7625
+ */
7626
+ id?: string;
7627
+ /**
7628
+ * An interval of public/private key rotation for secret engine in days
7629
+ */
7630
+ keyRotationIntervalDays?: number;
7631
+ /**
7632
+ * Unique human-readable name of the Secret Engine.
7633
+ */
7634
+ name?: string;
7635
+ /**
7636
+ * Public key linked with a secret engine
7637
+ */
7638
+ publicKey: string;
7639
+ /**
7640
+ * Backing secret store identifier
7641
+ */
7642
+ secretStoreId?: string;
7643
+ /**
7644
+ * Backing Secret Store root path where managed secrets are going to be stored
7645
+ */
7646
+ secretStoreRootPath?: string;
7647
+ /**
7648
+ * Tags is a map of key, value pairs.
7649
+ */
7650
+ tags?: {
7651
+ [key: string]: string;
7652
+ };
7653
+ }
7113
7654
  export interface GetSecretStoreSecretStore {
7114
7655
  activeDirectoryStores: outputs.GetSecretStoreSecretStoreActiveDirectoryStore[];
7115
7656
  aws: outputs.GetSecretStoreSecretStoreAw[];
@@ -7900,6 +8441,8 @@ export interface GetWorkflowWorkflow {
7900
8441
  approvalFlowId?: string;
7901
8442
  /**
7902
8443
  * Optional auto grant setting to automatically approve requests or not, defaults to false.
8444
+ *
8445
+ * @deprecated auto_grant is deprecated, see docs for more info
7903
8446
  */
7904
8447
  autoGrant?: boolean;
7905
8448
  /**
@@ -8029,6 +8572,58 @@ export interface NodeRelayMaintenanceWindow {
8029
8572
  cronSchedule: string;
8030
8573
  requireIdleness: boolean;
8031
8574
  }
8575
+ export interface ResourceAerospike {
8576
+ /**
8577
+ * The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
8578
+ */
8579
+ bindInterface: string;
8580
+ /**
8581
+ * A filter applied to the routing logic to pin datasource to nodes.
8582
+ */
8583
+ egressFilter?: string;
8584
+ /**
8585
+ * The host to dial to initiate a connection from the egress node to this resource.
8586
+ */
8587
+ hostname: string;
8588
+ /**
8589
+ * Unique human-readable name of the Resource.
8590
+ */
8591
+ name: string;
8592
+ /**
8593
+ * The password to authenticate with.
8594
+ */
8595
+ password?: string;
8596
+ /**
8597
+ * The port to dial to initiate a connection from the egress node to this resource.
8598
+ */
8599
+ port?: number;
8600
+ /**
8601
+ * The local port used by clients to connect to this resource.
8602
+ */
8603
+ portOverride: number;
8604
+ /**
8605
+ * ID of the proxy cluster for this resource, if any.
8606
+ */
8607
+ proxyClusterId?: string;
8608
+ /**
8609
+ * ID of the secret store containing credentials for this resource, if any.
8610
+ */
8611
+ secretStoreId?: string;
8612
+ /**
8613
+ * Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
8614
+ */
8615
+ subdomain: string;
8616
+ /**
8617
+ * Tags is a map of key, value pairs.
8618
+ */
8619
+ tags?: {
8620
+ [key: string]: string;
8621
+ };
8622
+ /**
8623
+ * The username to authenticate with.
8624
+ */
8625
+ username?: string;
8626
+ }
8032
8627
  export interface ResourceAks {
8033
8628
  /**
8034
8629
  * If true, allows users to fallback to the existing authentication mode (Leased Credential or Identity Set) when a resource role is not provided.
@@ -10567,7 +11162,55 @@ export interface ResourceDocumentDbReplicaSet {
10567
11162
  */
10568
11163
  username?: string;
10569
11164
  }
10570
- export interface ResourceDruid {
11165
+ export interface ResourceDocumentDbReplicaSetIam {
11166
+ /**
11167
+ * The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
11168
+ */
11169
+ bindInterface: string;
11170
+ /**
11171
+ * Set to connect to a replica instead of the primary node.
11172
+ */
11173
+ connectToReplica?: boolean;
11174
+ /**
11175
+ * A filter applied to the routing logic to pin datasource to nodes.
11176
+ */
11177
+ egressFilter?: string;
11178
+ /**
11179
+ * The host to dial to initiate a connection from the egress node to this resource.
11180
+ */
11181
+ hostname: string;
11182
+ /**
11183
+ * Unique human-readable name of the Resource.
11184
+ */
11185
+ name: string;
11186
+ /**
11187
+ * The local port used by clients to connect to this resource.
11188
+ */
11189
+ portOverride: number;
11190
+ /**
11191
+ * ID of the proxy cluster for this resource, if any.
11192
+ */
11193
+ proxyClusterId?: string;
11194
+ /**
11195
+ * The AWS region to connect to.
11196
+ */
11197
+ region: string;
11198
+ /**
11199
+ * ID of the secret store containing credentials for this resource, if any.
11200
+ */
11201
+ secretStoreId?: string;
11202
+ /**
11203
+ * Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
11204
+ */
11205
+ subdomain: string;
11206
+ /**
11207
+ * Tags is a map of key, value pairs.
11208
+ */
11209
+ tags?: {
11210
+ [key: string]: string;
11211
+ };
11212
+ }
11213
+ export interface ResourceDruid {
10571
11214
  /**
10572
11215
  * The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
10573
11216
  */
@@ -12614,6 +13257,62 @@ export interface ResourceOracle {
12614
13257
  */
12615
13258
  username?: string;
12616
13259
  }
13260
+ export interface ResourceOracleNne {
13261
+ /**
13262
+ * The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
13263
+ */
13264
+ bindInterface: string;
13265
+ /**
13266
+ * The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
13267
+ */
13268
+ database: string;
13269
+ /**
13270
+ * A filter applied to the routing logic to pin datasource to nodes.
13271
+ */
13272
+ egressFilter?: string;
13273
+ /**
13274
+ * The host to dial to initiate a connection from the egress node to this resource.
13275
+ */
13276
+ hostname: string;
13277
+ /**
13278
+ * Unique human-readable name of the Resource.
13279
+ */
13280
+ name: string;
13281
+ /**
13282
+ * The password to authenticate with.
13283
+ */
13284
+ password?: string;
13285
+ /**
13286
+ * The port to dial to initiate a connection from the egress node to this resource.
13287
+ */
13288
+ port: number;
13289
+ /**
13290
+ * The local port used by clients to connect to this resource.
13291
+ */
13292
+ portOverride: number;
13293
+ /**
13294
+ * ID of the proxy cluster for this resource, if any.
13295
+ */
13296
+ proxyClusterId?: string;
13297
+ /**
13298
+ * ID of the secret store containing credentials for this resource, if any.
13299
+ */
13300
+ secretStoreId?: string;
13301
+ /**
13302
+ * Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
13303
+ */
13304
+ subdomain: string;
13305
+ /**
13306
+ * Tags is a map of key, value pairs.
13307
+ */
13308
+ tags?: {
13309
+ [key: string]: string;
13310
+ };
13311
+ /**
13312
+ * The username to authenticate with.
13313
+ */
13314
+ username?: string;
13315
+ }
12617
13316
  export interface ResourcePostgres {
12618
13317
  /**
12619
13318
  * The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
@@ -13074,6 +13773,62 @@ export interface ResourceRedis {
13074
13773
  */
13075
13774
  username?: string;
13076
13775
  }
13776
+ export interface ResourceRedisCluster {
13777
+ /**
13778
+ * The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
13779
+ */
13780
+ bindInterface: string;
13781
+ /**
13782
+ * A filter applied to the routing logic to pin datasource to nodes.
13783
+ */
13784
+ egressFilter?: string;
13785
+ /**
13786
+ * The host to dial to initiate a connection from the egress node to this resource.
13787
+ */
13788
+ hostname: string;
13789
+ /**
13790
+ * Unique human-readable name of the Resource.
13791
+ */
13792
+ name: string;
13793
+ /**
13794
+ * The password to authenticate with.
13795
+ */
13796
+ password?: string;
13797
+ /**
13798
+ * The port to dial to initiate a connection from the egress node to this resource.
13799
+ */
13800
+ port?: number;
13801
+ /**
13802
+ * The local port used by clients to connect to this resource.
13803
+ */
13804
+ portOverride: number;
13805
+ /**
13806
+ * ID of the proxy cluster for this resource, if any.
13807
+ */
13808
+ proxyClusterId?: string;
13809
+ /**
13810
+ * ID of the secret store containing credentials for this resource, if any.
13811
+ */
13812
+ secretStoreId?: string;
13813
+ /**
13814
+ * Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
13815
+ */
13816
+ subdomain: string;
13817
+ /**
13818
+ * Tags is a map of key, value pairs.
13819
+ */
13820
+ tags?: {
13821
+ [key: string]: string;
13822
+ };
13823
+ /**
13824
+ * If set, TLS must be used to connect to this resource.
13825
+ */
13826
+ tlsRequired?: boolean;
13827
+ /**
13828
+ * The username to authenticate with.
13829
+ */
13830
+ username?: string;
13831
+ }
13077
13832
  export interface ResourceRedshift {
13078
13833
  /**
13079
13834
  * The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
@@ -13797,6 +14552,14 @@ export interface ResourceSshCustomerKey {
13797
14552
  * The host to dial to initiate a connection from the egress node to this resource.
13798
14553
  */
13799
14554
  hostname: string;
14555
+ /**
14556
+ * The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
14557
+ */
14558
+ identityAliasHealthcheckUsername?: string;
14559
+ /**
14560
+ * The ID of the identity set to use for identity connections.
14561
+ */
14562
+ identitySetId?: string;
13800
14563
  /**
13801
14564
  * Unique human-readable name of the Resource.
13802
14565
  */
@@ -14057,6 +14820,58 @@ export interface ResourceTeradata {
14057
14820
  username?: string;
14058
14821
  }
14059
14822
  export interface ResourceTrino {
14823
+ /**
14824
+ * The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
14825
+ */
14826
+ bindInterface: string;
14827
+ /**
14828
+ * A filter applied to the routing logic to pin datasource to nodes.
14829
+ */
14830
+ egressFilter?: string;
14831
+ /**
14832
+ * The host to dial to initiate a connection from the egress node to this resource.
14833
+ */
14834
+ hostname: string;
14835
+ /**
14836
+ * Unique human-readable name of the Resource.
14837
+ */
14838
+ name: string;
14839
+ /**
14840
+ * The password to authenticate with.
14841
+ */
14842
+ password?: string;
14843
+ /**
14844
+ * The port to dial to initiate a connection from the egress node to this resource.
14845
+ */
14846
+ port?: number;
14847
+ /**
14848
+ * The local port used by clients to connect to this resource.
14849
+ */
14850
+ portOverride: number;
14851
+ /**
14852
+ * ID of the proxy cluster for this resource, if any.
14853
+ */
14854
+ proxyClusterId?: string;
14855
+ /**
14856
+ * ID of the secret store containing credentials for this resource, if any.
14857
+ */
14858
+ secretStoreId?: string;
14859
+ /**
14860
+ * Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
14861
+ */
14862
+ subdomain: string;
14863
+ /**
14864
+ * Tags is a map of key, value pairs.
14865
+ */
14866
+ tags?: {
14867
+ [key: string]: string;
14868
+ };
14869
+ /**
14870
+ * The username to authenticate with.
14871
+ */
14872
+ username?: string;
14873
+ }
14874
+ export interface ResourceVertica {
14060
14875
  /**
14061
14876
  * The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
14062
14877
  */
@@ -14112,6 +14927,119 @@ export interface ResourceTrino {
14112
14927
  */
14113
14928
  username?: string;
14114
14929
  }
14930
+ export interface SecretEngineActiveDirectory {
14931
+ /**
14932
+ * The default time-to-live duration of the password after it's read. Once the ttl has passed, a password will be rotated.
14933
+ */
14934
+ afterReadTtl?: string;
14935
+ /**
14936
+ * Distinguished name of object to bind when performing user and group search. Example: cn=vault,ou=Users,dc=example,dc=com
14937
+ */
14938
+ binddn: string;
14939
+ /**
14940
+ * Password to use along with binddn when performing user search.
14941
+ */
14942
+ bindpass: string;
14943
+ /**
14944
+ * CA certificate to use when verifying LDAP server certificate, must be x509 PEM encoded.
14945
+ */
14946
+ certificate?: string;
14947
+ /**
14948
+ * Timeout, in seconds, when attempting to connect to the LDAP server before trying the next URL in the configuration.
14949
+ */
14950
+ connectionTimeout?: number;
14951
+ /**
14952
+ * If set to true this will prevent password change timestamp validation in Active Directory when validating credentials
14953
+ */
14954
+ doNotValidateTimestamps?: boolean;
14955
+ /**
14956
+ * If true, skips LDAP server SSL certificate verification - insecure, use with caution!
14957
+ */
14958
+ insecureTls?: boolean;
14959
+ /**
14960
+ * An interval of public/private key rotation for secret engine in days
14961
+ */
14962
+ keyRotationIntervalDays?: number;
14963
+ /**
14964
+ * The maximum retry duration in case of automatic failure. On failed ttl rotation attempt it will be retried in an increasing intervals until it reaches max_backoff_duration
14965
+ */
14966
+ maxBackoffDuration?: string;
14967
+ /**
14968
+ * Unique human-readable name of the Secret Engine.
14969
+ */
14970
+ name: string;
14971
+ /**
14972
+ * Public key linked with a secret engine
14973
+ */
14974
+ publicKey: string;
14975
+ /**
14976
+ * Timeout, in seconds, for the connection when making requests against the server before returning back an error.
14977
+ */
14978
+ requestTimeout?: number;
14979
+ /**
14980
+ * Backing secret store identifier
14981
+ */
14982
+ secretStoreId: string;
14983
+ /**
14984
+ * Backing Secret Store root path where managed secrets are going to be stored
14985
+ */
14986
+ secretStoreRootPath: string;
14987
+ /**
14988
+ * If true, issues a StartTLS command after establishing an unencrypted connection.
14989
+ */
14990
+ startTls?: boolean;
14991
+ /**
14992
+ * Tags is a map of key, value pairs.
14993
+ */
14994
+ tags?: {
14995
+ [key: string]: string;
14996
+ };
14997
+ /**
14998
+ * The default password time-to-live duration. Once the ttl has passed, a password will be rotated the next time it's requested.
14999
+ */
15000
+ ttl?: string;
15001
+ /**
15002
+ * The domain (userPrincipalDomain) used to construct a UPN string for authentication.
15003
+ */
15004
+ upndomain?: string;
15005
+ /**
15006
+ * The LDAP server to connect to.
15007
+ */
15008
+ url: string;
15009
+ /**
15010
+ * Base DN under which to perform user search. Example: ou=Users,dc=example,dc=com
15011
+ * * key_value:
15012
+ */
15013
+ userdn?: string;
15014
+ }
15015
+ export interface SecretEngineKeyValue {
15016
+ /**
15017
+ * An interval of public/private key rotation for secret engine in days
15018
+ */
15019
+ keyRotationIntervalDays?: number;
15020
+ /**
15021
+ * Unique human-readable name of the Secret Engine.
15022
+ */
15023
+ name: string;
15024
+ /**
15025
+ * Public key linked with a secret engine
15026
+ */
15027
+ publicKey: string;
15028
+ /**
15029
+ * Backing secret store identifier
15030
+ */
15031
+ secretStoreId: string;
15032
+ /**
15033
+ * Backing Secret Store root path where managed secrets are going to be stored
15034
+ */
15035
+ secretStoreRootPath: string;
15036
+ /**
15037
+ * Tags is a map of key, value pairs.
15038
+ */
15039
+ tags?: {
15040
+ [key: string]: string;
15041
+ };
15042
+ }
14115
15043
  export interface SecretStoreActiveDirectoryStore {
14116
15044
  /**
14117
15045
  * Unique human-readable name of the SecretStore.