@pulumi/auth0 2.20.0-alpha.1684525126 → 2.21.0-alpha.1685038121

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 (99) hide show
  1. package/action.d.ts +4 -13
  2. package/action.js +0 -3
  3. package/action.js.map +1 -1
  4. package/client.d.ts +37 -7
  5. package/client.js +2 -3
  6. package/client.js.map +1 -1
  7. package/clientCredentials.d.ts +161 -0
  8. package/clientCredentials.js +129 -0
  9. package/clientCredentials.js.map +1 -0
  10. package/clientGrant.d.ts +1 -2
  11. package/clientGrant.js +1 -2
  12. package/clientGrant.js.map +1 -1
  13. package/connection.d.ts +1 -12
  14. package/connection.js +0 -14
  15. package/connection.js.map +1 -1
  16. package/connectionClient.d.ts +7 -8
  17. package/connectionClient.js +7 -8
  18. package/connectionClient.js.map +1 -1
  19. package/connectionClients.d.ts +109 -0
  20. package/connectionClients.js +94 -0
  21. package/connectionClients.js.map +1 -0
  22. package/email.d.ts +1 -4
  23. package/email.js +0 -6
  24. package/email.js.map +1 -1
  25. package/emailTemplate.d.ts +0 -1
  26. package/emailTemplate.js +0 -1
  27. package/emailTemplate.js.map +1 -1
  28. package/getClient.d.ts +4 -0
  29. package/getClient.js.map +1 -1
  30. package/getGlobalClient.d.ts +4 -0
  31. package/getUser.d.ts +5 -0
  32. package/getUser.js.map +1 -1
  33. package/globalClient.d.ts +39 -6
  34. package/globalClient.js +2 -0
  35. package/globalClient.js.map +1 -1
  36. package/hook.d.ts +4 -2
  37. package/hook.js +3 -4
  38. package/hook.js.map +1 -1
  39. package/index.d.ts +30 -0
  40. package/index.js +52 -1
  41. package/index.js.map +1 -1
  42. package/logStream.d.ts +1 -3
  43. package/logStream.js +0 -5
  44. package/logStream.js.map +1 -1
  45. package/organization.d.ts +2 -3
  46. package/organization.js +0 -4
  47. package/organization.js.map +1 -1
  48. package/organizationConnection.d.ts +2 -8
  49. package/organizationConnection.js +2 -8
  50. package/organizationConnection.js.map +1 -1
  51. package/organizationMember.d.ts +3 -6
  52. package/organizationMember.js +3 -6
  53. package/organizationMember.js.map +1 -1
  54. package/package.json +2 -2
  55. package/package.json.dev +2 -2
  56. package/resourceServer.d.ts +7 -2
  57. package/resourceServer.js +0 -1
  58. package/resourceServer.js.map +1 -1
  59. package/resourceServerScope.d.ts +102 -0
  60. package/resourceServerScope.js +89 -0
  61. package/resourceServerScope.js.map +1 -0
  62. package/resourceServerScopes.d.ts +88 -0
  63. package/resourceServerScopes.js +92 -0
  64. package/resourceServerScopes.js.map +1 -0
  65. package/role.d.ts +8 -4
  66. package/role.js +0 -5
  67. package/role.js.map +1 -1
  68. package/rolePermission.d.ts +93 -0
  69. package/rolePermission.js +71 -0
  70. package/rolePermission.js.map +1 -0
  71. package/rolePermissions.d.ts +67 -0
  72. package/rolePermissions.js +62 -0
  73. package/rolePermissions.js.map +1 -0
  74. package/rule.d.ts +4 -2
  75. package/rule.js +3 -4
  76. package/rule.js.map +1 -1
  77. package/ruleConfig.d.ts +0 -1
  78. package/ruleConfig.js +0 -1
  79. package/ruleConfig.js.map +1 -1
  80. package/triggerBinding.d.ts +0 -2
  81. package/triggerBinding.js +0 -2
  82. package/triggerBinding.js.map +1 -1
  83. package/types/input.d.ts +85 -1
  84. package/types/output.d.ts +100 -2
  85. package/user.d.ts +17 -5
  86. package/user.js +3 -5
  87. package/user.js.map +1 -1
  88. package/userPermission.d.ts +101 -0
  89. package/userPermission.js +79 -0
  90. package/userPermission.js.map +1 -0
  91. package/userPermissions.d.ts +75 -0
  92. package/userPermissions.js +70 -0
  93. package/userPermissions.js.map +1 -0
  94. package/userRole.d.ts +109 -0
  95. package/userRole.js +94 -0
  96. package/userRole.js.map +1 -0
  97. package/userRoles.d.ts +93 -0
  98. package/userRoles.js +90 -0
  99. package/userRoles.js.map +1 -0
package/action.d.ts CHANGED
@@ -55,10 +55,7 @@ export declare class Action extends pulumi.CustomResource {
55
55
  */
56
56
  readonly secrets: pulumi.Output<outputs.ActionSecret[] | undefined>;
57
57
  /**
58
- * List of triggers that this action supports. At this time, an action can only target a single trigger at a time. Read
59
- * [Retrieving the set of triggers available within
60
- * actions](https://registry.terraform.io/providers/auth0/auth0/latest/docs/guides/action_triggers) to retrieve the latest
61
- * trigger versions supported.
58
+ * List of triggers that this action supports. At this time, an action can only target a single trigger at a time. Read Retrieving the set of triggers available within actions to retrieve the latest trigger versions supported.
62
59
  */
63
60
  readonly supportedTriggers: pulumi.Output<outputs.ActionSupportedTriggers>;
64
61
  /**
@@ -103,10 +100,7 @@ export interface ActionState {
103
100
  */
104
101
  secrets?: pulumi.Input<pulumi.Input<inputs.ActionSecret>[]>;
105
102
  /**
106
- * List of triggers that this action supports. At this time, an action can only target a single trigger at a time. Read
107
- * [Retrieving the set of triggers available within
108
- * actions](https://registry.terraform.io/providers/auth0/auth0/latest/docs/guides/action_triggers) to retrieve the latest
109
- * trigger versions supported.
103
+ * List of triggers that this action supports. At this time, an action can only target a single trigger at a time. Read Retrieving the set of triggers available within actions to retrieve the latest trigger versions supported.
110
104
  */
111
105
  supportedTriggers?: pulumi.Input<inputs.ActionSupportedTriggers>;
112
106
  /**
@@ -133,7 +127,7 @@ export interface ActionArgs {
133
127
  /**
134
128
  * The name of the action.
135
129
  */
136
- name: pulumi.Input<string>;
130
+ name?: pulumi.Input<string>;
137
131
  /**
138
132
  * The Node runtime. Defaults to `node12`. Possible values are: `node12`, `node16` or `node18`.
139
133
  */
@@ -143,10 +137,7 @@ export interface ActionArgs {
143
137
  */
144
138
  secrets?: pulumi.Input<pulumi.Input<inputs.ActionSecret>[]>;
145
139
  /**
146
- * List of triggers that this action supports. At this time, an action can only target a single trigger at a time. Read
147
- * [Retrieving the set of triggers available within
148
- * actions](https://registry.terraform.io/providers/auth0/auth0/latest/docs/guides/action_triggers) to retrieve the latest
149
- * trigger versions supported.
140
+ * List of triggers that this action supports. At this time, an action can only target a single trigger at a time. Read Retrieving the set of triggers available within actions to retrieve the latest trigger versions supported.
150
141
  */
151
142
  supportedTriggers: pulumi.Input<inputs.ActionSupportedTriggers>;
152
143
  }
package/action.js CHANGED
@@ -60,9 +60,6 @@ class Action extends pulumi.CustomResource {
60
60
  if ((!args || args.code === undefined) && !opts.urn) {
61
61
  throw new Error("Missing required property 'code'");
62
62
  }
63
- if ((!args || args.name === undefined) && !opts.urn) {
64
- throw new Error("Missing required property 'name'");
65
- }
66
63
  if ((!args || args.supportedTriggers === undefined) && !opts.urn) {
67
64
  throw new Error("Missing required property 'supportedTriggers'");
68
65
  }
package/action.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"action.js","sourceRoot":"","sources":["../action.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,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,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;IA8CD,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CA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AC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AArGL,wBAsGC;AAxFG,gBAAgB;AACO,mBAAY,GAAG,2BAA2B,CAAC"}
package/client.d.ts CHANGED
@@ -68,11 +68,16 @@ export declare class Client extends pulumi.CustomResource {
68
68
  } | undefined>;
69
69
  /**
70
70
  * Secret for the client. Keep this private. To access this attribute you need to add the `read:client_keys` scope to the
71
- * Terraform client. Otherwise, the attribute will contain an empty string.
71
+ * Terraform client. Otherwise, the attribute will contain an empty string. Use this attribute on the
72
+ * `auth0_client_credentials` resource instead, to allow managing it directly.
73
+ *
74
+ * @deprecated Reading the client secret through this attribute is deprecated and it will be removed in a future version. Migrate to the `auth0_client_credentials` resource to manage a client's secret instead.
72
75
  */
73
76
  readonly clientSecret: pulumi.Output<string>;
74
77
  /**
75
- * Custom metadata for the rotation. The contents of this map are arbitrary and are hashed by the provider. When the hash changes, a rotation is triggered. For example, the map could contain the user making the change, the date of the change, and a text reason for the change. For more info: [rotate-client-secret](https://auth0.com/docs/get-started/applications/rotate-client-secret).
78
+ * Custom metadata for the rotation. The contents of this map are arbitrary and are hashed by the provider. When the hash changes, a rotation is triggered. For example, the map could contain the user making the change, the date of the change, and a text reason for the change. For more info: rotate-client-secret for instructions on how to rotate client secrets with zero downtime.
79
+ *
80
+ * @deprecated Rotating a client's secret through this attribute is deprecated and it will be removed in a future version. Migrate to the `auth0_client_credentials` resource to manage a client's secret instead. Refer to the [client secret rotation guide](Refer to the [client secret rotation guide](https://registry.terraform.io/providers/auth0/auth0/latest/docs/guides/client_secret_rotation) for instructions on how to rotate client secrets with zero downtime.
76
81
  */
77
82
  readonly clientSecretRotationTrigger: pulumi.Output<{
78
83
  [key: string]: any;
@@ -143,6 +148,10 @@ export declare class Client extends pulumi.CustomResource {
143
148
  * Configuration settings to toggle native social login for mobile native applications. Once this is set it must stay set, with both resources set to `false` in order to change the `appType`.
144
149
  */
145
150
  readonly nativeSocialLogin: pulumi.Output<outputs.ClientNativeSocialLogin>;
151
+ /**
152
+ * Set of URLs that are valid to call back from Auth0 for OIDC backchannel logout. Currently only one URL is allowed.
153
+ */
154
+ readonly oidcBackchannelLogoutUrls: pulumi.Output<string[] | undefined>;
146
155
  /**
147
156
  * Indicates whether this client will conform to strict OIDC specifications.
148
157
  */
@@ -175,6 +184,8 @@ export declare class Client extends pulumi.CustomResource {
175
184
  readonly ssoDisabled: pulumi.Output<boolean | undefined>;
176
185
  /**
177
186
  * Defines the requested authentication method for the token endpoint. Options include `none` (public client without a client secret), `clientSecretPost` (client uses HTTP POST parameters), `clientSecretBasic` (client uses HTTP Basic).
187
+ *
188
+ * @deprecated Managing the authentication method through this attribute is deprecated and it will be changed to read-only in a future version. Migrate to the `auth0_client_credentials` resource to manage a client's authentication method instead. Check the [MIGRATION GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md) on how to do that.
178
189
  */
179
190
  readonly tokenEndpointAuthMethod: pulumi.Output<string>;
180
191
  /**
@@ -188,7 +199,7 @@ export declare class Client extends pulumi.CustomResource {
188
199
  * @param args The arguments to use to populate this resource's properties.
189
200
  * @param opts A bag of options that control this resource's behavior.
190
201
  */
191
- constructor(name: string, args: ClientArgs, opts?: pulumi.CustomResourceOptions);
202
+ constructor(name: string, args?: ClientArgs, opts?: pulumi.CustomResourceOptions);
192
203
  }
193
204
  /**
194
205
  * Input properties used for looking up and filtering Client resources.
@@ -234,11 +245,16 @@ export interface ClientState {
234
245
  }>;
235
246
  /**
236
247
  * Secret for the client. Keep this private. To access this attribute you need to add the `read:client_keys` scope to the
237
- * Terraform client. Otherwise, the attribute will contain an empty string.
248
+ * Terraform client. Otherwise, the attribute will contain an empty string. Use this attribute on the
249
+ * `auth0_client_credentials` resource instead, to allow managing it directly.
250
+ *
251
+ * @deprecated Reading the client secret through this attribute is deprecated and it will be removed in a future version. Migrate to the `auth0_client_credentials` resource to manage a client's secret instead.
238
252
  */
239
253
  clientSecret?: pulumi.Input<string>;
240
254
  /**
241
- * Custom metadata for the rotation. The contents of this map are arbitrary and are hashed by the provider. When the hash changes, a rotation is triggered. For example, the map could contain the user making the change, the date of the change, and a text reason for the change. For more info: [rotate-client-secret](https://auth0.com/docs/get-started/applications/rotate-client-secret).
255
+ * Custom metadata for the rotation. The contents of this map are arbitrary and are hashed by the provider. When the hash changes, a rotation is triggered. For example, the map could contain the user making the change, the date of the change, and a text reason for the change. For more info: rotate-client-secret for instructions on how to rotate client secrets with zero downtime.
256
+ *
257
+ * @deprecated Rotating a client's secret through this attribute is deprecated and it will be removed in a future version. Migrate to the `auth0_client_credentials` resource to manage a client's secret instead. Refer to the [client secret rotation guide](Refer to the [client secret rotation guide](https://registry.terraform.io/providers/auth0/auth0/latest/docs/guides/client_secret_rotation) for instructions on how to rotate client secrets with zero downtime.
242
258
  */
243
259
  clientSecretRotationTrigger?: pulumi.Input<{
244
260
  [key: string]: any;
@@ -309,6 +325,10 @@ export interface ClientState {
309
325
  * Configuration settings to toggle native social login for mobile native applications. Once this is set it must stay set, with both resources set to `false` in order to change the `appType`.
310
326
  */
311
327
  nativeSocialLogin?: pulumi.Input<inputs.ClientNativeSocialLogin>;
328
+ /**
329
+ * Set of URLs that are valid to call back from Auth0 for OIDC backchannel logout. Currently only one URL is allowed.
330
+ */
331
+ oidcBackchannelLogoutUrls?: pulumi.Input<pulumi.Input<string>[]>;
312
332
  /**
313
333
  * Indicates whether this client will conform to strict OIDC specifications.
314
334
  */
@@ -341,6 +361,8 @@ export interface ClientState {
341
361
  ssoDisabled?: pulumi.Input<boolean>;
342
362
  /**
343
363
  * Defines the requested authentication method for the token endpoint. Options include `none` (public client without a client secret), `clientSecretPost` (client uses HTTP POST parameters), `clientSecretBasic` (client uses HTTP Basic).
364
+ *
365
+ * @deprecated Managing the authentication method through this attribute is deprecated and it will be changed to read-only in a future version. Migrate to the `auth0_client_credentials` resource to manage a client's authentication method instead. Check the [MIGRATION GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md) on how to do that.
344
366
  */
345
367
  tokenEndpointAuthMethod?: pulumi.Input<string>;
346
368
  /**
@@ -387,7 +409,9 @@ export interface ClientArgs {
387
409
  [key: string]: any;
388
410
  }>;
389
411
  /**
390
- * Custom metadata for the rotation. The contents of this map are arbitrary and are hashed by the provider. When the hash changes, a rotation is triggered. For example, the map could contain the user making the change, the date of the change, and a text reason for the change. For more info: [rotate-client-secret](https://auth0.com/docs/get-started/applications/rotate-client-secret).
412
+ * Custom metadata for the rotation. The contents of this map are arbitrary and are hashed by the provider. When the hash changes, a rotation is triggered. For example, the map could contain the user making the change, the date of the change, and a text reason for the change. For more info: rotate-client-secret for instructions on how to rotate client secrets with zero downtime.
413
+ *
414
+ * @deprecated Rotating a client's secret through this attribute is deprecated and it will be removed in a future version. Migrate to the `auth0_client_credentials` resource to manage a client's secret instead. Refer to the [client secret rotation guide](Refer to the [client secret rotation guide](https://registry.terraform.io/providers/auth0/auth0/latest/docs/guides/client_secret_rotation) for instructions on how to rotate client secrets with zero downtime.
391
415
  */
392
416
  clientSecretRotationTrigger?: pulumi.Input<{
393
417
  [key: string]: any;
@@ -453,11 +477,15 @@ export interface ClientArgs {
453
477
  /**
454
478
  * Name of the client.
455
479
  */
456
- name: pulumi.Input<string>;
480
+ name?: pulumi.Input<string>;
457
481
  /**
458
482
  * Configuration settings to toggle native social login for mobile native applications. Once this is set it must stay set, with both resources set to `false` in order to change the `appType`.
459
483
  */
460
484
  nativeSocialLogin?: pulumi.Input<inputs.ClientNativeSocialLogin>;
485
+ /**
486
+ * Set of URLs that are valid to call back from Auth0 for OIDC backchannel logout. Currently only one URL is allowed.
487
+ */
488
+ oidcBackchannelLogoutUrls?: pulumi.Input<pulumi.Input<string>[]>;
461
489
  /**
462
490
  * Indicates whether this client will conform to strict OIDC specifications.
463
491
  */
@@ -484,6 +512,8 @@ export interface ClientArgs {
484
512
  ssoDisabled?: pulumi.Input<boolean>;
485
513
  /**
486
514
  * Defines the requested authentication method for the token endpoint. Options include `none` (public client without a client secret), `clientSecretPost` (client uses HTTP POST parameters), `clientSecretBasic` (client uses HTTP Basic).
515
+ *
516
+ * @deprecated Managing the authentication method through this attribute is deprecated and it will be changed to read-only in a future version. Migrate to the `auth0_client_credentials` resource to manage a client's authentication method instead. Check the [MIGRATION GUIDE](https://github.com/auth0/terraform-provider-auth0/blob/main/MIGRATION_GUIDE.md) on how to do that.
487
517
  */
488
518
  tokenEndpointAuthMethod?: pulumi.Input<string>;
489
519
  /**
package/client.js CHANGED
@@ -72,6 +72,7 @@ class Client extends pulumi.CustomResource {
72
72
  resourceInputs["mobile"] = state ? state.mobile : undefined;
73
73
  resourceInputs["name"] = state ? state.name : undefined;
74
74
  resourceInputs["nativeSocialLogin"] = state ? state.nativeSocialLogin : undefined;
75
+ resourceInputs["oidcBackchannelLogoutUrls"] = state ? state.oidcBackchannelLogoutUrls : undefined;
75
76
  resourceInputs["oidcConformant"] = state ? state.oidcConformant : undefined;
76
77
  resourceInputs["organizationRequireBehavior"] = state ? state.organizationRequireBehavior : undefined;
77
78
  resourceInputs["organizationUsage"] = state ? state.organizationUsage : undefined;
@@ -84,9 +85,6 @@ class Client extends pulumi.CustomResource {
84
85
  }
85
86
  else {
86
87
  const args = argsOrState;
87
- if ((!args || args.name === undefined) && !opts.urn) {
88
- throw new Error("Missing required property 'name'");
89
- }
90
88
  resourceInputs["addons"] = args ? args.addons : undefined;
91
89
  resourceInputs["allowedClients"] = args ? args.allowedClients : undefined;
92
90
  resourceInputs["allowedLogoutUrls"] = args ? args.allowedLogoutUrls : undefined;
@@ -112,6 +110,7 @@ class Client extends pulumi.CustomResource {
112
110
  resourceInputs["mobile"] = args ? args.mobile : undefined;
113
111
  resourceInputs["name"] = args ? args.name : undefined;
114
112
  resourceInputs["nativeSocialLogin"] = args ? args.nativeSocialLogin : undefined;
113
+ resourceInputs["oidcBackchannelLogoutUrls"] = args ? args.oidcBackchannelLogoutUrls : undefined;
115
114
  resourceInputs["oidcConformant"] = args ? args.oidcConformant : undefined;
116
115
  resourceInputs["organizationRequireBehavior"] = args ? args.organizationRequireBehavior : undefined;
117
116
  resourceInputs["organizationUsage"] = args ? args.organizationUsage : undefined;
package/client.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"client.js","sourceRoot":"","sources":["../client.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC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IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,yBAAyB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5F,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,cAAc,EAAE,aAAa,CAAC,EAAE,CAAC;QAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AAvRL,wBAwRC;AA1QG,gBAAgB;AACO,mBAAY,GAAG,2BAA2B,CAAC"}
@@ -0,0 +1,161 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * With this resource, you can configure the method to use when making requests to any endpoint that requires this client to authenticate.
6
+ *
7
+ * > Refer to the client secret rotation guide
8
+ * for instructions on how to rotate client secrets with zero downtime.
9
+ *
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as auth0 from "@pulumi/auth0";
15
+ *
16
+ * const myClient = new auth0.Client("myClient", {
17
+ * appType: "non_interactive",
18
+ * jwtConfiguration: {
19
+ * alg: "RS256",
20
+ * },
21
+ * });
22
+ * // Configuring client_secret_post as an authentication method.
23
+ * const testClientCredentials = new auth0.ClientCredentials("testClientCredentials", {
24
+ * clientId: myClient.id,
25
+ * authenticationMethod: "client_secret_post",
26
+ * });
27
+ * // Configuring client_secret_basic as an authentication method.
28
+ * const testIndex_clientCredentialsClientCredentials = new auth0.ClientCredentials("testIndex/clientCredentialsClientCredentials", {
29
+ * clientId: myClient.id,
30
+ * authenticationMethod: "client_secret_basic",
31
+ * });
32
+ * // Configuring none as an authentication method.
33
+ * const testAuth0Index_clientCredentialsClientCredentials = new auth0.ClientCredentials("testAuth0Index/clientCredentialsClientCredentials", {
34
+ * clientId: myClient.id,
35
+ * authenticationMethod: "none",
36
+ * });
37
+ * // Configuring private_key_jwt as an authentication method.
38
+ * const testAuth0Index_clientCredentialsClientCredentials1 = new auth0.ClientCredentials("testAuth0Index/clientCredentialsClientCredentials1", {
39
+ * clientId: myClient.id,
40
+ * authenticationMethod: "private_key_jwt",
41
+ * privateKeyJwt: {
42
+ * credentials: [{
43
+ * name: "Testing Credentials 1",
44
+ * credentialType: "public_key",
45
+ * algorithm: "RS256",
46
+ * parseExpiryFromCert: true,
47
+ * pem: `-----BEGIN CERTIFICATE-----
48
+ * MIIFWDCCA0ACCQDXqpBo3R...G9w0BAQsFADBuMQswCQYDVQQGEwJl
49
+ * -----END CERTIFICATE-----
50
+ * `,
51
+ * }],
52
+ * },
53
+ * });
54
+ * // Configuring the client_secret.
55
+ * const testAuth0Index_clientCredentialsClientCredentials2 = new auth0.ClientCredentials("testAuth0Index/clientCredentialsClientCredentials2", {
56
+ * clientId: myClient.id,
57
+ * authenticationMethod: "client_secret_basic",
58
+ * clientSecret: "LUFqPx+sRLjbL7peYRPFmFu-bbvE7u7og4YUNe_C345=683341",
59
+ * });
60
+ * ```
61
+ *
62
+ * ## Import
63
+ *
64
+ * A client credentials resource can be imported using the client's ID. # Example
65
+ *
66
+ * ```sh
67
+ * $ pulumi import auth0:index/clientCredentials:ClientCredentials my_creds AaiyAPdpYdesoKnqjj8HJqRn4T5titww
68
+ * ```
69
+ */
70
+ export declare class ClientCredentials extends pulumi.CustomResource {
71
+ /**
72
+ * Get an existing ClientCredentials resource's state with the given name, ID, and optional extra
73
+ * properties used to qualify the lookup.
74
+ *
75
+ * @param name The _unique_ name of the resulting resource.
76
+ * @param id The _unique_ provider ID of the resource to lookup.
77
+ * @param state Any extra arguments used during the lookup.
78
+ * @param opts Optional settings to control the behavior of the CustomResource.
79
+ */
80
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ClientCredentialsState, opts?: pulumi.CustomResourceOptions): ClientCredentials;
81
+ /**
82
+ * Returns true if the given object is an instance of ClientCredentials. This is designed to work even
83
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
84
+ */
85
+ static isInstance(obj: any): obj is ClientCredentials;
86
+ /**
87
+ * Configure the method to use when making requests to any endpoint that requires this client to authenticate. Options include `none` (public client without a client secret), `clientSecretPost` (confidential client using HTTP POST parameters), `clientSecretBasic` (confidential client using HTTP Basic), `privateKeyJwt` (confidential client using a Private Key JWT).
88
+ */
89
+ readonly authenticationMethod: pulumi.Output<string>;
90
+ /**
91
+ * The ID of the client for which to configure the authentication method.
92
+ */
93
+ readonly clientId: pulumi.Output<string>;
94
+ /**
95
+ * Secret for the client when using `client_secret_post` or `client_secret_basic` authentication method. Keep this private.
96
+ * To access this attribute you need to add the `read:client_keys` scope to the Terraform client. Otherwise, the attribute
97
+ * will contain an empty string. The attribute will also be an empty string in case `private_key_jwt` is selected as an
98
+ * authentication method.
99
+ */
100
+ readonly clientSecret: pulumi.Output<string>;
101
+ /**
102
+ * Defines `privateKeyJwt` client authentication method.
103
+ */
104
+ readonly privateKeyJwt: pulumi.Output<outputs.ClientCredentialsPrivateKeyJwt | undefined>;
105
+ /**
106
+ * Create a ClientCredentials resource with the given unique name, arguments, and options.
107
+ *
108
+ * @param name The _unique_ name of the resource.
109
+ * @param args The arguments to use to populate this resource's properties.
110
+ * @param opts A bag of options that control this resource's behavior.
111
+ */
112
+ constructor(name: string, args: ClientCredentialsArgs, opts?: pulumi.CustomResourceOptions);
113
+ }
114
+ /**
115
+ * Input properties used for looking up and filtering ClientCredentials resources.
116
+ */
117
+ export interface ClientCredentialsState {
118
+ /**
119
+ * Configure the method to use when making requests to any endpoint that requires this client to authenticate. Options include `none` (public client without a client secret), `clientSecretPost` (confidential client using HTTP POST parameters), `clientSecretBasic` (confidential client using HTTP Basic), `privateKeyJwt` (confidential client using a Private Key JWT).
120
+ */
121
+ authenticationMethod?: pulumi.Input<string>;
122
+ /**
123
+ * The ID of the client for which to configure the authentication method.
124
+ */
125
+ clientId?: pulumi.Input<string>;
126
+ /**
127
+ * Secret for the client when using `client_secret_post` or `client_secret_basic` authentication method. Keep this private.
128
+ * To access this attribute you need to add the `read:client_keys` scope to the Terraform client. Otherwise, the attribute
129
+ * will contain an empty string. The attribute will also be an empty string in case `private_key_jwt` is selected as an
130
+ * authentication method.
131
+ */
132
+ clientSecret?: pulumi.Input<string>;
133
+ /**
134
+ * Defines `privateKeyJwt` client authentication method.
135
+ */
136
+ privateKeyJwt?: pulumi.Input<inputs.ClientCredentialsPrivateKeyJwt>;
137
+ }
138
+ /**
139
+ * The set of arguments for constructing a ClientCredentials resource.
140
+ */
141
+ export interface ClientCredentialsArgs {
142
+ /**
143
+ * Configure the method to use when making requests to any endpoint that requires this client to authenticate. Options include `none` (public client without a client secret), `clientSecretPost` (confidential client using HTTP POST parameters), `clientSecretBasic` (confidential client using HTTP Basic), `privateKeyJwt` (confidential client using a Private Key JWT).
144
+ */
145
+ authenticationMethod: pulumi.Input<string>;
146
+ /**
147
+ * The ID of the client for which to configure the authentication method.
148
+ */
149
+ clientId: pulumi.Input<string>;
150
+ /**
151
+ * Secret for the client when using `client_secret_post` or `client_secret_basic` authentication method. Keep this private.
152
+ * To access this attribute you need to add the `read:client_keys` scope to the Terraform client. Otherwise, the attribute
153
+ * will contain an empty string. The attribute will also be an empty string in case `private_key_jwt` is selected as an
154
+ * authentication method.
155
+ */
156
+ clientSecret?: pulumi.Input<string>;
157
+ /**
158
+ * Defines `privateKeyJwt` client authentication method.
159
+ */
160
+ privateKeyJwt?: pulumi.Input<inputs.ClientCredentialsPrivateKeyJwt>;
161
+ }
@@ -0,0 +1,129 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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.ClientCredentials = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * With this resource, you can configure the method to use when making requests to any endpoint that requires this client to authenticate.
10
+ *
11
+ * > Refer to the client secret rotation guide
12
+ * for instructions on how to rotate client secrets with zero downtime.
13
+ *
14
+ * ## Example Usage
15
+ *
16
+ * ```typescript
17
+ * import * as pulumi from "@pulumi/pulumi";
18
+ * import * as auth0 from "@pulumi/auth0";
19
+ *
20
+ * const myClient = new auth0.Client("myClient", {
21
+ * appType: "non_interactive",
22
+ * jwtConfiguration: {
23
+ * alg: "RS256",
24
+ * },
25
+ * });
26
+ * // Configuring client_secret_post as an authentication method.
27
+ * const testClientCredentials = new auth0.ClientCredentials("testClientCredentials", {
28
+ * clientId: myClient.id,
29
+ * authenticationMethod: "client_secret_post",
30
+ * });
31
+ * // Configuring client_secret_basic as an authentication method.
32
+ * const testIndex_clientCredentialsClientCredentials = new auth0.ClientCredentials("testIndex/clientCredentialsClientCredentials", {
33
+ * clientId: myClient.id,
34
+ * authenticationMethod: "client_secret_basic",
35
+ * });
36
+ * // Configuring none as an authentication method.
37
+ * const testAuth0Index_clientCredentialsClientCredentials = new auth0.ClientCredentials("testAuth0Index/clientCredentialsClientCredentials", {
38
+ * clientId: myClient.id,
39
+ * authenticationMethod: "none",
40
+ * });
41
+ * // Configuring private_key_jwt as an authentication method.
42
+ * const testAuth0Index_clientCredentialsClientCredentials1 = new auth0.ClientCredentials("testAuth0Index/clientCredentialsClientCredentials1", {
43
+ * clientId: myClient.id,
44
+ * authenticationMethod: "private_key_jwt",
45
+ * privateKeyJwt: {
46
+ * credentials: [{
47
+ * name: "Testing Credentials 1",
48
+ * credentialType: "public_key",
49
+ * algorithm: "RS256",
50
+ * parseExpiryFromCert: true,
51
+ * pem: `-----BEGIN CERTIFICATE-----
52
+ * MIIFWDCCA0ACCQDXqpBo3R...G9w0BAQsFADBuMQswCQYDVQQGEwJl
53
+ * -----END CERTIFICATE-----
54
+ * `,
55
+ * }],
56
+ * },
57
+ * });
58
+ * // Configuring the client_secret.
59
+ * const testAuth0Index_clientCredentialsClientCredentials2 = new auth0.ClientCredentials("testAuth0Index/clientCredentialsClientCredentials2", {
60
+ * clientId: myClient.id,
61
+ * authenticationMethod: "client_secret_basic",
62
+ * clientSecret: "LUFqPx+sRLjbL7peYRPFmFu-bbvE7u7og4YUNe_C345=683341",
63
+ * });
64
+ * ```
65
+ *
66
+ * ## Import
67
+ *
68
+ * A client credentials resource can be imported using the client's ID. # Example
69
+ *
70
+ * ```sh
71
+ * $ pulumi import auth0:index/clientCredentials:ClientCredentials my_creds AaiyAPdpYdesoKnqjj8HJqRn4T5titww
72
+ * ```
73
+ */
74
+ class ClientCredentials extends pulumi.CustomResource {
75
+ /**
76
+ * Get an existing ClientCredentials resource's state with the given name, ID, and optional extra
77
+ * properties used to qualify the lookup.
78
+ *
79
+ * @param name The _unique_ name of the resulting resource.
80
+ * @param id The _unique_ provider ID of the resource to lookup.
81
+ * @param state Any extra arguments used during the lookup.
82
+ * @param opts Optional settings to control the behavior of the CustomResource.
83
+ */
84
+ static get(name, id, state, opts) {
85
+ return new ClientCredentials(name, state, Object.assign(Object.assign({}, opts), { id: id }));
86
+ }
87
+ /**
88
+ * Returns true if the given object is an instance of ClientCredentials. This is designed to work even
89
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
90
+ */
91
+ static isInstance(obj) {
92
+ if (obj === undefined || obj === null) {
93
+ return false;
94
+ }
95
+ return obj['__pulumiType'] === ClientCredentials.__pulumiType;
96
+ }
97
+ constructor(name, argsOrState, opts) {
98
+ let resourceInputs = {};
99
+ opts = opts || {};
100
+ if (opts.id) {
101
+ const state = argsOrState;
102
+ resourceInputs["authenticationMethod"] = state ? state.authenticationMethod : undefined;
103
+ resourceInputs["clientId"] = state ? state.clientId : undefined;
104
+ resourceInputs["clientSecret"] = state ? state.clientSecret : undefined;
105
+ resourceInputs["privateKeyJwt"] = state ? state.privateKeyJwt : undefined;
106
+ }
107
+ else {
108
+ const args = argsOrState;
109
+ if ((!args || args.authenticationMethod === undefined) && !opts.urn) {
110
+ throw new Error("Missing required property 'authenticationMethod'");
111
+ }
112
+ if ((!args || args.clientId === undefined) && !opts.urn) {
113
+ throw new Error("Missing required property 'clientId'");
114
+ }
115
+ resourceInputs["authenticationMethod"] = args ? args.authenticationMethod : undefined;
116
+ resourceInputs["clientId"] = args ? args.clientId : undefined;
117
+ resourceInputs["clientSecret"] = (args === null || args === void 0 ? void 0 : args.clientSecret) ? pulumi.secret(args.clientSecret) : undefined;
118
+ resourceInputs["privateKeyJwt"] = args ? args.privateKeyJwt : undefined;
119
+ }
120
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
121
+ const secretOpts = { additionalSecretOutputs: ["clientSecret"] };
122
+ opts = pulumi.mergeOptions(opts, secretOpts);
123
+ super(ClientCredentials.__pulumiType, name, resourceInputs, opts);
124
+ }
125
+ }
126
+ exports.ClientCredentials = ClientCredentials;
127
+ /** @internal */
128
+ ClientCredentials.__pulumiType = 'auth0:index/clientCredentials:ClientCredentials';
129
+ //# sourceMappingURL=clientCredentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clientCredentials.js","sourceRoot":"","sources":["../clientCredentials.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFA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AAC,CAAC;IACtE,CAAC;;AAlFL,8CAmFC;AArEG,gBAAgB;AACO,8BAAY,GAAG,iDAAiD,CAAC"}
package/clientGrant.d.ts CHANGED
@@ -9,9 +9,8 @@ import * as pulumi from "@pulumi/pulumi";
9
9
  * import * as auth0 from "@pulumi/auth0";
10
10
  *
11
11
  * // The following example grants a client the "create:foo" permission (scope).
12
- * const myClient = new auth0.Client("myClient", {name: "Example Application - Client Grant (Managed by Terraform)"});
12
+ * const myClient = new auth0.Client("myClient", {});
13
13
  * const myResourceServer = new auth0.ResourceServer("myResourceServer", {
14
- * name: "Example Resource Server - Client Grant (Managed by Terraform)",
15
14
  * identifier: "https://api.example.com/client-grant",
16
15
  * scopes: [
17
16
  * {
package/clientGrant.js CHANGED
@@ -15,9 +15,8 @@ const utilities = require("./utilities");
15
15
  * import * as auth0 from "@pulumi/auth0";
16
16
  *
17
17
  * // The following example grants a client the "create:foo" permission (scope).
18
- * const myClient = new auth0.Client("myClient", {name: "Example Application - Client Grant (Managed by Terraform)"});
18
+ * const myClient = new auth0.Client("myClient", {});
19
19
  * const myResourceServer = new auth0.ResourceServer("myResourceServer", {
20
- * name: "Example Resource Server - Client Grant (Managed by Terraform)",
21
20
  * identifier: "https://api.example.com/client-grant",
22
21
  * scopes: [
23
22
  * {
@@ -1 +1 @@
1
- {"version":3,"file":"clientGrant.js","sourceRoot":"","sources":["../clientGrant.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,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