@pierskarsenbarg/sdm 1.30.0 → 1.32.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 (93) hide show
  1. package/account.d.ts +3 -6
  2. package/account.js +5 -5
  3. package/account.js.map +1 -1
  4. package/accountAttachment.js +7 -7
  5. package/accountAttachment.js.map +1 -1
  6. package/accountGroup.d.ts +87 -0
  7. package/accountGroup.js +84 -0
  8. package/accountGroup.js.map +1 -0
  9. package/approvalWorkflow.d.ts +6 -0
  10. package/approvalWorkflow.js +16 -10
  11. package/approvalWorkflow.js.map +1 -1
  12. package/getAccount.d.ts +2 -2
  13. package/getAccountGroup.d.ts +101 -0
  14. package/getAccountGroup.js +66 -0
  15. package/getAccountGroup.js.map +1 -0
  16. package/getGroup.d.ts +127 -0
  17. package/getGroup.js +72 -0
  18. package/getGroup.js.map +1 -0
  19. package/getGroupRole.d.ts +101 -0
  20. package/getGroupRole.js +66 -0
  21. package/getGroupRole.js.map +1 -0
  22. package/getNode.d.ts +2 -2
  23. package/getResource.d.ts +2 -2
  24. package/getSecretEngine.d.ts +74 -2
  25. package/getSecretEngine.js +12 -0
  26. package/getSecretEngine.js.map +1 -1
  27. package/getSecretStore.d.ts +2 -2
  28. package/getWorkflow.d.ts +32 -0
  29. package/getWorkflow.js +32 -0
  30. package/getWorkflow.js.map +1 -1
  31. package/getWorkflowRole.d.ts +10 -4
  32. package/getWorkflowRole.js +10 -4
  33. package/getWorkflowRole.js.map +1 -1
  34. package/group.d.ts +110 -0
  35. package/group.js +79 -0
  36. package/group.js.map +1 -0
  37. package/groupRole.d.ts +87 -0
  38. package/groupRole.js +84 -0
  39. package/groupRole.js.map +1 -0
  40. package/identityAlias.js +10 -10
  41. package/identityAlias.js.map +1 -1
  42. package/identitySet.js +3 -3
  43. package/identitySet.js.map +1 -1
  44. package/index.d.ts +18 -0
  45. package/index.js +26 -2
  46. package/index.js.map +1 -1
  47. package/managedSecret.js +14 -14
  48. package/managedSecret.js.map +1 -1
  49. package/managedSecretValue.js +8 -8
  50. package/managedSecretValue.js.map +1 -1
  51. package/node.js +7 -7
  52. package/node.js.map +1 -1
  53. package/package.json +1 -1
  54. package/peeringGroup.js +3 -3
  55. package/peeringGroup.js.map +1 -1
  56. package/peeringGroupNode.js +5 -5
  57. package/peeringGroupNode.js.map +1 -1
  58. package/peeringGroupPeer.js +5 -5
  59. package/peeringGroupPeer.js.map +1 -1
  60. package/peeringGroupResource.js +5 -5
  61. package/peeringGroupResource.js.map +1 -1
  62. package/policy.js +7 -7
  63. package/policy.js.map +1 -1
  64. package/provider.js +4 -4
  65. package/provider.js.map +1 -1
  66. package/proxyClusterKey.js +5 -5
  67. package/proxyClusterKey.js.map +1 -1
  68. package/remoteIdentity.js +10 -10
  69. package/remoteIdentity.js.map +1 -1
  70. package/resource.d.ts +96 -27
  71. package/resource.js +221 -215
  72. package/resource.js.map +1 -1
  73. package/role.d.ts +37 -0
  74. package/role.js +45 -8
  75. package/role.js.map +1 -1
  76. package/secretEngine.d.ts +9 -15
  77. package/secretEngine.js +7 -5
  78. package/secretEngine.js.map +1 -1
  79. package/secretStore.d.ts +3 -6
  80. package/secretStore.js +47 -47
  81. package/secretStore.js.map +1 -1
  82. package/types/input.d.ts +613 -348
  83. package/types/output.d.ts +1299 -688
  84. package/utilities.js +18 -29
  85. package/utilities.js.map +1 -1
  86. package/workflow.d.ts +42 -0
  87. package/workflow.js +61 -19
  88. package/workflow.js.map +1 -1
  89. package/workflowApprover.js +8 -8
  90. package/workflowApprover.js.map +1 -1
  91. package/workflowRole.d.ts +6 -2
  92. package/workflowRole.js +13 -9
  93. package/workflowRole.js.map +1 -1
package/getGroup.d.ts ADDED
@@ -0,0 +1,127 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * A Group is a named set of principals.
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as sdm from "@pierskarsenbarg/sdm";
10
+ *
11
+ * const securityTeam = sdm.getGroup({
12
+ * name: "Security Team",
13
+ * });
14
+ * const administrators = sdm.getGroup({
15
+ * id: "group-1234567890abcdef",
16
+ * });
17
+ * const adminTeams = sdm.getGroup({
18
+ * tags: {
19
+ * admin: "true",
20
+ * },
21
+ * });
22
+ * ```
23
+ */
24
+ export declare function getGroup(args?: GetGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupResult>;
25
+ /**
26
+ * A collection of arguments for invoking getGroup.
27
+ */
28
+ export interface GetGroupArgs {
29
+ /**
30
+ * Description of the Group.
31
+ */
32
+ description?: string;
33
+ /**
34
+ * Unique identifier of the Group.
35
+ */
36
+ id?: string;
37
+ /**
38
+ * Unique human-readable name of the Group.
39
+ */
40
+ name?: string;
41
+ /**
42
+ * Tags is a map of key/value pairs that can be attached to a Group.
43
+ */
44
+ tags?: {
45
+ [key: string]: string;
46
+ };
47
+ }
48
+ /**
49
+ * A collection of values returned by getGroup.
50
+ */
51
+ export interface GetGroupResult {
52
+ /**
53
+ * Description of the Group.
54
+ */
55
+ readonly description?: string;
56
+ /**
57
+ * A list where each element has the following attributes:
58
+ */
59
+ readonly groups: outputs.GetGroupGroup[];
60
+ /**
61
+ * Unique identifier of the Group.
62
+ */
63
+ readonly id?: string;
64
+ /**
65
+ * a list of strings of ids of data sources that match the given arguments.
66
+ */
67
+ readonly ids: string[];
68
+ /**
69
+ * Unique human-readable name of the Group.
70
+ */
71
+ readonly name?: string;
72
+ /**
73
+ * Source is a read only field for what service manages this group, e.g. StrongDM, Okta, Azure.
74
+ */
75
+ readonly source: string;
76
+ /**
77
+ * Tags is a map of key/value pairs that can be attached to a Group.
78
+ */
79
+ readonly tags?: {
80
+ [key: string]: string;
81
+ };
82
+ }
83
+ /**
84
+ * A Group is a named set of principals.
85
+ * ## Example Usage
86
+ *
87
+ * ```typescript
88
+ * import * as pulumi from "@pulumi/pulumi";
89
+ * import * as sdm from "@pierskarsenbarg/sdm";
90
+ *
91
+ * const securityTeam = sdm.getGroup({
92
+ * name: "Security Team",
93
+ * });
94
+ * const administrators = sdm.getGroup({
95
+ * id: "group-1234567890abcdef",
96
+ * });
97
+ * const adminTeams = sdm.getGroup({
98
+ * tags: {
99
+ * admin: "true",
100
+ * },
101
+ * });
102
+ * ```
103
+ */
104
+ export declare function getGroupOutput(args?: GetGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGroupResult>;
105
+ /**
106
+ * A collection of arguments for invoking getGroup.
107
+ */
108
+ export interface GetGroupOutputArgs {
109
+ /**
110
+ * Description of the Group.
111
+ */
112
+ description?: pulumi.Input<string>;
113
+ /**
114
+ * Unique identifier of the Group.
115
+ */
116
+ id?: pulumi.Input<string>;
117
+ /**
118
+ * Unique human-readable name of the Group.
119
+ */
120
+ name?: pulumi.Input<string>;
121
+ /**
122
+ * Tags is a map of key/value pairs that can be attached to a Group.
123
+ */
124
+ tags?: pulumi.Input<{
125
+ [key: string]: pulumi.Input<string>;
126
+ }>;
127
+ }
package/getGroup.js ADDED
@@ -0,0 +1,72 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getGroupOutput = exports.getGroup = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * A Group is a named set of principals.
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as sdm from "@pierskarsenbarg/sdm";
15
+ *
16
+ * const securityTeam = sdm.getGroup({
17
+ * name: "Security Team",
18
+ * });
19
+ * const administrators = sdm.getGroup({
20
+ * id: "group-1234567890abcdef",
21
+ * });
22
+ * const adminTeams = sdm.getGroup({
23
+ * tags: {
24
+ * admin: "true",
25
+ * },
26
+ * });
27
+ * ```
28
+ */
29
+ function getGroup(args, opts) {
30
+ args = args || {};
31
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
32
+ return pulumi.runtime.invoke("sdm:index/getGroup:getGroup", {
33
+ "description": args.description,
34
+ "id": args.id,
35
+ "name": args.name,
36
+ "tags": args.tags,
37
+ }, opts);
38
+ }
39
+ exports.getGroup = getGroup;
40
+ /**
41
+ * A Group is a named set of principals.
42
+ * ## Example Usage
43
+ *
44
+ * ```typescript
45
+ * import * as pulumi from "@pulumi/pulumi";
46
+ * import * as sdm from "@pierskarsenbarg/sdm";
47
+ *
48
+ * const securityTeam = sdm.getGroup({
49
+ * name: "Security Team",
50
+ * });
51
+ * const administrators = sdm.getGroup({
52
+ * id: "group-1234567890abcdef",
53
+ * });
54
+ * const adminTeams = sdm.getGroup({
55
+ * tags: {
56
+ * admin: "true",
57
+ * },
58
+ * });
59
+ * ```
60
+ */
61
+ function getGroupOutput(args, opts) {
62
+ args = args || {};
63
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
64
+ return pulumi.runtime.invokeOutput("sdm:index/getGroup:getGroup", {
65
+ "description": args.description,
66
+ "id": args.id,
67
+ "name": args.name,
68
+ "tags": args.tags,
69
+ }, opts);
70
+ }
71
+ exports.getGroupOutput = getGroupOutput;
72
+ //# sourceMappingURL=getGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getGroup.js","sourceRoot":"","sources":["../getGroup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6BAA6B,EAAE;QACxD,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4BASC;AAyDD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAAiC;IACvF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,6BAA6B,EAAE;QAC9D,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,wCASC"}
@@ -0,0 +1,101 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * A GroupRole assigns a Group to a Role.
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as sdm from "@pierskarsenbarg/sdm";
10
+ *
11
+ * const securityTeamRoles = sdm.getGroupRole({
12
+ * groupId: sdm_group.security_team.id,
13
+ * });
14
+ * const specificRelationship = sdm.getGroupRole({
15
+ * id: "grouprole-1234567890abcdef",
16
+ * });
17
+ * const groupsWithRole = sdm.getGroupRole({
18
+ * roleId: sdm_role.admin_role.id,
19
+ * });
20
+ * ```
21
+ */
22
+ export declare function getGroupRole(args?: GetGroupRoleArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupRoleResult>;
23
+ /**
24
+ * A collection of arguments for invoking getGroupRole.
25
+ */
26
+ export interface GetGroupRoleArgs {
27
+ /**
28
+ * The assigned Group ID.
29
+ */
30
+ groupId?: string;
31
+ /**
32
+ * Unique identifier of the GroupRole.
33
+ */
34
+ id?: string;
35
+ /**
36
+ * The assigned Role ID.
37
+ */
38
+ roleId?: string;
39
+ }
40
+ /**
41
+ * A collection of values returned by getGroupRole.
42
+ */
43
+ export interface GetGroupRoleResult {
44
+ /**
45
+ * The assigned Group ID.
46
+ */
47
+ readonly groupId?: string;
48
+ /**
49
+ * A list where each element has the following attributes:
50
+ */
51
+ readonly groupsRoles: outputs.GetGroupRoleGroupsRole[];
52
+ /**
53
+ * Unique identifier of the GroupRole.
54
+ */
55
+ readonly id?: string;
56
+ /**
57
+ * a list of strings of ids of data sources that match the given arguments.
58
+ */
59
+ readonly ids: string[];
60
+ /**
61
+ * The assigned Role ID.
62
+ */
63
+ readonly roleId?: string;
64
+ }
65
+ /**
66
+ * A GroupRole assigns a Group to a Role.
67
+ * ## Example Usage
68
+ *
69
+ * ```typescript
70
+ * import * as pulumi from "@pulumi/pulumi";
71
+ * import * as sdm from "@pierskarsenbarg/sdm";
72
+ *
73
+ * const securityTeamRoles = sdm.getGroupRole({
74
+ * groupId: sdm_group.security_team.id,
75
+ * });
76
+ * const specificRelationship = sdm.getGroupRole({
77
+ * id: "grouprole-1234567890abcdef",
78
+ * });
79
+ * const groupsWithRole = sdm.getGroupRole({
80
+ * roleId: sdm_role.admin_role.id,
81
+ * });
82
+ * ```
83
+ */
84
+ export declare function getGroupRoleOutput(args?: GetGroupRoleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGroupRoleResult>;
85
+ /**
86
+ * A collection of arguments for invoking getGroupRole.
87
+ */
88
+ export interface GetGroupRoleOutputArgs {
89
+ /**
90
+ * The assigned Group ID.
91
+ */
92
+ groupId?: pulumi.Input<string>;
93
+ /**
94
+ * Unique identifier of the GroupRole.
95
+ */
96
+ id?: pulumi.Input<string>;
97
+ /**
98
+ * The assigned Role ID.
99
+ */
100
+ roleId?: pulumi.Input<string>;
101
+ }
@@ -0,0 +1,66 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getGroupRoleOutput = exports.getGroupRole = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * A GroupRole assigns a Group to a Role.
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as sdm from "@pierskarsenbarg/sdm";
15
+ *
16
+ * const securityTeamRoles = sdm.getGroupRole({
17
+ * groupId: sdm_group.security_team.id,
18
+ * });
19
+ * const specificRelationship = sdm.getGroupRole({
20
+ * id: "grouprole-1234567890abcdef",
21
+ * });
22
+ * const groupsWithRole = sdm.getGroupRole({
23
+ * roleId: sdm_role.admin_role.id,
24
+ * });
25
+ * ```
26
+ */
27
+ function getGroupRole(args, opts) {
28
+ args = args || {};
29
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
30
+ return pulumi.runtime.invoke("sdm:index/getGroupRole:getGroupRole", {
31
+ "groupId": args.groupId,
32
+ "id": args.id,
33
+ "roleId": args.roleId,
34
+ }, opts);
35
+ }
36
+ exports.getGroupRole = getGroupRole;
37
+ /**
38
+ * A GroupRole assigns a Group to a Role.
39
+ * ## Example Usage
40
+ *
41
+ * ```typescript
42
+ * import * as pulumi from "@pulumi/pulumi";
43
+ * import * as sdm from "@pierskarsenbarg/sdm";
44
+ *
45
+ * const securityTeamRoles = sdm.getGroupRole({
46
+ * groupId: sdm_group.security_team.id,
47
+ * });
48
+ * const specificRelationship = sdm.getGroupRole({
49
+ * id: "grouprole-1234567890abcdef",
50
+ * });
51
+ * const groupsWithRole = sdm.getGroupRole({
52
+ * roleId: sdm_role.admin_role.id,
53
+ * });
54
+ * ```
55
+ */
56
+ function getGroupRoleOutput(args, opts) {
57
+ args = args || {};
58
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
59
+ return pulumi.runtime.invokeOutput("sdm:index/getGroupRole:getGroupRole", {
60
+ "groupId": args.groupId,
61
+ "id": args.id,
62
+ "roleId": args.roleId,
63
+ }, opts);
64
+ }
65
+ exports.getGroupRoleOutput = getGroupRoleOutput;
66
+ //# sourceMappingURL=getGroupRole.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getGroupRole.js","sourceRoot":"","sources":["../getGroupRole.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oCAQC;AA6CD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAAiC;IAC/F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,qCAAqC,EAAE;QACtE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gDAQC"}
package/getNode.d.ts CHANGED
@@ -48,7 +48,7 @@ export interface GetNodeArgs {
48
48
  [key: string]: string;
49
49
  };
50
50
  /**
51
- * a filter to select all items of a certain subtype. See the [filter documentation](https://www.strongdm.com/docs/cli/filters/) for more information.
51
+ * a filter to select all items of a certain subtype. See the [filter documentation](https://docs.strongdm.com/references/cli/filters/) for more information.
52
52
  */
53
53
  type?: string;
54
54
  }
@@ -137,7 +137,7 @@ export interface GetNodeOutputArgs {
137
137
  [key: string]: pulumi.Input<string>;
138
138
  }>;
139
139
  /**
140
- * a filter to select all items of a certain subtype. See the [filter documentation](https://www.strongdm.com/docs/cli/filters/) for more information.
140
+ * a filter to select all items of a certain subtype. See the [filter documentation](https://docs.strongdm.com/references/cli/filters/) for more information.
141
141
  */
142
142
  type?: pulumi.Input<string>;
143
143
  }
package/getResource.d.ts CHANGED
@@ -47,7 +47,7 @@ export interface GetResourceArgs {
47
47
  [key: string]: string;
48
48
  };
49
49
  /**
50
- * a filter to select all items of a certain subtype. See the [filter documentation](https://www.strongdm.com/docs/cli/filters/) for more information.
50
+ * a filter to select all items of a certain subtype. See the [filter documentation](https://docs.strongdm.com/references/cli/filters/) for more information.
51
51
  */
52
52
  type?: string;
53
53
  /**
@@ -143,7 +143,7 @@ export interface GetResourceOutputArgs {
143
143
  [key: string]: pulumi.Input<string>;
144
144
  }>;
145
145
  /**
146
- * a filter to select all items of a certain subtype. See the [filter documentation](https://www.strongdm.com/docs/cli/filters/) for more information.
146
+ * a filter to select all items of a certain subtype. See the [filter documentation](https://docs.strongdm.com/references/cli/filters/) for more information.
147
147
  */
148
148
  type?: pulumi.Input<string>;
149
149
  /**
@@ -24,10 +24,18 @@ export interface GetSecretEngineArgs {
24
24
  * Timeout, in seconds, when attempting to connect to the LDAP server before trying the next URL in the configuration.
25
25
  */
26
26
  connectionTimeout?: number;
27
+ /**
28
+ * Database is the database to verify credential against.
29
+ */
30
+ database?: string;
27
31
  /**
28
32
  * If set to true this will prevent password change timestamp validation in Active Directory when validating credentials
29
33
  */
30
34
  doNotValidateTimestamps?: boolean;
35
+ /**
36
+ * Hostname is the hostname or IP address of the Postgres server.
37
+ */
38
+ hostname?: string;
31
39
  /**
32
40
  * Unique identifier of the Secret Engine.
33
41
  */
@@ -44,6 +52,14 @@ export interface GetSecretEngineArgs {
44
52
  * Unique human-readable name of the Secret Engine.
45
53
  */
46
54
  name?: string;
55
+ /**
56
+ * Password is the password to connect to the Postgres server.
57
+ */
58
+ password?: string;
59
+ /**
60
+ * Port is the port number of the Postgres server.
61
+ */
62
+ port?: number;
47
63
  /**
48
64
  * Timeout, in seconds, for the connection when making requests against the server before returning back an error.
49
65
  */
@@ -67,7 +83,11 @@ export interface GetSecretEngineArgs {
67
83
  [key: string]: string;
68
84
  };
69
85
  /**
70
- * a filter to select all items of a certain subtype. See the [filter documentation](https://www.strongdm.com/docs/cli/filters/) for more information.
86
+ * TLS enables TLS/SSL when connecting to the Postgres server.
87
+ */
88
+ tls?: boolean;
89
+ /**
90
+ * a filter to select all items of a certain subtype. See the [filter documentation](https://docs.strongdm.com/references/cli/filters/) for more information.
71
91
  */
72
92
  type?: string;
73
93
  /**
@@ -82,6 +102,10 @@ export interface GetSecretEngineArgs {
82
102
  * Base DN under which to perform user search. Example: ou=Users,dc=example,dc=com
83
103
  */
84
104
  userdn?: string;
105
+ /**
106
+ * Username is the username to connect to the Postgres server.
107
+ */
108
+ username?: string;
85
109
  }
86
110
  /**
87
111
  * A collection of values returned by getSecretEngine.
@@ -103,10 +127,18 @@ export interface GetSecretEngineResult {
103
127
  * Timeout, in seconds, when attempting to connect to the LDAP server before trying the next URL in the configuration.
104
128
  */
105
129
  readonly connectionTimeout?: number;
130
+ /**
131
+ * Database is the database to verify credential against.
132
+ */
133
+ readonly database?: string;
106
134
  /**
107
135
  * If set to true this will prevent password change timestamp validation in Active Directory when validating credentials
108
136
  */
109
137
  readonly doNotValidateTimestamps?: boolean;
138
+ /**
139
+ * Hostname is the hostname or IP address of the Postgres server.
140
+ */
141
+ readonly hostname?: string;
110
142
  /**
111
143
  * Unique identifier of the Secret Engine.
112
144
  */
@@ -127,6 +159,14 @@ export interface GetSecretEngineResult {
127
159
  * Unique human-readable name of the Secret Engine.
128
160
  */
129
161
  readonly name?: string;
162
+ /**
163
+ * Password is the password to connect to the Postgres server.
164
+ */
165
+ readonly password?: string;
166
+ /**
167
+ * Port is the port number of the Postgres server.
168
+ */
169
+ readonly port?: number;
130
170
  /**
131
171
  * Timeout, in seconds, for the connection when making requests against the server before returning back an error.
132
172
  */
@@ -154,6 +194,10 @@ export interface GetSecretEngineResult {
154
194
  readonly tags?: {
155
195
  [key: string]: string;
156
196
  };
197
+ /**
198
+ * TLS enables TLS/SSL when connecting to the Postgres server.
199
+ */
200
+ readonly tls?: boolean;
157
201
  readonly type?: string;
158
202
  /**
159
203
  * The domain (userPrincipalDomain) used to construct a UPN string for authentication.
@@ -168,6 +212,10 @@ export interface GetSecretEngineResult {
168
212
  * * key_value:
169
213
  */
170
214
  readonly userdn?: string;
215
+ /**
216
+ * Username is the username to connect to the Postgres server.
217
+ */
218
+ readonly username?: string;
171
219
  }
172
220
  /**
173
221
  * A SecretEngine is managing secrets in SecretStores.
@@ -193,10 +241,18 @@ export interface GetSecretEngineOutputArgs {
193
241
  * Timeout, in seconds, when attempting to connect to the LDAP server before trying the next URL in the configuration.
194
242
  */
195
243
  connectionTimeout?: pulumi.Input<number>;
244
+ /**
245
+ * Database is the database to verify credential against.
246
+ */
247
+ database?: pulumi.Input<string>;
196
248
  /**
197
249
  * If set to true this will prevent password change timestamp validation in Active Directory when validating credentials
198
250
  */
199
251
  doNotValidateTimestamps?: pulumi.Input<boolean>;
252
+ /**
253
+ * Hostname is the hostname or IP address of the Postgres server.
254
+ */
255
+ hostname?: pulumi.Input<string>;
200
256
  /**
201
257
  * Unique identifier of the Secret Engine.
202
258
  */
@@ -213,6 +269,14 @@ export interface GetSecretEngineOutputArgs {
213
269
  * Unique human-readable name of the Secret Engine.
214
270
  */
215
271
  name?: pulumi.Input<string>;
272
+ /**
273
+ * Password is the password to connect to the Postgres server.
274
+ */
275
+ password?: pulumi.Input<string>;
276
+ /**
277
+ * Port is the port number of the Postgres server.
278
+ */
279
+ port?: pulumi.Input<number>;
216
280
  /**
217
281
  * Timeout, in seconds, for the connection when making requests against the server before returning back an error.
218
282
  */
@@ -236,7 +300,11 @@ export interface GetSecretEngineOutputArgs {
236
300
  [key: string]: pulumi.Input<string>;
237
301
  }>;
238
302
  /**
239
- * a filter to select all items of a certain subtype. See the [filter documentation](https://www.strongdm.com/docs/cli/filters/) for more information.
303
+ * TLS enables TLS/SSL when connecting to the Postgres server.
304
+ */
305
+ tls?: pulumi.Input<boolean>;
306
+ /**
307
+ * a filter to select all items of a certain subtype. See the [filter documentation](https://docs.strongdm.com/references/cli/filters/) for more information.
240
308
  */
241
309
  type?: pulumi.Input<string>;
242
310
  /**
@@ -251,4 +319,8 @@ export interface GetSecretEngineOutputArgs {
251
319
  * Base DN under which to perform user search. Example: ou=Users,dc=example,dc=com
252
320
  */
253
321
  userdn?: pulumi.Input<string>;
322
+ /**
323
+ * Username is the username to connect to the Postgres server.
324
+ */
325
+ username?: pulumi.Input<string>;
254
326
  }
@@ -16,20 +16,26 @@ function getSecretEngine(args, opts) {
16
16
  "bindpass": args.bindpass,
17
17
  "certificate": args.certificate,
18
18
  "connectionTimeout": args.connectionTimeout,
19
+ "database": args.database,
19
20
  "doNotValidateTimestamps": args.doNotValidateTimestamps,
21
+ "hostname": args.hostname,
20
22
  "id": args.id,
21
23
  "insecureTls": args.insecureTls,
22
24
  "keyRotationIntervalDays": args.keyRotationIntervalDays,
23
25
  "name": args.name,
26
+ "password": args.password,
27
+ "port": args.port,
24
28
  "requestTimeout": args.requestTimeout,
25
29
  "secretStoreId": args.secretStoreId,
26
30
  "secretStoreRootPath": args.secretStoreRootPath,
27
31
  "startTls": args.startTls,
28
32
  "tags": args.tags,
33
+ "tls": args.tls,
29
34
  "type": args.type,
30
35
  "upndomain": args.upndomain,
31
36
  "url": args.url,
32
37
  "userdn": args.userdn,
38
+ "username": args.username,
33
39
  }, opts);
34
40
  }
35
41
  exports.getSecretEngine = getSecretEngine;
@@ -44,20 +50,26 @@ function getSecretEngineOutput(args, opts) {
44
50
  "bindpass": args.bindpass,
45
51
  "certificate": args.certificate,
46
52
  "connectionTimeout": args.connectionTimeout,
53
+ "database": args.database,
47
54
  "doNotValidateTimestamps": args.doNotValidateTimestamps,
55
+ "hostname": args.hostname,
48
56
  "id": args.id,
49
57
  "insecureTls": args.insecureTls,
50
58
  "keyRotationIntervalDays": args.keyRotationIntervalDays,
51
59
  "name": args.name,
60
+ "password": args.password,
61
+ "port": args.port,
52
62
  "requestTimeout": args.requestTimeout,
53
63
  "secretStoreId": args.secretStoreId,
54
64
  "secretStoreRootPath": args.secretStoreRootPath,
55
65
  "startTls": args.startTls,
56
66
  "tags": args.tags,
67
+ "tls": args.tls,
57
68
  "type": args.type,
58
69
  "upndomain": args.upndomain,
59
70
  "url": args.url,
60
71
  "userdn": args.userdn,
72
+ "username": args.username,
61
73
  }, opts);
62
74
  }
63
75
  exports.getSecretEngineOutput = getSecretEngineOutput;
@@ -1 +1 @@
1
- {"version":3,"file":"getSecretEngine.js","sourceRoot":"","sources":["../getSecretEngine.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO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AQ;QACzB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,yBAAyB,EAAE,IAAI,CAAC,uBAAuB;QACvD,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AA7BD,sDA6BC"}
@@ -24,7 +24,7 @@ export interface GetSecretStoreArgs {
24
24
  [key: string]: string;
25
25
  };
26
26
  /**
27
- * a filter to select all items of a certain subtype. See the [filter documentation](https://www.strongdm.com/docs/cli/filters/) for more information.
27
+ * a filter to select all items of a certain subtype. See the [filter documentation](https://docs.strongdm.com/references/cli/filters/) for more information.
28
28
  */
29
29
  type?: string;
30
30
  }
@@ -81,7 +81,7 @@ export interface GetSecretStoreOutputArgs {
81
81
  [key: string]: pulumi.Input<string>;
82
82
  }>;
83
83
  /**
84
- * a filter to select all items of a certain subtype. See the [filter documentation](https://www.strongdm.com/docs/cli/filters/) for more information.
84
+ * a filter to select all items of a certain subtype. See the [filter documentation](https://docs.strongdm.com/references/cli/filters/) for more information.
85
85
  */
86
86
  type?: pulumi.Input<string>;
87
87
  }