@pulumi/okta 6.2.0-alpha.1765348084 → 6.2.0-alpha.1765479032

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
package/app/token.d.ts ADDED
@@ -0,0 +1,108 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Example Usage
4
+ *
5
+ * ### Import and Manage Existing Token
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as okta from "@pulumi/okta";
10
+ *
11
+ * // Import an existing refresh token
12
+ * const example = new okta.app.Token("example", {
13
+ * clientId: "0oardd5r32PWsF4421d7",
14
+ * idProperty: "oar1godmqw4QUiX4C1d7",
15
+ * });
16
+ * ```
17
+ *
18
+ * ## Import
19
+ *
20
+ * Refresh tokens can be imported using the format `{client_id}/{token_id}`:
21
+ *
22
+ * bash
23
+ *
24
+ * ```sh
25
+ * $ pulumi import okta:app/token:Token example 0oardd5r32PWsF4421d7/oar1godmqw4QUiX4C1d7
26
+ * ```
27
+ *
28
+ * Where:
29
+ *
30
+ * - `0oardd5r32PWsF4421d7` is the application's client_id
31
+ *
32
+ * - `oar1godmqw4QUiX4C1d7` is the Refresh token ID
33
+ */
34
+ export declare class Token extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing Token resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param state Any extra arguments used during the lookup.
42
+ * @param opts Optional settings to control the behavior of the CustomResource.
43
+ */
44
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TokenState, opts?: pulumi.CustomResourceOptions): Token;
45
+ /**
46
+ * Returns true if the given object is an instance of Token. This is designed to work even
47
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
48
+ */
49
+ static isInstance(obj: any): obj is Token;
50
+ /**
51
+ * The unique Okta ID of the application associated with this token. This is typically the `clientId` of an refresh application.
52
+ */
53
+ readonly clientId: pulumi.Output<string>;
54
+ /**
55
+ * The unique Okta ID of the refresh token.
56
+ */
57
+ readonly idProperty: pulumi.Output<string>;
58
+ /**
59
+ * The current status of the token (e.g., `ACTIVE`, `REVOKED`).
60
+ */
61
+ readonly status: pulumi.Output<string>;
62
+ /**
63
+ * The unique Okta ID of the user associated with this token.
64
+ */
65
+ readonly userId: pulumi.Output<string>;
66
+ /**
67
+ * Create a Token resource with the given unique name, arguments, and options.
68
+ *
69
+ * @param name The _unique_ name of the resource.
70
+ * @param args The arguments to use to populate this resource's properties.
71
+ * @param opts A bag of options that control this resource's behavior.
72
+ */
73
+ constructor(name: string, args: TokenArgs, opts?: pulumi.CustomResourceOptions);
74
+ }
75
+ /**
76
+ * Input properties used for looking up and filtering Token resources.
77
+ */
78
+ export interface TokenState {
79
+ /**
80
+ * The unique Okta ID of the application associated with this token. This is typically the `clientId` of an refresh application.
81
+ */
82
+ clientId?: pulumi.Input<string>;
83
+ /**
84
+ * The unique Okta ID of the refresh token.
85
+ */
86
+ idProperty?: pulumi.Input<string>;
87
+ /**
88
+ * The current status of the token (e.g., `ACTIVE`, `REVOKED`).
89
+ */
90
+ status?: pulumi.Input<string>;
91
+ /**
92
+ * The unique Okta ID of the user associated with this token.
93
+ */
94
+ userId?: pulumi.Input<string>;
95
+ }
96
+ /**
97
+ * The set of arguments for constructing a Token resource.
98
+ */
99
+ export interface TokenArgs {
100
+ /**
101
+ * The unique Okta ID of the application associated with this token. This is typically the `clientId` of an refresh application.
102
+ */
103
+ clientId: pulumi.Input<string>;
104
+ /**
105
+ * The unique Okta ID of the refresh token.
106
+ */
107
+ idProperty: pulumi.Input<string>;
108
+ }
package/app/token.js ADDED
@@ -0,0 +1,93 @@
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.Token = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
11
+ * ### Import and Manage Existing Token
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as okta from "@pulumi/okta";
16
+ *
17
+ * // Import an existing refresh token
18
+ * const example = new okta.app.Token("example", {
19
+ * clientId: "0oardd5r32PWsF4421d7",
20
+ * idProperty: "oar1godmqw4QUiX4C1d7",
21
+ * });
22
+ * ```
23
+ *
24
+ * ## Import
25
+ *
26
+ * Refresh tokens can be imported using the format `{client_id}/{token_id}`:
27
+ *
28
+ * bash
29
+ *
30
+ * ```sh
31
+ * $ pulumi import okta:app/token:Token example 0oardd5r32PWsF4421d7/oar1godmqw4QUiX4C1d7
32
+ * ```
33
+ *
34
+ * Where:
35
+ *
36
+ * - `0oardd5r32PWsF4421d7` is the application's client_id
37
+ *
38
+ * - `oar1godmqw4QUiX4C1d7` is the Refresh token ID
39
+ */
40
+ class Token extends pulumi.CustomResource {
41
+ /**
42
+ * Get an existing Token resource's state with the given name, ID, and optional extra
43
+ * properties used to qualify the lookup.
44
+ *
45
+ * @param name The _unique_ name of the resulting resource.
46
+ * @param id The _unique_ provider ID of the resource to lookup.
47
+ * @param state Any extra arguments used during the lookup.
48
+ * @param opts Optional settings to control the behavior of the CustomResource.
49
+ */
50
+ static get(name, id, state, opts) {
51
+ return new Token(name, state, { ...opts, id: id });
52
+ }
53
+ /**
54
+ * Returns true if the given object is an instance of Token. This is designed to work even
55
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
56
+ */
57
+ static isInstance(obj) {
58
+ if (obj === undefined || obj === null) {
59
+ return false;
60
+ }
61
+ return obj['__pulumiType'] === Token.__pulumiType;
62
+ }
63
+ constructor(name, argsOrState, opts) {
64
+ let resourceInputs = {};
65
+ opts = opts || {};
66
+ if (opts.id) {
67
+ const state = argsOrState;
68
+ resourceInputs["clientId"] = state?.clientId;
69
+ resourceInputs["idProperty"] = state?.idProperty;
70
+ resourceInputs["status"] = state?.status;
71
+ resourceInputs["userId"] = state?.userId;
72
+ }
73
+ else {
74
+ const args = argsOrState;
75
+ if (args?.clientId === undefined && !opts.urn) {
76
+ throw new Error("Missing required property 'clientId'");
77
+ }
78
+ if (args?.idProperty === undefined && !opts.urn) {
79
+ throw new Error("Missing required property 'idProperty'");
80
+ }
81
+ resourceInputs["clientId"] = args?.clientId;
82
+ resourceInputs["idProperty"] = args?.idProperty;
83
+ resourceInputs["status"] = undefined /*out*/;
84
+ resourceInputs["userId"] = undefined /*out*/;
85
+ }
86
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
87
+ super(Token.__pulumiType, name, resourceInputs, opts);
88
+ }
89
+ }
90
+ exports.Token = Token;
91
+ /** @internal */
92
+ Token.__pulumiType = 'okta:app/token:Token';
93
+ //# sourceMappingURL=token.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"token.js","sourceRoot":"","sources":["../../app/token.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5D,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,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAoC,EAAE,IAAmC;QAC/F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqC,CAAC;YACpD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;YAC7C,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;SAC5C;aAAM;YACH,MAAM,IAAI,GAAG,WAAoC,CAAC;YAClD,IAAI,IAAI,EAAE,QAAQ,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;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,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,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,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AA7EL,sBA8EC;AAhEG,gBAAgB;AACO,kBAAY,GAAG,sBAAsB,CAAC"}
@@ -2,13 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
4
  /**
5
- * Manages a sign-on policy rules for the application.
6
- * > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information.
7
- * This resource allows you to create and configure a sign-on policy rule for the application.
8
- * A default or 'Catch-all Rule' sign-on policy rule can be imported and managed as a custom rule.
9
- * The only difference is that these fields are immutable and can not be managed: 'network_connection', 'network_excludes',
10
- * 'network_includes', 'platform_include', 'custom_expression', 'device_is_registered', 'device_is_managed', 'users_excluded',
11
- * 'users_included', 'groups_excluded', 'groups_included', 'user_types_excluded' and 'user_types_included'.
5
+ * ## Example Usage
12
6
  *
13
7
  * ## Import
14
8
  *
@@ -6,13 +6,7 @@ exports.AppSignonPolicyRule = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * Manages a sign-on policy rules for the application.
10
- * > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information.
11
- * This resource allows you to create and configure a sign-on policy rule for the application.
12
- * A default or 'Catch-all Rule' sign-on policy rule can be imported and managed as a custom rule.
13
- * The only difference is that these fields are immutable and can not be managed: 'network_connection', 'network_excludes',
14
- * 'network_includes', 'platform_include', 'custom_expression', 'device_is_registered', 'device_is_managed', 'users_excluded',
15
- * 'users_included', 'groups_excluded', 'groups_included', 'user_types_excluded' and 'user_types_included'.
9
+ * ## Example Usage
16
10
  *
17
11
  * ## Import
18
12
  *
@@ -1 +1 @@
1
- {"version":3,"file":"appSignonPolicyRule.js","sourceRoot":"","sources":["../appSignonPolicyRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1E,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,OA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AM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAjNL,kDAkNC;AApMG,gBAAgB;AACO,gCAAY,GAAG,oDAAoD,CAAC"}
@@ -0,0 +1,114 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Get OAuth 2.0 refresh token information for an authorization server client from Okta.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as okta from "@pulumi/okta";
10
+ *
11
+ * const example = okta.auth.getServerClients({
12
+ * id: "oar123456abcdefghijklm",
13
+ * authServerId: "aus123456abcdefghijklm",
14
+ * clientId: "0oa123456abcdefghijklm",
15
+ * });
16
+ * ```
17
+ */
18
+ export declare function getServerClients(args: GetServerClientsArgs, opts?: pulumi.InvokeOptions): Promise<GetServerClientsResult>;
19
+ /**
20
+ * A collection of arguments for invoking getServerClients.
21
+ */
22
+ export interface GetServerClientsArgs {
23
+ /**
24
+ * The ID of the authorization server.
25
+ */
26
+ authServerId: string;
27
+ /**
28
+ * The client ID of the app.
29
+ */
30
+ clientId: string;
31
+ /**
32
+ * The ID of the token.
33
+ */
34
+ id: string;
35
+ }
36
+ /**
37
+ * A collection of values returned by getServerClients.
38
+ */
39
+ export interface GetServerClientsResult {
40
+ /**
41
+ * The ID of the authorization server.
42
+ */
43
+ readonly authServerId: string;
44
+ /**
45
+ * The client ID of the app.
46
+ */
47
+ readonly clientId: string;
48
+ /**
49
+ * Timestamp when the object was created.
50
+ */
51
+ readonly created: string;
52
+ /**
53
+ * Expiration time of the OAuth 2.0 Token.
54
+ */
55
+ readonly expiresAt: string;
56
+ /**
57
+ * The ID of the token.
58
+ */
59
+ readonly id: string;
60
+ /**
61
+ * The complete URL of the authorization server that issued the Token
62
+ */
63
+ readonly issuer: string;
64
+ /**
65
+ * Timestamp when the object was last updated.
66
+ */
67
+ readonly lastUpdated: string;
68
+ /**
69
+ * The scope names attached to the Token.
70
+ */
71
+ readonly scopes: string[];
72
+ /**
73
+ * The status URI of the OAuth 2.0 application.
74
+ */
75
+ readonly status: string;
76
+ /**
77
+ * The ID of the user associated with the Token.
78
+ */
79
+ readonly userId: string;
80
+ }
81
+ /**
82
+ * Get OAuth 2.0 refresh token information for an authorization server client from Okta.
83
+ *
84
+ * ## Example Usage
85
+ *
86
+ * ```typescript
87
+ * import * as pulumi from "@pulumi/pulumi";
88
+ * import * as okta from "@pulumi/okta";
89
+ *
90
+ * const example = okta.auth.getServerClients({
91
+ * id: "oar123456abcdefghijklm",
92
+ * authServerId: "aus123456abcdefghijklm",
93
+ * clientId: "0oa123456abcdefghijklm",
94
+ * });
95
+ * ```
96
+ */
97
+ export declare function getServerClientsOutput(args: GetServerClientsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetServerClientsResult>;
98
+ /**
99
+ * A collection of arguments for invoking getServerClients.
100
+ */
101
+ export interface GetServerClientsOutputArgs {
102
+ /**
103
+ * The ID of the authorization server.
104
+ */
105
+ authServerId: pulumi.Input<string>;
106
+ /**
107
+ * The client ID of the app.
108
+ */
109
+ clientId: pulumi.Input<string>;
110
+ /**
111
+ * The ID of the token.
112
+ */
113
+ id: pulumi.Input<string>;
114
+ }
@@ -0,0 +1,58 @@
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.getServerClientsOutput = exports.getServerClients = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Get OAuth 2.0 refresh token information for an authorization server client from 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.auth.getServerClients({
18
+ * id: "oar123456abcdefghijklm",
19
+ * authServerId: "aus123456abcdefghijklm",
20
+ * clientId: "0oa123456abcdefghijklm",
21
+ * });
22
+ * ```
23
+ */
24
+ function getServerClients(args, opts) {
25
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
26
+ return pulumi.runtime.invoke("okta:auth/getServerClients:getServerClients", {
27
+ "authServerId": args.authServerId,
28
+ "clientId": args.clientId,
29
+ "id": args.id,
30
+ }, opts);
31
+ }
32
+ exports.getServerClients = getServerClients;
33
+ /**
34
+ * Get OAuth 2.0 refresh token information for an authorization server client from Okta.
35
+ *
36
+ * ## Example Usage
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as okta from "@pulumi/okta";
41
+ *
42
+ * const example = okta.auth.getServerClients({
43
+ * id: "oar123456abcdefghijklm",
44
+ * authServerId: "aus123456abcdefghijklm",
45
+ * clientId: "0oa123456abcdefghijklm",
46
+ * });
47
+ * ```
48
+ */
49
+ function getServerClientsOutput(args, opts) {
50
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
51
+ return pulumi.runtime.invokeOutput("okta:auth/getServerClients:getServerClients", {
52
+ "authServerId": args.authServerId,
53
+ "clientId": args.clientId,
54
+ "id": args.id,
55
+ }, opts);
56
+ }
57
+ exports.getServerClientsOutput = getServerClientsOutput;
58
+ //# sourceMappingURL=getServerClients.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getServerClients.js","sourceRoot":"","sources":["../../auth/getServerClients.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6CAA6C,EAAE;QACxE,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4CAOC;AAiED;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAAiC;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,6CAA6C,EAAE;QAC9E,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wDAOC"}
@@ -0,0 +1,113 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Get a specific authorization server credential key from Okta. Authorization server keys are JSON Web Keys (JWK) used for signing tokens issued by the authorization server.
4
+ *
5
+ * This data source allows you to retrieve information about a specific key used by an authorization server for token signing operations.
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.auth.getServerKeys({
14
+ * authServerId: "aus123456789abcdefgh",
15
+ * keyId: "abcdefghijk0123456789",
16
+ * });
17
+ * ```
18
+ *
19
+ * ## Notes
20
+ *
21
+ * - To find available key IDs for an authorization server, you can use the Okta Admin Console or make a direct API call to `/api/v1/authorizationServers/{authServerId}/credentials/keys`
22
+ * - The key ID (`kid`) is automatically generated by Okta and is unique within the authorization server
23
+ * - This data source is useful for retrieving key information for verification purposes or to reference in other configurations
24
+ */
25
+ export declare function getServerKeys(args: GetServerKeysArgs, opts?: pulumi.InvokeOptions): Promise<GetServerKeysResult>;
26
+ /**
27
+ * A collection of arguments for invoking getServerKeys.
28
+ */
29
+ export interface GetServerKeysArgs {
30
+ /**
31
+ * The ID of the authorization server.
32
+ */
33
+ authServerId: string;
34
+ /**
35
+ * The ID of the certificate key.
36
+ */
37
+ keyId: string;
38
+ }
39
+ /**
40
+ * A collection of values returned by getServerKeys.
41
+ */
42
+ export interface GetServerKeysResult {
43
+ /**
44
+ * The algorithm used with the Key. Typically "RS256" for RSA keys.
45
+ */
46
+ readonly alg: string;
47
+ /**
48
+ * The ID of the authorization server.
49
+ */
50
+ readonly authServerId: string;
51
+ /**
52
+ * RSA key value (public exponent) for Key binding. Typically "AQAB".
53
+ */
54
+ readonly e: string;
55
+ readonly id: string;
56
+ /**
57
+ * The ID of the certificate key.
58
+ */
59
+ readonly keyId: string;
60
+ /**
61
+ * Unique identifier for the key (Key ID).
62
+ */
63
+ readonly kid: string;
64
+ /**
65
+ * RSA modulus value that is used by both the public and private keys and provides a link between them.
66
+ */
67
+ readonly n: string;
68
+ /**
69
+ * The status of the key. An ACTIVE key is used to sign tokens issued by the authorization server. Supported values: `ACTIVE`, `NEXT`, or `EXPIRED`. A NEXT key is the next key that the authorization server uses to sign tokens when keys are rotated. The NEXT key might not be listed if it hasn't been generated. An EXPIRED key is the previous key that the authorization server used to sign tokens. The EXPIRED key might not be listed if no key has expired or the expired key was deleted.
70
+ */
71
+ readonly status: string;
72
+ /**
73
+ * Acceptable use of the key. Typically "sig" for signature operations.
74
+ */
75
+ readonly use: string;
76
+ }
77
+ /**
78
+ * Get a specific authorization server credential key from Okta. Authorization server keys are JSON Web Keys (JWK) used for signing tokens issued by the authorization server.
79
+ *
80
+ * This data source allows you to retrieve information about a specific key used by an authorization server for token signing operations.
81
+ *
82
+ * ## Example Usage
83
+ *
84
+ * ```typescript
85
+ * import * as pulumi from "@pulumi/pulumi";
86
+ * import * as okta from "@pulumi/okta";
87
+ *
88
+ * const example = okta.auth.getServerKeys({
89
+ * authServerId: "aus123456789abcdefgh",
90
+ * keyId: "abcdefghijk0123456789",
91
+ * });
92
+ * ```
93
+ *
94
+ * ## Notes
95
+ *
96
+ * - To find available key IDs for an authorization server, you can use the Okta Admin Console or make a direct API call to `/api/v1/authorizationServers/{authServerId}/credentials/keys`
97
+ * - The key ID (`kid`) is automatically generated by Okta and is unique within the authorization server
98
+ * - This data source is useful for retrieving key information for verification purposes or to reference in other configurations
99
+ */
100
+ export declare function getServerKeysOutput(args: GetServerKeysOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetServerKeysResult>;
101
+ /**
102
+ * A collection of arguments for invoking getServerKeys.
103
+ */
104
+ export interface GetServerKeysOutputArgs {
105
+ /**
106
+ * The ID of the authorization server.
107
+ */
108
+ authServerId: pulumi.Input<string>;
109
+ /**
110
+ * The ID of the certificate key.
111
+ */
112
+ keyId: pulumi.Input<string>;
113
+ }
@@ -0,0 +1,70 @@
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.getServerKeysOutput = exports.getServerKeys = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Get a specific authorization server credential key from Okta. Authorization server keys are JSON Web Keys (JWK) used for signing tokens issued by the authorization server.
10
+ *
11
+ * This data source allows you to retrieve information about a specific key used by an authorization server for token signing operations.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as okta from "@pulumi/okta";
18
+ *
19
+ * const example = okta.auth.getServerKeys({
20
+ * authServerId: "aus123456789abcdefgh",
21
+ * keyId: "abcdefghijk0123456789",
22
+ * });
23
+ * ```
24
+ *
25
+ * ## Notes
26
+ *
27
+ * - To find available key IDs for an authorization server, you can use the Okta Admin Console or make a direct API call to `/api/v1/authorizationServers/{authServerId}/credentials/keys`
28
+ * - The key ID (`kid`) is automatically generated by Okta and is unique within the authorization server
29
+ * - This data source is useful for retrieving key information for verification purposes or to reference in other configurations
30
+ */
31
+ function getServerKeys(args, opts) {
32
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
33
+ return pulumi.runtime.invoke("okta:auth/getServerKeys:getServerKeys", {
34
+ "authServerId": args.authServerId,
35
+ "keyId": args.keyId,
36
+ }, opts);
37
+ }
38
+ exports.getServerKeys = getServerKeys;
39
+ /**
40
+ * Get a specific authorization server credential key from Okta. Authorization server keys are JSON Web Keys (JWK) used for signing tokens issued by the authorization server.
41
+ *
42
+ * This data source allows you to retrieve information about a specific key used by an authorization server for token signing operations.
43
+ *
44
+ * ## Example Usage
45
+ *
46
+ * ```typescript
47
+ * import * as pulumi from "@pulumi/pulumi";
48
+ * import * as okta from "@pulumi/okta";
49
+ *
50
+ * const example = okta.auth.getServerKeys({
51
+ * authServerId: "aus123456789abcdefgh",
52
+ * keyId: "abcdefghijk0123456789",
53
+ * });
54
+ * ```
55
+ *
56
+ * ## Notes
57
+ *
58
+ * - To find available key IDs for an authorization server, you can use the Okta Admin Console or make a direct API call to `/api/v1/authorizationServers/{authServerId}/credentials/keys`
59
+ * - The key ID (`kid`) is automatically generated by Okta and is unique within the authorization server
60
+ * - This data source is useful for retrieving key information for verification purposes or to reference in other configurations
61
+ */
62
+ function getServerKeysOutput(args, opts) {
63
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
64
+ return pulumi.runtime.invokeOutput("okta:auth/getServerKeys:getServerKeys", {
65
+ "authServerId": args.authServerId,
66
+ "keyId": args.keyId,
67
+ }, opts);
68
+ }
69
+ exports.getServerKeysOutput = getServerKeysOutput;
70
+ //# sourceMappingURL=getServerKeys.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getServerKeys.js","sourceRoot":"","sources":["../../auth/getServerKeys.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;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,uCAAuC,EAAE;QAClE,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sCAMC;AAsDD;;;;;;;;;;;;;;;;;;;;;;GAsBG;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,uCAAuC,EAAE;QACxE,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC"}
package/auth/index.d.ts CHANGED
@@ -1,6 +1,12 @@
1
1
  export { GetServerArgs, GetServerResult, GetServerOutputArgs } from "./getServer";
2
2
  export declare const getServer: typeof import("./getServer").getServer;
3
3
  export declare const getServerOutput: typeof import("./getServer").getServerOutput;
4
+ export { GetServerClientsArgs, GetServerClientsResult, GetServerClientsOutputArgs } from "./getServerClients";
5
+ export declare const getServerClients: typeof import("./getServerClients").getServerClients;
6
+ export declare const getServerClientsOutput: typeof import("./getServerClients").getServerClientsOutput;
7
+ export { GetServerKeysArgs, GetServerKeysResult, GetServerKeysOutputArgs } from "./getServerKeys";
8
+ export declare const getServerKeys: typeof import("./getServerKeys").getServerKeys;
9
+ export declare const getServerKeysOutput: typeof import("./getServerKeys").getServerKeysOutput;
4
10
  export { GetServerPolicyArgs, GetServerPolicyResult, GetServerPolicyOutputArgs } from "./getServerPolicy";
5
11
  export declare const getServerPolicy: typeof import("./getServerPolicy").getServerPolicy;
6
12
  export declare const getServerPolicyOutput: typeof import("./getServerPolicy").getServerPolicyOutput;
package/auth/index.js CHANGED
@@ -2,12 +2,18 @@
2
2
  // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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.ServerScope = exports.ServerPolicyRule = exports.ServerPolicy = exports.ServerClaim = exports.Server = exports.getServerScopesOutput = exports.getServerScopes = exports.getServerPolicyOutput = exports.getServerPolicy = exports.getServerOutput = exports.getServer = void 0;
5
+ exports.ServerScope = exports.ServerPolicyRule = exports.ServerPolicy = exports.ServerClaim = exports.Server = exports.getServerScopesOutput = exports.getServerScopes = exports.getServerPolicyOutput = exports.getServerPolicy = exports.getServerKeysOutput = exports.getServerKeys = exports.getServerClientsOutput = exports.getServerClients = exports.getServerOutput = exports.getServer = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.getServer = null;
9
9
  exports.getServerOutput = null;
10
10
  utilities.lazyLoad(exports, ["getServer", "getServerOutput"], () => require("./getServer"));
11
+ exports.getServerClients = null;
12
+ exports.getServerClientsOutput = null;
13
+ utilities.lazyLoad(exports, ["getServerClients", "getServerClientsOutput"], () => require("./getServerClients"));
14
+ exports.getServerKeys = null;
15
+ exports.getServerKeysOutput = null;
16
+ utilities.lazyLoad(exports, ["getServerKeys", "getServerKeysOutput"], () => require("./getServerKeys"));
11
17
  exports.getServerPolicy = null;
12
18
  exports.getServerPolicyOutput = null;
13
19
  utilities.lazyLoad(exports, ["getServerPolicy", "getServerPolicyOutput"], () => require("./getServerPolicy"));