@pulumi/keycloak 5.3.1 → 5.3.2
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/attributeImporterIdentityProviderMapper.d.ts +4 -5
- package/attributeImporterIdentityProviderMapper.js +4 -5
- package/attributeImporterIdentityProviderMapper.js.map +1 -1
- package/attributeToRoleIdentityMapper.d.ts +6 -6
- package/attributeToRoleIdentityMapper.js +6 -6
- package/authentication/bindings.d.ts +3 -5
- package/authentication/bindings.js +3 -5
- package/authentication/bindings.js.map +1 -1
- package/authentication/execution.d.ts +2 -4
- package/authentication/execution.js +2 -4
- package/authentication/execution.js.map +1 -1
- package/authentication/executionConfig.d.ts +0 -2
- package/authentication/executionConfig.js +0 -2
- package/authentication/executionConfig.js.map +1 -1
- package/authentication/flow.d.ts +0 -2
- package/authentication/flow.js +0 -2
- package/authentication/flow.js.map +1 -1
- package/authentication/subflow.d.ts +0 -2
- package/authentication/subflow.js +0 -2
- package/authentication/subflow.js.map +1 -1
- package/customIdentityProviderMapping.d.ts +7 -8
- package/customIdentityProviderMapping.js +4 -5
- package/customIdentityProviderMapping.js.map +1 -1
- package/customUserFederation.d.ts +8 -9
- package/customUserFederation.js +5 -6
- package/customUserFederation.js.map +1 -1
- package/defaultGroups.d.ts +6 -5
- package/defaultGroups.js +6 -5
- package/defaultGroups.js.map +1 -1
- package/defaultRoles.d.ts +1 -3
- package/defaultRoles.js +1 -3
- package/defaultRoles.js.map +1 -1
- package/genericClientProtocolMapper.d.ts +8 -9
- package/genericClientProtocolMapper.js +8 -9
- package/genericClientProtocolMapper.js.map +1 -1
- package/genericClientRoleMapper.d.ts +28 -21
- package/genericClientRoleMapper.js +28 -21
- package/genericClientRoleMapper.js.map +1 -1
- package/genericProtocolMapper.d.ts +3 -4
- package/genericProtocolMapper.js +3 -4
- package/genericProtocolMapper.js.map +1 -1
- package/genericRoleMapper.d.ts +28 -21
- package/genericRoleMapper.js +28 -21
- package/genericRoleMapper.js.map +1 -1
- package/getAuthenticationExecution.d.ts +0 -4
- package/getAuthenticationExecution.js +0 -4
- package/getAuthenticationExecution.js.map +1 -1
- package/getAuthenticationFlow.d.ts +0 -4
- package/getAuthenticationFlow.js +0 -4
- package/getAuthenticationFlow.js.map +1 -1
- package/getClientDescriptionConverter.d.ts +50 -54
- package/getClientDescriptionConverter.js +50 -54
- package/getClientDescriptionConverter.js.map +1 -1
- package/getRealm.d.ts +10 -6
- package/getRealm.js +10 -6
- package/getRealm.js.map +1 -1
- package/getUser.d.ts +2 -4
- package/getUser.js +2 -4
- package/getUser.js.map +1 -1
- package/getUserRealmRoles.d.ts +4 -4
- package/getUserRealmRoles.js +4 -4
- package/group.d.ts +12 -9
- package/group.js +12 -9
- package/group.js.map +1 -1
- package/groupMemberships.d.ts +7 -6
- package/groupMemberships.js +7 -6
- package/groupMemberships.js.map +1 -1
- package/groupRoles.d.ts +16 -12
- package/groupRoles.js +16 -12
- package/groupRoles.js.map +1 -1
- package/hardcodedAttributeIdentityProviderMapper.d.ts +4 -5
- package/hardcodedAttributeIdentityProviderMapper.js +4 -5
- package/hardcodedAttributeIdentityProviderMapper.js.map +1 -1
- package/hardcodedRoleIdentityMapper.d.ts +6 -6
- package/hardcodedRoleIdentityMapper.js +6 -6
- package/identityProviderTokenExchangeScopePermission.d.ts +5 -6
- package/identityProviderTokenExchangeScopePermission.js +5 -6
- package/identityProviderTokenExchangeScopePermission.js.map +1 -1
- package/ldap/customMapper.d.ts +6 -6
- package/ldap/customMapper.js +6 -6
- package/ldap/fullNameMapper.d.ts +13 -13
- package/ldap/fullNameMapper.js +13 -13
- package/ldap/groupMapper.d.ts +15 -15
- package/ldap/groupMapper.js +15 -15
- package/ldap/hardcodedAttributeMapper.d.ts +4 -4
- package/ldap/hardcodedAttributeMapper.js +4 -4
- package/ldap/hardcodedGroupMapper.d.ts +8 -5
- package/ldap/hardcodedGroupMapper.js +8 -5
- package/ldap/hardcodedGroupMapper.js.map +1 -1
- package/ldap/hardcodedRoleMapper.d.ts +4 -4
- package/ldap/hardcodedRoleMapper.js +4 -4
- package/ldap/msadLdsUserAccountControlMapper.d.ts +4 -4
- package/ldap/msadLdsUserAccountControlMapper.js +4 -4
- package/ldap/msadUserAccountControlMapper.d.ts +12 -12
- package/ldap/msadUserAccountControlMapper.js +12 -12
- package/ldap/roleMapper.d.ts +4 -4
- package/ldap/roleMapper.js +4 -4
- package/ldap/userAttributeMapper.d.ts +16 -16
- package/ldap/userAttributeMapper.js +13 -13
- package/ldap/userFederation.d.ts +11 -12
- package/ldap/userFederation.js +11 -12
- package/ldap/userFederation.js.map +1 -1
- package/oidc/googleIdentityProvider.d.ts +2 -4
- package/oidc/googleIdentityProvider.js +2 -4
- package/oidc/googleIdentityProvider.js.map +1 -1
- package/oidc/identityProvider.d.ts +1 -3
- package/oidc/identityProvider.js +1 -3
- package/oidc/identityProvider.js.map +1 -1
- package/openid/audienceProtocolMapper.d.ts +16 -14
- package/openid/audienceProtocolMapper.js +16 -14
- package/openid/audienceProtocolMapper.js.map +1 -1
- package/openid/audienceResolveProtocolMapper.d.ts +9 -8
- package/openid/audienceResolveProtocolMapper.js +9 -8
- package/openid/audienceResolveProtocolMapper.js.map +1 -1
- package/openid/audienceResolveProtocolMappter.d.ts +9 -8
- package/openid/audienceResolveProtocolMappter.js +9 -8
- package/openid/audienceResolveProtocolMappter.js.map +1 -1
- package/openid/client.d.ts +5 -6
- package/openid/client.js +5 -6
- package/openid/client.js.map +1 -1
- package/openid/clientDefaultScopes.d.ts +8 -7
- package/openid/clientDefaultScopes.js +8 -7
- package/openid/clientDefaultScopes.js.map +1 -1
- package/openid/clientOptionalScopes.d.ts +8 -7
- package/openid/clientOptionalScopes.js +8 -7
- package/openid/clientOptionalScopes.js.map +1 -1
- package/openid/clientPolicy.d.ts +5 -5
- package/openid/clientPolicy.js +5 -5
- package/openid/clientScope.d.ts +4 -5
- package/openid/clientScope.js +4 -5
- package/openid/clientScope.js.map +1 -1
- package/openid/clientServiceAccountRealmRole.d.ts +6 -4
- package/openid/clientServiceAccountRealmRole.js +6 -4
- package/openid/clientServiceAccountRealmRole.js.map +1 -1
- package/openid/clientServiceAccountRole.d.ts +8 -5
- package/openid/clientServiceAccountRole.js +8 -5
- package/openid/clientServiceAccountRole.js.map +1 -1
- package/openid/fullNameProtocolMapper.d.ts +16 -14
- package/openid/fullNameProtocolMapper.js +16 -14
- package/openid/fullNameProtocolMapper.js.map +1 -1
- package/openid/getClient.d.ts +2 -4
- package/openid/getClient.js +2 -4
- package/openid/getClient.js.map +1 -1
- package/openid/getClientAuthorizationPolicy.d.ts +8 -6
- package/openid/getClientAuthorizationPolicy.js +8 -6
- package/openid/getClientAuthorizationPolicy.js.map +1 -1
- package/openid/getClientScope.d.ts +4 -6
- package/openid/getClientScope.js +4 -6
- package/openid/getClientScope.js.map +1 -1
- package/openid/getClientServiceAccountUser.d.ts +4 -6
- package/openid/getClientServiceAccountUser.js +4 -6
- package/openid/getClientServiceAccountUser.js.map +1 -1
- package/openid/groupMembershipProtocolMapper.d.ts +18 -16
- package/openid/groupMembershipProtocolMapper.js +18 -16
- package/openid/groupMembershipProtocolMapper.js.map +1 -1
- package/openid/hardcodedClaimProtocolMapper.d.ts +18 -16
- package/openid/hardcodedClaimProtocolMapper.js +18 -16
- package/openid/hardcodedClaimProtocolMapper.js.map +1 -1
- package/openid/hardcodedRoleProtocolMapper.d.ts +24 -16
- package/openid/hardcodedRoleProtocolMapper.js +24 -16
- package/openid/hardcodedRoleProtocolMapper.js.map +1 -1
- package/openid/scriptProtocolMapper.d.ts +10 -8
- package/openid/scriptProtocolMapper.js +10 -8
- package/openid/scriptProtocolMapper.js.map +1 -1
- package/openid/userAttributeProtocolMapper.d.ts +18 -16
- package/openid/userAttributeProtocolMapper.js +18 -16
- package/openid/userAttributeProtocolMapper.js.map +1 -1
- package/openid/userClientRoleProtocolMapper.d.ts +10 -8
- package/openid/userClientRoleProtocolMapper.js +10 -8
- package/openid/userClientRoleProtocolMapper.js.map +1 -1
- package/openid/userPropertyProtocolMapper.d.ts +18 -16
- package/openid/userPropertyProtocolMapper.js +18 -16
- package/openid/userPropertyProtocolMapper.js.map +1 -1
- package/openid/userRealmRoleProtocolMapper.d.ts +18 -16
- package/openid/userRealmRoleProtocolMapper.js +18 -16
- package/openid/userRealmRoleProtocolMapper.js.map +1 -1
- package/openid/userSessionNoteProtocolMapper.d.ts +10 -8
- package/openid/userSessionNoteProtocolMapper.js +10 -8
- package/openid/userSessionNoteProtocolMapper.js.map +1 -1
- package/package.json +1 -1
- package/realmEvents.d.ts +5 -7
- package/realmEvents.js +5 -7
- package/realmEvents.js.map +1 -1
- package/realmKeystoreAesGenerated.d.ts +2 -3
- package/realmKeystoreAesGenerated.js +2 -3
- package/realmKeystoreAesGenerated.js.map +1 -1
- package/realmKeystoreEcdsaGenerated.d.ts +2 -3
- package/realmKeystoreEcdsaGenerated.js +2 -3
- package/realmKeystoreEcdsaGenerated.js.map +1 -1
- package/realmKeystoreHmacGenerated.d.ts +2 -3
- package/realmKeystoreHmacGenerated.js +2 -3
- package/realmKeystoreHmacGenerated.js.map +1 -1
- package/realmKeystoreJavaGenerated.d.ts +2 -3
- package/realmKeystoreJavaGenerated.js +2 -3
- package/realmKeystoreJavaGenerated.js.map +1 -1
- package/realmKeystoreRsaGenerated.d.ts +2 -3
- package/realmKeystoreRsaGenerated.js +2 -3
- package/realmKeystoreRsaGenerated.js.map +1 -1
- package/realmUserProfile.d.ts +1 -3
- package/realmUserProfile.js +1 -3
- package/realmUserProfile.js.map +1 -1
- package/requiredAction.d.ts +2 -3
- package/requiredAction.js +2 -3
- package/requiredAction.js.map +1 -1
- package/role.d.ts +41 -27
- package/role.js +41 -27
- package/role.js.map +1 -1
- package/saml/client.d.ts +0 -54
- package/saml/client.js +0 -54
- package/saml/client.js.map +1 -1
- package/saml/clientDefaultScope.d.ts +0 -37
- package/saml/clientDefaultScope.js +0 -37
- package/saml/clientDefaultScope.js.map +1 -1
- package/saml/clientScope.d.ts +2 -3
- package/saml/clientScope.js +2 -3
- package/saml/clientScope.js.map +1 -1
- package/saml/getClient.d.ts +2 -4
- package/saml/getClient.js +2 -4
- package/saml/getClient.js.map +1 -1
- package/saml/getClientInstallationProvider.d.ts +0 -66
- package/saml/getClientInstallationProvider.js +0 -66
- package/saml/getClientInstallationProvider.js.map +1 -1
- package/saml/identityProvider.d.ts +7 -9
- package/saml/identityProvider.js +7 -9
- package/saml/identityProvider.js.map +1 -1
- package/saml/scriptProtocolMapper.d.ts +4 -4
- package/saml/scriptProtocolMapper.js +4 -4
- package/saml/userAttributeProtocolMapper.d.ts +8 -8
- package/saml/userAttributeProtocolMapper.js +8 -8
- package/saml/userPropertyProtocolMapper.d.ts +8 -8
- package/saml/userPropertyProtocolMapper.js +8 -8
- package/types/input.d.ts +0 -48
- package/types/output.d.ts +0 -48
- package/user.d.ts +10 -12
- package/user.js +10 -12
- package/user.js.map +1 -1
- package/userGroups.d.ts +4 -40
- package/userGroups.js +4 -40
- package/userGroups.js.map +1 -1
- package/userRoles.d.ts +7 -6
- package/userRoles.js +7 -6
- package/userRoles.js.map +1 -1
- package/userTemplateImporterIdentityProviderMapper.d.ts +2 -3
- package/userTemplateImporterIdentityProviderMapper.js +2 -3
- package/userTemplateImporterIdentityProviderMapper.js.map +1 -1
|
@@ -6,19 +6,18 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
6
6
|
*
|
|
7
7
|
* ### Example Usage
|
|
8
8
|
*
|
|
9
|
-
* <!--Start PulumiCodeChooser -->
|
|
10
9
|
* ```typescript
|
|
11
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
12
11
|
* import * as keycloak from "@pulumi/keycloak";
|
|
13
12
|
*
|
|
14
|
-
* const testMapper = new keycloak.AttributeImporterIdentityProviderMapper("
|
|
15
|
-
* attributeName: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname",
|
|
16
|
-
* identityProviderAlias: "idp_alias",
|
|
13
|
+
* const testMapper = new keycloak.AttributeImporterIdentityProviderMapper("test_mapper", {
|
|
17
14
|
* realm: "my-realm",
|
|
15
|
+
* name: "my-mapper",
|
|
16
|
+
* identityProviderAlias: "idp_alias",
|
|
17
|
+
* attributeName: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname",
|
|
18
18
|
* userAttribute: "lastName",
|
|
19
19
|
* });
|
|
20
20
|
* ```
|
|
21
|
-
* <!--End PulumiCodeChooser -->
|
|
22
21
|
*
|
|
23
22
|
* ### Argument Reference
|
|
24
23
|
*
|
|
@@ -12,19 +12,18 @@ const utilities = require("./utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* ### Example Usage
|
|
14
14
|
*
|
|
15
|
-
* <!--Start PulumiCodeChooser -->
|
|
16
15
|
* ```typescript
|
|
17
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
18
17
|
* import * as keycloak from "@pulumi/keycloak";
|
|
19
18
|
*
|
|
20
|
-
* const testMapper = new keycloak.AttributeImporterIdentityProviderMapper("
|
|
21
|
-
* attributeName: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname",
|
|
22
|
-
* identityProviderAlias: "idp_alias",
|
|
19
|
+
* const testMapper = new keycloak.AttributeImporterIdentityProviderMapper("test_mapper", {
|
|
23
20
|
* realm: "my-realm",
|
|
21
|
+
* name: "my-mapper",
|
|
22
|
+
* identityProviderAlias: "idp_alias",
|
|
23
|
+
* attributeName: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname",
|
|
24
24
|
* userAttribute: "lastName",
|
|
25
25
|
* });
|
|
26
26
|
* ```
|
|
27
|
-
* <!--End PulumiCodeChooser -->
|
|
28
27
|
*
|
|
29
28
|
* ### Argument Reference
|
|
30
29
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attributeImporterIdentityProviderMapper.js","sourceRoot":"","sources":["../attributeImporterIdentityProviderMapper.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAy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,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uCAAuC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5F,CAAC;;AArGL,0FAsGC;AAxFG,gBAAgB;AACO,oDAAY,GAAG,gGAAgG,CAAC"}
|
|
@@ -6,7 +6,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
-
* <!--Start PulumiCodeChooser -->
|
|
10
9
|
* ```typescript
|
|
11
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
12
11
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -15,7 +14,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
15
14
|
* realm: "my-realm",
|
|
16
15
|
* enabled: true,
|
|
17
16
|
* });
|
|
18
|
-
* const
|
|
17
|
+
* const oidc = new keycloak.oidc.IdentityProvider("oidc", {
|
|
19
18
|
* realm: realm.id,
|
|
20
19
|
* alias: "oidc",
|
|
21
20
|
* authorizationUrl: "https://example.com/auth",
|
|
@@ -24,13 +23,15 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
24
23
|
* clientSecret: "example_token",
|
|
25
24
|
* defaultScopes: "openid random profile",
|
|
26
25
|
* });
|
|
27
|
-
* const realmRole = new keycloak.Role("
|
|
26
|
+
* const realmRole = new keycloak.Role("realm_role", {
|
|
28
27
|
* realmId: realm.id,
|
|
28
|
+
* name: "my-realm-role",
|
|
29
29
|
* description: "My Realm Role",
|
|
30
30
|
* });
|
|
31
|
-
* const oidcAttributeToRoleIdentityMapper = new keycloak.AttributeToRoleIdentityMapper("
|
|
31
|
+
* const oidcAttributeToRoleIdentityMapper = new keycloak.AttributeToRoleIdentityMapper("oidc", {
|
|
32
32
|
* realm: realm.id,
|
|
33
|
-
*
|
|
33
|
+
* name: "role-attribute",
|
|
34
|
+
* identityProviderAlias: oidc.alias,
|
|
34
35
|
* role: "my-realm-role",
|
|
35
36
|
* claimName: "my-claim",
|
|
36
37
|
* claimValue: "my-value",
|
|
@@ -39,7 +40,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
39
40
|
* },
|
|
40
41
|
* });
|
|
41
42
|
* ```
|
|
42
|
-
* <!--End PulumiCodeChooser -->
|
|
43
43
|
*
|
|
44
44
|
* ## Import
|
|
45
45
|
*
|
|
@@ -12,7 +12,6 @@ const utilities = require("./utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
15
|
-
* <!--Start PulumiCodeChooser -->
|
|
16
15
|
* ```typescript
|
|
17
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
18
17
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -21,7 +20,7 @@ const utilities = require("./utilities");
|
|
|
21
20
|
* realm: "my-realm",
|
|
22
21
|
* enabled: true,
|
|
23
22
|
* });
|
|
24
|
-
* const
|
|
23
|
+
* const oidc = new keycloak.oidc.IdentityProvider("oidc", {
|
|
25
24
|
* realm: realm.id,
|
|
26
25
|
* alias: "oidc",
|
|
27
26
|
* authorizationUrl: "https://example.com/auth",
|
|
@@ -30,13 +29,15 @@ const utilities = require("./utilities");
|
|
|
30
29
|
* clientSecret: "example_token",
|
|
31
30
|
* defaultScopes: "openid random profile",
|
|
32
31
|
* });
|
|
33
|
-
* const realmRole = new keycloak.Role("
|
|
32
|
+
* const realmRole = new keycloak.Role("realm_role", {
|
|
34
33
|
* realmId: realm.id,
|
|
34
|
+
* name: "my-realm-role",
|
|
35
35
|
* description: "My Realm Role",
|
|
36
36
|
* });
|
|
37
|
-
* const oidcAttributeToRoleIdentityMapper = new keycloak.AttributeToRoleIdentityMapper("
|
|
37
|
+
* const oidcAttributeToRoleIdentityMapper = new keycloak.AttributeToRoleIdentityMapper("oidc", {
|
|
38
38
|
* realm: realm.id,
|
|
39
|
-
*
|
|
39
|
+
* name: "role-attribute",
|
|
40
|
+
* identityProviderAlias: oidc.alias,
|
|
40
41
|
* role: "my-realm-role",
|
|
41
42
|
* claimName: "my-claim",
|
|
42
43
|
* claimValue: "my-value",
|
|
@@ -45,7 +46,6 @@ const utilities = require("./utilities");
|
|
|
45
46
|
* },
|
|
46
47
|
* });
|
|
47
48
|
* ```
|
|
48
|
-
* <!--End PulumiCodeChooser -->
|
|
49
49
|
*
|
|
50
50
|
* ## Import
|
|
51
51
|
*
|
|
@@ -16,7 +16,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
16
16
|
*
|
|
17
17
|
* ## Example Usage
|
|
18
18
|
*
|
|
19
|
-
* <!--Start PulumiCodeChooser -->
|
|
20
19
|
* ```typescript
|
|
21
20
|
* import * as pulumi from "@pulumi/pulumi";
|
|
22
21
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -30,14 +29,14 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
30
29
|
* alias: "my-flow-alias",
|
|
31
30
|
* });
|
|
32
31
|
* // first execution
|
|
33
|
-
* const executionOne = new keycloak.authentication.Execution("
|
|
32
|
+
* const executionOne = new keycloak.authentication.Execution("execution_one", {
|
|
34
33
|
* realmId: realm.id,
|
|
35
34
|
* parentFlowAlias: flow.alias,
|
|
36
35
|
* authenticator: "auth-cookie",
|
|
37
36
|
* requirement: "ALTERNATIVE",
|
|
38
37
|
* });
|
|
39
38
|
* // second execution
|
|
40
|
-
* const executionTwo = new keycloak.authentication.Execution("
|
|
39
|
+
* const executionTwo = new keycloak.authentication.Execution("execution_two", {
|
|
41
40
|
* realmId: realm.id,
|
|
42
41
|
* parentFlowAlias: flow.alias,
|
|
43
42
|
* authenticator: "identity-provider-redirector",
|
|
@@ -45,12 +44,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
45
44
|
* }, {
|
|
46
45
|
* dependsOn: [executionOne],
|
|
47
46
|
* });
|
|
48
|
-
* const browserAuthenticationBinding = new keycloak.authentication.Bindings("
|
|
47
|
+
* const browserAuthenticationBinding = new keycloak.authentication.Bindings("browser_authentication_binding", {
|
|
49
48
|
* realmId: realm.id,
|
|
50
49
|
* browserFlow: flow.alias,
|
|
51
50
|
* });
|
|
52
51
|
* ```
|
|
53
|
-
* <!--End PulumiCodeChooser -->
|
|
54
52
|
*/
|
|
55
53
|
export declare class Bindings extends pulumi.CustomResource {
|
|
56
54
|
/**
|
|
@@ -22,7 +22,6 @@ const utilities = require("../utilities");
|
|
|
22
22
|
*
|
|
23
23
|
* ## Example Usage
|
|
24
24
|
*
|
|
25
|
-
* <!--Start PulumiCodeChooser -->
|
|
26
25
|
* ```typescript
|
|
27
26
|
* import * as pulumi from "@pulumi/pulumi";
|
|
28
27
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -36,14 +35,14 @@ const utilities = require("../utilities");
|
|
|
36
35
|
* alias: "my-flow-alias",
|
|
37
36
|
* });
|
|
38
37
|
* // first execution
|
|
39
|
-
* const executionOne = new keycloak.authentication.Execution("
|
|
38
|
+
* const executionOne = new keycloak.authentication.Execution("execution_one", {
|
|
40
39
|
* realmId: realm.id,
|
|
41
40
|
* parentFlowAlias: flow.alias,
|
|
42
41
|
* authenticator: "auth-cookie",
|
|
43
42
|
* requirement: "ALTERNATIVE",
|
|
44
43
|
* });
|
|
45
44
|
* // second execution
|
|
46
|
-
* const executionTwo = new keycloak.authentication.Execution("
|
|
45
|
+
* const executionTwo = new keycloak.authentication.Execution("execution_two", {
|
|
47
46
|
* realmId: realm.id,
|
|
48
47
|
* parentFlowAlias: flow.alias,
|
|
49
48
|
* authenticator: "identity-provider-redirector",
|
|
@@ -51,12 +50,11 @@ const utilities = require("../utilities");
|
|
|
51
50
|
* }, {
|
|
52
51
|
* dependsOn: [executionOne],
|
|
53
52
|
* });
|
|
54
|
-
* const browserAuthenticationBinding = new keycloak.authentication.Bindings("
|
|
53
|
+
* const browserAuthenticationBinding = new keycloak.authentication.Bindings("browser_authentication_binding", {
|
|
55
54
|
* realmId: realm.id,
|
|
56
55
|
* browserFlow: flow.alias,
|
|
57
56
|
* });
|
|
58
57
|
* ```
|
|
59
|
-
* <!--End PulumiCodeChooser -->
|
|
60
58
|
*/
|
|
61
59
|
class Bindings extends pulumi.CustomResource {
|
|
62
60
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bindings.js","sourceRoot":"","sources":["../../authentication/bindings.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"bindings.js","sourceRoot":"","sources":["../../authentication/bindings.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yC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GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;SACzF;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AA5FL,4BA6FC;AA/EG,gBAAgB;AACO,qBAAY,GAAG,2CAA2C,CAAC"}
|
|
@@ -9,7 +9,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
9
9
|
*
|
|
10
10
|
* ## Example Usage
|
|
11
11
|
*
|
|
12
|
-
* <!--Start PulumiCodeChooser -->
|
|
13
12
|
* ```typescript
|
|
14
13
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
14
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -23,14 +22,14 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
23
22
|
* alias: "my-flow-alias",
|
|
24
23
|
* });
|
|
25
24
|
* // first execution
|
|
26
|
-
* const executionOne = new keycloak.authentication.Execution("
|
|
25
|
+
* const executionOne = new keycloak.authentication.Execution("execution_one", {
|
|
27
26
|
* realmId: realm.id,
|
|
28
27
|
* parentFlowAlias: flow.alias,
|
|
29
28
|
* authenticator: "auth-cookie",
|
|
30
29
|
* requirement: "ALTERNATIVE",
|
|
31
30
|
* });
|
|
32
31
|
* // second execution
|
|
33
|
-
* const executionTwo = new keycloak.authentication.Execution("
|
|
32
|
+
* const executionTwo = new keycloak.authentication.Execution("execution_two", {
|
|
34
33
|
* realmId: realm.id,
|
|
35
34
|
* parentFlowAlias: flow.alias,
|
|
36
35
|
* authenticator: "identity-provider-redirector",
|
|
@@ -39,7 +38,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
39
38
|
* dependsOn: [executionOne],
|
|
40
39
|
* });
|
|
41
40
|
* ```
|
|
42
|
-
* <!--End PulumiCodeChooser -->
|
|
43
41
|
*
|
|
44
42
|
* ## Import
|
|
45
43
|
*
|
|
@@ -15,7 +15,6 @@ const utilities = require("../utilities");
|
|
|
15
15
|
*
|
|
16
16
|
* ## Example Usage
|
|
17
17
|
*
|
|
18
|
-
* <!--Start PulumiCodeChooser -->
|
|
19
18
|
* ```typescript
|
|
20
19
|
* import * as pulumi from "@pulumi/pulumi";
|
|
21
20
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -29,14 +28,14 @@ const utilities = require("../utilities");
|
|
|
29
28
|
* alias: "my-flow-alias",
|
|
30
29
|
* });
|
|
31
30
|
* // first execution
|
|
32
|
-
* const executionOne = new keycloak.authentication.Execution("
|
|
31
|
+
* const executionOne = new keycloak.authentication.Execution("execution_one", {
|
|
33
32
|
* realmId: realm.id,
|
|
34
33
|
* parentFlowAlias: flow.alias,
|
|
35
34
|
* authenticator: "auth-cookie",
|
|
36
35
|
* requirement: "ALTERNATIVE",
|
|
37
36
|
* });
|
|
38
37
|
* // second execution
|
|
39
|
-
* const executionTwo = new keycloak.authentication.Execution("
|
|
38
|
+
* const executionTwo = new keycloak.authentication.Execution("execution_two", {
|
|
40
39
|
* realmId: realm.id,
|
|
41
40
|
* parentFlowAlias: flow.alias,
|
|
42
41
|
* authenticator: "identity-provider-redirector",
|
|
@@ -45,7 +44,6 @@ const utilities = require("../utilities");
|
|
|
45
44
|
* dependsOn: [executionOne],
|
|
46
45
|
* });
|
|
47
46
|
* ```
|
|
48
|
-
* <!--End PulumiCodeChooser -->
|
|
49
47
|
*
|
|
50
48
|
* ## Import
|
|
51
49
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execution.js","sourceRoot":"","sources":["../../authentication/execution.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"execution.js","sourceRoot":"","sources":["../../authentication/execution.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AgB;AACO,sBAAY,GAAG,6CAA6C,CAAC"}
|
|
@@ -5,7 +5,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
5
5
|
*
|
|
6
6
|
* ## Example Usage
|
|
7
7
|
*
|
|
8
|
-
* <!--Start PulumiCodeChooser -->
|
|
9
8
|
* ```typescript
|
|
10
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
10
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -32,7 +31,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
32
31
|
* },
|
|
33
32
|
* });
|
|
34
33
|
* ```
|
|
35
|
-
* <!--End PulumiCodeChooser -->
|
|
36
34
|
*
|
|
37
35
|
* ## Import
|
|
38
36
|
*
|
|
@@ -11,7 +11,6 @@ const utilities = require("../utilities");
|
|
|
11
11
|
*
|
|
12
12
|
* ## Example Usage
|
|
13
13
|
*
|
|
14
|
-
* <!--Start PulumiCodeChooser -->
|
|
15
14
|
* ```typescript
|
|
16
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
16
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -38,7 +37,6 @@ const utilities = require("../utilities");
|
|
|
38
37
|
* },
|
|
39
38
|
* });
|
|
40
39
|
* ```
|
|
41
|
-
* <!--End PulumiCodeChooser -->
|
|
42
40
|
*
|
|
43
41
|
* ## Import
|
|
44
42
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executionConfig.js","sourceRoot":"","sources":["../../authentication/executionConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"executionConfig.js","sourceRoot":"","sources":["../../authentication/executionConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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CAoFC;AAtEG,gBAAgB;AACO,4BAAY,GAAG,yDAAyD,CAAC"}
|
package/authentication/flow.d.ts
CHANGED
|
@@ -8,7 +8,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
*
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
11
|
-
* <!--Start PulumiCodeChooser -->
|
|
12
11
|
* ```typescript
|
|
13
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
13
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -28,7 +27,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
28
27
|
* requirement: "REQUIRED",
|
|
29
28
|
* });
|
|
30
29
|
* ```
|
|
31
|
-
* <!--End PulumiCodeChooser -->
|
|
32
30
|
*
|
|
33
31
|
* ## Import
|
|
34
32
|
*
|
package/authentication/flow.js
CHANGED
|
@@ -14,7 +14,6 @@ const utilities = require("../utilities");
|
|
|
14
14
|
*
|
|
15
15
|
* ## Example Usage
|
|
16
16
|
*
|
|
17
|
-
* <!--Start PulumiCodeChooser -->
|
|
18
17
|
* ```typescript
|
|
19
18
|
* import * as pulumi from "@pulumi/pulumi";
|
|
20
19
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -34,7 +33,6 @@ const utilities = require("../utilities");
|
|
|
34
33
|
* requirement: "REQUIRED",
|
|
35
34
|
* });
|
|
36
35
|
* ```
|
|
37
|
-
* <!--End PulumiCodeChooser -->
|
|
38
36
|
*
|
|
39
37
|
* ## Import
|
|
40
38
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flow.js","sourceRoot":"","sources":["../../authentication/flow.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"flow.js","sourceRoot":"","sources":["../../authentication/flow.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;A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
12
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -28,7 +27,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
28
27
|
* requirement: "ALTERNATIVE",
|
|
29
28
|
* });
|
|
30
29
|
* ```
|
|
31
|
-
* <!--End PulumiCodeChooser -->
|
|
32
30
|
*
|
|
33
31
|
* ## Import
|
|
34
32
|
*
|
|
@@ -13,7 +13,6 @@ const utilities = require("../utilities");
|
|
|
13
13
|
*
|
|
14
14
|
* ## Example Usage
|
|
15
15
|
*
|
|
16
|
-
* <!--Start PulumiCodeChooser -->
|
|
17
16
|
* ```typescript
|
|
18
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
19
18
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -34,7 +33,6 @@ const utilities = require("../utilities");
|
|
|
34
33
|
* requirement: "ALTERNATIVE",
|
|
35
34
|
* });
|
|
36
35
|
* ```
|
|
37
|
-
* <!--End PulumiCodeChooser -->
|
|
38
36
|
*
|
|
39
37
|
* ## Import
|
|
40
38
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subflow.js","sourceRoot":"","sources":["../../authentication/subflow.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"subflow.js","sourceRoot":"","sources":["../../authentication/subflow.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,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I,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;SACvE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AArGL,0BAsGC;AAxFG,gBAAgB;AACO,oBAAY,GAAG,yCAAyC,CAAC"}
|
|
@@ -2,7 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* ## Example Usage
|
|
4
4
|
*
|
|
5
|
-
* <!--Start PulumiCodeChooser -->
|
|
6
5
|
* ```typescript
|
|
7
6
|
* import * as pulumi from "@pulumi/pulumi";
|
|
8
7
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -11,7 +10,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
11
10
|
* realm: "my-realm",
|
|
12
11
|
* enabled: true,
|
|
13
12
|
* });
|
|
14
|
-
* const
|
|
13
|
+
* const oidc = new keycloak.oidc.IdentityProvider("oidc", {
|
|
15
14
|
* realm: realm.id,
|
|
16
15
|
* alias: "oidc",
|
|
17
16
|
* authorizationUrl: "https://example.com/auth",
|
|
@@ -20,9 +19,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
20
19
|
* clientSecret: "example_token",
|
|
21
20
|
* defaultScopes: "openid random profile",
|
|
22
21
|
* });
|
|
23
|
-
* const oidcCustomIdentityProviderMapping = new keycloak.CustomIdentityProviderMapping("
|
|
22
|
+
* const oidcCustomIdentityProviderMapping = new keycloak.CustomIdentityProviderMapping("oidc", {
|
|
24
23
|
* realm: realm.id,
|
|
25
|
-
*
|
|
24
|
+
* name: "email-attribute-importer",
|
|
25
|
+
* identityProviderAlias: oidc.alias,
|
|
26
26
|
* identityProviderMapper: "%s-user-attribute-idp-mapper",
|
|
27
27
|
* extraConfig: {
|
|
28
28
|
* syncMode: "INHERIT",
|
|
@@ -31,7 +31,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
31
31
|
* },
|
|
32
32
|
* });
|
|
33
33
|
* ```
|
|
34
|
-
* <!--End PulumiCodeChooser -->
|
|
35
34
|
*
|
|
36
35
|
* ## Import
|
|
37
36
|
*
|
|
@@ -74,7 +73,7 @@ export declare class CustomIdentityProviderMapping extends pulumi.CustomResource
|
|
|
74
73
|
*/
|
|
75
74
|
readonly identityProviderAlias: pulumi.Output<string>;
|
|
76
75
|
/**
|
|
77
|
-
* The type of the identity provider mapper. This can be a format string that includes a
|
|
76
|
+
* The type of the identity provider mapper. This can be a format string that includes a `%s` - this will be replaced by the provider id.
|
|
78
77
|
*/
|
|
79
78
|
readonly identityProviderMapper: pulumi.Output<string>;
|
|
80
79
|
/**
|
|
@@ -109,7 +108,7 @@ export interface CustomIdentityProviderMappingState {
|
|
|
109
108
|
*/
|
|
110
109
|
identityProviderAlias?: pulumi.Input<string>;
|
|
111
110
|
/**
|
|
112
|
-
* The type of the identity provider mapper. This can be a format string that includes a
|
|
111
|
+
* The type of the identity provider mapper. This can be a format string that includes a `%s` - this will be replaced by the provider id.
|
|
113
112
|
*/
|
|
114
113
|
identityProviderMapper?: pulumi.Input<string>;
|
|
115
114
|
/**
|
|
@@ -136,7 +135,7 @@ export interface CustomIdentityProviderMappingArgs {
|
|
|
136
135
|
*/
|
|
137
136
|
identityProviderAlias: pulumi.Input<string>;
|
|
138
137
|
/**
|
|
139
|
-
* The type of the identity provider mapper. This can be a format string that includes a
|
|
138
|
+
* The type of the identity provider mapper. This can be a format string that includes a `%s` - this will be replaced by the provider id.
|
|
140
139
|
*/
|
|
141
140
|
identityProviderMapper: pulumi.Input<string>;
|
|
142
141
|
/**
|
|
@@ -8,7 +8,6 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
11
|
-
* <!--Start PulumiCodeChooser -->
|
|
12
11
|
* ```typescript
|
|
13
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
13
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -17,7 +16,7 @@ const utilities = require("./utilities");
|
|
|
17
16
|
* realm: "my-realm",
|
|
18
17
|
* enabled: true,
|
|
19
18
|
* });
|
|
20
|
-
* const
|
|
19
|
+
* const oidc = new keycloak.oidc.IdentityProvider("oidc", {
|
|
21
20
|
* realm: realm.id,
|
|
22
21
|
* alias: "oidc",
|
|
23
22
|
* authorizationUrl: "https://example.com/auth",
|
|
@@ -26,9 +25,10 @@ const utilities = require("./utilities");
|
|
|
26
25
|
* clientSecret: "example_token",
|
|
27
26
|
* defaultScopes: "openid random profile",
|
|
28
27
|
* });
|
|
29
|
-
* const oidcCustomIdentityProviderMapping = new keycloak.CustomIdentityProviderMapping("
|
|
28
|
+
* const oidcCustomIdentityProviderMapping = new keycloak.CustomIdentityProviderMapping("oidc", {
|
|
30
29
|
* realm: realm.id,
|
|
31
|
-
*
|
|
30
|
+
* name: "email-attribute-importer",
|
|
31
|
+
* identityProviderAlias: oidc.alias,
|
|
32
32
|
* identityProviderMapper: "%s-user-attribute-idp-mapper",
|
|
33
33
|
* extraConfig: {
|
|
34
34
|
* syncMode: "INHERIT",
|
|
@@ -37,7 +37,6 @@ const utilities = require("./utilities");
|
|
|
37
37
|
* },
|
|
38
38
|
* });
|
|
39
39
|
* ```
|
|
40
|
-
* <!--End PulumiCodeChooser -->
|
|
41
40
|
*
|
|
42
41
|
* ## Import
|
|
43
42
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customIdentityProviderMapping.js","sourceRoot":"","sources":["../customIdentityProviderMapping.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"customIdentityProviderMapping.js","sourceRoot":"","sources":["../customIdentityProviderM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AAC,SAAS,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,6BAA6B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClF,CAAC;;AAtFL,sEAuFC;AAzEG,gBAAgB;AACO,0CAAY,GAAG,4EAA4E,CAAC"}
|
|
@@ -10,22 +10,21 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
*
|
|
11
11
|
* ### Example Usage
|
|
12
12
|
*
|
|
13
|
-
* <!--Start PulumiCodeChooser -->
|
|
14
13
|
* ```typescript
|
|
15
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
15
|
* import * as keycloak from "@pulumi/keycloak";
|
|
17
16
|
*
|
|
18
17
|
* const realm = new keycloak.Realm("realm", {
|
|
19
|
-
* enabled: true,
|
|
20
18
|
* realm: "test",
|
|
21
|
-
* });
|
|
22
|
-
* const customUserFederation = new keycloak.CustomUserFederation("customUserFederation", {
|
|
23
19
|
* enabled: true,
|
|
24
|
-
*
|
|
20
|
+
* });
|
|
21
|
+
* const customUserFederation = new keycloak.CustomUserFederation("custom_user_federation", {
|
|
22
|
+
* name: "custom",
|
|
25
23
|
* realmId: realm.id,
|
|
24
|
+
* providerId: "custom",
|
|
25
|
+
* enabled: true,
|
|
26
26
|
* });
|
|
27
27
|
* ```
|
|
28
|
-
* <!--End PulumiCodeChooser -->
|
|
29
28
|
*
|
|
30
29
|
* ### Argument Reference
|
|
31
30
|
*
|
|
@@ -81,7 +80,7 @@ export declare class CustomUserFederation extends pulumi.CustomResource {
|
|
|
81
80
|
*/
|
|
82
81
|
readonly name: pulumi.Output<string>;
|
|
83
82
|
/**
|
|
84
|
-
* The
|
|
83
|
+
* The parentId of the generated component. will use realmId if not specified.
|
|
85
84
|
*/
|
|
86
85
|
readonly parentId: pulumi.Output<string>;
|
|
87
86
|
/**
|
|
@@ -132,7 +131,7 @@ export interface CustomUserFederationState {
|
|
|
132
131
|
*/
|
|
133
132
|
name?: pulumi.Input<string>;
|
|
134
133
|
/**
|
|
135
|
-
* The
|
|
134
|
+
* The parentId of the generated component. will use realmId if not specified.
|
|
136
135
|
*/
|
|
137
136
|
parentId?: pulumi.Input<string>;
|
|
138
137
|
/**
|
|
@@ -175,7 +174,7 @@ export interface CustomUserFederationArgs {
|
|
|
175
174
|
*/
|
|
176
175
|
name?: pulumi.Input<string>;
|
|
177
176
|
/**
|
|
178
|
-
* The
|
|
177
|
+
* The parentId of the generated component. will use realmId if not specified.
|
|
179
178
|
*/
|
|
180
179
|
parentId?: pulumi.Input<string>;
|
|
181
180
|
/**
|