@pulumi/okta 4.4.0 → 4.4.1
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/adminRoleCustom.d.ts +10 -129
- package/adminRoleCustom.js +1 -24
- package/adminRoleCustom.js.map +1 -1
- package/adminRoleCustomAssignments.d.ts +10 -25
- package/adminRoleCustomAssignments.js +1 -13
- package/adminRoleCustomAssignments.js.map +1 -1
- package/adminRoleTargets.d.ts +14 -44
- package/adminRoleTargets.js +0 -30
- package/adminRoleTargets.js.map +1 -1
- package/app/accessPolicyAssignment.d.ts +1 -20
- package/app/accessPolicyAssignment.js +1 -20
- package/app/accessPolicyAssignment.js.map +1 -1
- package/app/autoLogin.d.ts +72 -115
- package/app/autoLogin.js +0 -43
- package/app/autoLogin.js.map +1 -1
- package/app/basicAuth.d.ts +38 -62
- package/app/basicAuth.js +0 -24
- package/app/basicAuth.js.map +1 -1
- package/app/bookmark.d.ts +35 -67
- package/app/bookmark.js +0 -23
- package/app/bookmark.js.map +1 -1
- package/app/getApp.d.ts +58 -25
- package/app/getApp.js +2 -2
- package/app/getApp.js.map +1 -1
- package/app/getMetadataSaml.d.ts +11 -5
- package/app/getMetadataSaml.js +2 -2
- package/app/getMetadataSaml.js.map +1 -1
- package/app/getOauth.d.ts +62 -34
- package/app/getOauth.js +2 -2
- package/app/getOauth.js.map +1 -1
- package/app/getSaml.d.ts +75 -55
- package/app/getSaml.js +2 -2
- package/app/getSaml.js.map +1 -1
- package/app/groupAssignment.d.ts +6 -15
- package/app/groupAssignment.js +0 -9
- package/app/groupAssignment.js.map +1 -1
- package/app/oauth.d.ts +125 -299
- package/app/oauth.js +0 -78
- package/app/oauth.js.map +1 -1
- package/app/oauthPostLogoutRedirectUri.d.ts +0 -31
- package/app/oauthPostLogoutRedirectUri.js +0 -31
- package/app/oauthPostLogoutRedirectUri.js.map +1 -1
- package/app/oauthRedirectUri.d.ts +0 -30
- package/app/oauthRedirectUri.js +0 -30
- package/app/oauthRedirectUri.js.map +1 -1
- package/app/saml.d.ts +133 -299
- package/app/saml.js +0 -157
- package/app/saml.js.map +1 -1
- package/app/securePasswordStore.d.ts +79 -105
- package/app/securePasswordStore.js +0 -26
- package/app/securePasswordStore.js.map +1 -1
- package/app/swa.d.ts +72 -98
- package/app/swa.js +0 -26
- package/app/swa.js.map +1 -1
- package/app/threeField.d.ts +72 -83
- package/app/threeField.js +0 -11
- package/app/threeField.js.map +1 -1
- package/app/user.d.ts +12 -37
- package/app/user.js +0 -22
- package/app/user.js.map +1 -1
- package/appGroupAssignments.d.ts +3 -51
- package/appGroupAssignments.js +0 -48
- package/appGroupAssignments.js.map +1 -1
- package/appOauthApiScope.d.ts +3 -36
- package/appOauthApiScope.js +0 -33
- package/appOauthApiScope.js.map +1 -1
- package/appSamlAppSettings.d.ts +6 -44
- package/appSamlAppSettings.js +0 -38
- package/appSamlAppSettings.js.map +1 -1
- package/appSharedCredentials.d.ts +72 -111
- package/appSharedCredentials.js +0 -39
- package/appSharedCredentials.js.map +1 -1
- package/appSignonPolicy.d.ts +6 -44
- package/appSignonPolicy.js +0 -38
- package/appSignonPolicy.js.map +1 -1
- package/appSignonPolicyRule.d.ts +63 -322
- package/appSignonPolicyRule.js +0 -244
- package/appSignonPolicyRule.js.map +1 -1
- package/appUserBaseSchemaProperty.d.ts +24 -52
- package/appUserBaseSchemaProperty.js +0 -28
- package/appUserBaseSchemaProperty.js.map +1 -1
- package/appUserSchemaProperty.d.ts +54 -80
- package/appUserSchemaProperty.js +0 -26
- package/appUserSchemaProperty.js.map +1 -1
- package/auth/getServer.d.ts +11 -11
- package/auth/getServer.js +2 -2
- package/auth/getServerPolicy.d.ts +15 -9
- package/auth/getServerPolicy.js +2 -2
- package/auth/getServerPolicy.js.map +1 -1
- package/auth/getServerScopes.d.ts +8 -5
- package/auth/getServerScopes.js +2 -2
- package/auth/getServerScopes.js.map +1 -1
- package/auth/server.d.ts +13 -49
- package/auth/server.js +0 -27
- package/auth/server.js.map +1 -1
- package/auth/serverClaim.d.ts +18 -54
- package/auth/serverClaim.js +0 -27
- package/auth/serverClaim.js.map +1 -1
- package/auth/serverPolicy.d.ts +6 -43
- package/auth/serverPolicy.js +0 -28
- package/auth/serverPolicy.js.map +1 -1
- package/auth/serverPolicyClaim.d.ts +35 -71
- package/auth/serverPolicyClaim.js +4 -28
- package/auth/serverPolicyClaim.js.map +1 -1
- package/auth/serverPolicyRule.d.ts +27 -70
- package/auth/serverPolicyRule.js +0 -25
- package/auth/serverPolicyRule.js.map +1 -1
- package/auth/serverScope.d.ts +15 -41
- package/auth/serverScope.js +0 -26
- package/auth/serverScope.js.map +1 -1
- package/authServerClaimDefault.d.ts +13 -50
- package/authServerClaimDefault.js +0 -31
- package/authServerClaimDefault.js.map +1 -1
- package/authServerDefault.d.ts +13 -47
- package/authServerDefault.js +0 -25
- package/authServerDefault.js.map +1 -1
- package/authenticator.d.ts +38 -94
- package/authenticator.js +0 -38
- package/authenticator.js.map +1 -1
- package/behaviour.d.ts +18 -78
- package/behaviour.js +0 -42
- package/behaviour.js.map +1 -1
- package/brand.d.ts +17 -26
- package/brand.js +1 -10
- package/brand.js.map +1 -1
- package/captcha.d.ts +12 -38
- package/captcha.js +0 -26
- package/captcha.js.map +1 -1
- package/captchaOrgWideSettings.d.ts +6 -51
- package/captchaOrgWideSettings.js +0 -45
- package/captchaOrgWideSettings.js.map +1 -1
- package/domain.d.ts +13 -39
- package/domain.js +0 -20
- package/domain.js.map +1 -1
- package/domainCertificate.d.ts +15 -51
- package/domainCertificate.js +0 -36
- package/domainCertificate.js.map +1 -1
- package/domainVerification.d.ts +3 -22
- package/domainVerification.js +0 -19
- package/domainVerification.js.map +1 -1
- package/emailCustomization.d.ts +3 -224
- package/emailCustomization.js +0 -41
- package/emailCustomization.js.map +1 -1
- package/emailSender.d.ts +13 -39
- package/emailSender.js +0 -26
- package/emailSender.js.map +1 -1
- package/emailSenderVerification.d.ts +3 -26
- package/emailSenderVerification.js +0 -23
- package/emailSenderVerification.js.map +1 -1
- package/eventHook.d.ts +0 -37
- package/eventHook.js +0 -37
- package/eventHook.js.map +1 -1
- package/eventHookVerification.d.ts +3 -37
- package/eventHookVerification.js +0 -34
- package/eventHookVerification.js.map +1 -1
- package/factor/factor.d.ts +6 -23
- package/factor/factor.js +0 -14
- package/factor/factor.js.map +1 -1
- package/factorTotp.d.ts +12 -44
- package/factorTotp.js +0 -23
- package/factorTotp.js.map +1 -1
- package/getAppGroupAssignments.d.ts +6 -6
- package/getAppGroupAssignments.js +2 -2
- package/getAppSignonPolicy.d.ts +16 -6
- package/getAppSignonPolicy.js +8 -4
- package/getAppSignonPolicy.js.map +1 -1
- package/getAppUserAssignments.d.ts +6 -6
- package/getAppUserAssignments.js +2 -2
- package/getAuthServerClaim.d.ts +15 -12
- package/getAuthServerClaim.js +2 -2
- package/getAuthServerClaim.js.map +1 -1
- package/getAuthServerClaims.d.ts +8 -5
- package/getAuthServerClaims.js +2 -2
- package/getAuthServerClaims.js.map +1 -1
- package/getAuthenticator.d.ts +24 -26
- package/getAuthenticator.js +14 -22
- package/getAuthenticator.js.map +1 -1
- package/getBehaviour.d.ts +6 -8
- package/getBehaviour.js +2 -2
- package/getBehaviour.js.map +1 -1
- package/getBehaviours.d.ts +7 -7
- package/getBehaviours.js +2 -2
- package/getBrand.d.ts +9 -6
- package/getBrand.js +2 -2
- package/getBrand.js.map +1 -1
- package/getBrands.d.ts +2 -2
- package/getBrands.js +2 -2
- package/getEmailCustomization.d.ts +14 -9
- package/getEmailCustomization.js +2 -6
- package/getEmailCustomization.js.map +1 -1
- package/getEmailCustomizations.d.ts +11 -9
- package/getEmailCustomizations.js +2 -6
- package/getEmailCustomizations.js.map +1 -1
- package/getGroups.d.ts +11 -25
- package/getGroups.js +2 -2
- package/getGroups.js.map +1 -1
- package/getNetworkZone.d.ts +12 -12
- package/getNetworkZone.js +2 -2
- package/getRoleSubscription.d.ts +13 -35
- package/getRoleSubscription.js +2 -2
- package/getRoleSubscription.js.map +1 -1
- package/getTemplate.d.ts +10 -8
- package/getTemplate.js +2 -6
- package/getTemplate.js.map +1 -1
- package/getTemplates.d.ts +6 -7
- package/getTemplates.js +2 -6
- package/getTemplates.js.map +1 -1
- package/getTheme.d.ts +14 -12
- package/getTheme.js +2 -6
- package/getTheme.js.map +1 -1
- package/getThemes.d.ts +6 -7
- package/getThemes.js +2 -6
- package/getThemes.js.map +1 -1
- package/getTrustedOrigins.d.ts +7 -4
- package/getTrustedOrigins.js +2 -2
- package/getTrustedOrigins.js.map +1 -1
- package/getUserSecurityQuestions.d.ts +4 -8
- package/getUserSecurityQuestions.js +0 -4
- package/getUserSecurityQuestions.js.map +1 -1
- package/group/getEveryoneGroup.d.ts +10 -5
- package/group/getEveryoneGroup.js +4 -2
- package/group/getEveryoneGroup.js.map +1 -1
- package/group/getGroup.d.ts +17 -22
- package/group/getGroup.js +2 -2
- package/group/getGroup.js.map +1 -1
- package/group/getRule.d.ts +6 -15
- package/group/getRule.js +2 -2
- package/group/getRule.js.map +1 -1
- package/group/group.d.ts +9 -46
- package/group/group.js +0 -37
- package/group/group.js.map +1 -1
- package/group/role.d.ts +15 -101
- package/group/role.js +0 -26
- package/group/role.js.map +1 -1
- package/group/rule.d.ts +6 -84
- package/group/rule.js +0 -27
- package/group/rule.js.map +1 -1
- package/groupMemberships.d.ts +7 -42
- package/groupMemberships.js +1 -36
- package/groupMemberships.js.map +1 -1
- package/groupSchemaProperty.d.ts +51 -94
- package/groupSchemaProperty.js +0 -25
- package/groupSchemaProperty.js.map +1 -1
- package/idp/getMetadataSaml.d.ts +9 -6
- package/idp/getMetadataSaml.js +2 -2
- package/idp/getMetadataSaml.js.map +1 -1
- package/idp/getOidc.d.ts +9 -9
- package/idp/getOidc.js +2 -2
- package/idp/getSaml.d.ts +16 -13
- package/idp/getSaml.js +2 -2
- package/idp/getSaml.js.map +1 -1
- package/idp/getSocial.d.ts +8 -2
- package/idp/getSocial.js +2 -2
- package/idp/getSocial.js.map +1 -1
- package/idp/oidc.d.ts +12 -297
- package/idp/oidc.js +0 -36
- package/idp/oidc.js.map +1 -1
- package/idp/saml.d.ts +18 -284
- package/idp/saml.js +0 -32
- package/idp/saml.js.map +1 -1
- package/idp/samlKey.d.ts +3 -48
- package/idp/samlKey.js +0 -9
- package/idp/samlKey.js.map +1 -1
- package/idp/social.d.ts +18 -251
- package/idp/social.js +0 -32
- package/idp/social.js.map +1 -1
- package/index/emailDomain.d.ts +16 -41
- package/index/emailDomain.js +0 -25
- package/index/emailDomain.js.map +1 -1
- package/index/emailDomainVerification.d.ts +3 -25
- package/index/emailDomainVerification.js +0 -22
- package/index/emailDomainVerification.js.map +1 -1
- package/index/getDomain.d.ts +11 -14
- package/index/getDomain.js +2 -8
- package/index/getDomain.js.map +1 -1
- package/inline/hook.d.ts +0 -89
- package/inline/hook.js +0 -35
- package/inline/hook.js.map +1 -1
- package/linkDefinition.d.ts +0 -30
- package/linkDefinition.js +0 -30
- package/linkDefinition.js.map +1 -1
- package/linkValue.d.ts +6 -59
- package/linkValue.js +0 -53
- package/linkValue.js.map +1 -1
- package/network/zone.d.ts +27 -74
- package/network/zone.js +0 -44
- package/network/zone.js.map +1 -1
- package/orgConfiguration.d.ts +0 -25
- package/orgConfiguration.js +0 -25
- package/orgConfiguration.js.map +1 -1
- package/orgSupport.d.ts +3 -20
- package/orgSupport.js +0 -17
- package/orgSupport.js.map +1 -1
- package/package.json +2 -2
- package/package.json.bak +1 -1
- package/policy/getDefaultPolicy.d.ts +9 -7
- package/policy/getDefaultPolicy.js +6 -2
- package/policy/getDefaultPolicy.js.map +1 -1
- package/policy/getPolicy.d.ts +11 -10
- package/policy/getPolicy.js +2 -2
- package/policy/getPolicy.js.map +1 -1
- package/policy/mfa.d.ts +18 -259
- package/policy/mfa.js +0 -49
- package/policy/mfa.js.map +1 -1
- package/policy/password.d.ts +90 -117
- package/policy/password.js +0 -27
- package/policy/password.js.map +1 -1
- package/policy/ruleIdpDiscovery.d.ts +27 -149
- package/policy/ruleIdpDiscovery.js +0 -65
- package/policy/ruleIdpDiscovery.js.map +1 -1
- package/policy/ruleMfa.d.ts +24 -35
- package/policy/ruleMfa.js +0 -11
- package/policy/ruleMfa.js.map +1 -1
- package/policy/rulePassword.d.ts +33 -46
- package/policy/rulePassword.js +0 -13
- package/policy/rulePassword.js.map +1 -1
- package/policy/ruleSignon.d.ts +57 -170
- package/policy/ruleSignon.js +0 -92
- package/policy/ruleSignon.js.map +1 -1
- package/policy/signon.d.ts +15 -41
- package/policy/signon.js +0 -26
- package/policy/signon.js.map +1 -1
- package/policyMfaDefault.d.ts +13 -250
- package/policyMfaDefault.js +0 -45
- package/policyMfaDefault.js.map +1 -1
- package/policyPasswordDefault.d.ts +54 -88
- package/policyPasswordDefault.js +0 -22
- package/policyPasswordDefault.js.map +1 -1
- package/policyProfileEnrollment.d.ts +6 -28
- package/policyProfileEnrollment.js +0 -22
- package/policyProfileEnrollment.js.map +1 -1
- package/policyProfileEnrollmentApps.d.ts +5 -42
- package/policyProfileEnrollmentApps.js +0 -37
- package/policyProfileEnrollmentApps.js.map +1 -1
- package/policyRuleProfileEnrollment.d.ts +23 -85
- package/policyRuleProfileEnrollment.js +0 -62
- package/policyRuleProfileEnrollment.js.map +1 -1
- package/profile/mapping.d.ts +9 -95
- package/profile/mapping.js +0 -41
- package/profile/mapping.js.map +1 -1
- package/rateLimiting.d.ts +9 -43
- package/rateLimiting.js +0 -28
- package/rateLimiting.js.map +1 -1
- package/resourceSet.d.ts +10 -32
- package/resourceSet.js +1 -20
- package/resourceSet.js.map +1 -1
- package/roleSubscription.d.ts +9 -110
- package/roleSubscription.js +0 -26
- package/roleSubscription.js.map +1 -1
- package/securityNotificationEmails.d.ts +15 -45
- package/securityNotificationEmails.js +0 -30
- package/securityNotificationEmails.js.map +1 -1
- package/templateSms.d.ts +3 -47
- package/templateSms.js +0 -35
- package/templateSms.js.map +1 -1
- package/theme.d.ts +44 -53
- package/theme.js +0 -9
- package/theme.js.map +1 -1
- package/threatInsightSettings.d.ts +6 -58
- package/threatInsightSettings.js +0 -34
- package/threatInsightSettings.js.map +1 -1
- package/trustedorigin/origin.d.ts +12 -37
- package/trustedorigin/origin.js +0 -25
- package/trustedorigin/origin.js.map +1 -1
- package/types/input.d.ts +60 -227
- package/types/output.d.ts +56 -446
- package/user/getUser.d.ts +32 -104
- package/user/getUser.js +2 -2
- package/user/getUser.js.map +1 -1
- package/user/getUserProfileMappingSource.d.ts +9 -7
- package/user/getUserProfileMappingSource.js +6 -4
- package/user/getUserProfileMappingSource.js.map +1 -1
- package/user/getUserType.d.ts +7 -7
- package/user/getUserType.js +2 -2
- package/user/getUsers.d.ts +61 -57
- package/user/getUsers.js +30 -44
- package/user/getUsers.js.map +1 -1
- package/user/user.d.ts +117 -215
- package/user/user.js +0 -71
- package/user/user.js.map +1 -1
- package/user/userType.d.ts +9 -34
- package/user/userType.js +0 -25
- package/user/userType.js.map +1 -1
- package/userAdminRoles.d.ts +10 -41
- package/userAdminRoles.js +1 -29
- package/userAdminRoles.js.map +1 -1
- package/userBaseSchemaProperty.d.ts +24 -67
- package/userBaseSchemaProperty.js +0 -43
- package/userBaseSchemaProperty.js.map +1 -1
- package/userFactorQuestion.d.ts +14 -52
- package/userFactorQuestion.js +1 -39
- package/userFactorQuestion.js.map +1 -1
- package/userGroupMemberships.d.ts +4 -23
- package/userGroupMemberships.js +1 -20
- package/userGroupMemberships.js.map +1 -1
- package/userSchemaProperty.d.ts +57 -107
- package/userSchemaProperty.js +0 -32
- package/userSchemaProperty.js.map +1 -1
- package/scripts/install-pulumi-plugin.js +0 -21
package/domainCertificate.d.ts
CHANGED
|
@@ -1,40 +1,4 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* ## Example Usage
|
|
4
|
-
*
|
|
5
|
-
* ```typescript
|
|
6
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
-
* import * as okta from "@pulumi/okta";
|
|
8
|
-
*
|
|
9
|
-
* const example = new okta.Domain("example", {});
|
|
10
|
-
* const test = new okta.DomainCertificate("test", {
|
|
11
|
-
* domainId: okta_domain.test.id,
|
|
12
|
-
* type: "PEM",
|
|
13
|
-
* certificate: `-----BEGIN CERTIFICATE-----
|
|
14
|
-
* MIIFNzCCBB+gAwIBAgISBAXomJWRama3ypu8TIxdA9wzMA0GCSqGSIb3DQEBCwUA
|
|
15
|
-
* ...
|
|
16
|
-
* NSgRtSXq11j8O4JONi8EXe7cEtvzUiLR5PL3itsK2svtrZ9jIwQ95wOPaA==
|
|
17
|
-
* -----END CERTIFICATE-----
|
|
18
|
-
* `,
|
|
19
|
-
* certificateChain: `-----BEGIN CERTIFICATE-----
|
|
20
|
-
* MIIFFjCCAv6gAwIBAgIRAJErCErPDBinU/bWLiWnX1owDQYJKoZIhvcNAQELBQAw
|
|
21
|
-
* ...
|
|
22
|
-
* Dfvp7OOGAN6dEOM4+qR9sdjoSYKEBpsr6GtPAQw4dy753ec5
|
|
23
|
-
* -----END CERTIFICATE-----
|
|
24
|
-
* `,
|
|
25
|
-
* privateKey: `-----BEGIN PRIVATE KEY-----
|
|
26
|
-
* MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC5cyk6x63iBJSW
|
|
27
|
-
* ...
|
|
28
|
-
* nUFLNE8pXSnsqb0eOL74f3uQ
|
|
29
|
-
* -----END PRIVATE KEY-----
|
|
30
|
-
* `,
|
|
31
|
-
* });
|
|
32
|
-
* ```
|
|
33
|
-
*
|
|
34
|
-
* ## Import
|
|
35
|
-
*
|
|
36
|
-
* This resource does not support importing.
|
|
37
|
-
*/
|
|
38
2
|
export declare class DomainCertificate extends pulumi.CustomResource {
|
|
39
3
|
/**
|
|
40
4
|
* Get an existing DomainCertificate resource's state with the given name, ID, and optional extra
|
|
@@ -52,23 +16,23 @@ export declare class DomainCertificate extends pulumi.CustomResource {
|
|
|
52
16
|
*/
|
|
53
17
|
static isInstance(obj: any): obj is DomainCertificate;
|
|
54
18
|
/**
|
|
55
|
-
* Certificate content
|
|
19
|
+
* Certificate content
|
|
56
20
|
*/
|
|
57
21
|
readonly certificate: pulumi.Output<string>;
|
|
58
22
|
/**
|
|
59
|
-
* Certificate
|
|
23
|
+
* Certificate chain
|
|
60
24
|
*/
|
|
61
25
|
readonly certificateChain: pulumi.Output<string>;
|
|
62
26
|
/**
|
|
63
|
-
* Domain ID
|
|
27
|
+
* Domain's ID
|
|
64
28
|
*/
|
|
65
29
|
readonly domainId: pulumi.Output<string>;
|
|
66
30
|
/**
|
|
67
|
-
* Certificate private key
|
|
31
|
+
* Certificate private key
|
|
68
32
|
*/
|
|
69
33
|
readonly privateKey: pulumi.Output<string>;
|
|
70
34
|
/**
|
|
71
|
-
* Certificate type
|
|
35
|
+
* Certificate type
|
|
72
36
|
*/
|
|
73
37
|
readonly type: pulumi.Output<string>;
|
|
74
38
|
/**
|
|
@@ -85,23 +49,23 @@ export declare class DomainCertificate extends pulumi.CustomResource {
|
|
|
85
49
|
*/
|
|
86
50
|
export interface DomainCertificateState {
|
|
87
51
|
/**
|
|
88
|
-
* Certificate content
|
|
52
|
+
* Certificate content
|
|
89
53
|
*/
|
|
90
54
|
certificate?: pulumi.Input<string>;
|
|
91
55
|
/**
|
|
92
|
-
* Certificate
|
|
56
|
+
* Certificate chain
|
|
93
57
|
*/
|
|
94
58
|
certificateChain?: pulumi.Input<string>;
|
|
95
59
|
/**
|
|
96
|
-
* Domain ID
|
|
60
|
+
* Domain's ID
|
|
97
61
|
*/
|
|
98
62
|
domainId?: pulumi.Input<string>;
|
|
99
63
|
/**
|
|
100
|
-
* Certificate private key
|
|
64
|
+
* Certificate private key
|
|
101
65
|
*/
|
|
102
66
|
privateKey?: pulumi.Input<string>;
|
|
103
67
|
/**
|
|
104
|
-
* Certificate type
|
|
68
|
+
* Certificate type
|
|
105
69
|
*/
|
|
106
70
|
type?: pulumi.Input<string>;
|
|
107
71
|
}
|
|
@@ -110,23 +74,23 @@ export interface DomainCertificateState {
|
|
|
110
74
|
*/
|
|
111
75
|
export interface DomainCertificateArgs {
|
|
112
76
|
/**
|
|
113
|
-
* Certificate content
|
|
77
|
+
* Certificate content
|
|
114
78
|
*/
|
|
115
79
|
certificate: pulumi.Input<string>;
|
|
116
80
|
/**
|
|
117
|
-
* Certificate
|
|
81
|
+
* Certificate chain
|
|
118
82
|
*/
|
|
119
83
|
certificateChain: pulumi.Input<string>;
|
|
120
84
|
/**
|
|
121
|
-
* Domain ID
|
|
85
|
+
* Domain's ID
|
|
122
86
|
*/
|
|
123
87
|
domainId: pulumi.Input<string>;
|
|
124
88
|
/**
|
|
125
|
-
* Certificate private key
|
|
89
|
+
* Certificate private key
|
|
126
90
|
*/
|
|
127
91
|
privateKey: pulumi.Input<string>;
|
|
128
92
|
/**
|
|
129
|
-
* Certificate type
|
|
93
|
+
* Certificate type
|
|
130
94
|
*/
|
|
131
95
|
type: pulumi.Input<string>;
|
|
132
96
|
}
|
package/domainCertificate.js
CHANGED
|
@@ -5,42 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.DomainCertificate = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* ## Example Usage
|
|
10
|
-
*
|
|
11
|
-
* ```typescript
|
|
12
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as okta from "@pulumi/okta";
|
|
14
|
-
*
|
|
15
|
-
* const example = new okta.Domain("example", {});
|
|
16
|
-
* const test = new okta.DomainCertificate("test", {
|
|
17
|
-
* domainId: okta_domain.test.id,
|
|
18
|
-
* type: "PEM",
|
|
19
|
-
* certificate: `-----BEGIN CERTIFICATE-----
|
|
20
|
-
* MIIFNzCCBB+gAwIBAgISBAXomJWRama3ypu8TIxdA9wzMA0GCSqGSIb3DQEBCwUA
|
|
21
|
-
* ...
|
|
22
|
-
* NSgRtSXq11j8O4JONi8EXe7cEtvzUiLR5PL3itsK2svtrZ9jIwQ95wOPaA==
|
|
23
|
-
* -----END CERTIFICATE-----
|
|
24
|
-
* `,
|
|
25
|
-
* certificateChain: `-----BEGIN CERTIFICATE-----
|
|
26
|
-
* MIIFFjCCAv6gAwIBAgIRAJErCErPDBinU/bWLiWnX1owDQYJKoZIhvcNAQELBQAw
|
|
27
|
-
* ...
|
|
28
|
-
* Dfvp7OOGAN6dEOM4+qR9sdjoSYKEBpsr6GtPAQw4dy753ec5
|
|
29
|
-
* -----END CERTIFICATE-----
|
|
30
|
-
* `,
|
|
31
|
-
* privateKey: `-----BEGIN PRIVATE KEY-----
|
|
32
|
-
* MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC5cyk6x63iBJSW
|
|
33
|
-
* ...
|
|
34
|
-
* nUFLNE8pXSnsqb0eOL74f3uQ
|
|
35
|
-
* -----END PRIVATE KEY-----
|
|
36
|
-
* `,
|
|
37
|
-
* });
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* ## Import
|
|
41
|
-
*
|
|
42
|
-
* This resource does not support importing.
|
|
43
|
-
*/
|
|
44
8
|
class DomainCertificate extends pulumi.CustomResource {
|
|
45
9
|
/**
|
|
46
10
|
* Get an existing DomainCertificate resource's state with the given name, ID, and optional extra
|
package/domainCertificate.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domainCertificate.js","sourceRoot":"","sources":["../domainCertificate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"domainCertificate.js","sourceRoot":"","sources":["../domainCertificate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,G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E,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AA5FL,8CA6FC;AA/EG,gBAAgB;AACO,8BAAY,GAAG,gDAAgD,CAAC"}
|
package/domainVerification.d.ts
CHANGED
|
@@ -1,23 +1,4 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* Verifies the Domain. This is replacement for the `verify` field from the `okta.Domain` resource. The resource won't be
|
|
4
|
-
* created if the domain could not be verified. The provider will make several requests to verify the domain until
|
|
5
|
-
* the API returns `VERIFIED` verification status.
|
|
6
|
-
*
|
|
7
|
-
* ## Example Usage
|
|
8
|
-
*
|
|
9
|
-
* ```typescript
|
|
10
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
-
* import * as okta from "@pulumi/okta";
|
|
12
|
-
*
|
|
13
|
-
* const exampleDomain = new okta.Domain("exampleDomain", {});
|
|
14
|
-
* const exampleDomainVerification = new okta.DomainVerification("exampleDomainVerification", {domainId: okta_domain.test.id});
|
|
15
|
-
* ```
|
|
16
|
-
*
|
|
17
|
-
* ## Import
|
|
18
|
-
*
|
|
19
|
-
* This resource does not support importing.
|
|
20
|
-
*/
|
|
21
2
|
export declare class DomainVerification extends pulumi.CustomResource {
|
|
22
3
|
/**
|
|
23
4
|
* Get an existing DomainVerification resource's state with the given name, ID, and optional extra
|
|
@@ -35,7 +16,7 @@ export declare class DomainVerification extends pulumi.CustomResource {
|
|
|
35
16
|
*/
|
|
36
17
|
static isInstance(obj: any): obj is DomainVerification;
|
|
37
18
|
/**
|
|
38
|
-
* Domain ID
|
|
19
|
+
* Domain's ID
|
|
39
20
|
*/
|
|
40
21
|
readonly domainId: pulumi.Output<string>;
|
|
41
22
|
/**
|
|
@@ -52,7 +33,7 @@ export declare class DomainVerification extends pulumi.CustomResource {
|
|
|
52
33
|
*/
|
|
53
34
|
export interface DomainVerificationState {
|
|
54
35
|
/**
|
|
55
|
-
* Domain ID
|
|
36
|
+
* Domain's ID
|
|
56
37
|
*/
|
|
57
38
|
domainId?: pulumi.Input<string>;
|
|
58
39
|
}
|
|
@@ -61,7 +42,7 @@ export interface DomainVerificationState {
|
|
|
61
42
|
*/
|
|
62
43
|
export interface DomainVerificationArgs {
|
|
63
44
|
/**
|
|
64
|
-
* Domain ID
|
|
45
|
+
* Domain's ID
|
|
65
46
|
*/
|
|
66
47
|
domainId: pulumi.Input<string>;
|
|
67
48
|
}
|
package/domainVerification.js
CHANGED
|
@@ -5,25 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.DomainVerification = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Verifies the Domain. This is replacement for the `verify` field from the `okta.Domain` resource. The resource won't be
|
|
10
|
-
* created if the domain could not be verified. The provider will make several requests to verify the domain until
|
|
11
|
-
* the API returns `VERIFIED` verification status.
|
|
12
|
-
*
|
|
13
|
-
* ## Example Usage
|
|
14
|
-
*
|
|
15
|
-
* ```typescript
|
|
16
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
-
* import * as okta from "@pulumi/okta";
|
|
18
|
-
*
|
|
19
|
-
* const exampleDomain = new okta.Domain("exampleDomain", {});
|
|
20
|
-
* const exampleDomainVerification = new okta.DomainVerification("exampleDomainVerification", {domainId: okta_domain.test.id});
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* ## Import
|
|
24
|
-
*
|
|
25
|
-
* This resource does not support importing.
|
|
26
|
-
*/
|
|
27
8
|
class DomainVerification extends pulumi.CustomResource {
|
|
28
9
|
/**
|
|
29
10
|
* Get an existing DomainVerification resource's state with the given name, ID, and optional extra
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domainVerification.js","sourceRoot":"","sources":["../domainVerification.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"domainVerification.js","sourceRoot":"","sources":["../domainVerification.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,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,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IAeD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;aAAM;YACH,MAAM,IAAI,GAAG,WAAiD,CAAC;YAC/D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAxDL,gDAyDC;AA3CG,gBAAgB;AACO,+BAAY,GAAG,kDAAkD,CAAC"}
|
package/emailCustomization.d.ts
CHANGED
|
@@ -1,45 +1,4 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* Use this resource to create an [email
|
|
4
|
-
* customization](https://developer.okta.com/docs/reference/api/brands/#create-email-customization)
|
|
5
|
-
* of an email template belonging to a brand in an Okta organization.
|
|
6
|
-
*
|
|
7
|
-
* > Okta's public API is strict regarding the behavior of the `isDefault`
|
|
8
|
-
* property in [an email
|
|
9
|
-
* customization](https://developer.okta.com/docs/reference/api/brands/#email-customization).
|
|
10
|
-
* Make use of `dependsOn` meta argument to ensure the provider navigates email customization
|
|
11
|
-
* language versions seamlessly. Have all secondary customizations depend on the primary
|
|
12
|
-
* customization that is marked default. See Example Usage.
|
|
13
|
-
*
|
|
14
|
-
* > Caveats for [creating an email
|
|
15
|
-
* customization](https://developer.okta.com/docs/reference/api/brands/#response-body-19).
|
|
16
|
-
* If this is the first customization being created for the email template, and
|
|
17
|
-
* `isDefault` is not set for the customization in its resource configuration, the
|
|
18
|
-
* API will respond with the created customization marked as default. The API will
|
|
19
|
-
* 400 if the language parameter is not one of the supported languages or the body
|
|
20
|
-
* parameter does not contain a required variable reference. The API will error 409
|
|
21
|
-
* if `isDefault` is true and a default customization exists. The API will 404 for
|
|
22
|
-
* an invalid `brandId` or `templateName`.
|
|
23
|
-
*
|
|
24
|
-
* > Caveats for [updating an email
|
|
25
|
-
* customization](https://developer.okta.com/docs/reference/api/brands/#response-body-22).
|
|
26
|
-
* If the `isDefault` parameter is true, the previous default email customization
|
|
27
|
-
* has its `isDefault` set to false (see previous note about mitigating this with
|
|
28
|
-
* `dependsOn` meta argument). The API will 409 if there’s already another email
|
|
29
|
-
* customization for the specified language or the `isDefault` parameter is false
|
|
30
|
-
* and the email customization being updated is the default. The API will 400 if
|
|
31
|
-
* the language parameter is not one of the supported locales or the body parameter
|
|
32
|
-
* does not contain a required variable reference. The API will 404 for an invalid
|
|
33
|
-
* `brandId` or `templateName`.
|
|
34
|
-
*
|
|
35
|
-
* ## Import
|
|
36
|
-
*
|
|
37
|
-
* An email customization can be imported using the customization ID, brand ID and template name.
|
|
38
|
-
*
|
|
39
|
-
* ```sh
|
|
40
|
-
* $ pulumi import okta:index/emailCustomization:EmailCustomization example <customization_id>/<brand_id>/<template_name>
|
|
41
|
-
* ```
|
|
42
|
-
*/
|
|
43
2
|
export declare class EmailCustomization extends pulumi.CustomResource {
|
|
44
3
|
/**
|
|
45
4
|
* Get an existing EmailCustomization resource's state with the given name, ID, and optional extra
|
|
@@ -65,7 +24,7 @@ export declare class EmailCustomization extends pulumi.CustomResource {
|
|
|
65
24
|
*/
|
|
66
25
|
readonly brandId: pulumi.Output<string>;
|
|
67
26
|
/**
|
|
68
|
-
*
|
|
27
|
+
* Force isDefault on the create and delete by deleting all email customizations. Comma separated string with values of 'create' or 'destroy' or both `create,destroy'.
|
|
69
28
|
*
|
|
70
29
|
* @deprecated force_is_default is deprecated and now is a no-op in behavior. Rely upon the depends_on meta argument to force dependency of secondary templates to the default template
|
|
71
30
|
*/
|
|
@@ -76,34 +35,6 @@ export declare class EmailCustomization extends pulumi.CustomResource {
|
|
|
76
35
|
readonly isDefault: pulumi.Output<boolean | undefined>;
|
|
77
36
|
/**
|
|
78
37
|
* The language supported by the customization
|
|
79
|
-
* - Example values from [supported languages](https://developer.okta.com/docs/reference/api/brands/#supported-languages):
|
|
80
|
-
* `"cs"`,
|
|
81
|
-
* `"da"`,
|
|
82
|
-
* `"de"`,
|
|
83
|
-
* `"el"`,
|
|
84
|
-
* `"en"`,
|
|
85
|
-
* `"es"`,
|
|
86
|
-
* `"fi"`,
|
|
87
|
-
* `"fr"`,
|
|
88
|
-
* `"hu"`,
|
|
89
|
-
* `"id"`,
|
|
90
|
-
* `"it"`,
|
|
91
|
-
* `"ja"`,
|
|
92
|
-
* `"ko"`,
|
|
93
|
-
* `"ms"`,
|
|
94
|
-
* `"nb"`,
|
|
95
|
-
* `"nl-NL"`,
|
|
96
|
-
* `"pl"`,
|
|
97
|
-
* `"pt-BR"`,
|
|
98
|
-
* `"ro"`,
|
|
99
|
-
* `"ru"`,
|
|
100
|
-
* `"sv"`,
|
|
101
|
-
* `"th"`,
|
|
102
|
-
* `"tr"`,
|
|
103
|
-
* `"uk"`,
|
|
104
|
-
* `"vi"`,
|
|
105
|
-
* `"zh-CN"`,
|
|
106
|
-
* `"zh-TW"`
|
|
107
38
|
*/
|
|
108
39
|
readonly language: pulumi.Output<string | undefined>;
|
|
109
40
|
/**
|
|
@@ -116,38 +47,6 @@ export declare class EmailCustomization extends pulumi.CustomResource {
|
|
|
116
47
|
readonly subject: pulumi.Output<string | undefined>;
|
|
117
48
|
/**
|
|
118
49
|
* Template Name
|
|
119
|
-
* - Example values: `"AccountLockout"`,
|
|
120
|
-
* `"ADForgotPassword"`,
|
|
121
|
-
* `"ADForgotPasswordDenied"`,
|
|
122
|
-
* `"ADSelfServiceUnlock"`,
|
|
123
|
-
* `"ADUserActivation"`,
|
|
124
|
-
* `"AuthenticatorEnrolled"`,
|
|
125
|
-
* `"AuthenticatorReset"`,
|
|
126
|
-
* `"ChangeEmailConfirmation"`,
|
|
127
|
-
* `"EmailChallenge"`,
|
|
128
|
-
* `"EmailChangeConfirmation"`,
|
|
129
|
-
* `"EmailFactorVerification"`,
|
|
130
|
-
* `"ForgotPassword"`,
|
|
131
|
-
* `"ForgotPasswordDenied"`,
|
|
132
|
-
* `"IGAReviewerEndNotification"`,
|
|
133
|
-
* `"IGAReviewerNotification"`,
|
|
134
|
-
* `"IGAReviewerPendingNotification"`,
|
|
135
|
-
* `"IGAReviewerReassigned"`,
|
|
136
|
-
* `"LDAPForgotPassword"`,
|
|
137
|
-
* `"LDAPForgotPasswordDenied"`,
|
|
138
|
-
* `"LDAPSelfServiceUnlock"`,
|
|
139
|
-
* `"LDAPUserActivation"`,
|
|
140
|
-
* `"MyAccountChangeConfirmation"`,
|
|
141
|
-
* `"NewSignOnNotification"`,
|
|
142
|
-
* `"OktaVerifyActivation"`,
|
|
143
|
-
* `"PasswordChanged"`,
|
|
144
|
-
* `"PasswordResetByAdmin"`,
|
|
145
|
-
* `"PendingEmailChange"`,
|
|
146
|
-
* `"RegistrationActivation"`,
|
|
147
|
-
* `"RegistrationEmailVerification"`,
|
|
148
|
-
* `"SelfServiceUnlock"`,
|
|
149
|
-
* `"SelfServiceUnlockOnUnlockedAccount"`,
|
|
150
|
-
* `"UserActivation"`
|
|
151
50
|
*/
|
|
152
51
|
readonly templateName: pulumi.Output<string>;
|
|
153
52
|
/**
|
|
@@ -172,7 +71,7 @@ export interface EmailCustomizationState {
|
|
|
172
71
|
*/
|
|
173
72
|
brandId?: pulumi.Input<string>;
|
|
174
73
|
/**
|
|
175
|
-
*
|
|
74
|
+
* Force isDefault on the create and delete by deleting all email customizations. Comma separated string with values of 'create' or 'destroy' or both `create,destroy'.
|
|
176
75
|
*
|
|
177
76
|
* @deprecated force_is_default is deprecated and now is a no-op in behavior. Rely upon the depends_on meta argument to force dependency of secondary templates to the default template
|
|
178
77
|
*/
|
|
@@ -183,34 +82,6 @@ export interface EmailCustomizationState {
|
|
|
183
82
|
isDefault?: pulumi.Input<boolean>;
|
|
184
83
|
/**
|
|
185
84
|
* The language supported by the customization
|
|
186
|
-
* - Example values from [supported languages](https://developer.okta.com/docs/reference/api/brands/#supported-languages):
|
|
187
|
-
* `"cs"`,
|
|
188
|
-
* `"da"`,
|
|
189
|
-
* `"de"`,
|
|
190
|
-
* `"el"`,
|
|
191
|
-
* `"en"`,
|
|
192
|
-
* `"es"`,
|
|
193
|
-
* `"fi"`,
|
|
194
|
-
* `"fr"`,
|
|
195
|
-
* `"hu"`,
|
|
196
|
-
* `"id"`,
|
|
197
|
-
* `"it"`,
|
|
198
|
-
* `"ja"`,
|
|
199
|
-
* `"ko"`,
|
|
200
|
-
* `"ms"`,
|
|
201
|
-
* `"nb"`,
|
|
202
|
-
* `"nl-NL"`,
|
|
203
|
-
* `"pl"`,
|
|
204
|
-
* `"pt-BR"`,
|
|
205
|
-
* `"ro"`,
|
|
206
|
-
* `"ru"`,
|
|
207
|
-
* `"sv"`,
|
|
208
|
-
* `"th"`,
|
|
209
|
-
* `"tr"`,
|
|
210
|
-
* `"uk"`,
|
|
211
|
-
* `"vi"`,
|
|
212
|
-
* `"zh-CN"`,
|
|
213
|
-
* `"zh-TW"`
|
|
214
85
|
*/
|
|
215
86
|
language?: pulumi.Input<string>;
|
|
216
87
|
/**
|
|
@@ -223,38 +94,6 @@ export interface EmailCustomizationState {
|
|
|
223
94
|
subject?: pulumi.Input<string>;
|
|
224
95
|
/**
|
|
225
96
|
* Template Name
|
|
226
|
-
* - Example values: `"AccountLockout"`,
|
|
227
|
-
* `"ADForgotPassword"`,
|
|
228
|
-
* `"ADForgotPasswordDenied"`,
|
|
229
|
-
* `"ADSelfServiceUnlock"`,
|
|
230
|
-
* `"ADUserActivation"`,
|
|
231
|
-
* `"AuthenticatorEnrolled"`,
|
|
232
|
-
* `"AuthenticatorReset"`,
|
|
233
|
-
* `"ChangeEmailConfirmation"`,
|
|
234
|
-
* `"EmailChallenge"`,
|
|
235
|
-
* `"EmailChangeConfirmation"`,
|
|
236
|
-
* `"EmailFactorVerification"`,
|
|
237
|
-
* `"ForgotPassword"`,
|
|
238
|
-
* `"ForgotPasswordDenied"`,
|
|
239
|
-
* `"IGAReviewerEndNotification"`,
|
|
240
|
-
* `"IGAReviewerNotification"`,
|
|
241
|
-
* `"IGAReviewerPendingNotification"`,
|
|
242
|
-
* `"IGAReviewerReassigned"`,
|
|
243
|
-
* `"LDAPForgotPassword"`,
|
|
244
|
-
* `"LDAPForgotPasswordDenied"`,
|
|
245
|
-
* `"LDAPSelfServiceUnlock"`,
|
|
246
|
-
* `"LDAPUserActivation"`,
|
|
247
|
-
* `"MyAccountChangeConfirmation"`,
|
|
248
|
-
* `"NewSignOnNotification"`,
|
|
249
|
-
* `"OktaVerifyActivation"`,
|
|
250
|
-
* `"PasswordChanged"`,
|
|
251
|
-
* `"PasswordResetByAdmin"`,
|
|
252
|
-
* `"PendingEmailChange"`,
|
|
253
|
-
* `"RegistrationActivation"`,
|
|
254
|
-
* `"RegistrationEmailVerification"`,
|
|
255
|
-
* `"SelfServiceUnlock"`,
|
|
256
|
-
* `"SelfServiceUnlockOnUnlockedAccount"`,
|
|
257
|
-
* `"UserActivation"`
|
|
258
97
|
*/
|
|
259
98
|
templateName?: pulumi.Input<string>;
|
|
260
99
|
}
|
|
@@ -271,7 +110,7 @@ export interface EmailCustomizationArgs {
|
|
|
271
110
|
*/
|
|
272
111
|
brandId: pulumi.Input<string>;
|
|
273
112
|
/**
|
|
274
|
-
*
|
|
113
|
+
* Force isDefault on the create and delete by deleting all email customizations. Comma separated string with values of 'create' or 'destroy' or both `create,destroy'.
|
|
275
114
|
*
|
|
276
115
|
* @deprecated force_is_default is deprecated and now is a no-op in behavior. Rely upon the depends_on meta argument to force dependency of secondary templates to the default template
|
|
277
116
|
*/
|
|
@@ -282,34 +121,6 @@ export interface EmailCustomizationArgs {
|
|
|
282
121
|
isDefault?: pulumi.Input<boolean>;
|
|
283
122
|
/**
|
|
284
123
|
* The language supported by the customization
|
|
285
|
-
* - Example values from [supported languages](https://developer.okta.com/docs/reference/api/brands/#supported-languages):
|
|
286
|
-
* `"cs"`,
|
|
287
|
-
* `"da"`,
|
|
288
|
-
* `"de"`,
|
|
289
|
-
* `"el"`,
|
|
290
|
-
* `"en"`,
|
|
291
|
-
* `"es"`,
|
|
292
|
-
* `"fi"`,
|
|
293
|
-
* `"fr"`,
|
|
294
|
-
* `"hu"`,
|
|
295
|
-
* `"id"`,
|
|
296
|
-
* `"it"`,
|
|
297
|
-
* `"ja"`,
|
|
298
|
-
* `"ko"`,
|
|
299
|
-
* `"ms"`,
|
|
300
|
-
* `"nb"`,
|
|
301
|
-
* `"nl-NL"`,
|
|
302
|
-
* `"pl"`,
|
|
303
|
-
* `"pt-BR"`,
|
|
304
|
-
* `"ro"`,
|
|
305
|
-
* `"ru"`,
|
|
306
|
-
* `"sv"`,
|
|
307
|
-
* `"th"`,
|
|
308
|
-
* `"tr"`,
|
|
309
|
-
* `"uk"`,
|
|
310
|
-
* `"vi"`,
|
|
311
|
-
* `"zh-CN"`,
|
|
312
|
-
* `"zh-TW"`
|
|
313
124
|
*/
|
|
314
125
|
language?: pulumi.Input<string>;
|
|
315
126
|
/**
|
|
@@ -318,38 +129,6 @@ export interface EmailCustomizationArgs {
|
|
|
318
129
|
subject?: pulumi.Input<string>;
|
|
319
130
|
/**
|
|
320
131
|
* Template Name
|
|
321
|
-
* - Example values: `"AccountLockout"`,
|
|
322
|
-
* `"ADForgotPassword"`,
|
|
323
|
-
* `"ADForgotPasswordDenied"`,
|
|
324
|
-
* `"ADSelfServiceUnlock"`,
|
|
325
|
-
* `"ADUserActivation"`,
|
|
326
|
-
* `"AuthenticatorEnrolled"`,
|
|
327
|
-
* `"AuthenticatorReset"`,
|
|
328
|
-
* `"ChangeEmailConfirmation"`,
|
|
329
|
-
* `"EmailChallenge"`,
|
|
330
|
-
* `"EmailChangeConfirmation"`,
|
|
331
|
-
* `"EmailFactorVerification"`,
|
|
332
|
-
* `"ForgotPassword"`,
|
|
333
|
-
* `"ForgotPasswordDenied"`,
|
|
334
|
-
* `"IGAReviewerEndNotification"`,
|
|
335
|
-
* `"IGAReviewerNotification"`,
|
|
336
|
-
* `"IGAReviewerPendingNotification"`,
|
|
337
|
-
* `"IGAReviewerReassigned"`,
|
|
338
|
-
* `"LDAPForgotPassword"`,
|
|
339
|
-
* `"LDAPForgotPasswordDenied"`,
|
|
340
|
-
* `"LDAPSelfServiceUnlock"`,
|
|
341
|
-
* `"LDAPUserActivation"`,
|
|
342
|
-
* `"MyAccountChangeConfirmation"`,
|
|
343
|
-
* `"NewSignOnNotification"`,
|
|
344
|
-
* `"OktaVerifyActivation"`,
|
|
345
|
-
* `"PasswordChanged"`,
|
|
346
|
-
* `"PasswordResetByAdmin"`,
|
|
347
|
-
* `"PendingEmailChange"`,
|
|
348
|
-
* `"RegistrationActivation"`,
|
|
349
|
-
* `"RegistrationEmailVerification"`,
|
|
350
|
-
* `"SelfServiceUnlock"`,
|
|
351
|
-
* `"SelfServiceUnlockOnUnlockedAccount"`,
|
|
352
|
-
* `"UserActivation"`
|
|
353
132
|
*/
|
|
354
133
|
templateName: pulumi.Input<string>;
|
|
355
134
|
}
|
package/emailCustomization.js
CHANGED
|
@@ -5,47 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.EmailCustomization = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Use this resource to create an [email
|
|
10
|
-
* customization](https://developer.okta.com/docs/reference/api/brands/#create-email-customization)
|
|
11
|
-
* of an email template belonging to a brand in an Okta organization.
|
|
12
|
-
*
|
|
13
|
-
* > Okta's public API is strict regarding the behavior of the `isDefault`
|
|
14
|
-
* property in [an email
|
|
15
|
-
* customization](https://developer.okta.com/docs/reference/api/brands/#email-customization).
|
|
16
|
-
* Make use of `dependsOn` meta argument to ensure the provider navigates email customization
|
|
17
|
-
* language versions seamlessly. Have all secondary customizations depend on the primary
|
|
18
|
-
* customization that is marked default. See Example Usage.
|
|
19
|
-
*
|
|
20
|
-
* > Caveats for [creating an email
|
|
21
|
-
* customization](https://developer.okta.com/docs/reference/api/brands/#response-body-19).
|
|
22
|
-
* If this is the first customization being created for the email template, and
|
|
23
|
-
* `isDefault` is not set for the customization in its resource configuration, the
|
|
24
|
-
* API will respond with the created customization marked as default. The API will
|
|
25
|
-
* 400 if the language parameter is not one of the supported languages or the body
|
|
26
|
-
* parameter does not contain a required variable reference. The API will error 409
|
|
27
|
-
* if `isDefault` is true and a default customization exists. The API will 404 for
|
|
28
|
-
* an invalid `brandId` or `templateName`.
|
|
29
|
-
*
|
|
30
|
-
* > Caveats for [updating an email
|
|
31
|
-
* customization](https://developer.okta.com/docs/reference/api/brands/#response-body-22).
|
|
32
|
-
* If the `isDefault` parameter is true, the previous default email customization
|
|
33
|
-
* has its `isDefault` set to false (see previous note about mitigating this with
|
|
34
|
-
* `dependsOn` meta argument). The API will 409 if there’s already another email
|
|
35
|
-
* customization for the specified language or the `isDefault` parameter is false
|
|
36
|
-
* and the email customization being updated is the default. The API will 400 if
|
|
37
|
-
* the language parameter is not one of the supported locales or the body parameter
|
|
38
|
-
* does not contain a required variable reference. The API will 404 for an invalid
|
|
39
|
-
* `brandId` or `templateName`.
|
|
40
|
-
*
|
|
41
|
-
* ## Import
|
|
42
|
-
*
|
|
43
|
-
* An email customization can be imported using the customization ID, brand ID and template name.
|
|
44
|
-
*
|
|
45
|
-
* ```sh
|
|
46
|
-
* $ pulumi import okta:index/emailCustomization:EmailCustomization example <customization_id>/<brand_id>/<template_name>
|
|
47
|
-
* ```
|
|
48
|
-
*/
|
|
49
8
|
class EmailCustomization extends pulumi.CustomResource {
|
|
50
9
|
/**
|
|
51
10
|
* Get an existing EmailCustomization resource's state with the given name, ID, and optional extra
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emailCustomization.js","sourceRoot":"","sources":["../emailCustomization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"emailCustomization.js","sourceRoot":"","sources":["../emailCustomization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,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,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IA6CD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC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