@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.
Files changed (84) hide show
  1. package/apiServiceIntegration.d.ts +110 -0
  2. package/apiServiceIntegration.js +96 -0
  3. package/apiServiceIntegration.js.map +1 -0
  4. package/apiToken.d.ts +141 -0
  5. package/apiToken.js +93 -0
  6. package/apiToken.js.map +1 -0
  7. package/app/connection.d.ts +164 -0
  8. package/app/connection.js +136 -0
  9. package/app/connection.js.map +1 -0
  10. package/app/features.d.ts +121 -0
  11. package/app/features.js +77 -0
  12. package/app/features.js.map +1 -0
  13. package/app/getConnection.d.ts +106 -0
  14. package/app/getConnection.js +62 -0
  15. package/app/getConnection.js.map +1 -0
  16. package/app/getFeatures.d.ts +156 -0
  17. package/app/getFeatures.js +116 -0
  18. package/app/getFeatures.js.map +1 -0
  19. package/app/getToken.d.ts +98 -0
  20. package/app/getToken.js +62 -0
  21. package/app/getToken.js.map +1 -0
  22. package/app/index.d.ts +18 -0
  23. package/app/index.js +25 -1
  24. package/app/index.js.map +1 -1
  25. package/app/oauth.d.ts +51 -0
  26. package/app/oauth.js +6 -0
  27. package/app/oauth.js.map +1 -1
  28. package/app/token.d.ts +108 -0
  29. package/app/token.js +93 -0
  30. package/app/token.js.map +1 -0
  31. package/appSignonPolicyRule.d.ts +1 -7
  32. package/appSignonPolicyRule.js +1 -7
  33. package/appSignonPolicyRule.js.map +1 -1
  34. package/auth/getServerClients.d.ts +114 -0
  35. package/auth/getServerClients.js +58 -0
  36. package/auth/getServerClients.js.map +1 -0
  37. package/auth/getServerKeys.d.ts +113 -0
  38. package/auth/getServerKeys.js +70 -0
  39. package/auth/getServerKeys.js.map +1 -0
  40. package/auth/index.d.ts +6 -0
  41. package/auth/index.js +7 -1
  42. package/auth/index.js.map +1 -1
  43. package/device.d.ts +80 -0
  44. package/device.js +69 -0
  45. package/device.js.map +1 -0
  46. package/getApiServiceIntegration.d.ts +85 -0
  47. package/getApiServiceIntegration.js +78 -0
  48. package/getApiServiceIntegration.js.map +1 -0
  49. package/getApiToken.d.ts +88 -0
  50. package/getApiToken.js +52 -0
  51. package/getApiToken.js.map +1 -0
  52. package/getCatalogEntryUserAccessRequestFields.d.ts +42 -0
  53. package/getCatalogEntryUserAccessRequestFields.js +24 -0
  54. package/getCatalogEntryUserAccessRequestFields.js.map +1 -1
  55. package/getDevice.d.ts +90 -0
  56. package/getDevice.js +54 -0
  57. package/getDevice.js.map +1 -0
  58. package/getHookKey.d.ts +77 -0
  59. package/getHookKey.js +52 -0
  60. package/getHookKey.js.map +1 -0
  61. package/getPushProvider.d.ts +118 -0
  62. package/getPushProvider.js +86 -0
  63. package/getPushProvider.js.map +1 -0
  64. package/getSecurityEventsProvider.d.ts +79 -0
  65. package/getSecurityEventsProvider.js +52 -0
  66. package/getSecurityEventsProvider.js.map +1 -0
  67. package/group/owner.d.ts +24 -0
  68. package/group/owner.js +24 -0
  69. package/group/owner.js.map +1 -1
  70. package/hookKey.d.ts +102 -0
  71. package/hookKey.js +79 -0
  72. package/hookKey.js.map +1 -0
  73. package/index.d.ts +36 -0
  74. package/index.js +52 -4
  75. package/index.js.map +1 -1
  76. package/package.json +3 -3
  77. package/pushProvider.d.ts +150 -0
  78. package/pushProvider.js +126 -0
  79. package/pushProvider.js.map +1 -0
  80. package/securityEventsProvider.d.ts +138 -0
  81. package/securityEventsProvider.js +107 -0
  82. package/securityEventsProvider.js.map +1 -0
  83. package/types/input.d.ts +906 -0
  84. package/types/output.d.ts +604 -0
@@ -0,0 +1,136 @@
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.Connection = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Manages Okta App Connection configurations for provisioning. This resource allows you to configure and manage provisioning connections for applications, including authentication schemes and connection activation/deactivation.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ### TOKEN Authentication
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as okta from "@pulumi/okta";
18
+ *
19
+ * const tokenExample = new okta.app.Connection("token_example", {
20
+ * idProperty: "0oa1234567890abcdef",
21
+ * baseUrl: "https://api.example.com/scim/v2",
22
+ * action: "activate",
23
+ * profile: {
24
+ * authScheme: "TOKEN",
25
+ * token: "your-bearer-token-here",
26
+ * },
27
+ * });
28
+ * ```
29
+ *
30
+ * ### OAUTH2 Authentication
31
+ *
32
+ * ```typescript
33
+ * import * as pulumi from "@pulumi/pulumi";
34
+ * import * as okta from "@pulumi/okta";
35
+ *
36
+ * const oauth2Example = new okta.app.Connection("oauth2_example", {
37
+ * idProperty: "0oa1234567890abcdef",
38
+ * action: "activate",
39
+ * profile: {
40
+ * authScheme: "OAUTH2",
41
+ * clientId: "oauth2-client-id",
42
+ * settings: {
43
+ * adminUsername: "admin@example.com",
44
+ * adminPassword: "secure-password",
45
+ * },
46
+ * signing: {
47
+ * rotationMode: "MANUAL",
48
+ * },
49
+ * },
50
+ * });
51
+ * ```
52
+ *
53
+ * ### Deactivated Connection
54
+ *
55
+ * ```typescript
56
+ * import * as pulumi from "@pulumi/pulumi";
57
+ * import * as okta from "@pulumi/okta";
58
+ *
59
+ * const deactivatedExample = new okta.app.Connection("deactivated_example", {
60
+ * idProperty: "0oa1234567890abcdef",
61
+ * baseUrl: "https://api.example.com/scim/v2",
62
+ * action: "deactivate",
63
+ * profile: {
64
+ * authScheme: "TOKEN",
65
+ * token: "your-bearer-token-here",
66
+ * },
67
+ * });
68
+ * ```
69
+ *
70
+ * ## Import
71
+ *
72
+ * App connections can be imported using the application ID:
73
+ *
74
+ * ```sh
75
+ * $ pulumi import okta:app/connection:Connection example <application_id>
76
+ * ```
77
+ */
78
+ class Connection extends pulumi.CustomResource {
79
+ /**
80
+ * Get an existing Connection resource's state with the given name, ID, and optional extra
81
+ * properties used to qualify the lookup.
82
+ *
83
+ * @param name The _unique_ name of the resulting resource.
84
+ * @param id The _unique_ provider ID of the resource to lookup.
85
+ * @param state Any extra arguments used during the lookup.
86
+ * @param opts Optional settings to control the behavior of the CustomResource.
87
+ */
88
+ static get(name, id, state, opts) {
89
+ return new Connection(name, state, { ...opts, id: id });
90
+ }
91
+ /**
92
+ * Returns true if the given object is an instance of Connection. This is designed to work even
93
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
94
+ */
95
+ static isInstance(obj) {
96
+ if (obj === undefined || obj === null) {
97
+ return false;
98
+ }
99
+ return obj['__pulumiType'] === Connection.__pulumiType;
100
+ }
101
+ constructor(name, argsOrState, opts) {
102
+ let resourceInputs = {};
103
+ opts = opts || {};
104
+ if (opts.id) {
105
+ const state = argsOrState;
106
+ resourceInputs["action"] = state?.action;
107
+ resourceInputs["baseUrl"] = state?.baseUrl;
108
+ resourceInputs["idProperty"] = state?.idProperty;
109
+ resourceInputs["profile"] = state?.profile;
110
+ resourceInputs["status"] = state?.status;
111
+ }
112
+ else {
113
+ const args = argsOrState;
114
+ if (args?.action === undefined && !opts.urn) {
115
+ throw new Error("Missing required property 'action'");
116
+ }
117
+ if (args?.baseUrl === undefined && !opts.urn) {
118
+ throw new Error("Missing required property 'baseUrl'");
119
+ }
120
+ if (args?.idProperty === undefined && !opts.urn) {
121
+ throw new Error("Missing required property 'idProperty'");
122
+ }
123
+ resourceInputs["action"] = args?.action;
124
+ resourceInputs["baseUrl"] = args?.baseUrl;
125
+ resourceInputs["idProperty"] = args?.idProperty;
126
+ resourceInputs["profile"] = args?.profile;
127
+ resourceInputs["status"] = undefined /*out*/;
128
+ }
129
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
130
+ super(Connection.__pulumiType, name, resourceInputs, opts);
131
+ }
132
+ }
133
+ exports.Connection = Connection;
134
+ /** @internal */
135
+ Connection.__pulumiType = 'okta:app/connection:Connection';
136
+ //# sourceMappingURL=connection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connection.js","sourceRoot":"","sources":["../../app/connection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqEG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,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;IA+BD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;SAC5C;aAAM;YACH,MAAM,IAAI,GAAG,WAAyC,CAAC;YACvD,IAAI,IAAI,EAAE,MAAM,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzC,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,IAAI,IAAI,EAAE,OAAO,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1C,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,IAAI,IAAI,EAAE,UAAU,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAtFL,gCAuFC;AAzEG,gBAAgB;AACO,uBAAY,GAAG,gCAAgC,CAAC"}
@@ -0,0 +1,121 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * ## Import
6
+ *
7
+ * App features can be imported using the format `{app_id}/{feature_name}`:
8
+ *
9
+ * bash
10
+ *
11
+ * ```sh
12
+ * $ pulumi import okta:app/features:Features example 0oarblaf7hWdLawNg1d7/USER_PROVISIONING
13
+ * ```
14
+ *
15
+ * bash
16
+ *
17
+ * ```sh
18
+ * $ pulumi import okta:app/features:Features inbound 0oarblaf7hWdLawNg1d7/INBOUND_PROVISIONING
19
+ * ```
20
+ */
21
+ export declare class Features extends pulumi.CustomResource {
22
+ /**
23
+ * Get an existing Features resource's state with the given name, ID, and optional extra
24
+ * properties used to qualify the lookup.
25
+ *
26
+ * @param name The _unique_ name of the resulting resource.
27
+ * @param id The _unique_ provider ID of the resource to lookup.
28
+ * @param state Any extra arguments used during the lookup.
29
+ * @param opts Optional settings to control the behavior of the CustomResource.
30
+ */
31
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FeaturesState, opts?: pulumi.CustomResourceOptions): Features;
32
+ /**
33
+ * Returns true if the given object is an instance of Features. This is designed to work even
34
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
35
+ */
36
+ static isInstance(obj: any): obj is Features;
37
+ /**
38
+ * The ID of the application to configure features for.
39
+ */
40
+ readonly appId: pulumi.Output<string>;
41
+ /**
42
+ * Configuration block for feature capabilities. See Capabilities below.
43
+ */
44
+ readonly capabilities: pulumi.Output<outputs.app.FeaturesCapabilities | undefined>;
45
+ /**
46
+ * Description of the feature.
47
+ */
48
+ readonly description: pulumi.Output<string | undefined>;
49
+ /**
50
+ * The name of the feature to configure. Valid values:
51
+ * * `USER_PROVISIONING` - User profiles are pushed from Okta to the third-party app.
52
+ * * `INBOUND_PROVISIONING` - User profiles are imported from the third-party app into Okta.
53
+ */
54
+ readonly name: pulumi.Output<string>;
55
+ /**
56
+ * The status of the feature. Valid values are `ENABLED` or `DISABLED`.
57
+ */
58
+ readonly status: pulumi.Output<string | undefined>;
59
+ /**
60
+ * Create a Features resource with the given unique name, arguments, and options.
61
+ *
62
+ * @param name The _unique_ name of the resource.
63
+ * @param args The arguments to use to populate this resource's properties.
64
+ * @param opts A bag of options that control this resource's behavior.
65
+ */
66
+ constructor(name: string, args: FeaturesArgs, opts?: pulumi.CustomResourceOptions);
67
+ }
68
+ /**
69
+ * Input properties used for looking up and filtering Features resources.
70
+ */
71
+ export interface FeaturesState {
72
+ /**
73
+ * The ID of the application to configure features for.
74
+ */
75
+ appId?: pulumi.Input<string>;
76
+ /**
77
+ * Configuration block for feature capabilities. See Capabilities below.
78
+ */
79
+ capabilities?: pulumi.Input<inputs.app.FeaturesCapabilities>;
80
+ /**
81
+ * Description of the feature.
82
+ */
83
+ description?: pulumi.Input<string>;
84
+ /**
85
+ * The name of the feature to configure. Valid values:
86
+ * * `USER_PROVISIONING` - User profiles are pushed from Okta to the third-party app.
87
+ * * `INBOUND_PROVISIONING` - User profiles are imported from the third-party app into Okta.
88
+ */
89
+ name?: pulumi.Input<string>;
90
+ /**
91
+ * The status of the feature. Valid values are `ENABLED` or `DISABLED`.
92
+ */
93
+ status?: pulumi.Input<string>;
94
+ }
95
+ /**
96
+ * The set of arguments for constructing a Features resource.
97
+ */
98
+ export interface FeaturesArgs {
99
+ /**
100
+ * The ID of the application to configure features for.
101
+ */
102
+ appId: pulumi.Input<string>;
103
+ /**
104
+ * Configuration block for feature capabilities. See Capabilities below.
105
+ */
106
+ capabilities?: pulumi.Input<inputs.app.FeaturesCapabilities>;
107
+ /**
108
+ * Description of the feature.
109
+ */
110
+ description?: pulumi.Input<string>;
111
+ /**
112
+ * The name of the feature to configure. Valid values:
113
+ * * `USER_PROVISIONING` - User profiles are pushed from Okta to the third-party app.
114
+ * * `INBOUND_PROVISIONING` - User profiles are imported from the third-party app into Okta.
115
+ */
116
+ name?: pulumi.Input<string>;
117
+ /**
118
+ * The status of the feature. Valid values are `ENABLED` or `DISABLED`.
119
+ */
120
+ status?: pulumi.Input<string>;
121
+ }
@@ -0,0 +1,77 @@
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.Features = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * ## Import
10
+ *
11
+ * App features can be imported using the format `{app_id}/{feature_name}`:
12
+ *
13
+ * bash
14
+ *
15
+ * ```sh
16
+ * $ pulumi import okta:app/features:Features example 0oarblaf7hWdLawNg1d7/USER_PROVISIONING
17
+ * ```
18
+ *
19
+ * bash
20
+ *
21
+ * ```sh
22
+ * $ pulumi import okta:app/features:Features inbound 0oarblaf7hWdLawNg1d7/INBOUND_PROVISIONING
23
+ * ```
24
+ */
25
+ class Features extends pulumi.CustomResource {
26
+ /**
27
+ * Get an existing Features resource's state with the given name, ID, and optional extra
28
+ * properties used to qualify the lookup.
29
+ *
30
+ * @param name The _unique_ name of the resulting resource.
31
+ * @param id The _unique_ provider ID of the resource to lookup.
32
+ * @param state Any extra arguments used during the lookup.
33
+ * @param opts Optional settings to control the behavior of the CustomResource.
34
+ */
35
+ static get(name, id, state, opts) {
36
+ return new Features(name, state, { ...opts, id: id });
37
+ }
38
+ /**
39
+ * Returns true if the given object is an instance of Features. This is designed to work even
40
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
41
+ */
42
+ static isInstance(obj) {
43
+ if (obj === undefined || obj === null) {
44
+ return false;
45
+ }
46
+ return obj['__pulumiType'] === Features.__pulumiType;
47
+ }
48
+ constructor(name, argsOrState, opts) {
49
+ let resourceInputs = {};
50
+ opts = opts || {};
51
+ if (opts.id) {
52
+ const state = argsOrState;
53
+ resourceInputs["appId"] = state?.appId;
54
+ resourceInputs["capabilities"] = state?.capabilities;
55
+ resourceInputs["description"] = state?.description;
56
+ resourceInputs["name"] = state?.name;
57
+ resourceInputs["status"] = state?.status;
58
+ }
59
+ else {
60
+ const args = argsOrState;
61
+ if (args?.appId === undefined && !opts.urn) {
62
+ throw new Error("Missing required property 'appId'");
63
+ }
64
+ resourceInputs["appId"] = args?.appId;
65
+ resourceInputs["capabilities"] = args?.capabilities;
66
+ resourceInputs["description"] = args?.description;
67
+ resourceInputs["name"] = args?.name;
68
+ resourceInputs["status"] = args?.status;
69
+ }
70
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
71
+ super(Features.__pulumiType, name, resourceInputs, opts);
72
+ }
73
+ }
74
+ exports.Features = Features;
75
+ /** @internal */
76
+ Features.__pulumiType = 'okta:app/features:Features';
77
+ //# sourceMappingURL=features.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"features.js","sourceRoot":"","sources":["../../app/features.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/D,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IAiCD,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,EAAE,KAAK,CAAC;YACvC,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;YACrD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;SAC5C;aAAM;YACH,MAAM,IAAI,GAAG,WAAuC,CAAC;YACrD,IAAI,IAAI,EAAE,KAAK,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACxC,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;SAC3C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AAlFL,4BAmFC;AArEG,gBAAgB;AACO,qBAAY,GAAG,4BAA4B,CAAC"}
@@ -0,0 +1,106 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Retrieves the default provisioning connection for an app.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ### Basic Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as okta from "@pulumi/okta";
14
+ *
15
+ * const example = okta.app.getConnection({
16
+ * id: "0oa1234567890abcdef",
17
+ * });
18
+ * export const connectionStatus = example.then(example => example.status);
19
+ * ```
20
+ */
21
+ export declare function getConnection(args: GetConnectionArgs, opts?: pulumi.InvokeOptions): Promise<GetConnectionResult>;
22
+ /**
23
+ * A collection of arguments for invoking getConnection.
24
+ */
25
+ export interface GetConnectionArgs {
26
+ /**
27
+ * A token is used to authenticate with the app. This property is only returned for the TOKEN authentication scheme.
28
+ */
29
+ authScheme?: string;
30
+ /**
31
+ * The base URL for the provisioning connection.
32
+ */
33
+ baseUrl?: string;
34
+ /**
35
+ * The application ID for which to retrieve the provisioning connection information.
36
+ */
37
+ id: string;
38
+ /**
39
+ * Profile information for the app connection.
40
+ */
41
+ profile?: inputs.app.GetConnectionProfile;
42
+ }
43
+ /**
44
+ * A collection of values returned by getConnection.
45
+ */
46
+ export interface GetConnectionResult {
47
+ /**
48
+ * A token is used to authenticate with the app. This property is only returned for the TOKEN authentication scheme.
49
+ */
50
+ readonly authScheme: string;
51
+ /**
52
+ * The base URL for the provisioning connection.
53
+ */
54
+ readonly baseUrl: string;
55
+ /**
56
+ * The application ID for which to retrieve the provisioning connection information.
57
+ */
58
+ readonly id: string;
59
+ /**
60
+ * Profile information for the app connection.
61
+ */
62
+ readonly profile?: outputs.app.GetConnectionProfile;
63
+ /**
64
+ * Provisioning connection status.
65
+ */
66
+ readonly status: string;
67
+ }
68
+ /**
69
+ * Retrieves the default provisioning connection for an app.
70
+ *
71
+ * ## Example Usage
72
+ *
73
+ * ### Basic Usage
74
+ *
75
+ * ```typescript
76
+ * import * as pulumi from "@pulumi/pulumi";
77
+ * import * as okta from "@pulumi/okta";
78
+ *
79
+ * const example = okta.app.getConnection({
80
+ * id: "0oa1234567890abcdef",
81
+ * });
82
+ * export const connectionStatus = example.then(example => example.status);
83
+ * ```
84
+ */
85
+ export declare function getConnectionOutput(args: GetConnectionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConnectionResult>;
86
+ /**
87
+ * A collection of arguments for invoking getConnection.
88
+ */
89
+ export interface GetConnectionOutputArgs {
90
+ /**
91
+ * A token is used to authenticate with the app. This property is only returned for the TOKEN authentication scheme.
92
+ */
93
+ authScheme?: pulumi.Input<string>;
94
+ /**
95
+ * The base URL for the provisioning connection.
96
+ */
97
+ baseUrl?: pulumi.Input<string>;
98
+ /**
99
+ * The application ID for which to retrieve the provisioning connection information.
100
+ */
101
+ id: pulumi.Input<string>;
102
+ /**
103
+ * Profile information for the app connection.
104
+ */
105
+ profile?: pulumi.Input<inputs.app.GetConnectionProfileArgs>;
106
+ }
@@ -0,0 +1,62 @@
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.getConnectionOutput = exports.getConnection = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Retrieves the default provisioning connection for an app.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ### Basic Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as okta from "@pulumi/okta";
18
+ *
19
+ * const example = okta.app.getConnection({
20
+ * id: "0oa1234567890abcdef",
21
+ * });
22
+ * export const connectionStatus = example.then(example => example.status);
23
+ * ```
24
+ */
25
+ function getConnection(args, opts) {
26
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
27
+ return pulumi.runtime.invoke("okta:app/getConnection:getConnection", {
28
+ "authScheme": args.authScheme,
29
+ "baseUrl": args.baseUrl,
30
+ "id": args.id,
31
+ "profile": args.profile,
32
+ }, opts);
33
+ }
34
+ exports.getConnection = getConnection;
35
+ /**
36
+ * Retrieves the default provisioning connection for an app.
37
+ *
38
+ * ## Example Usage
39
+ *
40
+ * ### Basic Usage
41
+ *
42
+ * ```typescript
43
+ * import * as pulumi from "@pulumi/pulumi";
44
+ * import * as okta from "@pulumi/okta";
45
+ *
46
+ * const example = okta.app.getConnection({
47
+ * id: "0oa1234567890abcdef",
48
+ * });
49
+ * export const connectionStatus = example.then(example => example.status);
50
+ * ```
51
+ */
52
+ function getConnectionOutput(args, opts) {
53
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
54
+ return pulumi.runtime.invokeOutput("okta:app/getConnection:getConnection", {
55
+ "authScheme": args.authScheme,
56
+ "baseUrl": args.baseUrl,
57
+ "id": args.id,
58
+ "profile": args.profile,
59
+ }, opts);
60
+ }
61
+ exports.getConnectionOutput = getConnectionOutput;
62
+ //# sourceMappingURL=getConnection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getConnection.js","sourceRoot":"","sources":["../../app/getConnection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sCAQC;AAiDD;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAAiC;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sCAAsC,EAAE;QACvE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kDAQC"}
@@ -0,0 +1,156 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Retrieves a Feature object for an app.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ### Basic Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as okta from "@pulumi/okta";
14
+ *
15
+ * const example = okta.app.getFeatures({
16
+ * appId: "0oarblaf7hWdLawNg1d7",
17
+ * name: "INBOUND_PROVISIONING",
18
+ * });
19
+ * ```
20
+ *
21
+ * ### User Provisioning Feature
22
+ *
23
+ * ```typescript
24
+ * import * as pulumi from "@pulumi/pulumi";
25
+ * import * as okta from "@pulumi/okta";
26
+ *
27
+ * const userProvisioning = okta.app.getFeatures({
28
+ * appId: example.id,
29
+ * name: "USER_PROVISIONING",
30
+ * });
31
+ * export const provisioningStatus = userProvisioning.then(userProvisioning => userProvisioning.status);
32
+ * export const passwordSyncEnabled = userProvisioning.then(userProvisioning => userProvisioning.capabilities?.update?.password?.status);
33
+ * ```
34
+ *
35
+ * ### Inbound Provisioning Feature
36
+ *
37
+ * ```typescript
38
+ * import * as pulumi from "@pulumi/pulumi";
39
+ * import * as okta from "@pulumi/okta";
40
+ *
41
+ * const inboundProvisioning = okta.app.getFeatures({
42
+ * appId: example.id,
43
+ * name: "INBOUND_PROVISIONING",
44
+ * });
45
+ * export const importScheduleStatus = inboundProvisioning.then(inboundProvisioning => inboundProvisioning.capabilities?.importSettings?.schedule?.status);
46
+ * export const autoActivateUsers = inboundProvisioning.then(inboundProvisioning => inboundProvisioning.capabilities?.importRules?.userCreateAndMatch?.autoActivateNewUsers);
47
+ * ```
48
+ */
49
+ export declare function getFeatures(args: GetFeaturesArgs, opts?: pulumi.InvokeOptions): Promise<GetFeaturesResult>;
50
+ /**
51
+ * A collection of arguments for invoking getFeatures.
52
+ */
53
+ export interface GetFeaturesArgs {
54
+ /**
55
+ * The ID of the application to retrieve features for.
56
+ */
57
+ appId: string;
58
+ /**
59
+ * A block containing the feature capabilities configuration. See Capabilities below.
60
+ */
61
+ capabilities?: inputs.app.GetFeaturesCapabilities;
62
+ /**
63
+ * The name of the feature to retrieve. Valid values include:
64
+ * * `USER_PROVISIONING` - User profiles are pushed from Okta to the third-party app.
65
+ * * `INBOUND_PROVISIONING` - User profiles are imported from the third-party app into Okta.
66
+ */
67
+ name: string;
68
+ }
69
+ /**
70
+ * A collection of values returned by getFeatures.
71
+ */
72
+ export interface GetFeaturesResult {
73
+ readonly appId: string;
74
+ /**
75
+ * A block containing the feature capabilities configuration. See Capabilities below.
76
+ */
77
+ readonly capabilities?: outputs.app.GetFeaturesCapabilities;
78
+ /**
79
+ * Description of the feature.
80
+ */
81
+ readonly description: string;
82
+ /**
83
+ * The unique identifier of the app feature.
84
+ */
85
+ readonly id: string;
86
+ readonly name: string;
87
+ /**
88
+ * (String) Status of the import schedule. Valid values are `ENABLED` or `DISABLED`.
89
+ */
90
+ readonly status: string;
91
+ }
92
+ /**
93
+ * Retrieves a Feature object for an app.
94
+ *
95
+ * ## Example Usage
96
+ *
97
+ * ### Basic Usage
98
+ *
99
+ * ```typescript
100
+ * import * as pulumi from "@pulumi/pulumi";
101
+ * import * as okta from "@pulumi/okta";
102
+ *
103
+ * const example = okta.app.getFeatures({
104
+ * appId: "0oarblaf7hWdLawNg1d7",
105
+ * name: "INBOUND_PROVISIONING",
106
+ * });
107
+ * ```
108
+ *
109
+ * ### User Provisioning Feature
110
+ *
111
+ * ```typescript
112
+ * import * as pulumi from "@pulumi/pulumi";
113
+ * import * as okta from "@pulumi/okta";
114
+ *
115
+ * const userProvisioning = okta.app.getFeatures({
116
+ * appId: example.id,
117
+ * name: "USER_PROVISIONING",
118
+ * });
119
+ * export const provisioningStatus = userProvisioning.then(userProvisioning => userProvisioning.status);
120
+ * export const passwordSyncEnabled = userProvisioning.then(userProvisioning => userProvisioning.capabilities?.update?.password?.status);
121
+ * ```
122
+ *
123
+ * ### Inbound Provisioning Feature
124
+ *
125
+ * ```typescript
126
+ * import * as pulumi from "@pulumi/pulumi";
127
+ * import * as okta from "@pulumi/okta";
128
+ *
129
+ * const inboundProvisioning = okta.app.getFeatures({
130
+ * appId: example.id,
131
+ * name: "INBOUND_PROVISIONING",
132
+ * });
133
+ * export const importScheduleStatus = inboundProvisioning.then(inboundProvisioning => inboundProvisioning.capabilities?.importSettings?.schedule?.status);
134
+ * export const autoActivateUsers = inboundProvisioning.then(inboundProvisioning => inboundProvisioning.capabilities?.importRules?.userCreateAndMatch?.autoActivateNewUsers);
135
+ * ```
136
+ */
137
+ export declare function getFeaturesOutput(args: GetFeaturesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFeaturesResult>;
138
+ /**
139
+ * A collection of arguments for invoking getFeatures.
140
+ */
141
+ export interface GetFeaturesOutputArgs {
142
+ /**
143
+ * The ID of the application to retrieve features for.
144
+ */
145
+ appId: pulumi.Input<string>;
146
+ /**
147
+ * A block containing the feature capabilities configuration. See Capabilities below.
148
+ */
149
+ capabilities?: pulumi.Input<inputs.app.GetFeaturesCapabilitiesArgs>;
150
+ /**
151
+ * The name of the feature to retrieve. Valid values include:
152
+ * * `USER_PROVISIONING` - User profiles are pushed from Okta to the third-party app.
153
+ * * `INBOUND_PROVISIONING` - User profiles are imported from the third-party app into Okta.
154
+ */
155
+ name: pulumi.Input<string>;
156
+ }