@pulumi/tls 3.4.0 → 4.1.0-alpha.1637765995
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/README.md +2 -2
- package/certRequest.d.ts +13 -13
- package/certRequest.js +1 -0
- package/certRequest.js.map +1 -1
- package/getCertificate.d.ts +17 -3
- package/getCertificate.js +6 -1
- package/getCertificate.js.map +1 -1
- package/getPublicKey.d.ts +12 -2
- package/getPublicKey.js +6 -1
- package/getPublicKey.js.map +1 -1
- package/index.js +18 -10
- package/index.js.map +1 -1
- package/locallySignedCert.d.ts +22 -22
- package/locallySignedCert.js +1 -0
- package/locallySignedCert.js.map +1 -1
- package/package.json +5 -4
- package/package.json.bak +4 -3
- package/package.json.dev +5 -4
- package/privateKey.d.ts +10 -10
- package/privateKey.js +1 -0
- package/privateKey.js.map +1 -1
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/selfSignedCert.d.ts +26 -26
- package/selfSignedCert.js +1 -0
- package/selfSignedCert.js.map +1 -1
- package/types/index.js +1 -0
- package/types/index.js.map +1 -1
- package/utilities.js +1 -0
- package/utilities.js.map +1 -1
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/@pulumi/tls)
|
|
4
4
|
[](https://pypi.org/project/pulumi-tls)
|
|
5
5
|
[](https://badge.fury.io/nu/pulumi.tls)
|
|
6
|
-
[](https://pkg.go.dev/github.com/pulumi/pulumi-tls/sdk/v4/go)
|
|
7
7
|
[](https://github.com/pulumi/pulumi-tls/blob/master/LICENSE)
|
|
8
8
|
|
|
9
9
|
# TLS Resource Provider
|
|
@@ -35,7 +35,7 @@ To use from Python, install using `pip`:
|
|
|
35
35
|
|
|
36
36
|
To use from Go, use `go get` to grab the latest version of the library
|
|
37
37
|
|
|
38
|
-
$ go get github.com/pulumi/pulumi-tls/sdk/
|
|
38
|
+
$ go get github.com/pulumi/pulumi-tls/sdk/v4
|
|
39
39
|
|
|
40
40
|
### .NET
|
|
41
41
|
|
package/certRequest.d.ts
CHANGED
|
@@ -62,33 +62,33 @@ export interface CertRequestState {
|
|
|
62
62
|
/**
|
|
63
63
|
* The certificate request data in PEM format.
|
|
64
64
|
*/
|
|
65
|
-
|
|
65
|
+
certRequestPem?: pulumi.Input<string>;
|
|
66
66
|
/**
|
|
67
67
|
* List of DNS names for which a certificate is being requested.
|
|
68
68
|
*/
|
|
69
|
-
|
|
69
|
+
dnsNames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
70
70
|
/**
|
|
71
71
|
* List of IP addresses for which a certificate is being requested.
|
|
72
72
|
*/
|
|
73
|
-
|
|
73
|
+
ipAddresses?: pulumi.Input<pulumi.Input<string>[]>;
|
|
74
74
|
/**
|
|
75
75
|
* The name of the algorithm for the key provided
|
|
76
76
|
* in `privateKeyPem`.
|
|
77
77
|
*/
|
|
78
|
-
|
|
78
|
+
keyAlgorithm?: pulumi.Input<string>;
|
|
79
79
|
/**
|
|
80
80
|
* PEM-encoded private key that the certificate will belong to
|
|
81
81
|
*/
|
|
82
|
-
|
|
82
|
+
privateKeyPem?: pulumi.Input<string>;
|
|
83
83
|
/**
|
|
84
84
|
* The subject for which a certificate is being requested. This is
|
|
85
85
|
* a nested configuration block whose structure is described below.
|
|
86
86
|
*/
|
|
87
|
-
|
|
87
|
+
subjects?: pulumi.Input<pulumi.Input<inputs.CertRequestSubject>[]>;
|
|
88
88
|
/**
|
|
89
89
|
* List of URIs for which a certificate is being requested.
|
|
90
90
|
*/
|
|
91
|
-
|
|
91
|
+
uris?: pulumi.Input<pulumi.Input<string>[]>;
|
|
92
92
|
}
|
|
93
93
|
/**
|
|
94
94
|
* The set of arguments for constructing a CertRequest resource.
|
|
@@ -97,27 +97,27 @@ export interface CertRequestArgs {
|
|
|
97
97
|
/**
|
|
98
98
|
* List of DNS names for which a certificate is being requested.
|
|
99
99
|
*/
|
|
100
|
-
|
|
100
|
+
dnsNames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
101
101
|
/**
|
|
102
102
|
* List of IP addresses for which a certificate is being requested.
|
|
103
103
|
*/
|
|
104
|
-
|
|
104
|
+
ipAddresses?: pulumi.Input<pulumi.Input<string>[]>;
|
|
105
105
|
/**
|
|
106
106
|
* The name of the algorithm for the key provided
|
|
107
107
|
* in `privateKeyPem`.
|
|
108
108
|
*/
|
|
109
|
-
|
|
109
|
+
keyAlgorithm: pulumi.Input<string>;
|
|
110
110
|
/**
|
|
111
111
|
* PEM-encoded private key that the certificate will belong to
|
|
112
112
|
*/
|
|
113
|
-
|
|
113
|
+
privateKeyPem: pulumi.Input<string>;
|
|
114
114
|
/**
|
|
115
115
|
* The subject for which a certificate is being requested. This is
|
|
116
116
|
* a nested configuration block whose structure is described below.
|
|
117
117
|
*/
|
|
118
|
-
|
|
118
|
+
subjects: pulumi.Input<pulumi.Input<inputs.CertRequestSubject>[]>;
|
|
119
119
|
/**
|
|
120
120
|
* List of URIs for which a certificate is being requested.
|
|
121
121
|
*/
|
|
122
|
-
|
|
122
|
+
uris?: pulumi.Input<pulumi.Input<string>[]>;
|
|
123
123
|
}
|
package/certRequest.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.CertRequest = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
class CertRequest extends pulumi.CustomResource {
|
package/certRequest.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"certRequest.js","sourceRoot":"","sources":["../certRequest.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"certRequest.js","sourceRoot":"","sources":["../certRequest.ts"],"names":[],"mappings":";AA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,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;IArGD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;;AA1BL,kCAuGC;AAzFG,gBAAgB;AACO,wBAAY,GAAG,mCAAmC,CAAC"}
|
package/getCertificate.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import { output as outputs } from "./types";
|
|
|
14
14
|
* const exampleCluster = new aws.eks.Cluster("example", {});
|
|
15
15
|
* const exampleCertificate = exampleCluster.identities.apply(identities => tls.getCertificate({
|
|
16
16
|
* url: identities[0].oidcs[0].issuer,
|
|
17
|
-
* }
|
|
17
|
+
* }));
|
|
18
18
|
* const exampleOpenIdConnectProvider = new aws.iam.OpenIdConnectProvider("example", {
|
|
19
19
|
* clientIdLists: ["sts.amazonaws.com"],
|
|
20
20
|
* thumbprintLists: [exampleCertificate.certificates[0].sha1Fingerprint],
|
|
@@ -30,11 +30,11 @@ export interface GetCertificateArgs {
|
|
|
30
30
|
/**
|
|
31
31
|
* The URL of the website to get the certificates from.
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
url: string;
|
|
34
34
|
/**
|
|
35
35
|
* Whether to verify the certificate chain while parsing it or not
|
|
36
36
|
*/
|
|
37
|
-
|
|
37
|
+
verifyChain?: boolean;
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
40
40
|
* A collection of values returned by getCertificate.
|
|
@@ -66,3 +66,17 @@ export interface GetCertificateResult {
|
|
|
66
66
|
readonly url: string;
|
|
67
67
|
readonly verifyChain?: boolean;
|
|
68
68
|
}
|
|
69
|
+
export declare function getCertificateOutput(args: GetCertificateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCertificateResult>;
|
|
70
|
+
/**
|
|
71
|
+
* A collection of arguments for invoking getCertificate.
|
|
72
|
+
*/
|
|
73
|
+
export interface GetCertificateOutputArgs {
|
|
74
|
+
/**
|
|
75
|
+
* The URL of the website to get the certificates from.
|
|
76
|
+
*/
|
|
77
|
+
url: pulumi.Input<string>;
|
|
78
|
+
/**
|
|
79
|
+
* Whether to verify the certificate chain while parsing it or not
|
|
80
|
+
*/
|
|
81
|
+
verifyChain?: pulumi.Input<boolean>;
|
|
82
|
+
}
|
package/getCertificate.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getCertificateOutput = exports.getCertificate = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -18,7 +19,7 @@ const utilities = require("./utilities");
|
|
|
18
19
|
* const exampleCluster = new aws.eks.Cluster("example", {});
|
|
19
20
|
* const exampleCertificate = exampleCluster.identities.apply(identities => tls.getCertificate({
|
|
20
21
|
* url: identities[0].oidcs[0].issuer,
|
|
21
|
-
* }
|
|
22
|
+
* }));
|
|
22
23
|
* const exampleOpenIdConnectProvider = new aws.iam.OpenIdConnectProvider("example", {
|
|
23
24
|
* clientIdLists: ["sts.amazonaws.com"],
|
|
24
25
|
* thumbprintLists: [exampleCertificate.certificates[0].sha1Fingerprint],
|
|
@@ -39,4 +40,8 @@ function getCertificate(args, opts) {
|
|
|
39
40
|
}, opts);
|
|
40
41
|
}
|
|
41
42
|
exports.getCertificate = getCertificate;
|
|
43
|
+
function getCertificateOutput(args, opts) {
|
|
44
|
+
return pulumi.output(args).apply(a => getCertificate(a, opts));
|
|
45
|
+
}
|
|
46
|
+
exports.getCertificateOutput = getCertificateOutput;
|
|
42
47
|
//# sourceMappingURL=getCertificate.js.map
|
package/getCertificate.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCertificate.js","sourceRoot":"","sources":["../getCertificate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getCertificate.js","sourceRoot":"","sources":["../getCertificate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yCAAyC,EAAE;QACpE,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,wCAYC;AA+CD,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,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/getPublicKey.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
12
12
|
*
|
|
13
13
|
* const example = pulumi.output(tls.getPublicKey({
|
|
14
14
|
* privateKeyPem: fs.readFileSync("~/.ssh/id_rsa", "utf-8"),
|
|
15
|
-
* }
|
|
15
|
+
* }));
|
|
16
16
|
* ```
|
|
17
17
|
*/
|
|
18
18
|
export declare function getPublicKey(args: GetPublicKeyArgs, opts?: pulumi.InvokeOptions): Promise<GetPublicKeyResult>;
|
|
@@ -23,7 +23,7 @@ export interface GetPublicKeyArgs {
|
|
|
23
23
|
/**
|
|
24
24
|
* The private key to use. Currently-supported key types are "RSA" or "ECDSA".
|
|
25
25
|
*/
|
|
26
|
-
|
|
26
|
+
privateKeyPem: string;
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
29
|
* A collection of values returned by getPublicKey.
|
|
@@ -58,3 +58,13 @@ export interface GetPublicKeyResult {
|
|
|
58
58
|
*/
|
|
59
59
|
readonly publicKeyPem: string;
|
|
60
60
|
}
|
|
61
|
+
export declare function getPublicKeyOutput(args: GetPublicKeyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPublicKeyResult>;
|
|
62
|
+
/**
|
|
63
|
+
* A collection of arguments for invoking getPublicKey.
|
|
64
|
+
*/
|
|
65
|
+
export interface GetPublicKeyOutputArgs {
|
|
66
|
+
/**
|
|
67
|
+
* The private key to use. Currently-supported key types are "RSA" or "ECDSA".
|
|
68
|
+
*/
|
|
69
|
+
privateKeyPem: pulumi.Input<string>;
|
|
70
|
+
}
|
package/getPublicKey.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getPublicKeyOutput = exports.getPublicKey = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -17,7 +18,7 @@ const utilities = require("./utilities");
|
|
|
17
18
|
*
|
|
18
19
|
* const example = pulumi.output(tls.getPublicKey({
|
|
19
20
|
* privateKeyPem: fs.readFileSync("~/.ssh/id_rsa", "utf-8"),
|
|
20
|
-
* }
|
|
21
|
+
* }));
|
|
21
22
|
* ```
|
|
22
23
|
*/
|
|
23
24
|
function getPublicKey(args, opts) {
|
|
@@ -32,4 +33,8 @@ function getPublicKey(args, opts) {
|
|
|
32
33
|
}, opts);
|
|
33
34
|
}
|
|
34
35
|
exports.getPublicKey = getPublicKey;
|
|
36
|
+
function getPublicKeyOutput(args, opts) {
|
|
37
|
+
return pulumi.output(args).apply(a => getPublicKey(a, opts));
|
|
38
|
+
}
|
|
39
|
+
exports.getPublicKeyOutput = getPublicKeyOutput;
|
|
35
40
|
//# sourceMappingURL=getPublicKey.js.map
|
package/getPublicKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPublicKey.js","sourceRoot":"","sources":["../getPublicKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getPublicKey.js","sourceRoot":"","sources":["../getPublicKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,eAAe,EAAE,IAAI,CAAC,aAAa;KACtC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,oCAWC;AA8CD,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,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"}
|
package/index.js
CHANGED
|
@@ -1,20 +1,28 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
function
|
|
5
|
-
|
|
6
|
-
}
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
7
|
+
}) : (function(o, m, k, k2) {
|
|
8
|
+
if (k2 === undefined) k2 = k;
|
|
9
|
+
o[k2] = m[k];
|
|
10
|
+
}));
|
|
11
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
12
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
13
|
+
};
|
|
7
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.types = void 0;
|
|
8
16
|
const pulumi = require("@pulumi/pulumi");
|
|
9
17
|
const utilities = require("./utilities");
|
|
10
18
|
// Export members:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
19
|
+
__exportStar(require("./certRequest"), exports);
|
|
20
|
+
__exportStar(require("./getCertificate"), exports);
|
|
21
|
+
__exportStar(require("./getPublicKey"), exports);
|
|
22
|
+
__exportStar(require("./locallySignedCert"), exports);
|
|
23
|
+
__exportStar(require("./privateKey"), exports);
|
|
24
|
+
__exportStar(require("./provider"), exports);
|
|
25
|
+
__exportStar(require("./selfSignedCert"), exports);
|
|
18
26
|
// Export sub-modules:
|
|
19
27
|
const types = require("./types");
|
|
20
28
|
exports.types = types;
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,kBAAkB;AAClB,gDAA8B;AAC9B,mDAAiC;AACjC,iDAA+B;AAC/B,sDAAoC;AACpC,+CAA6B;AAC7B,6CAA2B;AAC3B,mDAAiC;AAEjC,sBAAsB;AACtB,iCAAiC;AAG7B,sBAAK;AAGT,gCAAgC;AAChC,+CAA4C;AAC5C,2DAAwD;AACxD,6CAA0C;AAC1C,qDAAkD;AAElD,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,mCAAmC;gBACpC,OAAO,IAAI,yBAAW,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACzD,KAAK,+CAA+C;gBAChD,OAAO,IAAI,qCAAiB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC/D,KAAK,iCAAiC;gBAClC,OAAO,IAAI,uBAAU,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACxD,KAAK,yCAAyC;gBAC1C,OAAO,IAAI,+BAAc,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC5D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AAC1E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA;AACzE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,sBAAsB,EAAE,OAAO,CAAC,CAAA;AAE7E,yCAAsC;AAEtC,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,KAAK,EAAE;IAC1C,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,sBAAsB,EAAE;YACjC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
package/locallySignedCert.d.ts
CHANGED
|
@@ -92,62 +92,62 @@ export interface LocallySignedCertState {
|
|
|
92
92
|
* List of keywords each describing a use that is permitted
|
|
93
93
|
* for the issued certificate. The valid keywords are listed below.
|
|
94
94
|
*/
|
|
95
|
-
|
|
95
|
+
allowedUses?: pulumi.Input<pulumi.Input<string>[]>;
|
|
96
96
|
/**
|
|
97
97
|
* PEM-encoded certificate data for the CA.
|
|
98
98
|
*/
|
|
99
|
-
|
|
99
|
+
caCertPem?: pulumi.Input<string>;
|
|
100
100
|
/**
|
|
101
101
|
* The name of the algorithm for the key provided
|
|
102
102
|
* in `caPrivateKeyPem`.
|
|
103
103
|
*/
|
|
104
|
-
|
|
104
|
+
caKeyAlgorithm?: pulumi.Input<string>;
|
|
105
105
|
/**
|
|
106
106
|
* PEM-encoded private key data for the CA.
|
|
107
107
|
* This can be read from a separate file using the ``file`` interpolation
|
|
108
108
|
* function.
|
|
109
109
|
*/
|
|
110
|
-
|
|
110
|
+
caPrivateKeyPem?: pulumi.Input<string>;
|
|
111
111
|
/**
|
|
112
112
|
* The certificate data in PEM format.
|
|
113
113
|
*/
|
|
114
|
-
|
|
114
|
+
certPem?: pulumi.Input<string>;
|
|
115
115
|
/**
|
|
116
116
|
* PEM-encoded request certificate data.
|
|
117
117
|
*/
|
|
118
|
-
|
|
118
|
+
certRequestPem?: pulumi.Input<string>;
|
|
119
119
|
/**
|
|
120
120
|
* Number of hours before the certificates expiry when a new certificate will be generated
|
|
121
121
|
*/
|
|
122
|
-
|
|
122
|
+
earlyRenewalHours?: pulumi.Input<number>;
|
|
123
123
|
/**
|
|
124
124
|
* Boolean controlling whether the CA flag will be set in the
|
|
125
125
|
* generated certificate. Defaults to `false`, meaning that the certificate does not represent
|
|
126
126
|
* a certificate authority.
|
|
127
127
|
*/
|
|
128
|
-
|
|
129
|
-
|
|
128
|
+
isCaCertificate?: pulumi.Input<boolean>;
|
|
129
|
+
readyForRenewal?: pulumi.Input<boolean>;
|
|
130
130
|
/**
|
|
131
131
|
* If `true`, the certificate will include
|
|
132
132
|
* the subject key identifier. Defaults to `false`, in which case the subject
|
|
133
133
|
* key identifier is not set at all.
|
|
134
134
|
*/
|
|
135
|
-
|
|
135
|
+
setSubjectKeyId?: pulumi.Input<boolean>;
|
|
136
136
|
/**
|
|
137
137
|
* The time until which the certificate is invalid, as an
|
|
138
138
|
* [RFC3339](https://tools.ietf.org/html/rfc3339) timestamp.
|
|
139
139
|
*/
|
|
140
|
-
|
|
140
|
+
validityEndTime?: pulumi.Input<string>;
|
|
141
141
|
/**
|
|
142
142
|
* The number of hours after initial issuing that the
|
|
143
143
|
* certificate will become invalid.
|
|
144
144
|
*/
|
|
145
|
-
|
|
145
|
+
validityPeriodHours?: pulumi.Input<number>;
|
|
146
146
|
/**
|
|
147
147
|
* The time after which the certificate is valid, as an
|
|
148
148
|
* [RFC3339](https://tools.ietf.org/html/rfc3339) timestamp.
|
|
149
149
|
*/
|
|
150
|
-
|
|
150
|
+
validityStartTime?: pulumi.Input<string>;
|
|
151
151
|
}
|
|
152
152
|
/**
|
|
153
153
|
* The set of arguments for constructing a LocallySignedCert resource.
|
|
@@ -157,45 +157,45 @@ export interface LocallySignedCertArgs {
|
|
|
157
157
|
* List of keywords each describing a use that is permitted
|
|
158
158
|
* for the issued certificate. The valid keywords are listed below.
|
|
159
159
|
*/
|
|
160
|
-
|
|
160
|
+
allowedUses: pulumi.Input<pulumi.Input<string>[]>;
|
|
161
161
|
/**
|
|
162
162
|
* PEM-encoded certificate data for the CA.
|
|
163
163
|
*/
|
|
164
|
-
|
|
164
|
+
caCertPem: pulumi.Input<string>;
|
|
165
165
|
/**
|
|
166
166
|
* The name of the algorithm for the key provided
|
|
167
167
|
* in `caPrivateKeyPem`.
|
|
168
168
|
*/
|
|
169
|
-
|
|
169
|
+
caKeyAlgorithm: pulumi.Input<string>;
|
|
170
170
|
/**
|
|
171
171
|
* PEM-encoded private key data for the CA.
|
|
172
172
|
* This can be read from a separate file using the ``file`` interpolation
|
|
173
173
|
* function.
|
|
174
174
|
*/
|
|
175
|
-
|
|
175
|
+
caPrivateKeyPem: pulumi.Input<string>;
|
|
176
176
|
/**
|
|
177
177
|
* PEM-encoded request certificate data.
|
|
178
178
|
*/
|
|
179
|
-
|
|
179
|
+
certRequestPem: pulumi.Input<string>;
|
|
180
180
|
/**
|
|
181
181
|
* Number of hours before the certificates expiry when a new certificate will be generated
|
|
182
182
|
*/
|
|
183
|
-
|
|
183
|
+
earlyRenewalHours?: pulumi.Input<number>;
|
|
184
184
|
/**
|
|
185
185
|
* Boolean controlling whether the CA flag will be set in the
|
|
186
186
|
* generated certificate. Defaults to `false`, meaning that the certificate does not represent
|
|
187
187
|
* a certificate authority.
|
|
188
188
|
*/
|
|
189
|
-
|
|
189
|
+
isCaCertificate?: pulumi.Input<boolean>;
|
|
190
190
|
/**
|
|
191
191
|
* If `true`, the certificate will include
|
|
192
192
|
* the subject key identifier. Defaults to `false`, in which case the subject
|
|
193
193
|
* key identifier is not set at all.
|
|
194
194
|
*/
|
|
195
|
-
|
|
195
|
+
setSubjectKeyId?: pulumi.Input<boolean>;
|
|
196
196
|
/**
|
|
197
197
|
* The number of hours after initial issuing that the
|
|
198
198
|
* certificate will become invalid.
|
|
199
199
|
*/
|
|
200
|
-
|
|
200
|
+
validityPeriodHours: pulumi.Input<number>;
|
|
201
201
|
}
|
package/locallySignedCert.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.LocallySignedCert = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
class LocallySignedCert extends pulumi.CustomResource {
|
package/locallySignedCert.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locallySignedCert.js","sourceRoot":"","sources":["../locallySignedCert.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"locallySignedCert.js","sourceRoot":"","sources":["../locallySignedCert.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,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B,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,MAAM,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtC,MAAM,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,MAAM,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,MAAM,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;IAxJD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;;AA1BL,8CA0JC;AA5IG,gBAAgB;AACO,8BAAY,GAAG,+CAA+C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/tls",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "v4.1.0-alpha.1637765995+4d8553cf",
|
|
4
4
|
"description": "A Pulumi package to create TLS resources in Pulumi programs.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,13 +11,14 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource tls
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource tls v4.1.0-alpha.1637765995+4d8553cf"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@pulumi/pulumi": "^
|
|
17
|
+
"@pulumi/pulumi": "^3.0.0-alpha.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@types/node": "^
|
|
20
|
+
"@types/node": "^10.0.0",
|
|
21
|
+
"typescript": "^4.3.5"
|
|
21
22
|
},
|
|
22
23
|
"pulumi": {
|
|
23
24
|
"resource": true
|
package/package.json.bak
CHANGED
|
@@ -13,12 +13,13 @@
|
|
|
13
13
|
"build": "tsc"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@pulumi/pulumi": "^
|
|
16
|
+
"@pulumi/pulumi": "^3.0.0-alpha.0"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@types/node": "^
|
|
19
|
+
"@types/node": "^10.0.0",
|
|
20
|
+
"typescript": "^4.3.5"
|
|
20
21
|
},
|
|
21
22
|
"pulumi": {
|
|
22
23
|
"resource": true
|
|
23
24
|
}
|
|
24
|
-
}
|
|
25
|
+
}
|
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/tls",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "v4.1.0-alpha.1637765995+4d8553cf",
|
|
4
4
|
"description": "A Pulumi package to create TLS resources in Pulumi programs.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -13,12 +13,13 @@
|
|
|
13
13
|
"build": "tsc"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@pulumi/pulumi": "^
|
|
16
|
+
"@pulumi/pulumi": "^3.0.0-alpha.0"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@types/node": "^
|
|
19
|
+
"@types/node": "^10.0.0",
|
|
20
|
+
"typescript": "^4.3.5"
|
|
20
21
|
},
|
|
21
22
|
"pulumi": {
|
|
22
23
|
"resource": true
|
|
23
24
|
}
|
|
24
|
-
}
|
|
25
|
+
}
|
package/privateKey.d.ts
CHANGED
|
@@ -71,24 +71,24 @@ export interface PrivateKeyState {
|
|
|
71
71
|
* The name of the algorithm to use for
|
|
72
72
|
* the key. Currently-supported values are "RSA" and "ECDSA".
|
|
73
73
|
*/
|
|
74
|
-
|
|
74
|
+
algorithm?: pulumi.Input<string>;
|
|
75
75
|
/**
|
|
76
76
|
* When `algorithm` is "ECDSA", the name of the elliptic
|
|
77
77
|
* curve to use. May be any one of "P224", "P256", "P384" or "P521", with "P224" as the
|
|
78
78
|
* default.
|
|
79
79
|
*/
|
|
80
|
-
|
|
80
|
+
ecdsaCurve?: pulumi.Input<string>;
|
|
81
81
|
/**
|
|
82
82
|
* The private key data in PEM format.
|
|
83
83
|
*/
|
|
84
|
-
|
|
84
|
+
privateKeyPem?: pulumi.Input<string>;
|
|
85
85
|
/**
|
|
86
86
|
* The md5 hash of the public key data in
|
|
87
87
|
* OpenSSH MD5 hash format, e.g. `aa:bb:cc:...`. Only available if the
|
|
88
88
|
* selected private key format is compatible, as per the rules for
|
|
89
89
|
* `publicKeyOpenssh`.
|
|
90
90
|
*/
|
|
91
|
-
|
|
91
|
+
publicKeyFingerprintMd5?: pulumi.Input<string>;
|
|
92
92
|
/**
|
|
93
93
|
* The public key data in OpenSSH `authorizedKeys`
|
|
94
94
|
* format, if the selected private key format is compatible. All RSA keys
|
|
@@ -96,16 +96,16 @@ export interface PrivateKeyState {
|
|
|
96
96
|
* are supported. This attribute is empty if an incompatible ECDSA curve
|
|
97
97
|
* is selected.
|
|
98
98
|
*/
|
|
99
|
-
|
|
99
|
+
publicKeyOpenssh?: pulumi.Input<string>;
|
|
100
100
|
/**
|
|
101
101
|
* The public key data in PEM format.
|
|
102
102
|
*/
|
|
103
|
-
|
|
103
|
+
publicKeyPem?: pulumi.Input<string>;
|
|
104
104
|
/**
|
|
105
105
|
* When `algorithm` is "RSA", the size of the generated
|
|
106
106
|
* RSA key in bits. Defaults to 2048.
|
|
107
107
|
*/
|
|
108
|
-
|
|
108
|
+
rsaBits?: pulumi.Input<number>;
|
|
109
109
|
}
|
|
110
110
|
/**
|
|
111
111
|
* The set of arguments for constructing a PrivateKey resource.
|
|
@@ -115,16 +115,16 @@ export interface PrivateKeyArgs {
|
|
|
115
115
|
* The name of the algorithm to use for
|
|
116
116
|
* the key. Currently-supported values are "RSA" and "ECDSA".
|
|
117
117
|
*/
|
|
118
|
-
|
|
118
|
+
algorithm: pulumi.Input<string>;
|
|
119
119
|
/**
|
|
120
120
|
* When `algorithm` is "ECDSA", the name of the elliptic
|
|
121
121
|
* curve to use. May be any one of "P224", "P256", "P384" or "P521", with "P224" as the
|
|
122
122
|
* default.
|
|
123
123
|
*/
|
|
124
|
-
|
|
124
|
+
ecdsaCurve?: pulumi.Input<string>;
|
|
125
125
|
/**
|
|
126
126
|
* When `algorithm` is "RSA", the size of the generated
|
|
127
127
|
* RSA key in bits. Defaults to 2048.
|
|
128
128
|
*/
|
|
129
|
-
|
|
129
|
+
rsaBits?: pulumi.Input<number>;
|
|
130
130
|
}
|
package/privateKey.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.PrivateKey = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
class PrivateKey extends pulumi.CustomResource {
|
package/privateKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"privateKey.js","sourceRoot":"","sources":["../privateKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"privateKey.js","sourceRoot":"","sources":["../privateKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IA4EjD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,MAAM,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,MAAM,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,MAAM,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,MAAM,CAAC,yBAAyB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,MAAM,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,MAAM,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS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2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;;AA1BL,gCA0GC;AA5FG,gBAAgB;AACO,uBAAY,GAAG,iCAAiC,CAAC"}
|
package/provider.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Provider = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
package/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAgBjD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmB,EAAE,IAA6B;QACxE,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB;SACC;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACrD,CAAC;IA5BD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AAbL,4BAiCC;AAhCG,gBAAgB;AACO,qBAAY,GAAG,KAAK,CAAC"}
|
package/selfSignedCert.d.ts
CHANGED
|
@@ -101,70 +101,70 @@ export interface SelfSignedCertState {
|
|
|
101
101
|
* List of keywords each describing a use that is permitted
|
|
102
102
|
* for the issued certificate. The valid keywords are listed below.
|
|
103
103
|
*/
|
|
104
|
-
|
|
104
|
+
allowedUses?: pulumi.Input<pulumi.Input<string>[]>;
|
|
105
105
|
/**
|
|
106
106
|
* The certificate data in PEM format.
|
|
107
107
|
*/
|
|
108
|
-
|
|
108
|
+
certPem?: pulumi.Input<string>;
|
|
109
109
|
/**
|
|
110
110
|
* List of DNS names for which a certificate is being requested.
|
|
111
111
|
*/
|
|
112
|
-
|
|
112
|
+
dnsNames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
113
113
|
/**
|
|
114
114
|
* Number of hours before the certificates expiry when a new certificate will be generated
|
|
115
115
|
*/
|
|
116
|
-
|
|
116
|
+
earlyRenewalHours?: pulumi.Input<number>;
|
|
117
117
|
/**
|
|
118
118
|
* List of IP addresses for which a certificate is being requested.
|
|
119
119
|
*/
|
|
120
|
-
|
|
120
|
+
ipAddresses?: pulumi.Input<pulumi.Input<string>[]>;
|
|
121
121
|
/**
|
|
122
122
|
* Boolean controlling whether the CA flag will be set in the
|
|
123
123
|
* generated certificate. Defaults to `false`, meaning that the certificate does not represent
|
|
124
124
|
* a certificate authority.
|
|
125
125
|
*/
|
|
126
|
-
|
|
126
|
+
isCaCertificate?: pulumi.Input<boolean>;
|
|
127
127
|
/**
|
|
128
128
|
* The name of the algorithm for the key provided
|
|
129
129
|
* in `privateKeyPem`.
|
|
130
130
|
*/
|
|
131
|
-
|
|
131
|
+
keyAlgorithm?: pulumi.Input<string>;
|
|
132
132
|
/**
|
|
133
133
|
* PEM-encoded private key that the certificate will belong to
|
|
134
134
|
*/
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
privateKeyPem?: pulumi.Input<string>;
|
|
136
|
+
readyForRenewal?: pulumi.Input<boolean>;
|
|
137
137
|
/**
|
|
138
138
|
* If `true`, the certificate will include
|
|
139
139
|
* the subject key identifier. Defaults to `false`, in which case the subject
|
|
140
140
|
* key identifier is not set at all.
|
|
141
141
|
*/
|
|
142
|
-
|
|
142
|
+
setSubjectKeyId?: pulumi.Input<boolean>;
|
|
143
143
|
/**
|
|
144
144
|
* The subject for which a certificate is being requested.
|
|
145
145
|
* This is a nested configuration block whose structure matches the
|
|
146
146
|
* corresponding block for `tls.CertRequest`.
|
|
147
147
|
*/
|
|
148
|
-
|
|
148
|
+
subjects?: pulumi.Input<pulumi.Input<inputs.SelfSignedCertSubject>[]>;
|
|
149
149
|
/**
|
|
150
150
|
* List of URIs for which a certificate is being requested.
|
|
151
151
|
*/
|
|
152
|
-
|
|
152
|
+
uris?: pulumi.Input<pulumi.Input<string>[]>;
|
|
153
153
|
/**
|
|
154
154
|
* The time until which the certificate is invalid, as an
|
|
155
155
|
* [RFC3339](https://tools.ietf.org/html/rfc3339) timestamp.
|
|
156
156
|
*/
|
|
157
|
-
|
|
157
|
+
validityEndTime?: pulumi.Input<string>;
|
|
158
158
|
/**
|
|
159
159
|
* The number of hours after initial issuing that the
|
|
160
160
|
* certificate will become invalid.
|
|
161
161
|
*/
|
|
162
|
-
|
|
162
|
+
validityPeriodHours?: pulumi.Input<number>;
|
|
163
163
|
/**
|
|
164
164
|
* The time after which the certificate is valid, as an
|
|
165
165
|
* [RFC3339](https://tools.ietf.org/html/rfc3339) timestamp.
|
|
166
166
|
*/
|
|
167
|
-
|
|
167
|
+
validityStartTime?: pulumi.Input<string>;
|
|
168
168
|
}
|
|
169
169
|
/**
|
|
170
170
|
* The set of arguments for constructing a SelfSignedCert resource.
|
|
@@ -174,53 +174,53 @@ export interface SelfSignedCertArgs {
|
|
|
174
174
|
* List of keywords each describing a use that is permitted
|
|
175
175
|
* for the issued certificate. The valid keywords are listed below.
|
|
176
176
|
*/
|
|
177
|
-
|
|
177
|
+
allowedUses: pulumi.Input<pulumi.Input<string>[]>;
|
|
178
178
|
/**
|
|
179
179
|
* List of DNS names for which a certificate is being requested.
|
|
180
180
|
*/
|
|
181
|
-
|
|
181
|
+
dnsNames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
182
182
|
/**
|
|
183
183
|
* Number of hours before the certificates expiry when a new certificate will be generated
|
|
184
184
|
*/
|
|
185
|
-
|
|
185
|
+
earlyRenewalHours?: pulumi.Input<number>;
|
|
186
186
|
/**
|
|
187
187
|
* List of IP addresses for which a certificate is being requested.
|
|
188
188
|
*/
|
|
189
|
-
|
|
189
|
+
ipAddresses?: pulumi.Input<pulumi.Input<string>[]>;
|
|
190
190
|
/**
|
|
191
191
|
* Boolean controlling whether the CA flag will be set in the
|
|
192
192
|
* generated certificate. Defaults to `false`, meaning that the certificate does not represent
|
|
193
193
|
* a certificate authority.
|
|
194
194
|
*/
|
|
195
|
-
|
|
195
|
+
isCaCertificate?: pulumi.Input<boolean>;
|
|
196
196
|
/**
|
|
197
197
|
* The name of the algorithm for the key provided
|
|
198
198
|
* in `privateKeyPem`.
|
|
199
199
|
*/
|
|
200
|
-
|
|
200
|
+
keyAlgorithm: pulumi.Input<string>;
|
|
201
201
|
/**
|
|
202
202
|
* PEM-encoded private key that the certificate will belong to
|
|
203
203
|
*/
|
|
204
|
-
|
|
204
|
+
privateKeyPem: pulumi.Input<string>;
|
|
205
205
|
/**
|
|
206
206
|
* If `true`, the certificate will include
|
|
207
207
|
* the subject key identifier. Defaults to `false`, in which case the subject
|
|
208
208
|
* key identifier is not set at all.
|
|
209
209
|
*/
|
|
210
|
-
|
|
210
|
+
setSubjectKeyId?: pulumi.Input<boolean>;
|
|
211
211
|
/**
|
|
212
212
|
* The subject for which a certificate is being requested.
|
|
213
213
|
* This is a nested configuration block whose structure matches the
|
|
214
214
|
* corresponding block for `tls.CertRequest`.
|
|
215
215
|
*/
|
|
216
|
-
|
|
216
|
+
subjects: pulumi.Input<pulumi.Input<inputs.SelfSignedCertSubject>[]>;
|
|
217
217
|
/**
|
|
218
218
|
* List of URIs for which a certificate is being requested.
|
|
219
219
|
*/
|
|
220
|
-
|
|
220
|
+
uris?: pulumi.Input<pulumi.Input<string>[]>;
|
|
221
221
|
/**
|
|
222
222
|
* The number of hours after initial issuing that the
|
|
223
223
|
* certificate will become invalid.
|
|
224
224
|
*/
|
|
225
|
-
|
|
225
|
+
validityPeriodHours: pulumi.Input<number>;
|
|
226
226
|
}
|
package/selfSignedCert.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.SelfSignedCert = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
class SelfSignedCert extends pulumi.CustomResource {
|
package/selfSignedCert.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selfSignedCert.js","sourceRoot":"","sources":["../selfSignedCert.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
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,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;;AA1BL,wCAmKC;AArJG,gBAAgB;AACO,2BAAY,GAAG,yCAAyC,CAAC"}
|
package/types/index.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.output = exports.input = void 0;
|
|
5
6
|
// Export sub-modules:
|
|
6
7
|
const input = require("./input");
|
|
7
8
|
exports.input = input;
|
package/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,sBAAsB;AACtB,iCAAiC;AAI7B,sBAAK;AAHT,mCAAmC;AAI/B,wBAAM"}
|
package/utilities.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
|
|
5
6
|
function getEnv(...vars) {
|
|
6
7
|
for (const v of vars) {
|
|
7
8
|
const value = process.env[v];
|
package/utilities.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utilities.js","sourceRoot":"","sources":["../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