@pulumi/okta 7.0.0 → 7.0.1-alpha.1791909013
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/app/oauth.d.ts +8 -8
- package/app/oauth.js +8 -8
- package/package.json +2 -2
- package/theme.d.ts +1 -1
- package/theme.js +1 -1
package/app/oauth.d.ts
CHANGED
|
@@ -33,11 +33,11 @@ import * as outputs from "../types/output";
|
|
|
33
33
|
* // NOTE: Example to generate a PEM easily as a tool. These secrets will be saved
|
|
34
34
|
* // to the state file and shouldn't be persisted. Instead, save the secrets into
|
|
35
35
|
* // a secrets manager to be reused.
|
|
36
|
-
* // https://registry.
|
|
36
|
+
* // https://registry.pulumi.io/providers/pulumi/tls/latest/docs/resources/private_key
|
|
37
37
|
* //
|
|
38
|
-
* // NOTE: Even though tls is a
|
|
38
|
+
* // NOTE: Even though tls is a Pulumi provider you should still audit its code
|
|
39
39
|
* // to be satisfied with its security.
|
|
40
|
-
* // https://github.com/
|
|
40
|
+
* // https://github.com/pulumi/pulumi-provider-tls
|
|
41
41
|
* //
|
|
42
42
|
* const rsa = new tls.index.PrivateKey("rsa", {
|
|
43
43
|
* algorithm: "RSA",
|
|
@@ -45,24 +45,24 @@ import * as outputs from "../types/output";
|
|
|
45
45
|
* });
|
|
46
46
|
* //
|
|
47
47
|
* // Pretty print a PEM with TF show and jq
|
|
48
|
-
* //
|
|
48
|
+
* // pulumi show -json | jq -r '.values.root_module.resources[] | select(.address == "tls_private_key.rsa").values.private_key_pem'
|
|
49
49
|
* //
|
|
50
50
|
* // Delete the secrets explicitly or just remove them from the config and run
|
|
51
51
|
* // apply again.
|
|
52
52
|
* // pulumi up -destroy -auto-approve -target=tls_private_key.rsa
|
|
53
53
|
* // NOTE: Even though the iwarapter/jwks is listed in the registry you should
|
|
54
54
|
* // still audit its code to be satisfied with its security.
|
|
55
|
-
* // https://registry.
|
|
56
|
-
* // https://github.com/iwarapter/
|
|
55
|
+
* // https://registry.pulumi.io/providers/iwarapter/jwks/latest/docs/data-sources/from_key
|
|
56
|
+
* // https://github.com/iwarapter/pulumi-provider-jwks
|
|
57
57
|
* //
|
|
58
|
-
* const jwksFromKey = jwks.
|
|
58
|
+
* const jwksFromKey = jwks.fromKey({
|
|
59
59
|
* key: rsa.privateKeyPem,
|
|
60
60
|
* kid: "my-kid",
|
|
61
61
|
* });
|
|
62
62
|
* const jwks2 = std.jsondecode({
|
|
63
63
|
* input: jwksFromKey.jwks,
|
|
64
64
|
* }).result;
|
|
65
|
-
* // https://registry.
|
|
65
|
+
* // https://registry.pulumi.io/providers/okta/okta/latest/docs/resources/app_oauth
|
|
66
66
|
* const app = new okta.app.OAuth("app", {
|
|
67
67
|
* label: "My OAuth App",
|
|
68
68
|
* type: "service",
|
package/app/oauth.js
CHANGED
|
@@ -60,11 +60,11 @@ const utilities = __importStar(require("../utilities"));
|
|
|
60
60
|
* // NOTE: Example to generate a PEM easily as a tool. These secrets will be saved
|
|
61
61
|
* // to the state file and shouldn't be persisted. Instead, save the secrets into
|
|
62
62
|
* // a secrets manager to be reused.
|
|
63
|
-
* // https://registry.
|
|
63
|
+
* // https://registry.pulumi.io/providers/pulumi/tls/latest/docs/resources/private_key
|
|
64
64
|
* //
|
|
65
|
-
* // NOTE: Even though tls is a
|
|
65
|
+
* // NOTE: Even though tls is a Pulumi provider you should still audit its code
|
|
66
66
|
* // to be satisfied with its security.
|
|
67
|
-
* // https://github.com/
|
|
67
|
+
* // https://github.com/pulumi/pulumi-provider-tls
|
|
68
68
|
* //
|
|
69
69
|
* const rsa = new tls.index.PrivateKey("rsa", {
|
|
70
70
|
* algorithm: "RSA",
|
|
@@ -72,24 +72,24 @@ const utilities = __importStar(require("../utilities"));
|
|
|
72
72
|
* });
|
|
73
73
|
* //
|
|
74
74
|
* // Pretty print a PEM with TF show and jq
|
|
75
|
-
* //
|
|
75
|
+
* // pulumi show -json | jq -r '.values.root_module.resources[] | select(.address == "tls_private_key.rsa").values.private_key_pem'
|
|
76
76
|
* //
|
|
77
77
|
* // Delete the secrets explicitly or just remove them from the config and run
|
|
78
78
|
* // apply again.
|
|
79
79
|
* // pulumi up -destroy -auto-approve -target=tls_private_key.rsa
|
|
80
80
|
* // NOTE: Even though the iwarapter/jwks is listed in the registry you should
|
|
81
81
|
* // still audit its code to be satisfied with its security.
|
|
82
|
-
* // https://registry.
|
|
83
|
-
* // https://github.com/iwarapter/
|
|
82
|
+
* // https://registry.pulumi.io/providers/iwarapter/jwks/latest/docs/data-sources/from_key
|
|
83
|
+
* // https://github.com/iwarapter/pulumi-provider-jwks
|
|
84
84
|
* //
|
|
85
|
-
* const jwksFromKey = jwks.
|
|
85
|
+
* const jwksFromKey = jwks.fromKey({
|
|
86
86
|
* key: rsa.privateKeyPem,
|
|
87
87
|
* kid: "my-kid",
|
|
88
88
|
* });
|
|
89
89
|
* const jwks2 = std.jsondecode({
|
|
90
90
|
* input: jwksFromKey.jwks,
|
|
91
91
|
* }).result;
|
|
92
|
-
* // https://registry.
|
|
92
|
+
* // https://registry.pulumi.io/providers/okta/okta/latest/docs/resources/app_oauth
|
|
93
93
|
* const app = new okta.app.OAuth("app", {
|
|
94
94
|
* label: "My OAuth App",
|
|
95
95
|
* type: "service",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/okta",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.1-alpha.1791909013",
|
|
4
4
|
"description": "A Pulumi package for creating and managing okta resources.. Based on terraform-provider-okta: version v7.0.0",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "okta",
|
|
26
|
-
"version": "7.0.
|
|
26
|
+
"version": "7.0.1-alpha.1791909013"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/theme.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
16
16
|
*
|
|
17
17
|
* const test = okta.getBrands({});
|
|
18
18
|
* // resource has been imported into current state:
|
|
19
|
-
* // $
|
|
19
|
+
* // $ pulumi import okta_theme.example <theme id>
|
|
20
20
|
* const example = new okta.Theme("example", {
|
|
21
21
|
* brandId: test.then(test => test.brands?.[0]?.id),
|
|
22
22
|
* logo: "path/to/logo.png",
|
package/theme.js
CHANGED
|
@@ -45,7 +45,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
45
45
|
*
|
|
46
46
|
* const test = okta.getBrands({});
|
|
47
47
|
* // resource has been imported into current state:
|
|
48
|
-
* // $
|
|
48
|
+
* // $ pulumi import okta_theme.example <theme id>
|
|
49
49
|
* const example = new okta.Theme("example", {
|
|
50
50
|
* brandId: test.then(test => test.brands?.[0]?.id),
|
|
51
51
|
* logo: "path/to/logo.png",
|