@pulumi/okta 6.2.0-alpha.1765395366 → 6.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apiServiceIntegration.d.ts +110 -0
- package/apiServiceIntegration.js +96 -0
- package/apiServiceIntegration.js.map +1 -0
- package/apiToken.d.ts +141 -0
- package/apiToken.js +93 -0
- package/apiToken.js.map +1 -0
- package/app/connection.d.ts +164 -0
- package/app/connection.js +136 -0
- package/app/connection.js.map +1 -0
- package/app/features.d.ts +121 -0
- package/app/features.js +77 -0
- package/app/features.js.map +1 -0
- package/app/getConnection.d.ts +106 -0
- package/app/getConnection.js +62 -0
- package/app/getConnection.js.map +1 -0
- package/app/getFeatures.d.ts +156 -0
- package/app/getFeatures.js +116 -0
- package/app/getFeatures.js.map +1 -0
- package/app/getToken.d.ts +98 -0
- package/app/getToken.js +62 -0
- package/app/getToken.js.map +1 -0
- package/app/index.d.ts +18 -0
- package/app/index.js +25 -1
- package/app/index.js.map +1 -1
- package/app/oauth.d.ts +51 -0
- package/app/oauth.js +6 -0
- package/app/oauth.js.map +1 -1
- package/app/token.d.ts +108 -0
- package/app/token.js +93 -0
- package/app/token.js.map +1 -0
- package/appSignonPolicyRule.d.ts +1 -7
- package/appSignonPolicyRule.js +1 -7
- package/appSignonPolicyRule.js.map +1 -1
- package/auth/getServerClients.d.ts +114 -0
- package/auth/getServerClients.js +58 -0
- package/auth/getServerClients.js.map +1 -0
- package/auth/getServerKeys.d.ts +113 -0
- package/auth/getServerKeys.js +70 -0
- package/auth/getServerKeys.js.map +1 -0
- package/auth/index.d.ts +6 -0
- package/auth/index.js +7 -1
- package/auth/index.js.map +1 -1
- package/device.d.ts +80 -0
- package/device.js +69 -0
- package/device.js.map +1 -0
- package/getApiServiceIntegration.d.ts +85 -0
- package/getApiServiceIntegration.js +78 -0
- package/getApiServiceIntegration.js.map +1 -0
- package/getApiToken.d.ts +88 -0
- package/getApiToken.js +52 -0
- package/getApiToken.js.map +1 -0
- package/getCatalogEntryUserAccessRequestFields.d.ts +42 -0
- package/getCatalogEntryUserAccessRequestFields.js +24 -0
- package/getCatalogEntryUserAccessRequestFields.js.map +1 -1
- package/getDevice.d.ts +90 -0
- package/getDevice.js +54 -0
- package/getDevice.js.map +1 -0
- package/getHookKey.d.ts +77 -0
- package/getHookKey.js +52 -0
- package/getHookKey.js.map +1 -0
- package/getPushProvider.d.ts +118 -0
- package/getPushProvider.js +86 -0
- package/getPushProvider.js.map +1 -0
- package/getSecurityEventsProvider.d.ts +79 -0
- package/getSecurityEventsProvider.js +52 -0
- package/getSecurityEventsProvider.js.map +1 -0
- package/group/owner.d.ts +24 -0
- package/group/owner.js +24 -0
- package/group/owner.js.map +1 -1
- package/hookKey.d.ts +102 -0
- package/hookKey.js +79 -0
- package/hookKey.js.map +1 -0
- package/index.d.ts +36 -0
- package/index.js +52 -4
- package/index.js.map +1 -1
- package/package.json +3 -3
- package/pushProvider.d.ts +150 -0
- package/pushProvider.js +126 -0
- package/pushProvider.js.map +1 -0
- package/securityEventsProvider.d.ts +138 -0
- package/securityEventsProvider.js +107 -0
- package/securityEventsProvider.js.map +1 -0
- package/types/input.d.ts +906 -0
- package/types/output.d.ts +604 -0
package/getDevice.d.ts
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Get information about a device in Okta.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as okta from "@pulumi/okta";
|
|
12
|
+
*
|
|
13
|
+
* const example = okta.getDevice({
|
|
14
|
+
* id: "<device_id>",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function getDevice(args: GetDeviceArgs, opts?: pulumi.InvokeOptions): Promise<GetDeviceResult>;
|
|
19
|
+
/**
|
|
20
|
+
* A collection of arguments for invoking getDevice.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetDeviceArgs {
|
|
23
|
+
/**
|
|
24
|
+
* The ID of the device.
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
profile?: inputs.GetDeviceProfile;
|
|
28
|
+
resourceDisplayName?: inputs.GetDeviceResourceDisplayName;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* A collection of values returned by getDevice.
|
|
32
|
+
*/
|
|
33
|
+
export interface GetDeviceResult {
|
|
34
|
+
/**
|
|
35
|
+
* The creation timestamp of the device.
|
|
36
|
+
*/
|
|
37
|
+
readonly created: string;
|
|
38
|
+
/**
|
|
39
|
+
* The ID of the device.
|
|
40
|
+
*/
|
|
41
|
+
readonly id: string;
|
|
42
|
+
/**
|
|
43
|
+
* The last updated timestamp of the device.
|
|
44
|
+
*/
|
|
45
|
+
readonly lastUpdated: string;
|
|
46
|
+
readonly profile?: outputs.GetDeviceProfile;
|
|
47
|
+
/**
|
|
48
|
+
* The alternate ID of the device resource.
|
|
49
|
+
*/
|
|
50
|
+
readonly resourceAlternateId: string;
|
|
51
|
+
readonly resourceDisplayName?: outputs.GetDeviceResourceDisplayName;
|
|
52
|
+
/**
|
|
53
|
+
* Alternate key for the id.
|
|
54
|
+
*/
|
|
55
|
+
readonly resourceId: string;
|
|
56
|
+
/**
|
|
57
|
+
* The resource type of the device.
|
|
58
|
+
*/
|
|
59
|
+
readonly resourceType: string;
|
|
60
|
+
/**
|
|
61
|
+
* The status of the device.
|
|
62
|
+
*/
|
|
63
|
+
readonly status: string;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Get information about a device in Okta.
|
|
67
|
+
*
|
|
68
|
+
* ## Example Usage
|
|
69
|
+
*
|
|
70
|
+
* ```typescript
|
|
71
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
72
|
+
* import * as okta from "@pulumi/okta";
|
|
73
|
+
*
|
|
74
|
+
* const example = okta.getDevice({
|
|
75
|
+
* id: "<device_id>",
|
|
76
|
+
* });
|
|
77
|
+
* ```
|
|
78
|
+
*/
|
|
79
|
+
export declare function getDeviceOutput(args: GetDeviceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDeviceResult>;
|
|
80
|
+
/**
|
|
81
|
+
* A collection of arguments for invoking getDevice.
|
|
82
|
+
*/
|
|
83
|
+
export interface GetDeviceOutputArgs {
|
|
84
|
+
/**
|
|
85
|
+
* The ID of the device.
|
|
86
|
+
*/
|
|
87
|
+
id: pulumi.Input<string>;
|
|
88
|
+
profile?: pulumi.Input<inputs.GetDeviceProfileArgs>;
|
|
89
|
+
resourceDisplayName?: pulumi.Input<inputs.GetDeviceResourceDisplayNameArgs>;
|
|
90
|
+
}
|
package/getDevice.js
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getDeviceOutput = exports.getDevice = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Get information about a device in Okta.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as okta from "@pulumi/okta";
|
|
16
|
+
*
|
|
17
|
+
* const example = okta.getDevice({
|
|
18
|
+
* id: "<device_id>",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getDevice(args, opts) {
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
+
return pulumi.runtime.invoke("okta:index/getDevice:getDevice", {
|
|
25
|
+
"id": args.id,
|
|
26
|
+
"profile": args.profile,
|
|
27
|
+
"resourceDisplayName": args.resourceDisplayName,
|
|
28
|
+
}, opts);
|
|
29
|
+
}
|
|
30
|
+
exports.getDevice = getDevice;
|
|
31
|
+
/**
|
|
32
|
+
* Get information about a device in Okta.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as okta from "@pulumi/okta";
|
|
39
|
+
*
|
|
40
|
+
* const example = okta.getDevice({
|
|
41
|
+
* id: "<device_id>",
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
function getDeviceOutput(args, opts) {
|
|
46
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
47
|
+
return pulumi.runtime.invokeOutput("okta:index/getDevice:getDevice", {
|
|
48
|
+
"id": args.id,
|
|
49
|
+
"profile": args.profile,
|
|
50
|
+
"resourceDisplayName": args.resourceDisplayName,
|
|
51
|
+
}, opts);
|
|
52
|
+
}
|
|
53
|
+
exports.getDeviceOutput = getDeviceOutput;
|
|
54
|
+
//# sourceMappingURL=getDevice.js.map
|
package/getDevice.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDevice.js","sourceRoot":"","sources":["../getDevice.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;KAClD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8BAOC;AAiDD;;;;;;;;;;;;;GAaG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAAiC;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gCAAgC,EAAE;QACjE,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;KAClD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0CAOC"}
|
package/getHookKey.d.ts
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Use Key Management to create and manage JSON Web Keys (JWKS) that support OAuth 2.0 client authentication. The key is composed of a public and private key pair. The private key signs the JSON Web Token (JWT) and the public key validates it on the client side.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as okta from "@pulumi/okta";
|
|
10
|
+
*
|
|
11
|
+
* // Get hook key by ID
|
|
12
|
+
* const example = okta.getHookKey({
|
|
13
|
+
* id: "abcdefghij0123456789",
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function getHookKey(args: GetHookKeyArgs, opts?: pulumi.InvokeOptions): Promise<GetHookKeyResult>;
|
|
18
|
+
/**
|
|
19
|
+
* A collection of arguments for invoking getHookKey.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetHookKeyArgs {
|
|
22
|
+
/**
|
|
23
|
+
* The unique identifier of the Hook Key.
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* A collection of values returned by getHookKey.
|
|
29
|
+
*/
|
|
30
|
+
export interface GetHookKeyResult {
|
|
31
|
+
/**
|
|
32
|
+
* The date and time the Hook Key was created.
|
|
33
|
+
*/
|
|
34
|
+
readonly created: string;
|
|
35
|
+
/**
|
|
36
|
+
* The unique identifier of the Hook Key.
|
|
37
|
+
*/
|
|
38
|
+
readonly id: string;
|
|
39
|
+
/**
|
|
40
|
+
* Whether the Hook Key is currently being used.
|
|
41
|
+
*/
|
|
42
|
+
readonly isUsed: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* The alias of the public key that can be used to retrieve the public key data.
|
|
45
|
+
*/
|
|
46
|
+
readonly keyId: string;
|
|
47
|
+
/**
|
|
48
|
+
* The date and time the Hook Key was last updated.
|
|
49
|
+
*/
|
|
50
|
+
readonly lastUpdated: string;
|
|
51
|
+
readonly name: string;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Use Key Management to create and manage JSON Web Keys (JWKS) that support OAuth 2.0 client authentication. The key is composed of a public and private key pair. The private key signs the JSON Web Token (JWT) and the public key validates it on the client side.
|
|
55
|
+
*
|
|
56
|
+
* ## Example Usage
|
|
57
|
+
*
|
|
58
|
+
* ```typescript
|
|
59
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
60
|
+
* import * as okta from "@pulumi/okta";
|
|
61
|
+
*
|
|
62
|
+
* // Get hook key by ID
|
|
63
|
+
* const example = okta.getHookKey({
|
|
64
|
+
* id: "abcdefghij0123456789",
|
|
65
|
+
* });
|
|
66
|
+
* ```
|
|
67
|
+
*/
|
|
68
|
+
export declare function getHookKeyOutput(args: GetHookKeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetHookKeyResult>;
|
|
69
|
+
/**
|
|
70
|
+
* A collection of arguments for invoking getHookKey.
|
|
71
|
+
*/
|
|
72
|
+
export interface GetHookKeyOutputArgs {
|
|
73
|
+
/**
|
|
74
|
+
* The unique identifier of the Hook Key.
|
|
75
|
+
*/
|
|
76
|
+
id: pulumi.Input<string>;
|
|
77
|
+
}
|
package/getHookKey.js
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getHookKeyOutput = exports.getHookKey = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use Key Management to create and manage JSON Web Keys (JWKS) that support OAuth 2.0 client authentication. The key is composed of a public and private key pair. The private key signs the JSON Web Token (JWT) and the public key validates it on the client side.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as okta from "@pulumi/okta";
|
|
16
|
+
*
|
|
17
|
+
* // Get hook key by ID
|
|
18
|
+
* const example = okta.getHookKey({
|
|
19
|
+
* id: "abcdefghij0123456789",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
function getHookKey(args, opts) {
|
|
24
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
25
|
+
return pulumi.runtime.invoke("okta:index/getHookKey:getHookKey", {
|
|
26
|
+
"id": args.id,
|
|
27
|
+
}, opts);
|
|
28
|
+
}
|
|
29
|
+
exports.getHookKey = getHookKey;
|
|
30
|
+
/**
|
|
31
|
+
* Use Key Management to create and manage JSON Web Keys (JWKS) that support OAuth 2.0 client authentication. The key is composed of a public and private key pair. The private key signs the JSON Web Token (JWT) and the public key validates it on the client side.
|
|
32
|
+
*
|
|
33
|
+
* ## Example Usage
|
|
34
|
+
*
|
|
35
|
+
* ```typescript
|
|
36
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
37
|
+
* import * as okta from "@pulumi/okta";
|
|
38
|
+
*
|
|
39
|
+
* // Get hook key by ID
|
|
40
|
+
* const example = okta.getHookKey({
|
|
41
|
+
* id: "abcdefghij0123456789",
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
function getHookKeyOutput(args, opts) {
|
|
46
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
47
|
+
return pulumi.runtime.invokeOutput("okta:index/getHookKey:getHookKey", {
|
|
48
|
+
"id": args.id,
|
|
49
|
+
}, opts);
|
|
50
|
+
}
|
|
51
|
+
exports.getHookKeyOutput = getHookKeyOutput;
|
|
52
|
+
//# sourceMappingURL=getHookKey.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getHookKey.js","sourceRoot":"","sources":["../getHookKey.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gCAKC;AAsCD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAAiC;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kCAAkC,EAAE;QACnE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4CAKC"}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Retrieves information about an Okta Push Provider configuration. This data source allows you to fetch details about existing push providers for Apple Push Notification Service (APNS) and Firebase Cloud Messaging (FCM).
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ### Retrieve an APNS Push Provider
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as okta from "@pulumi/okta";
|
|
14
|
+
*
|
|
15
|
+
* const apnsExample = okta.getPushProvider({
|
|
16
|
+
* id: "ppc1234567890abcdef",
|
|
17
|
+
* });
|
|
18
|
+
* export const apnsProviderName = apnsExample.then(apnsExample => apnsExample.name);
|
|
19
|
+
* export const apnsKeyId = apnsExample.then(apnsExample => apnsExample.configuration?.apnsConfiguration?.keyId);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ### Retrieve an FCM Push Provider
|
|
23
|
+
*
|
|
24
|
+
* ```typescript
|
|
25
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
26
|
+
* import * as okta from "@pulumi/okta";
|
|
27
|
+
*
|
|
28
|
+
* const fcmExample = okta.getPushProvider({
|
|
29
|
+
* id: "ppc0987654321fedcba",
|
|
30
|
+
* });
|
|
31
|
+
* export const fcmProviderName = fcmExample.then(fcmExample => fcmExample.name);
|
|
32
|
+
* export const fcmProjectId = fcmExample.then(fcmExample => fcmExample.configuration?.fcmConfiguration?.serviceAccountJson?.projectId);
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
export declare function getPushProvider(args: GetPushProviderArgs, opts?: pulumi.InvokeOptions): Promise<GetPushProviderResult>;
|
|
36
|
+
/**
|
|
37
|
+
* A collection of arguments for invoking getPushProvider.
|
|
38
|
+
*/
|
|
39
|
+
export interface GetPushProviderArgs {
|
|
40
|
+
/**
|
|
41
|
+
* Configuration details for the push provider. The structure depends on the provider type.
|
|
42
|
+
*/
|
|
43
|
+
configuration?: inputs.GetPushProviderConfiguration;
|
|
44
|
+
/**
|
|
45
|
+
* The unique identifier of the push provider to retrieve.
|
|
46
|
+
*/
|
|
47
|
+
id: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* A collection of values returned by getPushProvider.
|
|
51
|
+
*/
|
|
52
|
+
export interface GetPushProviderResult {
|
|
53
|
+
/**
|
|
54
|
+
* Configuration details for the push provider. The structure depends on the provider type.
|
|
55
|
+
*/
|
|
56
|
+
readonly configuration?: outputs.GetPushProviderConfiguration;
|
|
57
|
+
/**
|
|
58
|
+
* The unique identifier of the push provider to retrieve.
|
|
59
|
+
*/
|
|
60
|
+
readonly id: string;
|
|
61
|
+
/**
|
|
62
|
+
* Timestamp when the push provider was last modified.
|
|
63
|
+
*/
|
|
64
|
+
readonly lastUpdatedDate: string;
|
|
65
|
+
/**
|
|
66
|
+
* The display name of the push provider.
|
|
67
|
+
*/
|
|
68
|
+
readonly name: string;
|
|
69
|
+
/**
|
|
70
|
+
* The type of push provider. Values are `APNS` (Apple Push Notification Service) or `FCM` (Firebase Cloud Messaging).
|
|
71
|
+
*/
|
|
72
|
+
readonly providerType: string;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Retrieves information about an Okta Push Provider configuration. This data source allows you to fetch details about existing push providers for Apple Push Notification Service (APNS) and Firebase Cloud Messaging (FCM).
|
|
76
|
+
*
|
|
77
|
+
* ## Example Usage
|
|
78
|
+
*
|
|
79
|
+
* ### Retrieve an APNS Push Provider
|
|
80
|
+
*
|
|
81
|
+
* ```typescript
|
|
82
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
83
|
+
* import * as okta from "@pulumi/okta";
|
|
84
|
+
*
|
|
85
|
+
* const apnsExample = okta.getPushProvider({
|
|
86
|
+
* id: "ppc1234567890abcdef",
|
|
87
|
+
* });
|
|
88
|
+
* export const apnsProviderName = apnsExample.then(apnsExample => apnsExample.name);
|
|
89
|
+
* export const apnsKeyId = apnsExample.then(apnsExample => apnsExample.configuration?.apnsConfiguration?.keyId);
|
|
90
|
+
* ```
|
|
91
|
+
*
|
|
92
|
+
* ### Retrieve an FCM Push Provider
|
|
93
|
+
*
|
|
94
|
+
* ```typescript
|
|
95
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
96
|
+
* import * as okta from "@pulumi/okta";
|
|
97
|
+
*
|
|
98
|
+
* const fcmExample = okta.getPushProvider({
|
|
99
|
+
* id: "ppc0987654321fedcba",
|
|
100
|
+
* });
|
|
101
|
+
* export const fcmProviderName = fcmExample.then(fcmExample => fcmExample.name);
|
|
102
|
+
* export const fcmProjectId = fcmExample.then(fcmExample => fcmExample.configuration?.fcmConfiguration?.serviceAccountJson?.projectId);
|
|
103
|
+
* ```
|
|
104
|
+
*/
|
|
105
|
+
export declare function getPushProviderOutput(args: GetPushProviderOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPushProviderResult>;
|
|
106
|
+
/**
|
|
107
|
+
* A collection of arguments for invoking getPushProvider.
|
|
108
|
+
*/
|
|
109
|
+
export interface GetPushProviderOutputArgs {
|
|
110
|
+
/**
|
|
111
|
+
* Configuration details for the push provider. The structure depends on the provider type.
|
|
112
|
+
*/
|
|
113
|
+
configuration?: pulumi.Input<inputs.GetPushProviderConfigurationArgs>;
|
|
114
|
+
/**
|
|
115
|
+
* The unique identifier of the push provider to retrieve.
|
|
116
|
+
*/
|
|
117
|
+
id: pulumi.Input<string>;
|
|
118
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getPushProviderOutput = exports.getPushProvider = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Retrieves information about an Okta Push Provider configuration. This data source allows you to fetch details about existing push providers for Apple Push Notification Service (APNS) and Firebase Cloud Messaging (FCM).
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ### Retrieve an APNS Push Provider
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as okta from "@pulumi/okta";
|
|
18
|
+
*
|
|
19
|
+
* const apnsExample = okta.getPushProvider({
|
|
20
|
+
* id: "ppc1234567890abcdef",
|
|
21
|
+
* });
|
|
22
|
+
* export const apnsProviderName = apnsExample.then(apnsExample => apnsExample.name);
|
|
23
|
+
* export const apnsKeyId = apnsExample.then(apnsExample => apnsExample.configuration?.apnsConfiguration?.keyId);
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ### Retrieve an FCM Push Provider
|
|
27
|
+
*
|
|
28
|
+
* ```typescript
|
|
29
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
30
|
+
* import * as okta from "@pulumi/okta";
|
|
31
|
+
*
|
|
32
|
+
* const fcmExample = okta.getPushProvider({
|
|
33
|
+
* id: "ppc0987654321fedcba",
|
|
34
|
+
* });
|
|
35
|
+
* export const fcmProviderName = fcmExample.then(fcmExample => fcmExample.name);
|
|
36
|
+
* export const fcmProjectId = fcmExample.then(fcmExample => fcmExample.configuration?.fcmConfiguration?.serviceAccountJson?.projectId);
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
function getPushProvider(args, opts) {
|
|
40
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
41
|
+
return pulumi.runtime.invoke("okta:index/getPushProvider:getPushProvider", {
|
|
42
|
+
"configuration": args.configuration,
|
|
43
|
+
"id": args.id,
|
|
44
|
+
}, opts);
|
|
45
|
+
}
|
|
46
|
+
exports.getPushProvider = getPushProvider;
|
|
47
|
+
/**
|
|
48
|
+
* Retrieves information about an Okta Push Provider configuration. This data source allows you to fetch details about existing push providers for Apple Push Notification Service (APNS) and Firebase Cloud Messaging (FCM).
|
|
49
|
+
*
|
|
50
|
+
* ## Example Usage
|
|
51
|
+
*
|
|
52
|
+
* ### Retrieve an APNS Push Provider
|
|
53
|
+
*
|
|
54
|
+
* ```typescript
|
|
55
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
56
|
+
* import * as okta from "@pulumi/okta";
|
|
57
|
+
*
|
|
58
|
+
* const apnsExample = okta.getPushProvider({
|
|
59
|
+
* id: "ppc1234567890abcdef",
|
|
60
|
+
* });
|
|
61
|
+
* export const apnsProviderName = apnsExample.then(apnsExample => apnsExample.name);
|
|
62
|
+
* export const apnsKeyId = apnsExample.then(apnsExample => apnsExample.configuration?.apnsConfiguration?.keyId);
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* ### Retrieve an FCM Push Provider
|
|
66
|
+
*
|
|
67
|
+
* ```typescript
|
|
68
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
69
|
+
* import * as okta from "@pulumi/okta";
|
|
70
|
+
*
|
|
71
|
+
* const fcmExample = okta.getPushProvider({
|
|
72
|
+
* id: "ppc0987654321fedcba",
|
|
73
|
+
* });
|
|
74
|
+
* export const fcmProviderName = fcmExample.then(fcmExample => fcmExample.name);
|
|
75
|
+
* export const fcmProjectId = fcmExample.then(fcmExample => fcmExample.configuration?.fcmConfiguration?.serviceAccountJson?.projectId);
|
|
76
|
+
* ```
|
|
77
|
+
*/
|
|
78
|
+
function getPushProviderOutput(args, opts) {
|
|
79
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
80
|
+
return pulumi.runtime.invokeOutput("okta:index/getPushProvider:getPushProvider", {
|
|
81
|
+
"configuration": args.configuration,
|
|
82
|
+
"id": args.id,
|
|
83
|
+
}, opts);
|
|
84
|
+
}
|
|
85
|
+
exports.getPushProviderOutput = getPushProviderOutput;
|
|
86
|
+
//# sourceMappingURL=getPushProvider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPushProvider.js","sourceRoot":"","sources":["../getPushProvider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0CAMC;AAyCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAAiC;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4CAA4C,EAAE;QAC7E,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Get information about a Security Events Provider instance for signal ingestion.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as okta from "@pulumi/okta";
|
|
12
|
+
*
|
|
13
|
+
* const example = okta.getSecurityEventsProvider({
|
|
14
|
+
* id: "<security_events_provider_id>",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function getSecurityEventsProvider(args: GetSecurityEventsProviderArgs, opts?: pulumi.InvokeOptions): Promise<GetSecurityEventsProviderResult>;
|
|
19
|
+
/**
|
|
20
|
+
* A collection of arguments for invoking getSecurityEventsProvider.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetSecurityEventsProviderArgs {
|
|
23
|
+
/**
|
|
24
|
+
* The unique identifier of this instance.
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
settings?: inputs.GetSecurityEventsProviderSettings;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* A collection of values returned by getSecurityEventsProvider.
|
|
31
|
+
*/
|
|
32
|
+
export interface GetSecurityEventsProviderResult {
|
|
33
|
+
/**
|
|
34
|
+
* The unique identifier of this instance.
|
|
35
|
+
*/
|
|
36
|
+
readonly id: string;
|
|
37
|
+
/**
|
|
38
|
+
* Whether or not the Security Events Provider is enabled.
|
|
39
|
+
*/
|
|
40
|
+
readonly isEnabled: string;
|
|
41
|
+
/**
|
|
42
|
+
* The name of the Security Events Provider instance.
|
|
43
|
+
*/
|
|
44
|
+
readonly name: string;
|
|
45
|
+
readonly settings?: outputs.GetSecurityEventsProviderSettings;
|
|
46
|
+
/**
|
|
47
|
+
* Indicates whether the Security Events Provider is active or not.
|
|
48
|
+
*/
|
|
49
|
+
readonly status: string;
|
|
50
|
+
/**
|
|
51
|
+
* The application type of the Security Events Provider.
|
|
52
|
+
*/
|
|
53
|
+
readonly type: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Get information about a Security Events Provider instance for signal ingestion.
|
|
57
|
+
*
|
|
58
|
+
* ## Example Usage
|
|
59
|
+
*
|
|
60
|
+
* ```typescript
|
|
61
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
62
|
+
* import * as okta from "@pulumi/okta";
|
|
63
|
+
*
|
|
64
|
+
* const example = okta.getSecurityEventsProvider({
|
|
65
|
+
* id: "<security_events_provider_id>",
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
export declare function getSecurityEventsProviderOutput(args: GetSecurityEventsProviderOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSecurityEventsProviderResult>;
|
|
70
|
+
/**
|
|
71
|
+
* A collection of arguments for invoking getSecurityEventsProvider.
|
|
72
|
+
*/
|
|
73
|
+
export interface GetSecurityEventsProviderOutputArgs {
|
|
74
|
+
/**
|
|
75
|
+
* The unique identifier of this instance.
|
|
76
|
+
*/
|
|
77
|
+
id: pulumi.Input<string>;
|
|
78
|
+
settings?: pulumi.Input<inputs.GetSecurityEventsProviderSettingsArgs>;
|
|
79
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getSecurityEventsProviderOutput = exports.getSecurityEventsProvider = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Get information about a Security Events Provider instance for signal ingestion.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as okta from "@pulumi/okta";
|
|
16
|
+
*
|
|
17
|
+
* const example = okta.getSecurityEventsProvider({
|
|
18
|
+
* id: "<security_events_provider_id>",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getSecurityEventsProvider(args, opts) {
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
+
return pulumi.runtime.invoke("okta:index/getSecurityEventsProvider:getSecurityEventsProvider", {
|
|
25
|
+
"id": args.id,
|
|
26
|
+
"settings": args.settings,
|
|
27
|
+
}, opts);
|
|
28
|
+
}
|
|
29
|
+
exports.getSecurityEventsProvider = getSecurityEventsProvider;
|
|
30
|
+
/**
|
|
31
|
+
* Get information about a Security Events Provider instance for signal ingestion.
|
|
32
|
+
*
|
|
33
|
+
* ## Example Usage
|
|
34
|
+
*
|
|
35
|
+
* ```typescript
|
|
36
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
37
|
+
* import * as okta from "@pulumi/okta";
|
|
38
|
+
*
|
|
39
|
+
* const example = okta.getSecurityEventsProvider({
|
|
40
|
+
* id: "<security_events_provider_id>",
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
function getSecurityEventsProviderOutput(args, opts) {
|
|
45
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
46
|
+
return pulumi.runtime.invokeOutput("okta:index/getSecurityEventsProvider:getSecurityEventsProvider", {
|
|
47
|
+
"id": args.id,
|
|
48
|
+
"settings": args.settings,
|
|
49
|
+
}, opts);
|
|
50
|
+
}
|
|
51
|
+
exports.getSecurityEventsProviderOutput = getSecurityEventsProviderOutput;
|
|
52
|
+
//# sourceMappingURL=getSecurityEventsProvider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSecurityEventsProvider.js","sourceRoot":"","sources":["../getSecurityEventsProvider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gEAAgE,EAAE;QAC3F,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8DAMC;AAuCD;;;;;;;;;;;;;GAaG;AACH,SAAgB,+BAA+B,CAAC,IAAyC,EAAE,IAAiC;IACxH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gEAAgE,EAAE;QACjG,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0EAMC"}
|
package/group/owner.d.ts
CHANGED
|
@@ -21,6 +21,30 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
21
21
|
* type: "USER",
|
|
22
22
|
* });
|
|
23
23
|
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* An okta_group_owner resource can be imported using the following format:
|
|
28
|
+
*
|
|
29
|
+
* bash
|
|
30
|
+
*
|
|
31
|
+
* ```sh
|
|
32
|
+
* $ pulumi import okta:group/owner:Owner example group_id/group_owner_id
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* Where:
|
|
36
|
+
*
|
|
37
|
+
* - `group_id` is the ID of the group
|
|
38
|
+
*
|
|
39
|
+
* - `group_owner_id` is the ID of the group owner resource
|
|
40
|
+
*
|
|
41
|
+
* **Example:**
|
|
42
|
+
*
|
|
43
|
+
* bash
|
|
44
|
+
*
|
|
45
|
+
* ```sh
|
|
46
|
+
* $ pulumi import okta:group/owner:Owner example group_123/group_owner_456
|
|
47
|
+
* ```
|
|
24
48
|
*/
|
|
25
49
|
export declare class Owner extends pulumi.CustomResource {
|
|
26
50
|
/**
|