@pulumi/okta 4.15.0-alpha.1741155310 → 4.15.0-alpha.1741317747
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/appSignonPolicy.d.ts +5 -5
- package/config/vars.d.ts +2 -2
- package/inline/hook.d.ts +52 -2
- package/inline/hook.js +40 -3
- package/inline/hook.js.map +1 -1
- package/package.json +3 -3
- package/provider.d.ts +2 -2
package/appSignonPolicy.d.ts
CHANGED
|
@@ -25,11 +25,11 @@ export declare class AppSignonPolicy extends pulumi.CustomResource {
|
|
|
25
25
|
*/
|
|
26
26
|
static isInstance(obj: any): obj is AppSignonPolicy;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* If false, the default rule of the policy is set access to `DENY`. Otherwise default behavior of the default rule is to leave access at `ALLOW`. **WARNING** setting this attribute to false changes policy rule's default behavior. Use at your own risk. This is only applied during creation and does not affect import or update.
|
|
29
29
|
*/
|
|
30
30
|
readonly catchAll: pulumi.Output<boolean>;
|
|
31
31
|
/**
|
|
32
|
-
* Default
|
|
32
|
+
* Default rule (system=true) id of the policy
|
|
33
33
|
*/
|
|
34
34
|
readonly defaultRuleId: pulumi.Output<string>;
|
|
35
35
|
/**
|
|
@@ -54,11 +54,11 @@ export declare class AppSignonPolicy extends pulumi.CustomResource {
|
|
|
54
54
|
*/
|
|
55
55
|
export interface AppSignonPolicyState {
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* If false, the default rule of the policy is set access to `DENY`. Otherwise default behavior of the default rule is to leave access at `ALLOW`. **WARNING** setting this attribute to false changes policy rule's default behavior. Use at your own risk. This is only applied during creation and does not affect import or update.
|
|
58
58
|
*/
|
|
59
59
|
catchAll?: pulumi.Input<boolean>;
|
|
60
60
|
/**
|
|
61
|
-
* Default
|
|
61
|
+
* Default rule (system=true) id of the policy
|
|
62
62
|
*/
|
|
63
63
|
defaultRuleId?: pulumi.Input<string>;
|
|
64
64
|
/**
|
|
@@ -75,7 +75,7 @@ export interface AppSignonPolicyState {
|
|
|
75
75
|
*/
|
|
76
76
|
export interface AppSignonPolicyArgs {
|
|
77
77
|
/**
|
|
78
|
-
*
|
|
78
|
+
* If false, the default rule of the policy is set access to `DENY`. Otherwise default behavior of the default rule is to leave access at `ALLOW`. **WARNING** setting this attribute to false changes policy rule's default behavior. Use at your own risk. This is only applied during creation and does not affect import or update.
|
|
79
79
|
*/
|
|
80
80
|
catchAll?: pulumi.Input<boolean>;
|
|
81
81
|
/**
|
package/config/vars.d.ts
CHANGED
|
@@ -27,8 +27,8 @@ export declare const httpProxy: string | undefined;
|
|
|
27
27
|
*/
|
|
28
28
|
export declare const logLevel: number | undefined;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
*
|
|
30
|
+
* Sets what percentage of capacity the provider can use of the total rate limit capacity while making calls to the Okta
|
|
31
|
+
* management API endpoints. Okta API operates in one minute buckets. See Okta Management API Rate Limits:
|
|
32
32
|
* https://developer.okta.com/docs/reference/rl-global-mgmt/
|
|
33
33
|
*/
|
|
34
34
|
export declare const maxApiCapacity: number | undefined;
|
package/inline/hook.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import * as outputs from "../types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* ### HTTP Auth
|
|
9
10
|
* ```typescript
|
|
10
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
12
|
* import * as okta from "@pulumi/okta";
|
|
@@ -27,6 +28,43 @@ import * as outputs from "../types/output";
|
|
|
27
28
|
* });
|
|
28
29
|
* ```
|
|
29
30
|
*
|
|
31
|
+
* ### OAuth2.0 Auth
|
|
32
|
+
* ```typescript
|
|
33
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
34
|
+
* import * as okta from "@pulumi/okta";
|
|
35
|
+
*
|
|
36
|
+
* const example = new okta.inline.Hook("example", {
|
|
37
|
+
* name: "example",
|
|
38
|
+
* version: "1.0.0",
|
|
39
|
+
* type: "com.okta.saml.tokens.transform",
|
|
40
|
+
* status: "ACTIVE",
|
|
41
|
+
* channelJson: `{
|
|
42
|
+
* "type": "OAUTH",
|
|
43
|
+
* "version": "1.0.0",
|
|
44
|
+
* "config": {
|
|
45
|
+
* "headers": [
|
|
46
|
+
* {
|
|
47
|
+
* "key": "Field 1",
|
|
48
|
+
* "value": "Value 1"
|
|
49
|
+
* },
|
|
50
|
+
* {
|
|
51
|
+
* "key": "Field 2",
|
|
52
|
+
* "value": "Value 2"
|
|
53
|
+
* }
|
|
54
|
+
* ],
|
|
55
|
+
* "method": "POST",
|
|
56
|
+
* "authType": "client_secret_post",
|
|
57
|
+
* "uri": "https://example.com/service",
|
|
58
|
+
* "clientId": "abc123",
|
|
59
|
+
* "clientSecret": "fake-secret",
|
|
60
|
+
* "tokenUrl": "https://example.com/token",
|
|
61
|
+
* "scope": "api"
|
|
62
|
+
* }
|
|
63
|
+
* }
|
|
64
|
+
* `,
|
|
65
|
+
* });
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
30
68
|
* ## Import
|
|
31
69
|
*
|
|
32
70
|
* ```sh
|
|
@@ -54,7 +92,11 @@ export declare class Hook extends pulumi.CustomResource {
|
|
|
54
92
|
} | undefined>;
|
|
55
93
|
readonly channel: pulumi.Output<{
|
|
56
94
|
[key: string]: string;
|
|
57
|
-
}>;
|
|
95
|
+
} | undefined>;
|
|
96
|
+
/**
|
|
97
|
+
* true channel object for the inline hook API contract
|
|
98
|
+
*/
|
|
99
|
+
readonly channelJson: pulumi.Output<string | undefined>;
|
|
58
100
|
/**
|
|
59
101
|
* Map of headers to send along in inline hook request.
|
|
60
102
|
*/
|
|
@@ -94,6 +136,10 @@ export interface HookState {
|
|
|
94
136
|
channel?: pulumi.Input<{
|
|
95
137
|
[key: string]: pulumi.Input<string>;
|
|
96
138
|
}>;
|
|
139
|
+
/**
|
|
140
|
+
* true channel object for the inline hook API contract
|
|
141
|
+
*/
|
|
142
|
+
channelJson?: pulumi.Input<string>;
|
|
97
143
|
/**
|
|
98
144
|
* Map of headers to send along in inline hook request.
|
|
99
145
|
*/
|
|
@@ -122,9 +168,13 @@ export interface HookArgs {
|
|
|
122
168
|
auth?: pulumi.Input<{
|
|
123
169
|
[key: string]: pulumi.Input<string>;
|
|
124
170
|
}>;
|
|
125
|
-
channel
|
|
171
|
+
channel?: pulumi.Input<{
|
|
126
172
|
[key: string]: pulumi.Input<string>;
|
|
127
173
|
}>;
|
|
174
|
+
/**
|
|
175
|
+
* true channel object for the inline hook API contract
|
|
176
|
+
*/
|
|
177
|
+
channelJson?: pulumi.Input<string>;
|
|
128
178
|
/**
|
|
129
179
|
* Map of headers to send along in inline hook request.
|
|
130
180
|
*/
|
package/inline/hook.js
CHANGED
|
@@ -10,6 +10,7 @@ const utilities = require("../utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ### HTTP Auth
|
|
13
14
|
* ```typescript
|
|
14
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
16
|
* import * as okta from "@pulumi/okta";
|
|
@@ -31,6 +32,43 @@ const utilities = require("../utilities");
|
|
|
31
32
|
* });
|
|
32
33
|
* ```
|
|
33
34
|
*
|
|
35
|
+
* ### OAuth2.0 Auth
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as okta from "@pulumi/okta";
|
|
39
|
+
*
|
|
40
|
+
* const example = new okta.inline.Hook("example", {
|
|
41
|
+
* name: "example",
|
|
42
|
+
* version: "1.0.0",
|
|
43
|
+
* type: "com.okta.saml.tokens.transform",
|
|
44
|
+
* status: "ACTIVE",
|
|
45
|
+
* channelJson: `{
|
|
46
|
+
* "type": "OAUTH",
|
|
47
|
+
* "version": "1.0.0",
|
|
48
|
+
* "config": {
|
|
49
|
+
* "headers": [
|
|
50
|
+
* {
|
|
51
|
+
* "key": "Field 1",
|
|
52
|
+
* "value": "Value 1"
|
|
53
|
+
* },
|
|
54
|
+
* {
|
|
55
|
+
* "key": "Field 2",
|
|
56
|
+
* "value": "Value 2"
|
|
57
|
+
* }
|
|
58
|
+
* ],
|
|
59
|
+
* "method": "POST",
|
|
60
|
+
* "authType": "client_secret_post",
|
|
61
|
+
* "uri": "https://example.com/service",
|
|
62
|
+
* "clientId": "abc123",
|
|
63
|
+
* "clientSecret": "fake-secret",
|
|
64
|
+
* "tokenUrl": "https://example.com/token",
|
|
65
|
+
* "scope": "api"
|
|
66
|
+
* }
|
|
67
|
+
* }
|
|
68
|
+
* `,
|
|
69
|
+
* });
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
34
72
|
* ## Import
|
|
35
73
|
*
|
|
36
74
|
* ```sh
|
|
@@ -67,6 +105,7 @@ class Hook extends pulumi.CustomResource {
|
|
|
67
105
|
const state = argsOrState;
|
|
68
106
|
resourceInputs["auth"] = state ? state.auth : undefined;
|
|
69
107
|
resourceInputs["channel"] = state ? state.channel : undefined;
|
|
108
|
+
resourceInputs["channelJson"] = state ? state.channelJson : undefined;
|
|
70
109
|
resourceInputs["headers"] = state ? state.headers : undefined;
|
|
71
110
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
72
111
|
resourceInputs["status"] = state ? state.status : undefined;
|
|
@@ -75,9 +114,6 @@ class Hook extends pulumi.CustomResource {
|
|
|
75
114
|
}
|
|
76
115
|
else {
|
|
77
116
|
const args = argsOrState;
|
|
78
|
-
if ((!args || args.channel === undefined) && !opts.urn) {
|
|
79
|
-
throw new Error("Missing required property 'channel'");
|
|
80
|
-
}
|
|
81
117
|
if ((!args || args.type === undefined) && !opts.urn) {
|
|
82
118
|
throw new Error("Missing required property 'type'");
|
|
83
119
|
}
|
|
@@ -86,6 +122,7 @@ class Hook extends pulumi.CustomResource {
|
|
|
86
122
|
}
|
|
87
123
|
resourceInputs["auth"] = args ? args.auth : undefined;
|
|
88
124
|
resourceInputs["channel"] = args ? args.channel : undefined;
|
|
125
|
+
resourceInputs["channelJson"] = args ? args.channelJson : undefined;
|
|
89
126
|
resourceInputs["headers"] = args ? args.headers : undefined;
|
|
90
127
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
91
128
|
resourceInputs["status"] = args ? args.status : undefined;
|
package/inline/hook.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hook.js","sourceRoot":"","sources":["../../inline/hook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"hook.js","sourceRoot":"","sources":["../../inline/hook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqEG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3D,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,IAAI,CAAC,YAAY,CAAC;IACrD,CAAC;IAqCD,YAAY,IAAY,EAAE,WAAkC,EAAE,IAAmC;QAC7F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoC,CA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i/okta",
|
|
3
|
-
"version": "4.15.0-alpha.
|
|
4
|
-
"description": "A Pulumi package for creating and managing okta resources.. Based on terraform-provider-okta: version v4.
|
|
3
|
+
"version": "4.15.0-alpha.1741317747",
|
|
4
|
+
"description": "A Pulumi package for creating and managing okta resources.. Based on terraform-provider-okta: version v4.15.0",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
7
7
|
"okta"
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "okta",
|
|
26
|
-
"version": "4.15.0-alpha.
|
|
26
|
+
"version": "4.15.0-alpha.1741317747"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/provider.d.ts
CHANGED
|
@@ -85,8 +85,8 @@ export interface ProviderArgs {
|
|
|
85
85
|
*/
|
|
86
86
|
logLevel?: pulumi.Input<number>;
|
|
87
87
|
/**
|
|
88
|
-
*
|
|
89
|
-
*
|
|
88
|
+
* Sets what percentage of capacity the provider can use of the total rate limit capacity while making calls to the Okta
|
|
89
|
+
* management API endpoints. Okta API operates in one minute buckets. See Okta Management API Rate Limits:
|
|
90
90
|
* https://developer.okta.com/docs/reference/rl-global-mgmt/
|
|
91
91
|
*/
|
|
92
92
|
maxApiCapacity?: pulumi.Input<number>;
|