@pierskarsenbarg/sdm 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/README.md +56 -0
- package/account.d.ts +73 -0
- package/account.js +60 -0
- package/account.js.map +1 -0
- package/accountAttachment.d.ts +69 -0
- package/accountAttachment.js +66 -0
- package/accountAttachment.js.map +1 -0
- package/accountGrant.d.ts +69 -0
- package/accountGrant.js +66 -0
- package/accountGrant.js.map +1 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +16 -0
- package/config/vars.js +31 -0
- package/config/vars.js.map +1 -0
- package/getAccount.d.ts +147 -0
- package/getAccount.js +50 -0
- package/getAccount.js.map +1 -0
- package/getAccountAttachment.d.ts +76 -0
- package/getAccountAttachment.js +38 -0
- package/getAccountAttachment.js.map +1 -0
- package/getAccountGrant.d.ts +77 -0
- package/getAccountGrant.js +39 -0
- package/getAccountGrant.js.map +1 -0
- package/getNode.d.ts +123 -0
- package/getNode.js +48 -0
- package/getNode.js.map +1 -0
- package/getRemoteIdentity.d.ts +90 -0
- package/getRemoteIdentity.js +41 -0
- package/getRemoteIdentity.js.map +1 -0
- package/getRemoteIdentityGroup.d.ts +64 -0
- package/getRemoteIdentityGroup.js +37 -0
- package/getRemoteIdentityGroup.js.map +1 -0
- package/getResource.d.ts +107 -0
- package/getResource.js +48 -0
- package/getResource.js.map +1 -0
- package/getRole.d.ts +106 -0
- package/getRole.js +45 -0
- package/getRole.js.map +1 -0
- package/getRoleAttachment.d.ts +79 -0
- package/getRoleAttachment.js +41 -0
- package/getRoleAttachment.js.map +1 -0
- package/getRoleGrant.d.ts +79 -0
- package/getRoleGrant.js +41 -0
- package/getRoleGrant.js.map +1 -0
- package/getSecretStore.d.ts +83 -0
- package/getSecretStore.js +30 -0
- package/getSecretStore.js.map +1 -0
- package/getSshCaPubkey.d.ts +53 -0
- package/getSshCaPubkey.js +35 -0
- package/getSshCaPubkey.js.map +1 -0
- package/index.d.ts +26 -0
- package/index.js +111 -0
- package/index.js.map +1 -0
- package/install-pulumi-plugin.js +26 -0
- package/node.d.ts +70 -0
- package/node.js +60 -0
- package/node.js.map +1 -0
- package/package.json +29 -0
- package/package.json.bak +29 -0
- package/provider.d.ts +55 -0
- package/provider.js +48 -0
- package/provider.js.map +1 -0
- package/remoteIdentity.d.ts +81 -0
- package/remoteIdentity.js +71 -0
- package/remoteIdentity.js.map +1 -0
- package/resource.d.ts +259 -0
- package/resource.js +198 -0
- package/resource.js.map +1 -0
- package/role.d.ts +105 -0
- package/role.js +64 -0
- package/role.js.map +1 -0
- package/roleAttachment.d.ts +69 -0
- package/roleAttachment.js +66 -0
- package/roleAttachment.js.map +1 -0
- package/roleGrant.d.ts +69 -0
- package/roleGrant.js +66 -0
- package/roleGrant.js.map +1 -0
- package/secretStore.d.ts +64 -0
- package/secretStore.js +68 -0
- package/secretStore.js.map +1 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +11 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +2690 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +5596 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/utilities.d.ts +4 -0
- package/utilities.js +57 -0
- package/utilities.js.map +1 -0
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* A RoleAttachment assigns a role to a composite role.
|
|
5
|
+
*
|
|
6
|
+
* Deprecated: use multi-role via AccountAttachments instead.
|
|
7
|
+
* This data source is deprecated.
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as sdm from "@pulumi/sdm";
|
|
13
|
+
*
|
|
14
|
+
* const roleAttachmentQuery = pulumi.output(sdm.getRoleAttachment({
|
|
15
|
+
* compositeRoleId: "r-233332245",
|
|
16
|
+
* }));
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare function getRoleAttachment(args?: GetRoleAttachmentArgs, opts?: pulumi.InvokeOptions): Promise<GetRoleAttachmentResult>;
|
|
20
|
+
/**
|
|
21
|
+
* A collection of arguments for invoking getRoleAttachment.
|
|
22
|
+
*/
|
|
23
|
+
export interface GetRoleAttachmentArgs {
|
|
24
|
+
/**
|
|
25
|
+
* The id of the attached role of this RoleAttachment.
|
|
26
|
+
*/
|
|
27
|
+
attachedRoleId?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The id of the composite role of this RoleAttachment.
|
|
30
|
+
*/
|
|
31
|
+
compositeRoleId?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Unique identifier of the RoleAttachment.
|
|
34
|
+
*/
|
|
35
|
+
id?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* A collection of values returned by getRoleAttachment.
|
|
39
|
+
*/
|
|
40
|
+
export interface GetRoleAttachmentResult {
|
|
41
|
+
/**
|
|
42
|
+
* The id of the attached role of this RoleAttachment.
|
|
43
|
+
*/
|
|
44
|
+
readonly attachedRoleId?: string;
|
|
45
|
+
/**
|
|
46
|
+
* The id of the composite role of this RoleAttachment.
|
|
47
|
+
*/
|
|
48
|
+
readonly compositeRoleId?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Unique identifier of the RoleAttachment.
|
|
51
|
+
*/
|
|
52
|
+
readonly id?: string;
|
|
53
|
+
/**
|
|
54
|
+
* a list of strings of ids of data sources that match the given arguments.
|
|
55
|
+
*/
|
|
56
|
+
readonly ids: string[];
|
|
57
|
+
/**
|
|
58
|
+
* A list where each element has the following attributes:
|
|
59
|
+
*/
|
|
60
|
+
readonly roleAttachments: outputs.GetRoleAttachmentRoleAttachment[];
|
|
61
|
+
}
|
|
62
|
+
export declare function getRoleAttachmentOutput(args?: GetRoleAttachmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRoleAttachmentResult>;
|
|
63
|
+
/**
|
|
64
|
+
* A collection of arguments for invoking getRoleAttachment.
|
|
65
|
+
*/
|
|
66
|
+
export interface GetRoleAttachmentOutputArgs {
|
|
67
|
+
/**
|
|
68
|
+
* The id of the attached role of this RoleAttachment.
|
|
69
|
+
*/
|
|
70
|
+
attachedRoleId?: pulumi.Input<string>;
|
|
71
|
+
/**
|
|
72
|
+
* The id of the composite role of this RoleAttachment.
|
|
73
|
+
*/
|
|
74
|
+
compositeRoleId?: pulumi.Input<string>;
|
|
75
|
+
/**
|
|
76
|
+
* Unique identifier of the RoleAttachment.
|
|
77
|
+
*/
|
|
78
|
+
id?: pulumi.Input<string>;
|
|
79
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getRoleAttachmentOutput = exports.getRoleAttachment = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* A RoleAttachment assigns a role to a composite role.
|
|
10
|
+
*
|
|
11
|
+
* Deprecated: use multi-role via AccountAttachments instead.
|
|
12
|
+
* This data source is deprecated.
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as sdm from "@pulumi/sdm";
|
|
18
|
+
*
|
|
19
|
+
* const roleAttachmentQuery = pulumi.output(sdm.getRoleAttachment({
|
|
20
|
+
* compositeRoleId: "r-233332245",
|
|
21
|
+
* }));
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
function getRoleAttachment(args, opts) {
|
|
25
|
+
args = args || {};
|
|
26
|
+
if (!opts) {
|
|
27
|
+
opts = {};
|
|
28
|
+
}
|
|
29
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
30
|
+
return pulumi.runtime.invoke("sdm:index/getRoleAttachment:getRoleAttachment", {
|
|
31
|
+
"attachedRoleId": args.attachedRoleId,
|
|
32
|
+
"compositeRoleId": args.compositeRoleId,
|
|
33
|
+
"id": args.id,
|
|
34
|
+
}, opts);
|
|
35
|
+
}
|
|
36
|
+
exports.getRoleAttachment = getRoleAttachment;
|
|
37
|
+
function getRoleAttachmentOutput(args, opts) {
|
|
38
|
+
return pulumi.output(args).apply(a => getRoleAttachment(a, opts));
|
|
39
|
+
}
|
|
40
|
+
exports.getRoleAttachmentOutput = getRoleAttachmentOutput;
|
|
41
|
+
//# sourceMappingURL=getRoleAttachment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRoleAttachment.js","sourceRoot":"","sources":["../getRoleAttachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+CAA+C,EAAE;QAC1E,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,8CAYC;AA8CD,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAA2B;IACnG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,0DAEC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* A RoleGrant connects a resource to a role, granting members of the role access to that resource.
|
|
5
|
+
*
|
|
6
|
+
* Deprecated: use Role access rules instead.
|
|
7
|
+
* This data source is deprecated.
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as sdm from "@pulumi/sdm";
|
|
13
|
+
*
|
|
14
|
+
* const roleGrantQuery = pulumi.output(sdm.getRoleGrant({
|
|
15
|
+
* roleId: "r-0009994",
|
|
16
|
+
* }));
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare function getRoleGrant(args?: GetRoleGrantArgs, opts?: pulumi.InvokeOptions): Promise<GetRoleGrantResult>;
|
|
20
|
+
/**
|
|
21
|
+
* A collection of arguments for invoking getRoleGrant.
|
|
22
|
+
*/
|
|
23
|
+
export interface GetRoleGrantArgs {
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier of the RoleGrant.
|
|
26
|
+
*/
|
|
27
|
+
id?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The id of the resource of this RoleGrant.
|
|
30
|
+
*/
|
|
31
|
+
resourceId?: string;
|
|
32
|
+
/**
|
|
33
|
+
* The id of the attached role of this RoleGrant.
|
|
34
|
+
*/
|
|
35
|
+
roleId?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* A collection of values returned by getRoleGrant.
|
|
39
|
+
*/
|
|
40
|
+
export interface GetRoleGrantResult {
|
|
41
|
+
/**
|
|
42
|
+
* Unique identifier of the RoleGrant.
|
|
43
|
+
*/
|
|
44
|
+
readonly id?: string;
|
|
45
|
+
/**
|
|
46
|
+
* a list of strings of ids of data sources that match the given arguments.
|
|
47
|
+
*/
|
|
48
|
+
readonly ids: string[];
|
|
49
|
+
/**
|
|
50
|
+
* The id of the resource of this RoleGrant.
|
|
51
|
+
*/
|
|
52
|
+
readonly resourceId?: string;
|
|
53
|
+
/**
|
|
54
|
+
* A list where each element has the following attributes:
|
|
55
|
+
*/
|
|
56
|
+
readonly roleGrants: outputs.GetRoleGrantRoleGrant[];
|
|
57
|
+
/**
|
|
58
|
+
* The id of the attached role of this RoleGrant.
|
|
59
|
+
*/
|
|
60
|
+
readonly roleId?: string;
|
|
61
|
+
}
|
|
62
|
+
export declare function getRoleGrantOutput(args?: GetRoleGrantOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRoleGrantResult>;
|
|
63
|
+
/**
|
|
64
|
+
* A collection of arguments for invoking getRoleGrant.
|
|
65
|
+
*/
|
|
66
|
+
export interface GetRoleGrantOutputArgs {
|
|
67
|
+
/**
|
|
68
|
+
* Unique identifier of the RoleGrant.
|
|
69
|
+
*/
|
|
70
|
+
id?: pulumi.Input<string>;
|
|
71
|
+
/**
|
|
72
|
+
* The id of the resource of this RoleGrant.
|
|
73
|
+
*/
|
|
74
|
+
resourceId?: pulumi.Input<string>;
|
|
75
|
+
/**
|
|
76
|
+
* The id of the attached role of this RoleGrant.
|
|
77
|
+
*/
|
|
78
|
+
roleId?: pulumi.Input<string>;
|
|
79
|
+
}
|
package/getRoleGrant.js
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getRoleGrantOutput = exports.getRoleGrant = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* A RoleGrant connects a resource to a role, granting members of the role access to that resource.
|
|
10
|
+
*
|
|
11
|
+
* Deprecated: use Role access rules instead.
|
|
12
|
+
* This data source is deprecated.
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as sdm from "@pulumi/sdm";
|
|
18
|
+
*
|
|
19
|
+
* const roleGrantQuery = pulumi.output(sdm.getRoleGrant({
|
|
20
|
+
* roleId: "r-0009994",
|
|
21
|
+
* }));
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
function getRoleGrant(args, opts) {
|
|
25
|
+
args = args || {};
|
|
26
|
+
if (!opts) {
|
|
27
|
+
opts = {};
|
|
28
|
+
}
|
|
29
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
30
|
+
return pulumi.runtime.invoke("sdm:index/getRoleGrant:getRoleGrant", {
|
|
31
|
+
"id": args.id,
|
|
32
|
+
"resourceId": args.resourceId,
|
|
33
|
+
"roleId": args.roleId,
|
|
34
|
+
}, opts);
|
|
35
|
+
}
|
|
36
|
+
exports.getRoleGrant = getRoleGrant;
|
|
37
|
+
function getRoleGrantOutput(args, opts) {
|
|
38
|
+
return pulumi.output(args).apply(a => getRoleGrant(a, opts));
|
|
39
|
+
}
|
|
40
|
+
exports.getRoleGrantOutput = getRoleGrantOutput;
|
|
41
|
+
//# sourceMappingURL=getRoleGrant.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRoleGrant.js","sourceRoot":"","sources":["../getRoleGrant.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,oCAYC;AA8CD,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAA2B;IACzF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChE,CAAC;AAFD,gDAEC"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* A SecretStore is a server where resource secrets (passwords, keys) are stored.
|
|
5
|
+
* Coming soon support for HashiCorp Vault and AWS Secret Store. Contact support@strongdm.com to request access to the beta.
|
|
6
|
+
*/
|
|
7
|
+
export declare function getSecretStore(args?: GetSecretStoreArgs, opts?: pulumi.InvokeOptions): Promise<GetSecretStoreResult>;
|
|
8
|
+
/**
|
|
9
|
+
* A collection of arguments for invoking getSecretStore.
|
|
10
|
+
*/
|
|
11
|
+
export interface GetSecretStoreArgs {
|
|
12
|
+
/**
|
|
13
|
+
* Unique identifier of the SecretStore.
|
|
14
|
+
*/
|
|
15
|
+
id?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Unique human-readable name of the SecretStore.
|
|
18
|
+
*/
|
|
19
|
+
name?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Tags is a map of key, value pairs.
|
|
22
|
+
*/
|
|
23
|
+
tags?: {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* a filter to select all items of a certain subtype. See the [filter documentation](https://www.strongdm.com/docs/automation/getting-started/filters for more information.
|
|
28
|
+
*/
|
|
29
|
+
type?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* A collection of values returned by getSecretStore.
|
|
33
|
+
*/
|
|
34
|
+
export interface GetSecretStoreResult {
|
|
35
|
+
/**
|
|
36
|
+
* Unique identifier of the SecretStore.
|
|
37
|
+
*/
|
|
38
|
+
readonly id?: string;
|
|
39
|
+
/**
|
|
40
|
+
* a list of strings of ids of data sources that match the given arguments.
|
|
41
|
+
*/
|
|
42
|
+
readonly ids: string[];
|
|
43
|
+
/**
|
|
44
|
+
* Unique human-readable name of the SecretStore.
|
|
45
|
+
*/
|
|
46
|
+
readonly name?: string;
|
|
47
|
+
/**
|
|
48
|
+
* A single element list containing a map, where each key lists one of the following objects:
|
|
49
|
+
* * aws:
|
|
50
|
+
*/
|
|
51
|
+
readonly secretStores: outputs.GetSecretStoreSecretStore[];
|
|
52
|
+
/**
|
|
53
|
+
* Tags is a map of key, value pairs.
|
|
54
|
+
*/
|
|
55
|
+
readonly tags?: {
|
|
56
|
+
[key: string]: any;
|
|
57
|
+
};
|
|
58
|
+
readonly type?: string;
|
|
59
|
+
}
|
|
60
|
+
export declare function getSecretStoreOutput(args?: GetSecretStoreOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSecretStoreResult>;
|
|
61
|
+
/**
|
|
62
|
+
* A collection of arguments for invoking getSecretStore.
|
|
63
|
+
*/
|
|
64
|
+
export interface GetSecretStoreOutputArgs {
|
|
65
|
+
/**
|
|
66
|
+
* Unique identifier of the SecretStore.
|
|
67
|
+
*/
|
|
68
|
+
id?: pulumi.Input<string>;
|
|
69
|
+
/**
|
|
70
|
+
* Unique human-readable name of the SecretStore.
|
|
71
|
+
*/
|
|
72
|
+
name?: pulumi.Input<string>;
|
|
73
|
+
/**
|
|
74
|
+
* Tags is a map of key, value pairs.
|
|
75
|
+
*/
|
|
76
|
+
tags?: pulumi.Input<{
|
|
77
|
+
[key: string]: any;
|
|
78
|
+
}>;
|
|
79
|
+
/**
|
|
80
|
+
* a filter to select all items of a certain subtype. See the [filter documentation](https://www.strongdm.com/docs/automation/getting-started/filters for more information.
|
|
81
|
+
*/
|
|
82
|
+
type?: pulumi.Input<string>;
|
|
83
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getSecretStoreOutput = exports.getSecretStore = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* A SecretStore is a server where resource secrets (passwords, keys) are stored.
|
|
10
|
+
* Coming soon support for HashiCorp Vault and AWS Secret Store. Contact support@strongdm.com to request access to the beta.
|
|
11
|
+
*/
|
|
12
|
+
function getSecretStore(args, opts) {
|
|
13
|
+
args = args || {};
|
|
14
|
+
if (!opts) {
|
|
15
|
+
opts = {};
|
|
16
|
+
}
|
|
17
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
18
|
+
return pulumi.runtime.invoke("sdm:index/getSecretStore:getSecretStore", {
|
|
19
|
+
"id": args.id,
|
|
20
|
+
"name": args.name,
|
|
21
|
+
"tags": args.tags,
|
|
22
|
+
"type": args.type,
|
|
23
|
+
}, opts);
|
|
24
|
+
}
|
|
25
|
+
exports.getSecretStore = getSecretStore;
|
|
26
|
+
function getSecretStoreOutput(args, opts) {
|
|
27
|
+
return pulumi.output(args).apply(a => getSecretStore(a, opts));
|
|
28
|
+
}
|
|
29
|
+
exports.getSecretStoreOutput = getSecretStoreOutput;
|
|
30
|
+
//# sourceMappingURL=getSecretStore.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSecretStore.js","sourceRoot":"","sources":["../getSecretStore.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;GAGG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yCAAyC,EAAE;QACpE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,wCAaC;AAoDD,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAA2B;IAC7F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,oDAEC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* The SSH CA Pubkey is a public key used for setting up SSH resources.
|
|
4
|
+
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as sdm from "@pulumi/sdm";
|
|
9
|
+
*
|
|
10
|
+
* const sshPubkeyQuery = pulumi.output(sdm.getSshCaPubkey());
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare function getSshCaPubkey(args?: GetSshCaPubkeyArgs, opts?: pulumi.InvokeOptions): Promise<GetSshCaPubkeyResult>;
|
|
14
|
+
/**
|
|
15
|
+
* A collection of arguments for invoking getSshCaPubkey.
|
|
16
|
+
*/
|
|
17
|
+
export interface GetSshCaPubkeyArgs {
|
|
18
|
+
/**
|
|
19
|
+
* a generated id representing this request.
|
|
20
|
+
*/
|
|
21
|
+
id?: string;
|
|
22
|
+
/**
|
|
23
|
+
* the SSH Certificate Authority public key.
|
|
24
|
+
*/
|
|
25
|
+
publicKey?: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* A collection of values returned by getSshCaPubkey.
|
|
29
|
+
*/
|
|
30
|
+
export interface GetSshCaPubkeyResult {
|
|
31
|
+
/**
|
|
32
|
+
* a generated id representing this request.
|
|
33
|
+
*/
|
|
34
|
+
readonly id?: string;
|
|
35
|
+
/**
|
|
36
|
+
* the SSH Certificate Authority public key.
|
|
37
|
+
*/
|
|
38
|
+
readonly publicKey?: string;
|
|
39
|
+
}
|
|
40
|
+
export declare function getSshCaPubkeyOutput(args?: GetSshCaPubkeyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSshCaPubkeyResult>;
|
|
41
|
+
/**
|
|
42
|
+
* A collection of arguments for invoking getSshCaPubkey.
|
|
43
|
+
*/
|
|
44
|
+
export interface GetSshCaPubkeyOutputArgs {
|
|
45
|
+
/**
|
|
46
|
+
* a generated id representing this request.
|
|
47
|
+
*/
|
|
48
|
+
id?: pulumi.Input<string>;
|
|
49
|
+
/**
|
|
50
|
+
* the SSH Certificate Authority public key.
|
|
51
|
+
*/
|
|
52
|
+
publicKey?: pulumi.Input<string>;
|
|
53
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getSshCaPubkeyOutput = exports.getSshCaPubkey = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The SSH CA Pubkey is a public key used for setting up SSH resources.
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as sdm from "@pulumi/sdm";
|
|
15
|
+
*
|
|
16
|
+
* const sshPubkeyQuery = pulumi.output(sdm.getSshCaPubkey());
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
function getSshCaPubkey(args, opts) {
|
|
20
|
+
args = args || {};
|
|
21
|
+
if (!opts) {
|
|
22
|
+
opts = {};
|
|
23
|
+
}
|
|
24
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
25
|
+
return pulumi.runtime.invoke("sdm:index/getSshCaPubkey:getSshCaPubkey", {
|
|
26
|
+
"id": args.id,
|
|
27
|
+
"publicKey": args.publicKey,
|
|
28
|
+
}, opts);
|
|
29
|
+
}
|
|
30
|
+
exports.getSshCaPubkey = getSshCaPubkey;
|
|
31
|
+
function getSshCaPubkeyOutput(args, opts) {
|
|
32
|
+
return pulumi.output(args).apply(a => getSshCaPubkey(a, opts));
|
|
33
|
+
}
|
|
34
|
+
exports.getSshCaPubkeyOutput = getSshCaPubkeyOutput;
|
|
35
|
+
//# sourceMappingURL=getSshCaPubkey.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSshCaPubkey.js","sourceRoot":"","sources":["../getSshCaPubkey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yCAAyC,EAAE;QACpE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,wCAWC;AA8BD,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAA2B;IAC7F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,oDAEC"}
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export * from "./account";
|
|
2
|
+
export * from "./accountAttachment";
|
|
3
|
+
export * from "./accountGrant";
|
|
4
|
+
export * from "./getAccount";
|
|
5
|
+
export * from "./getAccountAttachment";
|
|
6
|
+
export * from "./getAccountGrant";
|
|
7
|
+
export * from "./getNode";
|
|
8
|
+
export * from "./getRemoteIdentity";
|
|
9
|
+
export * from "./getRemoteIdentityGroup";
|
|
10
|
+
export * from "./getResource";
|
|
11
|
+
export * from "./getRole";
|
|
12
|
+
export * from "./getRoleAttachment";
|
|
13
|
+
export * from "./getRoleGrant";
|
|
14
|
+
export * from "./getSecretStore";
|
|
15
|
+
export * from "./getSshCaPubkey";
|
|
16
|
+
export * from "./node";
|
|
17
|
+
export * from "./provider";
|
|
18
|
+
export * from "./remoteIdentity";
|
|
19
|
+
export * from "./resource";
|
|
20
|
+
export * from "./role";
|
|
21
|
+
export * from "./roleAttachment";
|
|
22
|
+
export * from "./roleGrant";
|
|
23
|
+
export * from "./secretStore";
|
|
24
|
+
import * as config from "./config";
|
|
25
|
+
import * as types from "./types";
|
|
26
|
+
export { config, types, };
|
package/index.js
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
|
+
};
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
exports.types = exports.config = void 0;
|
|
20
|
+
const pulumi = require("@pulumi/pulumi");
|
|
21
|
+
const utilities = require("./utilities");
|
|
22
|
+
// Export members:
|
|
23
|
+
__exportStar(require("./account"), exports);
|
|
24
|
+
__exportStar(require("./accountAttachment"), exports);
|
|
25
|
+
__exportStar(require("./accountGrant"), exports);
|
|
26
|
+
__exportStar(require("./getAccount"), exports);
|
|
27
|
+
__exportStar(require("./getAccountAttachment"), exports);
|
|
28
|
+
__exportStar(require("./getAccountGrant"), exports);
|
|
29
|
+
__exportStar(require("./getNode"), exports);
|
|
30
|
+
__exportStar(require("./getRemoteIdentity"), exports);
|
|
31
|
+
__exportStar(require("./getRemoteIdentityGroup"), exports);
|
|
32
|
+
__exportStar(require("./getResource"), exports);
|
|
33
|
+
__exportStar(require("./getRole"), exports);
|
|
34
|
+
__exportStar(require("./getRoleAttachment"), exports);
|
|
35
|
+
__exportStar(require("./getRoleGrant"), exports);
|
|
36
|
+
__exportStar(require("./getSecretStore"), exports);
|
|
37
|
+
__exportStar(require("./getSshCaPubkey"), exports);
|
|
38
|
+
__exportStar(require("./node"), exports);
|
|
39
|
+
__exportStar(require("./provider"), exports);
|
|
40
|
+
__exportStar(require("./remoteIdentity"), exports);
|
|
41
|
+
__exportStar(require("./resource"), exports);
|
|
42
|
+
__exportStar(require("./role"), exports);
|
|
43
|
+
__exportStar(require("./roleAttachment"), exports);
|
|
44
|
+
__exportStar(require("./roleGrant"), exports);
|
|
45
|
+
__exportStar(require("./secretStore"), exports);
|
|
46
|
+
// Export sub-modules:
|
|
47
|
+
const config = require("./config");
|
|
48
|
+
exports.config = config;
|
|
49
|
+
const types = require("./types");
|
|
50
|
+
exports.types = types;
|
|
51
|
+
// Import resources to register:
|
|
52
|
+
const account_1 = require("./account");
|
|
53
|
+
const accountAttachment_1 = require("./accountAttachment");
|
|
54
|
+
const accountGrant_1 = require("./accountGrant");
|
|
55
|
+
const node_1 = require("./node");
|
|
56
|
+
const remoteIdentity_1 = require("./remoteIdentity");
|
|
57
|
+
const resource_1 = require("./resource");
|
|
58
|
+
const role_1 = require("./role");
|
|
59
|
+
const roleAttachment_1 = require("./roleAttachment");
|
|
60
|
+
const roleGrant_1 = require("./roleGrant");
|
|
61
|
+
const secretStore_1 = require("./secretStore");
|
|
62
|
+
const _module = {
|
|
63
|
+
version: utilities.getVersion(),
|
|
64
|
+
construct: (name, type, urn) => {
|
|
65
|
+
switch (type) {
|
|
66
|
+
case "sdm:index/account:Account":
|
|
67
|
+
return new account_1.Account(name, undefined, { urn });
|
|
68
|
+
case "sdm:index/accountAttachment:AccountAttachment":
|
|
69
|
+
return new accountAttachment_1.AccountAttachment(name, undefined, { urn });
|
|
70
|
+
case "sdm:index/accountGrant:AccountGrant":
|
|
71
|
+
return new accountGrant_1.AccountGrant(name, undefined, { urn });
|
|
72
|
+
case "sdm:index/node:Node":
|
|
73
|
+
return new node_1.Node(name, undefined, { urn });
|
|
74
|
+
case "sdm:index/remoteIdentity:RemoteIdentity":
|
|
75
|
+
return new remoteIdentity_1.RemoteIdentity(name, undefined, { urn });
|
|
76
|
+
case "sdm:index/resource:Resource":
|
|
77
|
+
return new resource_1.Resource(name, undefined, { urn });
|
|
78
|
+
case "sdm:index/role:Role":
|
|
79
|
+
return new role_1.Role(name, undefined, { urn });
|
|
80
|
+
case "sdm:index/roleAttachment:RoleAttachment":
|
|
81
|
+
return new roleAttachment_1.RoleAttachment(name, undefined, { urn });
|
|
82
|
+
case "sdm:index/roleGrant:RoleGrant":
|
|
83
|
+
return new roleGrant_1.RoleGrant(name, undefined, { urn });
|
|
84
|
+
case "sdm:index/secretStore:SecretStore":
|
|
85
|
+
return new secretStore_1.SecretStore(name, undefined, { urn });
|
|
86
|
+
default:
|
|
87
|
+
throw new Error(`unknown resource type ${type}`);
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
};
|
|
91
|
+
pulumi.runtime.registerResourceModule("sdm", "index/account", _module);
|
|
92
|
+
pulumi.runtime.registerResourceModule("sdm", "index/accountAttachment", _module);
|
|
93
|
+
pulumi.runtime.registerResourceModule("sdm", "index/accountGrant", _module);
|
|
94
|
+
pulumi.runtime.registerResourceModule("sdm", "index/node", _module);
|
|
95
|
+
pulumi.runtime.registerResourceModule("sdm", "index/remoteIdentity", _module);
|
|
96
|
+
pulumi.runtime.registerResourceModule("sdm", "index/resource", _module);
|
|
97
|
+
pulumi.runtime.registerResourceModule("sdm", "index/role", _module);
|
|
98
|
+
pulumi.runtime.registerResourceModule("sdm", "index/roleAttachment", _module);
|
|
99
|
+
pulumi.runtime.registerResourceModule("sdm", "index/roleGrant", _module);
|
|
100
|
+
pulumi.runtime.registerResourceModule("sdm", "index/secretStore", _module);
|
|
101
|
+
const provider_1 = require("./provider");
|
|
102
|
+
pulumi.runtime.registerResourcePackage("sdm", {
|
|
103
|
+
version: utilities.getVersion(),
|
|
104
|
+
constructProvider: (name, type, urn) => {
|
|
105
|
+
if (type !== "pulumi:providers:sdm") {
|
|
106
|
+
throw new Error(`unknown provider type ${type}`);
|
|
107
|
+
}
|
|
108
|
+
return new provider_1.Provider(name, undefined, { urn });
|
|
109
|
+
},
|
|
110
|
+
});
|
|
111
|
+
//# sourceMappingURL=index.js.map
|
package/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var childProcess = require("child_process");
|
|
3
|
+
|
|
4
|
+
var args = process.argv.slice(2);
|
|
5
|
+
|
|
6
|
+
if (args.indexOf("${VERSION}") !== -1) {
|
|
7
|
+
process.exit(0);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
var res = childProcess.spawnSync("pulumi", ["plugin", "install", "--server", "https://github.com/pierskarsenbarg/pulumi-sdm/releases/download/${VERSION}"].concat(args), {
|
|
11
|
+
stdio: ["ignore", "inherit", "inherit"]
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
if (res.error && res.error.code === "ENOENT") {
|
|
15
|
+
console.error("\nThere was an error installing the resource provider plugin. " +
|
|
16
|
+
"It looks like `pulumi` is not installed on your system. " +
|
|
17
|
+
"Please visit https://pulumi.com/ to install the Pulumi CLI.\n" +
|
|
18
|
+
"You may try manually installing the plugin by running " +
|
|
19
|
+
"`pulumi plugin install " + args.join(" ") + "`");
|
|
20
|
+
} else if (res.error || res.status !== 0) {
|
|
21
|
+
console.error("\nThere was an error installing the resource provider plugin. " +
|
|
22
|
+
"You may try to manually installing the plugin by running " +
|
|
23
|
+
"`pulumi plugin install " + args.join(" ") + "`");
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
process.exit(0);
|