@pierskarsenbarg/sdm 1.7.0 → 1.9.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 (96) hide show
  1. package/account.d.ts +3 -1
  2. package/account.js +3 -1
  3. package/account.js.map +1 -1
  4. package/accountAttachment.d.ts +3 -1
  5. package/accountAttachment.js +3 -1
  6. package/accountAttachment.js.map +1 -1
  7. package/approvalWorkflow.d.ts +96 -0
  8. package/approvalWorkflow.js +80 -0
  9. package/approvalWorkflow.js.map +1 -0
  10. package/approvalWorkflowApproval.d.ts +115 -0
  11. package/approvalWorkflowApproval.js +92 -0
  12. package/approvalWorkflowApproval.js.map +1 -0
  13. package/approvalWorkflowStep.d.ts +70 -0
  14. package/approvalWorkflowStep.js +74 -0
  15. package/approvalWorkflowStep.js.map +1 -0
  16. package/getAccount.d.ts +21 -5
  17. package/getAccount.js +5 -0
  18. package/getAccount.js.map +1 -1
  19. package/getAccountAttachment.d.ts +4 -0
  20. package/getAccountAttachment.js +4 -0
  21. package/getAccountAttachment.js.map +1 -1
  22. package/getApprovalWorkflow.d.ts +117 -0
  23. package/getApprovalWorkflow.js +65 -0
  24. package/getApprovalWorkflow.js.map +1 -0
  25. package/getApprovalWorkflowApprover.d.ts +131 -0
  26. package/getApprovalWorkflowApprover.js +68 -0
  27. package/getApprovalWorkflowApprover.js.map +1 -0
  28. package/getApprovalWorkflowStep.d.ts +81 -0
  29. package/getApprovalWorkflowStep.js +51 -0
  30. package/getApprovalWorkflowStep.js.map +1 -0
  31. package/getNode.d.ts +6 -2
  32. package/getNode.js +4 -0
  33. package/getNode.js.map +1 -1
  34. package/getRemoteIdentity.d.ts +4 -0
  35. package/getRemoteIdentity.js +4 -0
  36. package/getRemoteIdentity.js.map +1 -1
  37. package/getRemoteIdentityGroup.d.ts +4 -0
  38. package/getRemoteIdentityGroup.js +4 -0
  39. package/getRemoteIdentityGroup.js.map +1 -1
  40. package/getResource.d.ts +6 -2
  41. package/getResource.js +4 -0
  42. package/getResource.js.map +1 -1
  43. package/getSecretStore.d.ts +3 -3
  44. package/getSshCaPubkey.d.ts +4 -0
  45. package/getSshCaPubkey.js +4 -0
  46. package/getSshCaPubkey.js.map +1 -1
  47. package/getWorkflow.d.ts +16 -0
  48. package/getWorkflow.js +5 -0
  49. package/getWorkflow.js.map +1 -1
  50. package/getWorkflowApprover.d.ts +36 -12
  51. package/getWorkflowApprover.js +20 -7
  52. package/getWorkflowApprover.js.map +1 -1
  53. package/getWorkflowRole.d.ts +4 -0
  54. package/getWorkflowRole.js +4 -0
  55. package/getWorkflowRole.js.map +1 -1
  56. package/index.d.ts +18 -0
  57. package/index.js +26 -1
  58. package/index.js.map +1 -1
  59. package/node.d.ts +3 -1
  60. package/node.js +3 -1
  61. package/node.js.map +1 -1
  62. package/package.json +1 -1
  63. package/peeringGroup.d.ts +1 -1
  64. package/peeringGroup.js +1 -1
  65. package/peeringGroupNode.d.ts +1 -1
  66. package/peeringGroupNode.js +1 -1
  67. package/peeringGroupPeer.d.ts +1 -1
  68. package/peeringGroupPeer.js +1 -1
  69. package/peeringGroupResource.d.ts +1 -1
  70. package/peeringGroupResource.js +1 -1
  71. package/remoteIdentity.d.ts +1 -2
  72. package/remoteIdentity.js +1 -2
  73. package/remoteIdentity.js.map +1 -1
  74. package/resource.d.ts +4 -19
  75. package/resource.js +3 -1
  76. package/resource.js.map +1 -1
  77. package/role.d.ts +3 -1
  78. package/role.js +3 -1
  79. package/role.js.map +1 -1
  80. package/secretStore.d.ts +28 -1
  81. package/secretStore.js +19 -1
  82. package/secretStore.js.map +1 -1
  83. package/types/input.d.ts +351 -3
  84. package/types/output.d.ts +872 -56
  85. package/utilities.d.ts +4 -0
  86. package/utilities.js +33 -1
  87. package/utilities.js.map +1 -1
  88. package/workflow.d.ts +15 -1
  89. package/workflow.js +5 -1
  90. package/workflow.js.map +1 -1
  91. package/workflowApprover.d.ts +28 -10
  92. package/workflowApprover.js +14 -9
  93. package/workflowApprover.js.map +1 -1
  94. package/workflowRole.d.ts +3 -1
  95. package/workflowRole.js +3 -1
  96. package/workflowRole.js.map +1 -1
package/types/output.d.ts CHANGED
@@ -5,7 +5,7 @@ export interface AccountService {
5
5
  */
6
6
  name: string;
7
7
  /**
8
- * The User's suspended state.
8
+ * The Service's suspended state.
9
9
  */
10
10
  suspended?: boolean;
11
11
  /**
@@ -38,13 +38,13 @@ export interface AccountUser {
38
38
  */
39
39
  managedBy: string;
40
40
  /**
41
- * PermissionLevel is a read only field for the user's permission level e.g. admin, DBA, user.
41
+ * PermissionLevel is the user's permission level e.g. admin, DBA, user.
42
42
  */
43
43
  permissionLevel: string;
44
44
  /**
45
- * The User's suspended state.
45
+ * The Service's suspended state.
46
46
  */
47
- suspended?: boolean;
47
+ suspended: boolean;
48
48
  /**
49
49
  * Tags is a map of key, value pairs.
50
50
  */
@@ -53,7 +53,13 @@ export interface AccountUser {
53
53
  };
54
54
  }
55
55
  export interface GetAccountAccount {
56
+ /**
57
+ * A Service is a service account that can connect to resources they are granted directly, or granted via roles. Services are typically automated jobs.
58
+ */
56
59
  services: outputs.GetAccountAccountService[];
60
+ /**
61
+ * A User can connect to resources they are granted directly, or granted via roles.
62
+ */
57
63
  users: outputs.GetAccountAccountUser[];
58
64
  }
59
65
  export interface GetAccountAccountService {
@@ -66,7 +72,7 @@ export interface GetAccountAccountService {
66
72
  */
67
73
  name?: string;
68
74
  /**
69
- * The User's suspended state.
75
+ * The Service's suspended state.
70
76
  */
71
77
  suspended?: boolean;
72
78
  /**
@@ -102,13 +108,13 @@ export interface GetAccountAccountUser {
102
108
  */
103
109
  managedBy: string;
104
110
  /**
105
- * PermissionLevel is a read only field for the user's permission level e.g. admin, DBA, user.
111
+ * PermissionLevel is the user's permission level e.g. admin, DBA, user.
106
112
  */
107
- permissionLevel: string;
113
+ permissionLevel?: string;
108
114
  /**
109
- * The User's suspended state.
115
+ * The Service's suspended state.
110
116
  */
111
- suspended?: boolean;
117
+ suspended: boolean;
112
118
  /**
113
119
  * Tags is a map of key, value pairs.
114
120
  */
@@ -130,8 +136,64 @@ export interface GetAccountAttachmentAccountAttachment {
130
136
  */
131
137
  roleId?: string;
132
138
  }
139
+ export interface GetApprovalWorkflowApprovalWorkflow {
140
+ /**
141
+ * Approval mode of the ApprovalWorkflow
142
+ */
143
+ approvalMode?: string;
144
+ /**
145
+ * Optional description of the ApprovalWorkflow.
146
+ */
147
+ description?: string;
148
+ /**
149
+ * Unique identifier of the ApprovalWorkflow.
150
+ */
151
+ id?: string;
152
+ /**
153
+ * Unique human-readable name of the ApprovalWorkflow.
154
+ */
155
+ name?: string;
156
+ }
157
+ export interface GetApprovalWorkflowApproverApprovalWorkflowApprover {
158
+ /**
159
+ * The approver account id.
160
+ */
161
+ accountId?: string;
162
+ /**
163
+ * The approval flow id specified the approval workflow that this approver belongs to
164
+ */
165
+ approvalFlowId?: string;
166
+ /**
167
+ * The approval step id specified the approval flow step that this approver belongs to
168
+ */
169
+ approvalStepId?: string;
170
+ /**
171
+ * Unique identifier of the ApprovalWorkflowApprover.
172
+ */
173
+ id?: string;
174
+ /**
175
+ * The approver role id
176
+ */
177
+ roleId?: string;
178
+ }
179
+ export interface GetApprovalWorkflowStepApprovalWorkflowStep {
180
+ /**
181
+ * The approval flow id specified the approval workfflow that this step belongs to
182
+ */
183
+ approvalFlowId?: string;
184
+ /**
185
+ * Unique identifier of the ApprovalWorkflowStep.
186
+ */
187
+ id?: string;
188
+ }
133
189
  export interface GetNodeNode {
190
+ /**
191
+ * Gateway represents a StrongDM CLI installation running in gateway mode.
192
+ */
134
193
  gateways: outputs.GetNodeNodeGateway[];
194
+ /**
195
+ * Relay represents a StrongDM CLI installation running in relay mode.
196
+ */
135
197
  relays: outputs.GetNodeNodeRelay[];
136
198
  }
137
199
  export interface GetNodeNodeGateway {
@@ -369,6 +431,7 @@ export interface GetResourceResource {
369
431
  prestos: outputs.GetResourceResourcePresto[];
370
432
  rabbitmqAmqp091s: outputs.GetResourceResourceRabbitmqAmqp091[];
371
433
  rawTcps: outputs.GetResourceResourceRawTcp[];
434
+ rdpCerts: outputs.GetResourceResourceRdpCert[];
372
435
  rdps: outputs.GetResourceResourceRdp[];
373
436
  rdsPostgresIams: outputs.GetResourceResourceRdsPostgresIam[];
374
437
  redis: outputs.GetResourceResourceRedi[];
@@ -4404,6 +4467,62 @@ export interface GetResourceResourceRdp {
4404
4467
  */
4405
4468
  username?: string;
4406
4469
  }
4470
+ export interface GetResourceResourceRdpCert {
4471
+ /**
4472
+ * 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.
4473
+ */
4474
+ bindInterface?: string;
4475
+ /**
4476
+ * A filter applied to the routing logic to pin datasource to nodes.
4477
+ */
4478
+ egressFilter?: string;
4479
+ /**
4480
+ * The host to dial to initiate a connection from the egress node to this resource.
4481
+ */
4482
+ hostname?: string;
4483
+ /**
4484
+ * Unique identifier of the Resource.
4485
+ */
4486
+ id?: string;
4487
+ /**
4488
+ * Unique human-readable name of the Resource.
4489
+ */
4490
+ name?: string;
4491
+ /**
4492
+ * The port to dial to initiate a connection from the egress node to this resource.
4493
+ */
4494
+ port?: number;
4495
+ /**
4496
+ * The local port used by clients to connect to this resource.
4497
+ */
4498
+ portOverride?: number;
4499
+ /**
4500
+ * The ID of the remote identity group to use for remote identity connections.
4501
+ */
4502
+ remoteIdentityGroupId?: string;
4503
+ /**
4504
+ * The username to use for healthchecks, when clients otherwise connect with their own remote identity username.
4505
+ */
4506
+ remoteIdentityHealthcheckUsername?: string;
4507
+ /**
4508
+ * ID of the secret store containing credentials for this resource, if any.
4509
+ */
4510
+ secretStoreId?: string;
4511
+ /**
4512
+ * Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
4513
+ */
4514
+ subdomain?: string;
4515
+ /**
4516
+ * Tags is a map of key, value pairs.
4517
+ */
4518
+ tags?: {
4519
+ [key: string]: string;
4520
+ };
4521
+ /**
4522
+ * The username to authenticate with.
4523
+ */
4524
+ username?: string;
4525
+ }
4407
4526
  export interface GetResourceResourceRdsPostgresIam {
4408
4527
  /**
4409
4528
  * 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.
@@ -5398,17 +5517,46 @@ export interface GetRoleRole {
5398
5517
  };
5399
5518
  }
5400
5519
  export interface GetSecretStoreSecretStore {
5520
+ activeDirectoryStores: outputs.GetSecretStoreSecretStoreActiveDirectoryStore[];
5401
5521
  aws: outputs.GetSecretStoreSecretStoreAw[];
5522
+ awsCertX509s: outputs.GetSecretStoreSecretStoreAwsCertX509[];
5402
5523
  azureStores: outputs.GetSecretStoreSecretStoreAzureStore[];
5403
5524
  cyberarkConjurs: outputs.GetSecretStoreSecretStoreCyberarkConjur[];
5404
5525
  cyberarkPamExperimentals: outputs.GetSecretStoreSecretStoreCyberarkPamExperimental[];
5405
5526
  cyberarkPams: outputs.GetSecretStoreSecretStoreCyberarkPam[];
5406
5527
  delineaStores: outputs.GetSecretStoreSecretStoreDelineaStore[];
5528
+ gcpCertX509Stores: outputs.GetSecretStoreSecretStoreGcpCertX509Store[];
5407
5529
  gcpStores: outputs.GetSecretStoreSecretStoreGcpStore[];
5530
+ vaultApproleCertSshes: outputs.GetSecretStoreSecretStoreVaultApproleCertSsh[];
5531
+ vaultApproleCertX509s: outputs.GetSecretStoreSecretStoreVaultApproleCertX509[];
5408
5532
  vaultApproles: outputs.GetSecretStoreSecretStoreVaultApprole[];
5409
5533
  vaultTls: outputs.GetSecretStoreSecretStoreVaultTl[];
5534
+ vaultTlsCertSshes: outputs.GetSecretStoreSecretStoreVaultTlsCertSsh[];
5535
+ vaultTlsCertX509s: outputs.GetSecretStoreSecretStoreVaultTlsCertX509[];
5536
+ vaultTokenCertSshes: outputs.GetSecretStoreSecretStoreVaultTokenCertSsh[];
5537
+ vaultTokenCertX509s: outputs.GetSecretStoreSecretStoreVaultTokenCertX509[];
5410
5538
  vaultTokens: outputs.GetSecretStoreSecretStoreVaultToken[];
5411
5539
  }
5540
+ export interface GetSecretStoreSecretStoreActiveDirectoryStore {
5541
+ /**
5542
+ * Unique identifier of the SecretStore.
5543
+ */
5544
+ id?: string;
5545
+ /**
5546
+ * Unique human-readable name of the SecretStore.
5547
+ */
5548
+ name?: string;
5549
+ /**
5550
+ * The URL of the Vault to target
5551
+ */
5552
+ serverAddress?: string;
5553
+ /**
5554
+ * Tags is a map of key, value pairs.
5555
+ */
5556
+ tags?: {
5557
+ [key: string]: string;
5558
+ };
5559
+ }
5412
5560
  export interface GetSecretStoreSecretStoreAw {
5413
5561
  /**
5414
5562
  * Unique identifier of the SecretStore.
@@ -5429,6 +5577,42 @@ export interface GetSecretStoreSecretStoreAw {
5429
5577
  [key: string]: string;
5430
5578
  };
5431
5579
  }
5580
+ export interface GetSecretStoreSecretStoreAwsCertX509 {
5581
+ /**
5582
+ * The ARN of the CA in AWS Private CA
5583
+ */
5584
+ caArn?: string;
5585
+ /**
5586
+ * The ARN of the AWS certificate template for requested certificates. Must allow SAN, key usage, and ext key usage passthrough from CSR
5587
+ */
5588
+ certificateTemplateArn?: string;
5589
+ /**
5590
+ * Unique identifier of the SecretStore.
5591
+ */
5592
+ id?: string;
5593
+ /**
5594
+ * The lifetime of certificates issued by this CA represented in minutes.
5595
+ */
5596
+ issuedCertTtlMinutes?: number;
5597
+ /**
5598
+ * Unique human-readable name of the SecretStore.
5599
+ */
5600
+ name?: string;
5601
+ /**
5602
+ * The AWS region to target e.g. us-east-1
5603
+ */
5604
+ region?: string;
5605
+ /**
5606
+ * The specified signing algorithm family (RSA or ECDSA) must match the algorithm family of the CA's secret key. e.g. SHA256WITHRSA
5607
+ */
5608
+ signingAlgo?: string;
5609
+ /**
5610
+ * Tags is a map of key, value pairs.
5611
+ */
5612
+ tags?: {
5613
+ [key: string]: string;
5614
+ };
5615
+ }
5432
5616
  export interface GetSecretStoreSecretStoreAzureStore {
5433
5617
  /**
5434
5618
  * Unique identifier of the SecretStore.
@@ -5535,6 +5719,42 @@ export interface GetSecretStoreSecretStoreDelineaStore {
5535
5719
  */
5536
5720
  tenantName?: string;
5537
5721
  }
5722
+ export interface GetSecretStoreSecretStoreGcpCertX509Store {
5723
+ /**
5724
+ * The ID of the target CA
5725
+ */
5726
+ caId?: string;
5727
+ /**
5728
+ * The ID of the target CA pool
5729
+ */
5730
+ caPoolId?: string;
5731
+ /**
5732
+ * Unique identifier of the SecretStore.
5733
+ */
5734
+ id?: string;
5735
+ /**
5736
+ * The lifetime of certificates issued by this CA represented in minutes.
5737
+ */
5738
+ issuedCertTtlMinutes?: number;
5739
+ /**
5740
+ * The Region for the CA in GCP format e.g. us-west1
5741
+ */
5742
+ location?: string;
5743
+ /**
5744
+ * Unique human-readable name of the SecretStore.
5745
+ */
5746
+ name?: string;
5747
+ /**
5748
+ * The GCP project ID to target.
5749
+ */
5750
+ projectId?: string;
5751
+ /**
5752
+ * Tags is a map of key, value pairs.
5753
+ */
5754
+ tags?: {
5755
+ [key: string]: string;
5756
+ };
5757
+ }
5538
5758
  export interface GetSecretStoreSecretStoreGcpStore {
5539
5759
  /**
5540
5760
  * Unique identifier of the SecretStore.
@@ -5579,23 +5799,15 @@ export interface GetSecretStoreSecretStoreVaultApprole {
5579
5799
  [key: string]: string;
5580
5800
  };
5581
5801
  }
5582
- export interface GetSecretStoreSecretStoreVaultTl {
5583
- /**
5584
- * A path to a CA file accessible by a Node
5585
- */
5586
- caCertPath?: string;
5587
- /**
5588
- * A path to a client certificate file accessible by a Node
5589
- */
5590
- clientCertPath?: string;
5591
- /**
5592
- * A path to a client key file accessible by a Node
5593
- */
5594
- clientKeyPath?: string;
5802
+ export interface GetSecretStoreSecretStoreVaultApproleCertSsh {
5595
5803
  /**
5596
5804
  * Unique identifier of the SecretStore.
5597
5805
  */
5598
5806
  id?: string;
5807
+ /**
5808
+ * The lifetime of certificates issued by this CA represented in minutes.
5809
+ */
5810
+ issuedCertTtlMinutes?: number;
5599
5811
  /**
5600
5812
  * Unique human-readable name of the SecretStore.
5601
5813
  */
@@ -5608,6 +5820,14 @@ export interface GetSecretStoreSecretStoreVaultTl {
5608
5820
  * The URL of the Vault to target
5609
5821
  */
5610
5822
  serverAddress?: string;
5823
+ /**
5824
+ * The signing role to be used for signing certificates
5825
+ */
5826
+ signingRole?: string;
5827
+ /**
5828
+ * The mount point of the SSH engine configured with the desired CA
5829
+ */
5830
+ sshMountPoint?: string;
5611
5831
  /**
5612
5832
  * Tags is a map of key, value pairs.
5613
5833
  */
@@ -5615,11 +5835,15 @@ export interface GetSecretStoreSecretStoreVaultTl {
5615
5835
  [key: string]: string;
5616
5836
  };
5617
5837
  }
5618
- export interface GetSecretStoreSecretStoreVaultToken {
5838
+ export interface GetSecretStoreSecretStoreVaultApproleCertX509 {
5619
5839
  /**
5620
5840
  * Unique identifier of the SecretStore.
5621
5841
  */
5622
5842
  id?: string;
5843
+ /**
5844
+ * The lifetime of certificates issued by this CA represented in minutes.
5845
+ */
5846
+ issuedCertTtlMinutes?: number;
5623
5847
  /**
5624
5848
  * Unique human-readable name of the SecretStore.
5625
5849
  */
@@ -5628,10 +5852,18 @@ export interface GetSecretStoreSecretStoreVaultToken {
5628
5852
  * The namespace to make requests within
5629
5853
  */
5630
5854
  namespace?: string;
5855
+ /**
5856
+ * The mount point of the PKI engine configured with the desired CA
5857
+ */
5858
+ pkiMountPoint?: string;
5631
5859
  /**
5632
5860
  * The URL of the Vault to target
5633
5861
  */
5634
5862
  serverAddress?: string;
5863
+ /**
5864
+ * The signing role to be used for signing certificates
5865
+ */
5866
+ signingRole?: string;
5635
5867
  /**
5636
5868
  * Tags is a map of key, value pairs.
5637
5869
  */
@@ -5639,67 +5871,303 @@ export interface GetSecretStoreSecretStoreVaultToken {
5639
5871
  [key: string]: string;
5640
5872
  };
5641
5873
  }
5642
- export interface GetWorkflowApproverWorkflowApprover {
5874
+ export interface GetSecretStoreSecretStoreVaultTl {
5643
5875
  /**
5644
- * The approver id.
5876
+ * A path to a CA file accessible by a Node
5645
5877
  */
5646
- approverId?: string;
5878
+ caCertPath?: string;
5647
5879
  /**
5648
- * Unique identifier of the WorkflowApprover.
5880
+ * A path to a client certificate file accessible by a Node
5649
5881
  */
5650
- id?: string;
5882
+ clientCertPath?: string;
5651
5883
  /**
5652
- * The workflow id.
5884
+ * A path to a client key file accessible by a Node
5653
5885
  */
5654
- workflowId?: string;
5655
- }
5656
- export interface GetWorkflowRoleWorkflowRole {
5886
+ clientKeyPath?: string;
5657
5887
  /**
5658
- * Unique identifier of the WorkflowRole.
5888
+ * Unique identifier of the SecretStore.
5659
5889
  */
5660
5890
  id?: string;
5661
5891
  /**
5662
- * The role id.
5892
+ * Unique human-readable name of the SecretStore.
5663
5893
  */
5664
- roleId?: string;
5894
+ name?: string;
5665
5895
  /**
5666
- * The workflow id.
5896
+ * The namespace to make requests within
5667
5897
  */
5668
- workflowId?: string;
5669
- }
5670
- export interface GetWorkflowWorkflow {
5898
+ namespace?: string;
5671
5899
  /**
5672
- * AccessRules is a list of access rules defining the resources this Workflow provides access to.
5900
+ * The URL of the Vault to target
5673
5901
  */
5674
- accessRules?: string;
5902
+ serverAddress?: string;
5675
5903
  /**
5676
- * Optional auto grant setting to automatically approve requests or not, defaults to false.
5904
+ * Tags is a map of key, value pairs.
5677
5905
  */
5678
- autoGrant?: boolean;
5906
+ tags?: {
5907
+ [key: string]: string;
5908
+ };
5909
+ }
5910
+ export interface GetSecretStoreSecretStoreVaultTlsCertSsh {
5679
5911
  /**
5680
- * Optional description of the Workflow.
5912
+ * A path to a CA file accessible by a Node
5681
5913
  */
5682
- description?: string;
5914
+ caCertPath?: string;
5683
5915
  /**
5684
- * Optional enabled state for workflow. This setting may be overridden by the system if the workflow doesn't meet the requirements to be enabled or if other conditions prevent enabling the workflow. The requirements to enable a workflow are that the workflow must be either set up for with auto grant enabled or have one or more WorkflowApprovers created for the workflow.
5916
+ * A path to a client certificate file accessible by a Node
5685
5917
  */
5686
- enabled?: boolean;
5918
+ clientCertPath?: string;
5687
5919
  /**
5688
- * Unique identifier of the Workflow.
5920
+ * A path to a client key file accessible by a Node
5689
5921
  */
5690
- id?: string;
5922
+ clientKeyPath?: string;
5691
5923
  /**
5692
- * Unique human-readable name of the Workflow.
5924
+ * Unique identifier of the SecretStore.
5693
5925
  */
5694
- name?: string;
5926
+ id?: string;
5695
5927
  /**
5696
- * Optional weight for workflow to specify it's priority in matching a request.
5928
+ * The lifetime of certificates issued by this CA represented in minutes.
5697
5929
  */
5698
- weight?: number;
5699
- }
5700
- export interface NodeGateway {
5930
+ issuedCertTtlMinutes?: number;
5701
5931
  /**
5702
- * The hostname/port tuple which the gateway daemon will bind to. If not provided on create, set to "0.0.0.0:listen_address_port".
5932
+ * Unique human-readable name of the SecretStore.
5933
+ */
5934
+ name?: string;
5935
+ /**
5936
+ * The namespace to make requests within
5937
+ */
5938
+ namespace?: string;
5939
+ /**
5940
+ * The URL of the Vault to target
5941
+ */
5942
+ serverAddress?: string;
5943
+ /**
5944
+ * The signing role to be used for signing certificates
5945
+ */
5946
+ signingRole?: string;
5947
+ /**
5948
+ * The mount point of the SSH engine configured with the desired CA
5949
+ */
5950
+ sshMountPoint?: string;
5951
+ /**
5952
+ * Tags is a map of key, value pairs.
5953
+ */
5954
+ tags?: {
5955
+ [key: string]: string;
5956
+ };
5957
+ }
5958
+ export interface GetSecretStoreSecretStoreVaultTlsCertX509 {
5959
+ /**
5960
+ * A path to a CA file accessible by a Node
5961
+ */
5962
+ caCertPath?: string;
5963
+ /**
5964
+ * A path to a client certificate file accessible by a Node
5965
+ */
5966
+ clientCertPath?: string;
5967
+ /**
5968
+ * A path to a client key file accessible by a Node
5969
+ */
5970
+ clientKeyPath?: string;
5971
+ /**
5972
+ * Unique identifier of the SecretStore.
5973
+ */
5974
+ id?: string;
5975
+ /**
5976
+ * The lifetime of certificates issued by this CA represented in minutes.
5977
+ */
5978
+ issuedCertTtlMinutes?: number;
5979
+ /**
5980
+ * Unique human-readable name of the SecretStore.
5981
+ */
5982
+ name?: string;
5983
+ /**
5984
+ * The namespace to make requests within
5985
+ */
5986
+ namespace?: string;
5987
+ /**
5988
+ * The mount point of the PKI engine configured with the desired CA
5989
+ */
5990
+ pkiMountPoint?: string;
5991
+ /**
5992
+ * The URL of the Vault to target
5993
+ */
5994
+ serverAddress?: string;
5995
+ /**
5996
+ * The signing role to be used for signing certificates
5997
+ */
5998
+ signingRole?: string;
5999
+ /**
6000
+ * Tags is a map of key, value pairs.
6001
+ */
6002
+ tags?: {
6003
+ [key: string]: string;
6004
+ };
6005
+ }
6006
+ export interface GetSecretStoreSecretStoreVaultToken {
6007
+ /**
6008
+ * Unique identifier of the SecretStore.
6009
+ */
6010
+ id?: string;
6011
+ /**
6012
+ * Unique human-readable name of the SecretStore.
6013
+ */
6014
+ name?: string;
6015
+ /**
6016
+ * The namespace to make requests within
6017
+ */
6018
+ namespace?: string;
6019
+ /**
6020
+ * The URL of the Vault to target
6021
+ */
6022
+ serverAddress?: string;
6023
+ /**
6024
+ * Tags is a map of key, value pairs.
6025
+ */
6026
+ tags?: {
6027
+ [key: string]: string;
6028
+ };
6029
+ }
6030
+ export interface GetSecretStoreSecretStoreVaultTokenCertSsh {
6031
+ /**
6032
+ * Unique identifier of the SecretStore.
6033
+ */
6034
+ id?: string;
6035
+ /**
6036
+ * The lifetime of certificates issued by this CA represented in minutes.
6037
+ */
6038
+ issuedCertTtlMinutes?: number;
6039
+ /**
6040
+ * Unique human-readable name of the SecretStore.
6041
+ */
6042
+ name?: string;
6043
+ /**
6044
+ * The namespace to make requests within
6045
+ */
6046
+ namespace?: string;
6047
+ /**
6048
+ * The URL of the Vault to target
6049
+ */
6050
+ serverAddress?: string;
6051
+ /**
6052
+ * The signing role to be used for signing certificates
6053
+ */
6054
+ signingRole?: string;
6055
+ /**
6056
+ * The mount point of the SSH engine configured with the desired CA
6057
+ */
6058
+ sshMountPoint?: string;
6059
+ /**
6060
+ * Tags is a map of key, value pairs.
6061
+ */
6062
+ tags?: {
6063
+ [key: string]: string;
6064
+ };
6065
+ }
6066
+ export interface GetSecretStoreSecretStoreVaultTokenCertX509 {
6067
+ /**
6068
+ * Unique identifier of the SecretStore.
6069
+ */
6070
+ id?: string;
6071
+ /**
6072
+ * The lifetime of certificates issued by this CA represented in minutes.
6073
+ */
6074
+ issuedCertTtlMinutes?: number;
6075
+ /**
6076
+ * Unique human-readable name of the SecretStore.
6077
+ */
6078
+ name?: string;
6079
+ /**
6080
+ * The namespace to make requests within
6081
+ */
6082
+ namespace?: string;
6083
+ /**
6084
+ * The mount point of the PKI engine configured with the desired CA
6085
+ */
6086
+ pkiMountPoint?: string;
6087
+ /**
6088
+ * The URL of the Vault to target
6089
+ */
6090
+ serverAddress?: string;
6091
+ /**
6092
+ * The signing role to be used for signing certificates
6093
+ */
6094
+ signingRole?: string;
6095
+ /**
6096
+ * Tags is a map of key, value pairs.
6097
+ */
6098
+ tags?: {
6099
+ [key: string]: string;
6100
+ };
6101
+ }
6102
+ export interface GetWorkflowApproverWorkflowApprover {
6103
+ /**
6104
+ * The approver account id.
6105
+ */
6106
+ accountId?: string;
6107
+ /**
6108
+ * Unique identifier of the WorkflowApprover.
6109
+ */
6110
+ id?: string;
6111
+ /**
6112
+ * The approver role id
6113
+ */
6114
+ roleId?: string;
6115
+ /**
6116
+ * The workflow id.
6117
+ */
6118
+ workflowId?: string;
6119
+ }
6120
+ export interface GetWorkflowRoleWorkflowRole {
6121
+ /**
6122
+ * Unique identifier of the WorkflowRole.
6123
+ */
6124
+ id?: string;
6125
+ /**
6126
+ * The role id.
6127
+ */
6128
+ roleId?: string;
6129
+ /**
6130
+ * The workflow id.
6131
+ */
6132
+ workflowId?: string;
6133
+ }
6134
+ export interface GetWorkflowWorkflow {
6135
+ /**
6136
+ * AccessRules is a list of access rules defining the resources this Workflow provides access to.
6137
+ */
6138
+ accessRules?: string;
6139
+ /**
6140
+ * Optional approval flow ID identifies an approval flow that linked to the workflow
6141
+ */
6142
+ approvalFlowId?: string;
6143
+ /**
6144
+ * Optional auto grant setting to automatically approve requests or not, defaults to false.
6145
+ */
6146
+ autoGrant?: boolean;
6147
+ /**
6148
+ * Optional description of the Workflow.
6149
+ */
6150
+ description?: string;
6151
+ /**
6152
+ * Optional enabled state for workflow. This setting may be overridden by the system if the workflow doesn't meet the requirements to be enabled or if other conditions prevent enabling the workflow. The requirements to enable a workflow are that the workflow must be either set up for with auto grant enabled or have one or more WorkflowApprovers created for the workflow.
6153
+ */
6154
+ enabled?: boolean;
6155
+ /**
6156
+ * Unique identifier of the Workflow.
6157
+ */
6158
+ id?: string;
6159
+ /**
6160
+ * Unique human-readable name of the Workflow.
6161
+ */
6162
+ name?: string;
6163
+ /**
6164
+ * Optional weight for workflow to specify it's priority in matching a request.
6165
+ */
6166
+ weight?: number;
6167
+ }
6168
+ export interface NodeGateway {
6169
+ /**
6170
+ * The hostname/port tuple which the gateway daemon will bind to. If not provided on create, set to "0.0.0.0:listen_address_port".
5703
6171
  */
5704
6172
  bindAddress: string;
5705
6173
  /**
@@ -9528,6 +9996,58 @@ export interface ResourceRdp {
9528
9996
  */
9529
9997
  username?: string;
9530
9998
  }
9999
+ export interface ResourceRdpCert {
10000
+ /**
10001
+ * 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.
10002
+ */
10003
+ bindInterface: string;
10004
+ /**
10005
+ * A filter applied to the routing logic to pin datasource to nodes.
10006
+ */
10007
+ egressFilter?: string;
10008
+ /**
10009
+ * The host to dial to initiate a connection from the egress node to this resource.
10010
+ */
10011
+ hostname: string;
10012
+ /**
10013
+ * Unique human-readable name of the Resource.
10014
+ */
10015
+ name: string;
10016
+ /**
10017
+ * The port to dial to initiate a connection from the egress node to this resource.
10018
+ */
10019
+ port?: number;
10020
+ /**
10021
+ * The local port used by clients to connect to this resource.
10022
+ */
10023
+ portOverride: number;
10024
+ /**
10025
+ * The ID of the remote identity group to use for remote identity connections.
10026
+ */
10027
+ remoteIdentityGroupId?: string;
10028
+ /**
10029
+ * The username to use for healthchecks, when clients otherwise connect with their own remote identity username.
10030
+ */
10031
+ remoteIdentityHealthcheckUsername?: string;
10032
+ /**
10033
+ * ID of the secret store containing credentials for this resource, if any.
10034
+ */
10035
+ secretStoreId?: string;
10036
+ /**
10037
+ * Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
10038
+ */
10039
+ subdomain: string;
10040
+ /**
10041
+ * Tags is a map of key, value pairs.
10042
+ */
10043
+ tags?: {
10044
+ [key: string]: string;
10045
+ };
10046
+ /**
10047
+ * The username to authenticate with.
10048
+ */
10049
+ username?: string;
10050
+ }
9531
10051
  export interface ResourceRdsPostgresIam {
9532
10052
  /**
9533
10053
  * 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.
@@ -10433,6 +10953,22 @@ export interface ResourceTrino {
10433
10953
  */
10434
10954
  username?: string;
10435
10955
  }
10956
+ export interface SecretStoreActiveDirectoryStore {
10957
+ /**
10958
+ * Unique human-readable name of the SecretStore.
10959
+ */
10960
+ name: string;
10961
+ /**
10962
+ * The URL of the Vault to target
10963
+ */
10964
+ serverAddress: string;
10965
+ /**
10966
+ * Tags is a map of key, value pairs.
10967
+ */
10968
+ tags?: {
10969
+ [key: string]: string;
10970
+ };
10971
+ }
10436
10972
  export interface SecretStoreAws {
10437
10973
  /**
10438
10974
  * Unique human-readable name of the SecretStore.
@@ -10449,6 +10985,38 @@ export interface SecretStoreAws {
10449
10985
  [key: string]: string;
10450
10986
  };
10451
10987
  }
10988
+ export interface SecretStoreAwsCertX509 {
10989
+ /**
10990
+ * The ARN of the CA in AWS Private CA
10991
+ */
10992
+ caArn: string;
10993
+ /**
10994
+ * The ARN of the AWS certificate template for requested certificates. Must allow SAN, key usage, and ext key usage passthrough from CSR
10995
+ */
10996
+ certificateTemplateArn: string;
10997
+ /**
10998
+ * The lifetime of certificates issued by this CA represented in minutes.
10999
+ */
11000
+ issuedCertTtlMinutes: number;
11001
+ /**
11002
+ * Unique human-readable name of the SecretStore.
11003
+ */
11004
+ name: string;
11005
+ /**
11006
+ * The AWS region to target e.g. us-east-1
11007
+ */
11008
+ region: string;
11009
+ /**
11010
+ * The specified signing algorithm family (RSA or ECDSA) must match the algorithm family of the CA's secret key. e.g. SHA256WITHRSA
11011
+ */
11012
+ signingAlgo: string;
11013
+ /**
11014
+ * Tags is a map of key, value pairs.
11015
+ */
11016
+ tags?: {
11017
+ [key: string]: string;
11018
+ };
11019
+ }
10452
11020
  export interface SecretStoreAzureStore {
10453
11021
  /**
10454
11022
  * Unique human-readable name of the SecretStore.
@@ -10535,6 +11103,38 @@ export interface SecretStoreDelineaStore {
10535
11103
  */
10536
11104
  tenantName?: string;
10537
11105
  }
11106
+ export interface SecretStoreGcpCertX509Store {
11107
+ /**
11108
+ * The ID of the target CA
11109
+ */
11110
+ caId?: string;
11111
+ /**
11112
+ * The ID of the target CA pool
11113
+ */
11114
+ caPoolId: string;
11115
+ /**
11116
+ * The lifetime of certificates issued by this CA represented in minutes.
11117
+ */
11118
+ issuedCertTtlMinutes: number;
11119
+ /**
11120
+ * The Region for the CA in GCP format e.g. us-west1
11121
+ */
11122
+ location: string;
11123
+ /**
11124
+ * Unique human-readable name of the SecretStore.
11125
+ */
11126
+ name: string;
11127
+ /**
11128
+ * The GCP project ID to target.
11129
+ */
11130
+ projectId: string;
11131
+ /**
11132
+ * Tags is a map of key, value pairs.
11133
+ */
11134
+ tags?: {
11135
+ [key: string]: string;
11136
+ };
11137
+ }
10538
11138
  export interface SecretStoreGcpStore {
10539
11139
  /**
10540
11140
  * Unique human-readable name of the SecretStore.
@@ -10571,6 +11171,70 @@ export interface SecretStoreVaultApprole {
10571
11171
  [key: string]: string;
10572
11172
  };
10573
11173
  }
11174
+ export interface SecretStoreVaultApproleCertSsh {
11175
+ /**
11176
+ * The lifetime of certificates issued by this CA represented in minutes.
11177
+ */
11178
+ issuedCertTtlMinutes: number;
11179
+ /**
11180
+ * Unique human-readable name of the SecretStore.
11181
+ */
11182
+ name: string;
11183
+ /**
11184
+ * The namespace to make requests within
11185
+ */
11186
+ namespace?: string;
11187
+ /**
11188
+ * The URL of the Vault to target
11189
+ */
11190
+ serverAddress: string;
11191
+ /**
11192
+ * The signing role to be used for signing certificates
11193
+ */
11194
+ signingRole: string;
11195
+ /**
11196
+ * The mount point of the SSH engine configured with the desired CA
11197
+ */
11198
+ sshMountPoint: string;
11199
+ /**
11200
+ * Tags is a map of key, value pairs.
11201
+ */
11202
+ tags?: {
11203
+ [key: string]: string;
11204
+ };
11205
+ }
11206
+ export interface SecretStoreVaultApproleCertX509 {
11207
+ /**
11208
+ * The lifetime of certificates issued by this CA represented in minutes.
11209
+ */
11210
+ issuedCertTtlMinutes: number;
11211
+ /**
11212
+ * Unique human-readable name of the SecretStore.
11213
+ */
11214
+ name: string;
11215
+ /**
11216
+ * The namespace to make requests within
11217
+ */
11218
+ namespace?: string;
11219
+ /**
11220
+ * The mount point of the PKI engine configured with the desired CA
11221
+ */
11222
+ pkiMountPoint: string;
11223
+ /**
11224
+ * The URL of the Vault to target
11225
+ */
11226
+ serverAddress: string;
11227
+ /**
11228
+ * The signing role to be used for signing certificates
11229
+ */
11230
+ signingRole: string;
11231
+ /**
11232
+ * Tags is a map of key, value pairs.
11233
+ */
11234
+ tags?: {
11235
+ [key: string]: string;
11236
+ };
11237
+ }
10574
11238
  export interface SecretStoreVaultTls {
10575
11239
  /**
10576
11240
  * A path to a CA file accessible by a Node
@@ -10603,6 +11267,94 @@ export interface SecretStoreVaultTls {
10603
11267
  [key: string]: string;
10604
11268
  };
10605
11269
  }
11270
+ export interface SecretStoreVaultTlsCertSsh {
11271
+ /**
11272
+ * A path to a CA file accessible by a Node
11273
+ */
11274
+ caCertPath?: string;
11275
+ /**
11276
+ * A path to a client certificate file accessible by a Node
11277
+ */
11278
+ clientCertPath: string;
11279
+ /**
11280
+ * A path to a client key file accessible by a Node
11281
+ */
11282
+ clientKeyPath: string;
11283
+ /**
11284
+ * The lifetime of certificates issued by this CA represented in minutes.
11285
+ */
11286
+ issuedCertTtlMinutes: number;
11287
+ /**
11288
+ * Unique human-readable name of the SecretStore.
11289
+ */
11290
+ name: string;
11291
+ /**
11292
+ * The namespace to make requests within
11293
+ */
11294
+ namespace?: string;
11295
+ /**
11296
+ * The URL of the Vault to target
11297
+ */
11298
+ serverAddress: string;
11299
+ /**
11300
+ * The signing role to be used for signing certificates
11301
+ */
11302
+ signingRole: string;
11303
+ /**
11304
+ * The mount point of the SSH engine configured with the desired CA
11305
+ */
11306
+ sshMountPoint: string;
11307
+ /**
11308
+ * Tags is a map of key, value pairs.
11309
+ */
11310
+ tags?: {
11311
+ [key: string]: string;
11312
+ };
11313
+ }
11314
+ export interface SecretStoreVaultTlsCertX509 {
11315
+ /**
11316
+ * A path to a CA file accessible by a Node
11317
+ */
11318
+ caCertPath?: string;
11319
+ /**
11320
+ * A path to a client certificate file accessible by a Node
11321
+ */
11322
+ clientCertPath: string;
11323
+ /**
11324
+ * A path to a client key file accessible by a Node
11325
+ */
11326
+ clientKeyPath: string;
11327
+ /**
11328
+ * The lifetime of certificates issued by this CA represented in minutes.
11329
+ */
11330
+ issuedCertTtlMinutes: number;
11331
+ /**
11332
+ * Unique human-readable name of the SecretStore.
11333
+ */
11334
+ name: string;
11335
+ /**
11336
+ * The namespace to make requests within
11337
+ */
11338
+ namespace?: string;
11339
+ /**
11340
+ * The mount point of the PKI engine configured with the desired CA
11341
+ */
11342
+ pkiMountPoint: string;
11343
+ /**
11344
+ * The URL of the Vault to target
11345
+ */
11346
+ serverAddress: string;
11347
+ /**
11348
+ * The signing role to be used for signing certificates
11349
+ */
11350
+ signingRole: string;
11351
+ /**
11352
+ * Tags is a map of key, value pairs.
11353
+ */
11354
+ tags?: {
11355
+ [key: string]: string;
11356
+ };
11357
+ }
10606
11358
  export interface SecretStoreVaultToken {
10607
11359
  /**
10608
11360
  * Unique human-readable name of the SecretStore.
@@ -10623,3 +11375,67 @@ export interface SecretStoreVaultToken {
10623
11375
  [key: string]: string;
10624
11376
  };
10625
11377
  }
11378
+ export interface SecretStoreVaultTokenCertSsh {
11379
+ /**
11380
+ * The lifetime of certificates issued by this CA represented in minutes.
11381
+ */
11382
+ issuedCertTtlMinutes: number;
11383
+ /**
11384
+ * Unique human-readable name of the SecretStore.
11385
+ */
11386
+ name: string;
11387
+ /**
11388
+ * The namespace to make requests within
11389
+ */
11390
+ namespace?: string;
11391
+ /**
11392
+ * The URL of the Vault to target
11393
+ */
11394
+ serverAddress: string;
11395
+ /**
11396
+ * The signing role to be used for signing certificates
11397
+ */
11398
+ signingRole: string;
11399
+ /**
11400
+ * The mount point of the SSH engine configured with the desired CA
11401
+ */
11402
+ sshMountPoint: string;
11403
+ /**
11404
+ * Tags is a map of key, value pairs.
11405
+ */
11406
+ tags?: {
11407
+ [key: string]: string;
11408
+ };
11409
+ }
11410
+ export interface SecretStoreVaultTokenCertX509 {
11411
+ /**
11412
+ * The lifetime of certificates issued by this CA represented in minutes.
11413
+ */
11414
+ issuedCertTtlMinutes: number;
11415
+ /**
11416
+ * Unique human-readable name of the SecretStore.
11417
+ */
11418
+ name: string;
11419
+ /**
11420
+ * The namespace to make requests within
11421
+ */
11422
+ namespace?: string;
11423
+ /**
11424
+ * The mount point of the PKI engine configured with the desired CA
11425
+ */
11426
+ pkiMountPoint: string;
11427
+ /**
11428
+ * The URL of the Vault to target
11429
+ */
11430
+ serverAddress: string;
11431
+ /**
11432
+ * The signing role to be used for signing certificates
11433
+ */
11434
+ signingRole: string;
11435
+ /**
11436
+ * Tags is a map of key, value pairs.
11437
+ */
11438
+ tags?: {
11439
+ [key: string]: string;
11440
+ };
11441
+ }