@pulumi/auth0 2.14.0-alpha.1663280530 → 2.14.0-alpha.1666810964
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/action.d.ts +25 -72
- package/action.js +2 -50
- package/action.js.map +1 -1
- package/attackProtection.d.ts +9 -8
- package/attackProtection.js +4 -4
- package/attackProtection.js.map +1 -1
- package/branding.d.ts +31 -30
- package/branding.js +14 -8
- package/branding.js.map +1 -1
- package/brandingTheme.d.ts +156 -0
- package/brandingTheme.js +165 -0
- package/brandingTheme.js.map +1 -0
- package/client.d.ts +145 -126
- package/client.js +26 -22
- package/client.js.map +1 -1
- package/clientGrant.d.ts +12 -13
- package/clientGrant.js +3 -4
- package/clientGrant.js.map +1 -1
- package/config/vars.d.ts +22 -0
- package/config/vars.js +6 -0
- package/config/vars.js.map +1 -1
- package/connection.d.ts +256 -41
- package/connection.js +236 -4
- package/connection.js.map +1 -1
- package/customDomain.d.ts +42 -18
- package/customDomain.js +6 -3
- package/customDomain.js.map +1 -1
- package/customDomainVerification.d.ts +15 -9
- package/customDomainVerification.js +4 -4
- package/customDomainVerification.js.map +1 -1
- package/email.d.ts +37 -18
- package/email.js +23 -5
- package/email.js.map +1 -1
- package/emailTemplate.d.ts +29 -32
- package/emailTemplate.js +2 -5
- package/emailTemplate.js.map +1 -1
- package/getClient.d.ts +111 -6
- package/getClient.js +3 -1
- package/getClient.js.map +1 -1
- package/getGlobalClient.d.ts +98 -31
- package/getGlobalClient.js +3 -11
- package/getGlobalClient.js.map +1 -1
- package/getTenant.d.ts +3 -3
- package/getTenant.js +1 -1
- package/globalClient.d.ts +333 -2
- package/globalClient.js +7 -3
- package/globalClient.js.map +1 -1
- package/guardian.d.ts +32 -56
- package/guardian.js +3 -4
- package/guardian.js.map +1 -1
- package/hook.d.ts +12 -18
- package/hook.js +9 -10
- package/hook.js.map +1 -1
- package/index.d.ts +91 -30
- package/index.js +94 -101
- package/index.js.map +1 -1
- package/logStream.d.ts +34 -18
- package/logStream.js +17 -2
- package/logStream.js.map +1 -1
- package/organization.d.ts +22 -55
- package/organization.js +8 -17
- package/organization.js.map +1 -1
- package/organizationConnection.d.ts +7 -5
- package/organizationConnection.js +7 -5
- package/organizationConnection.js.map +1 -1
- package/organizationMember.d.ts +27 -15
- package/organizationMember.js +18 -6
- package/organizationMember.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/prompt.d.ts +12 -12
- package/prompt.js +4 -4
- package/promptCustomText.d.ts +8 -9
- package/promptCustomText.js +2 -3
- package/promptCustomText.js.map +1 -1
- package/provider.d.ts +41 -0
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/resourceServer.d.ts +47 -46
- package/resourceServer.js +4 -1
- package/resourceServer.js.map +1 -1
- package/role.d.ts +13 -17
- package/role.js +2 -4
- package/role.js.map +1 -1
- package/rule.d.ts +19 -25
- package/rule.js +6 -12
- package/rule.js.map +1 -1
- package/ruleConfig.d.ts +12 -14
- package/ruleConfig.js +9 -9
- package/ruleConfig.js.map +1 -1
- package/tenant.d.ts +91 -80
- package/tenant.js +35 -25
- package/tenant.js.map +1 -1
- package/triggerBinding.d.ts +19 -26
- package/triggerBinding.js +11 -16
- package/triggerBinding.js.map +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +488 -425
- package/types/output.d.ts +500 -435
- package/user.d.ts +87 -44
- package/user.js +6 -6
- package/user.js.map +1 -1
- package/utilities.js +13 -1
- package/utilities.js.map +1 -1
package/customDomain.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
3
4
|
/**
|
|
4
|
-
* With Auth0, you can use a custom domain to maintain a consistent user experience. This resource allows you to create and
|
|
5
|
-
* manage a custom domain within your Auth0 tenant.
|
|
5
|
+
* With Auth0, you can use a custom domain to maintain a consistent user experience. This resource allows you to create and manage a custom domain within your Auth0 tenant.
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
@@ -18,7 +18,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
18
18
|
*
|
|
19
19
|
* ## Import
|
|
20
20
|
*
|
|
21
|
-
* Custom
|
|
21
|
+
* Custom domains can be imported using their ID. # Example
|
|
22
22
|
*
|
|
23
23
|
* ```sh
|
|
24
24
|
* $ pulumi import auth0:index/customDomain:CustomDomain my_custom_domain cd_XXXXXXXXXXXXXXXX
|
|
@@ -41,27 +41,35 @@ export declare class CustomDomain extends pulumi.CustomResource {
|
|
|
41
41
|
*/
|
|
42
42
|
static isInstance(obj: any): obj is CustomDomain;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* The HTTP header to fetch the client's IP address. Cannot be set on auth0Managed domains.
|
|
45
|
+
*/
|
|
46
|
+
readonly customClientIpHeader: pulumi.Output<string | undefined>;
|
|
47
|
+
/**
|
|
48
|
+
* Name of the custom domain.
|
|
45
49
|
*/
|
|
46
50
|
readonly domain: pulumi.Output<string>;
|
|
47
51
|
/**
|
|
48
|
-
*
|
|
52
|
+
* Once the configuration status is `ready`, the DNS name of the Auth0 origin server that handles traffic for the custom domain.
|
|
49
53
|
*/
|
|
50
54
|
readonly originDomainName: pulumi.Output<string>;
|
|
51
55
|
/**
|
|
52
|
-
*
|
|
56
|
+
* Indicates whether this is a primary domain.
|
|
53
57
|
*/
|
|
54
58
|
readonly primary: pulumi.Output<boolean>;
|
|
55
59
|
/**
|
|
56
|
-
*
|
|
60
|
+
* Configuration status for the custom domain. Options include `disabled`, `pending`, `pendingVerification`, and `ready`.
|
|
57
61
|
*/
|
|
58
62
|
readonly status: pulumi.Output<string>;
|
|
59
63
|
/**
|
|
60
|
-
*
|
|
64
|
+
* TLS policy for the custom domain. Available options are: `compatible` or `recommended`. Compatible includes TLS 1.0, 1.1, 1.2, and recommended only includes TLS 1.2. Cannot be set on selfManaged domains.
|
|
65
|
+
*/
|
|
66
|
+
readonly tlsPolicy: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Provisioning type for the custom domain. Options include `auth0ManagedCerts` and `selfManagedCerts`.
|
|
61
69
|
*/
|
|
62
70
|
readonly type: pulumi.Output<string>;
|
|
63
71
|
/**
|
|
64
|
-
*
|
|
72
|
+
* Configuration settings for verification.
|
|
65
73
|
*/
|
|
66
74
|
readonly verifications: pulumi.Output<outputs.CustomDomainVerification[]>;
|
|
67
75
|
/**
|
|
@@ -78,27 +86,35 @@ export declare class CustomDomain extends pulumi.CustomResource {
|
|
|
78
86
|
*/
|
|
79
87
|
export interface CustomDomainState {
|
|
80
88
|
/**
|
|
81
|
-
*
|
|
89
|
+
* The HTTP header to fetch the client's IP address. Cannot be set on auth0Managed domains.
|
|
90
|
+
*/
|
|
91
|
+
customClientIpHeader?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* Name of the custom domain.
|
|
82
94
|
*/
|
|
83
95
|
domain?: pulumi.Input<string>;
|
|
84
96
|
/**
|
|
85
|
-
*
|
|
97
|
+
* Once the configuration status is `ready`, the DNS name of the Auth0 origin server that handles traffic for the custom domain.
|
|
86
98
|
*/
|
|
87
99
|
originDomainName?: pulumi.Input<string>;
|
|
88
100
|
/**
|
|
89
|
-
*
|
|
101
|
+
* Indicates whether this is a primary domain.
|
|
90
102
|
*/
|
|
91
103
|
primary?: pulumi.Input<boolean>;
|
|
92
104
|
/**
|
|
93
|
-
*
|
|
105
|
+
* Configuration status for the custom domain. Options include `disabled`, `pending`, `pendingVerification`, and `ready`.
|
|
94
106
|
*/
|
|
95
107
|
status?: pulumi.Input<string>;
|
|
96
108
|
/**
|
|
97
|
-
*
|
|
109
|
+
* TLS policy for the custom domain. Available options are: `compatible` or `recommended`. Compatible includes TLS 1.0, 1.1, 1.2, and recommended only includes TLS 1.2. Cannot be set on selfManaged domains.
|
|
110
|
+
*/
|
|
111
|
+
tlsPolicy?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* Provisioning type for the custom domain. Options include `auth0ManagedCerts` and `selfManagedCerts`.
|
|
98
114
|
*/
|
|
99
115
|
type?: pulumi.Input<string>;
|
|
100
116
|
/**
|
|
101
|
-
*
|
|
117
|
+
* Configuration settings for verification.
|
|
102
118
|
*/
|
|
103
119
|
verifications?: pulumi.Input<pulumi.Input<inputs.CustomDomainVerification>[]>;
|
|
104
120
|
}
|
|
@@ -107,11 +123,19 @@ export interface CustomDomainState {
|
|
|
107
123
|
*/
|
|
108
124
|
export interface CustomDomainArgs {
|
|
109
125
|
/**
|
|
110
|
-
*
|
|
126
|
+
* The HTTP header to fetch the client's IP address. Cannot be set on auth0Managed domains.
|
|
127
|
+
*/
|
|
128
|
+
customClientIpHeader?: pulumi.Input<string>;
|
|
129
|
+
/**
|
|
130
|
+
* Name of the custom domain.
|
|
111
131
|
*/
|
|
112
132
|
domain: pulumi.Input<string>;
|
|
113
133
|
/**
|
|
114
|
-
*
|
|
134
|
+
* TLS policy for the custom domain. Available options are: `compatible` or `recommended`. Compatible includes TLS 1.0, 1.1, 1.2, and recommended only includes TLS 1.2. Cannot be set on selfManaged domains.
|
|
135
|
+
*/
|
|
136
|
+
tlsPolicy?: pulumi.Input<string>;
|
|
137
|
+
/**
|
|
138
|
+
* Provisioning type for the custom domain. Options include `auth0ManagedCerts` and `selfManagedCerts`.
|
|
115
139
|
*/
|
|
116
140
|
type: pulumi.Input<string>;
|
|
117
141
|
}
|
package/customDomain.js
CHANGED
|
@@ -6,8 +6,7 @@ exports.CustomDomain = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* With Auth0, you can use a custom domain to maintain a consistent user experience. This resource allows you to create and
|
|
10
|
-
* manage a custom domain within your Auth0 tenant.
|
|
9
|
+
* With Auth0, you can use a custom domain to maintain a consistent user experience. This resource allows you to create and manage a custom domain within your Auth0 tenant.
|
|
11
10
|
*
|
|
12
11
|
* ## Example Usage
|
|
13
12
|
*
|
|
@@ -23,7 +22,7 @@ const utilities = require("./utilities");
|
|
|
23
22
|
*
|
|
24
23
|
* ## Import
|
|
25
24
|
*
|
|
26
|
-
* Custom
|
|
25
|
+
* Custom domains can be imported using their ID. # Example
|
|
27
26
|
*
|
|
28
27
|
* ```sh
|
|
29
28
|
* $ pulumi import auth0:index/customDomain:CustomDomain my_custom_domain cd_XXXXXXXXXXXXXXXX
|
|
@@ -35,10 +34,12 @@ class CustomDomain extends pulumi.CustomResource {
|
|
|
35
34
|
opts = opts || {};
|
|
36
35
|
if (opts.id) {
|
|
37
36
|
const state = argsOrState;
|
|
37
|
+
resourceInputs["customClientIpHeader"] = state ? state.customClientIpHeader : undefined;
|
|
38
38
|
resourceInputs["domain"] = state ? state.domain : undefined;
|
|
39
39
|
resourceInputs["originDomainName"] = state ? state.originDomainName : undefined;
|
|
40
40
|
resourceInputs["primary"] = state ? state.primary : undefined;
|
|
41
41
|
resourceInputs["status"] = state ? state.status : undefined;
|
|
42
|
+
resourceInputs["tlsPolicy"] = state ? state.tlsPolicy : undefined;
|
|
42
43
|
resourceInputs["type"] = state ? state.type : undefined;
|
|
43
44
|
resourceInputs["verifications"] = state ? state.verifications : undefined;
|
|
44
45
|
}
|
|
@@ -50,7 +51,9 @@ class CustomDomain extends pulumi.CustomResource {
|
|
|
50
51
|
if ((!args || args.type === undefined) && !opts.urn) {
|
|
51
52
|
throw new Error("Missing required property 'type'");
|
|
52
53
|
}
|
|
54
|
+
resourceInputs["customClientIpHeader"] = args ? args.customClientIpHeader : undefined;
|
|
53
55
|
resourceInputs["domain"] = args ? args.domain : undefined;
|
|
56
|
+
resourceInputs["tlsPolicy"] = args ? args.tlsPolicy : undefined;
|
|
54
57
|
resourceInputs["type"] = args ? args.type : undefined;
|
|
55
58
|
resourceInputs["originDomainName"] = undefined /*out*/;
|
|
56
59
|
resourceInputs["primary"] = undefined /*out*/;
|
package/customDomain.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customDomain.js","sourceRoot":"","sources":["../customDomain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"customDomain.js","sourceRoot":"","sources":["../customDomain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IAqEnD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,cAAc,CAAC,sBAAsB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAA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AC;YAC7C,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;IApGD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;;AA1BL,oCAsGC;AAxFG,gBAAgB;AACO,yBAAY,GAAG,uCAAuC,CAAC"}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* With Auth0, you can use a custom domain to maintain a consistent user experience. This is a three-step process; you must
|
|
4
|
-
* configure the custom domain in Auth0, then create a DNS record for the domain, then verify the DNS record in Auth0.
|
|
5
|
-
* This resource allows for automating the verification part of the process.
|
|
3
|
+
* With Auth0, you can use a custom domain to maintain a consistent user experience. This is a three-step process; you must configure the custom domain in Auth0, then create a DNS record for the domain, then verify the DNS record in Auth0. This resource allows for automating the verification part of the process.
|
|
6
4
|
*
|
|
7
5
|
* ## Import
|
|
8
6
|
*
|
|
9
|
-
* You can import this resource using the custom domain
|
|
7
|
+
* You can import this resource using the custom domain ID. # Example
|
|
10
8
|
*
|
|
11
9
|
* ```sh
|
|
12
10
|
* $ pulumi import auth0:index/customDomainVerification:CustomDomainVerification my_custom_domain_verification cd_XXXXXXXXXXXXXXXX
|
|
@@ -28,13 +26,17 @@ export declare class CustomDomainVerification extends pulumi.CustomResource {
|
|
|
28
26
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
29
27
|
*/
|
|
30
28
|
static isInstance(obj: any): obj is CustomDomainVerification;
|
|
29
|
+
/**
|
|
30
|
+
* The value of the `cname-api-key` header to send when forwarding requests. Only present if the type of the custom domain
|
|
31
|
+
* is `self_managed_certs` and Terraform originally managed the domain's verification.
|
|
32
|
+
*/
|
|
31
33
|
readonly cnameApiKey: pulumi.Output<string>;
|
|
32
34
|
/**
|
|
33
|
-
*
|
|
35
|
+
* ID of the custom domain resource.
|
|
34
36
|
*/
|
|
35
37
|
readonly customDomainId: pulumi.Output<string>;
|
|
36
38
|
/**
|
|
37
|
-
*
|
|
39
|
+
* The DNS name of the Auth0 origin server that handles traffic for the custom domain.
|
|
38
40
|
*/
|
|
39
41
|
readonly originDomainName: pulumi.Output<string>;
|
|
40
42
|
/**
|
|
@@ -50,13 +52,17 @@ export declare class CustomDomainVerification extends pulumi.CustomResource {
|
|
|
50
52
|
* Input properties used for looking up and filtering CustomDomainVerification resources.
|
|
51
53
|
*/
|
|
52
54
|
export interface CustomDomainVerificationState {
|
|
55
|
+
/**
|
|
56
|
+
* The value of the `cname-api-key` header to send when forwarding requests. Only present if the type of the custom domain
|
|
57
|
+
* is `self_managed_certs` and Terraform originally managed the domain's verification.
|
|
58
|
+
*/
|
|
53
59
|
cnameApiKey?: pulumi.Input<string>;
|
|
54
60
|
/**
|
|
55
|
-
*
|
|
61
|
+
* ID of the custom domain resource.
|
|
56
62
|
*/
|
|
57
63
|
customDomainId?: pulumi.Input<string>;
|
|
58
64
|
/**
|
|
59
|
-
*
|
|
65
|
+
* The DNS name of the Auth0 origin server that handles traffic for the custom domain.
|
|
60
66
|
*/
|
|
61
67
|
originDomainName?: pulumi.Input<string>;
|
|
62
68
|
}
|
|
@@ -65,7 +71,7 @@ export interface CustomDomainVerificationState {
|
|
|
65
71
|
*/
|
|
66
72
|
export interface CustomDomainVerificationArgs {
|
|
67
73
|
/**
|
|
68
|
-
*
|
|
74
|
+
* ID of the custom domain resource.
|
|
69
75
|
*/
|
|
70
76
|
customDomainId: pulumi.Input<string>;
|
|
71
77
|
}
|
|
@@ -6,13 +6,11 @@ exports.CustomDomainVerification = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* With Auth0, you can use a custom domain to maintain a consistent user experience. This is a three-step process; you must
|
|
10
|
-
* configure the custom domain in Auth0, then create a DNS record for the domain, then verify the DNS record in Auth0.
|
|
11
|
-
* This resource allows for automating the verification part of the process.
|
|
9
|
+
* With Auth0, you can use a custom domain to maintain a consistent user experience. This is a three-step process; you must configure the custom domain in Auth0, then create a DNS record for the domain, then verify the DNS record in Auth0. This resource allows for automating the verification part of the process.
|
|
12
10
|
*
|
|
13
11
|
* ## Import
|
|
14
12
|
*
|
|
15
|
-
* You can import this resource using the custom domain
|
|
13
|
+
* You can import this resource using the custom domain ID. # Example
|
|
16
14
|
*
|
|
17
15
|
* ```sh
|
|
18
16
|
* $ pulumi import auth0:index/customDomainVerification:CustomDomainVerification my_custom_domain_verification cd_XXXXXXXXXXXXXXXX
|
|
@@ -38,6 +36,8 @@ class CustomDomainVerification extends pulumi.CustomResource {
|
|
|
38
36
|
resourceInputs["originDomainName"] = undefined /*out*/;
|
|
39
37
|
}
|
|
40
38
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
39
|
+
const secretOpts = { additionalSecretOutputs: ["cnameApiKey"] };
|
|
40
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
41
41
|
super(CustomDomainVerification.__pulumiType, name, resourceInputs, opts);
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customDomainVerification.js","sourceRoot":"","sources":["../customDomainVerification.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"customDomainVerification.js","sourceRoot":"","sources":["../customDomainVerification.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAkD/D,YAAY,IAAY,EAAE,WAA0E,EAAE,IAAmC;QACrI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwD,CAAC;YACvE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;SACnF;aAAM;YACH,MAAM,IAAI,GAAG,WAAuD,CAAC;YACrE,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,cAAc,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3D,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;aACjE;YACD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC1D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,aAAa,CAAC,EAAE,CAAC;QAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,wBAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;IAtED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/E,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,wBAAwB,CAAC,YAAY,CAAC;IACzE,CAAC;;AA1BL,4DAwEC;AA1DG,gBAAgB;AACO,qCAAY,GAAG,+DAA+D,CAAC"}
|
package/email.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
3
4
|
/**
|
|
4
|
-
* With Auth0, you can have standard welcome, password reset, and account verification email-based workflows built right
|
|
5
|
-
* into Auth0. This resource allows you to configure email providers, so you can route all emails that are part of Auth0's
|
|
6
|
-
* authentication workflows through the supported high-volume email service of your choice.
|
|
5
|
+
* With Auth0, you can have standard welcome, password reset, and account verification email-based workflows built right into Auth0. This resource allows you to configure email providers, so you can route all emails that are part of Auth0's authentication workflows through the supported high-volume email service of your choice.
|
|
7
6
|
*
|
|
8
7
|
* ## Example Usage
|
|
9
8
|
*
|
|
@@ -11,7 +10,8 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
11
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
12
11
|
* import * as auth0 from "@pulumi/auth0";
|
|
13
12
|
*
|
|
14
|
-
*
|
|
13
|
+
* // This is an example on how to set up the email provider with Amazon SES.
|
|
14
|
+
* const amazonSesEmailProvider = new auth0.Email("amazon_ses_email_provider", {
|
|
15
15
|
* credentials: {
|
|
16
16
|
* accessKeyId: "AKIAXXXXXXXXXXXXXXXX",
|
|
17
17
|
* region: "us-east-1",
|
|
@@ -20,11 +20,30 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
20
20
|
* defaultFromAddress: "accounts@example.com",
|
|
21
21
|
* enabled: true,
|
|
22
22
|
* });
|
|
23
|
+
* // This is an example on how to set up the email provider with SMTP.
|
|
24
|
+
* const smtpEmailProvider = new auth0.Email("smtp_email_provider", {
|
|
25
|
+
* credentials: {
|
|
26
|
+
* smtpHost: "your.smtp.host.com",
|
|
27
|
+
* smtpPass: "SMTP Password",
|
|
28
|
+
* smtpPort: 583,
|
|
29
|
+
* smtpUser: "SMTP Username",
|
|
30
|
+
* },
|
|
31
|
+
* defaultFromAddress: "accounts@example.com",
|
|
32
|
+
* enabled: true,
|
|
33
|
+
* });
|
|
34
|
+
* // This is an example on how to set up the email provider with Sendgrid.
|
|
35
|
+
* const sendgridEmailProvider = new auth0.Email("sendgrid_email_provider", {
|
|
36
|
+
* credentials: {
|
|
37
|
+
* apiKey: "secretAPIKey",
|
|
38
|
+
* },
|
|
39
|
+
* defaultFromAddress: "accounts@example.com",
|
|
40
|
+
* enabled: true,
|
|
41
|
+
* });
|
|
23
42
|
* ```
|
|
24
43
|
*
|
|
25
44
|
* ## Import
|
|
26
45
|
*
|
|
27
|
-
* As this is not a resource identifiable by an ID within the Auth0 Management API, email can be imported using a random string. We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4)
|
|
46
|
+
* As this is not a resource identifiable by an ID within the Auth0 Management API, email can be imported using a random string. # We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) # Example
|
|
28
47
|
*
|
|
29
48
|
* ```sh
|
|
30
49
|
* $ pulumi import auth0:index/email:Email my_email_provider b4213dc2-2eed-42c3-9516-c6131a9ce0b0
|
|
@@ -47,19 +66,19 @@ export declare class Email extends pulumi.CustomResource {
|
|
|
47
66
|
*/
|
|
48
67
|
static isInstance(obj: any): obj is Email;
|
|
49
68
|
/**
|
|
50
|
-
*
|
|
69
|
+
* Configuration settings for the credentials for the email provider.
|
|
51
70
|
*/
|
|
52
71
|
readonly credentials: pulumi.Output<outputs.EmailCredentials>;
|
|
53
72
|
/**
|
|
54
|
-
*
|
|
73
|
+
* Email address to use as the sender when no other "from" address is specified.
|
|
55
74
|
*/
|
|
56
75
|
readonly defaultFromAddress: pulumi.Output<string>;
|
|
57
76
|
/**
|
|
58
|
-
*
|
|
77
|
+
* Indicates whether the email provider is enabled.
|
|
59
78
|
*/
|
|
60
79
|
readonly enabled: pulumi.Output<boolean | undefined>;
|
|
61
80
|
/**
|
|
62
|
-
*
|
|
81
|
+
* Name of the email provider. Options include `mailgun`, `mandrill`, `sendgrid`, `ses`, `smtp`, and `sparkpost`.
|
|
63
82
|
*/
|
|
64
83
|
readonly name: pulumi.Output<string>;
|
|
65
84
|
/**
|
|
@@ -76,19 +95,19 @@ export declare class Email extends pulumi.CustomResource {
|
|
|
76
95
|
*/
|
|
77
96
|
export interface EmailState {
|
|
78
97
|
/**
|
|
79
|
-
*
|
|
98
|
+
* Configuration settings for the credentials for the email provider.
|
|
80
99
|
*/
|
|
81
100
|
credentials?: pulumi.Input<inputs.EmailCredentials>;
|
|
82
101
|
/**
|
|
83
|
-
*
|
|
102
|
+
* Email address to use as the sender when no other "from" address is specified.
|
|
84
103
|
*/
|
|
85
104
|
defaultFromAddress?: pulumi.Input<string>;
|
|
86
105
|
/**
|
|
87
|
-
*
|
|
106
|
+
* Indicates whether the email provider is enabled.
|
|
88
107
|
*/
|
|
89
108
|
enabled?: pulumi.Input<boolean>;
|
|
90
109
|
/**
|
|
91
|
-
*
|
|
110
|
+
* Name of the email provider. Options include `mailgun`, `mandrill`, `sendgrid`, `ses`, `smtp`, and `sparkpost`.
|
|
92
111
|
*/
|
|
93
112
|
name?: pulumi.Input<string>;
|
|
94
113
|
}
|
|
@@ -97,19 +116,19 @@ export interface EmailState {
|
|
|
97
116
|
*/
|
|
98
117
|
export interface EmailArgs {
|
|
99
118
|
/**
|
|
100
|
-
*
|
|
119
|
+
* Configuration settings for the credentials for the email provider.
|
|
101
120
|
*/
|
|
102
121
|
credentials: pulumi.Input<inputs.EmailCredentials>;
|
|
103
122
|
/**
|
|
104
|
-
*
|
|
123
|
+
* Email address to use as the sender when no other "from" address is specified.
|
|
105
124
|
*/
|
|
106
125
|
defaultFromAddress: pulumi.Input<string>;
|
|
107
126
|
/**
|
|
108
|
-
*
|
|
127
|
+
* Indicates whether the email provider is enabled.
|
|
109
128
|
*/
|
|
110
129
|
enabled?: pulumi.Input<boolean>;
|
|
111
130
|
/**
|
|
112
|
-
*
|
|
131
|
+
* Name of the email provider. Options include `mailgun`, `mandrill`, `sendgrid`, `ses`, `smtp`, and `sparkpost`.
|
|
113
132
|
*/
|
|
114
133
|
name?: pulumi.Input<string>;
|
|
115
134
|
}
|
package/email.js
CHANGED
|
@@ -6,9 +6,7 @@ exports.Email = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* With Auth0, you can have standard welcome, password reset, and account verification email-based workflows built right
|
|
10
|
-
* into Auth0. This resource allows you to configure email providers, so you can route all emails that are part of Auth0's
|
|
11
|
-
* authentication workflows through the supported high-volume email service of your choice.
|
|
9
|
+
* With Auth0, you can have standard welcome, password reset, and account verification email-based workflows built right into Auth0. This resource allows you to configure email providers, so you can route all emails that are part of Auth0's authentication workflows through the supported high-volume email service of your choice.
|
|
12
10
|
*
|
|
13
11
|
* ## Example Usage
|
|
14
12
|
*
|
|
@@ -16,7 +14,8 @@ const utilities = require("./utilities");
|
|
|
16
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
15
|
* import * as auth0 from "@pulumi/auth0";
|
|
18
16
|
*
|
|
19
|
-
*
|
|
17
|
+
* // This is an example on how to set up the email provider with Amazon SES.
|
|
18
|
+
* const amazonSesEmailProvider = new auth0.Email("amazon_ses_email_provider", {
|
|
20
19
|
* credentials: {
|
|
21
20
|
* accessKeyId: "AKIAXXXXXXXXXXXXXXXX",
|
|
22
21
|
* region: "us-east-1",
|
|
@@ -25,11 +24,30 @@ const utilities = require("./utilities");
|
|
|
25
24
|
* defaultFromAddress: "accounts@example.com",
|
|
26
25
|
* enabled: true,
|
|
27
26
|
* });
|
|
27
|
+
* // This is an example on how to set up the email provider with SMTP.
|
|
28
|
+
* const smtpEmailProvider = new auth0.Email("smtp_email_provider", {
|
|
29
|
+
* credentials: {
|
|
30
|
+
* smtpHost: "your.smtp.host.com",
|
|
31
|
+
* smtpPass: "SMTP Password",
|
|
32
|
+
* smtpPort: 583,
|
|
33
|
+
* smtpUser: "SMTP Username",
|
|
34
|
+
* },
|
|
35
|
+
* defaultFromAddress: "accounts@example.com",
|
|
36
|
+
* enabled: true,
|
|
37
|
+
* });
|
|
38
|
+
* // This is an example on how to set up the email provider with Sendgrid.
|
|
39
|
+
* const sendgridEmailProvider = new auth0.Email("sendgrid_email_provider", {
|
|
40
|
+
* credentials: {
|
|
41
|
+
* apiKey: "secretAPIKey",
|
|
42
|
+
* },
|
|
43
|
+
* defaultFromAddress: "accounts@example.com",
|
|
44
|
+
* enabled: true,
|
|
45
|
+
* });
|
|
28
46
|
* ```
|
|
29
47
|
*
|
|
30
48
|
* ## Import
|
|
31
49
|
*
|
|
32
|
-
* As this is not a resource identifiable by an ID within the Auth0 Management API, email can be imported using a random string. We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4)
|
|
50
|
+
* As this is not a resource identifiable by an ID within the Auth0 Management API, email can be imported using a random string. # We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) # Example
|
|
33
51
|
*
|
|
34
52
|
* ```sh
|
|
35
53
|
* $ pulumi import auth0:index/email:Email my_email_provider b4213dc2-2eed-42c3-9516-c6131a9ce0b0
|
package/email.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email.js","sourceRoot":"","sources":["../email.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"email.js","sourceRoot":"","sources":["../email.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAqD5C,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,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,SAA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