@pulumi/keycloak 5.3.0 → 5.3.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/attributeImporterIdentityProviderMapper.d.ts +46 -63
- package/attributeImporterIdentityProviderMapper.js +25 -33
- package/attributeImporterIdentityProviderMapper.js.map +1 -1
- package/attributeToRoleIdentityMapper.d.ts +10 -2
- package/attributeToRoleIdentityMapper.js +10 -2
- package/attributeToRoleIdentityMapper.js.map +1 -1
- package/authentication/bindings.d.ts +2 -0
- package/authentication/bindings.js +2 -0
- package/authentication/bindings.js.map +1 -1
- package/authentication/execution.d.ts +8 -2
- package/authentication/execution.js +8 -2
- package/authentication/execution.js.map +1 -1
- package/authentication/executionConfig.d.ts +12 -2
- package/authentication/executionConfig.js +12 -2
- package/authentication/executionConfig.js.map +1 -1
- package/authentication/flow.d.ts +16 -2
- package/authentication/flow.js +16 -2
- package/authentication/flow.js.map +1 -1
- package/authentication/subflow.d.ts +18 -2
- package/authentication/subflow.js +18 -2
- package/authentication/subflow.js.map +1 -1
- package/customIdentityProviderMapping.d.ts +13 -5
- package/customIdentityProviderMapping.js +10 -2
- package/customIdentityProviderMapping.js.map +1 -1
- package/customUserFederation.d.ts +51 -50
- package/customUserFederation.js +27 -14
- package/customUserFederation.js.map +1 -1
- package/defaultGroups.d.ts +19 -27
- package/defaultGroups.js +19 -9
- package/defaultGroups.js.map +1 -1
- package/defaultRoles.d.ts +13 -2
- package/defaultRoles.js +13 -2
- package/defaultRoles.js.map +1 -1
- package/genericClientProtocolMapper.d.ts +40 -37
- package/genericClientProtocolMapper.js +25 -13
- package/genericClientProtocolMapper.js.map +1 -1
- package/genericClientRoleMapper.d.ts +22 -2
- package/genericClientRoleMapper.js +22 -2
- package/genericClientRoleMapper.js.map +1 -1
- package/genericProtocolMapper.d.ts +8 -2
- package/genericProtocolMapper.js +8 -2
- package/genericProtocolMapper.js.map +1 -1
- package/genericRoleMapper.d.ts +22 -2
- package/genericRoleMapper.js +22 -2
- package/genericRoleMapper.js.map +1 -1
- package/getAuthenticationExecution.d.ts +4 -0
- package/getAuthenticationExecution.js +4 -0
- package/getAuthenticationExecution.js.map +1 -1
- package/getAuthenticationFlow.d.ts +4 -0
- package/getAuthenticationFlow.js +4 -0
- package/getAuthenticationFlow.js.map +1 -1
- package/getClientDescriptionConverter.d.ts +4 -0
- package/getClientDescriptionConverter.js +4 -0
- package/getClientDescriptionConverter.js.map +1 -1
- package/getGroup.d.ts +4 -62
- package/getGroup.js +4 -50
- package/getGroup.js.map +1 -1
- package/getRealm.d.ts +32 -10
- package/getRealm.js +32 -4
- package/getRealm.js.map +1 -1
- package/getRealmKeys.d.ts +8 -28
- package/getRealmKeys.js +8 -4
- package/getRealmKeys.js.map +1 -1
- package/getRole.d.ts +4 -65
- package/getRole.js +4 -44
- package/getRole.js.map +1 -1
- package/getUser.d.ts +4 -0
- package/getUser.js +4 -0
- package/getUser.js.map +1 -1
- package/getUserRealmRoles.d.ts +4 -0
- package/getUserRealmRoles.js +4 -0
- package/getUserRealmRoles.js.map +1 -1
- package/group.d.ts +35 -58
- package/group.js +35 -16
- package/group.js.map +1 -1
- package/groupMemberships.d.ts +27 -43
- package/groupMemberships.js +27 -16
- package/groupMemberships.js.map +1 -1
- package/groupPermissions.d.ts +13 -0
- package/groupPermissions.js +13 -0
- package/groupPermissions.js.map +1 -1
- package/groupRoles.d.ts +32 -91
- package/groupRoles.js +32 -55
- package/groupRoles.js.map +1 -1
- package/hardcodedAttributeIdentityProviderMapper.d.ts +2 -0
- package/hardcodedAttributeIdentityProviderMapper.js +2 -0
- package/hardcodedAttributeIdentityProviderMapper.js.map +1 -1
- package/hardcodedRoleIdentityMapper.d.ts +2 -0
- package/hardcodedRoleIdentityMapper.js +2 -0
- package/hardcodedRoleIdentityMapper.js.map +1 -1
- package/identityProviderTokenExchangeScopePermission.d.ts +10 -2
- package/identityProviderTokenExchangeScopePermission.js +10 -2
- package/identityProviderTokenExchangeScopePermission.js.map +1 -1
- package/ldap/customMapper.d.ts +10 -2
- package/ldap/customMapper.js +10 -2
- package/ldap/customMapper.js.map +1 -1
- package/ldap/fullNameMapper.d.ts +41 -54
- package/ldap/fullNameMapper.js +32 -18
- package/ldap/fullNameMapper.js.map +1 -1
- package/ldap/groupMapper.d.ts +55 -164
- package/ldap/groupMapper.js +46 -20
- package/ldap/groupMapper.js.map +1 -1
- package/ldap/hardcodedAttributeMapper.d.ts +10 -2
- package/ldap/hardcodedAttributeMapper.js +10 -2
- package/ldap/hardcodedAttributeMapper.js.map +1 -1
- package/ldap/hardcodedGroupMapper.d.ts +10 -2
- package/ldap/hardcodedGroupMapper.js +10 -2
- package/ldap/hardcodedGroupMapper.js.map +1 -1
- package/ldap/hardcodedRoleMapper.d.ts +29 -64
- package/ldap/hardcodedRoleMapper.js +17 -52
- package/ldap/hardcodedRoleMapper.js.map +1 -1
- package/ldap/msadLdsUserAccountControlMapper.d.ts +10 -2
- package/ldap/msadLdsUserAccountControlMapper.js +10 -2
- package/ldap/msadLdsUserAccountControlMapper.js.map +1 -1
- package/ldap/msadUserAccountControlMapper.d.ts +34 -32
- package/ldap/msadUserAccountControlMapper.js +25 -14
- package/ldap/msadUserAccountControlMapper.js.map +1 -1
- package/ldap/roleMapper.d.ts +10 -2
- package/ldap/roleMapper.js +10 -2
- package/ldap/roleMapper.js.map +1 -1
- package/ldap/userAttributeMapper.d.ts +60 -45
- package/ldap/userAttributeMapper.js +30 -15
- package/ldap/userAttributeMapper.js.map +1 -1
- package/ldap/userFederation.d.ts +125 -95
- package/ldap/userFederation.js +53 -20
- package/ldap/userFederation.js.map +1 -1
- package/oidc/googleIdentityProvider.d.ts +8 -2
- package/oidc/googleIdentityProvider.js +8 -2
- package/oidc/googleIdentityProvider.js.map +1 -1
- package/oidc/identityProvider.d.ts +8 -2
- package/oidc/identityProvider.js +8 -2
- package/oidc/identityProvider.js.map +1 -1
- package/openid/audienceProtocolMapper.d.ts +62 -45
- package/openid/audienceProtocolMapper.js +38 -21
- package/openid/audienceProtocolMapper.js.map +1 -1
- package/openid/audienceResolveProtocolMapper.d.ts +17 -3
- package/openid/audienceResolveProtocolMapper.js +17 -3
- package/openid/audienceResolveProtocolMapper.js.map +1 -1
- package/openid/audienceResolveProtocolMappter.d.ts +17 -3
- package/openid/audienceResolveProtocolMappter.js +17 -3
- package/openid/audienceResolveProtocolMappter.js.map +1 -1
- package/openid/client.d.ts +48 -431
- package/openid/client.js +48 -14
- package/openid/client.js.map +1 -1
- package/openid/clientAuthorizationPermission.d.ts +6 -2
- package/openid/clientAuthorizationPermission.js +6 -2
- package/openid/clientAuthorizationPermission.js.map +1 -1
- package/openid/clientDefaultScopes.d.ts +17 -33
- package/openid/clientDefaultScopes.js +17 -6
- package/openid/clientDefaultScopes.js.map +1 -1
- package/openid/clientOptionalScopes.d.ts +17 -34
- package/openid/clientOptionalScopes.js +17 -7
- package/openid/clientOptionalScopes.js.map +1 -1
- package/openid/clientPolicy.d.ts +2 -0
- package/openid/clientPolicy.js +2 -0
- package/openid/clientPolicy.js.map +1 -1
- package/openid/clientScope.d.ts +27 -67
- package/openid/clientScope.js +27 -13
- package/openid/clientScope.js.map +1 -1
- package/openid/clientServiceAccountRealmRole.d.ts +8 -2
- package/openid/clientServiceAccountRealmRole.js +8 -2
- package/openid/clientServiceAccountRealmRole.js.map +1 -1
- package/openid/clientServiceAccountRole.d.ts +8 -2
- package/openid/clientServiceAccountRole.js +8 -2
- package/openid/clientServiceAccountRole.js.map +1 -1
- package/openid/fullNameProtocolMapper.d.ts +49 -61
- package/openid/fullNameProtocolMapper.js +37 -22
- package/openid/fullNameProtocolMapper.js.map +1 -1
- package/openid/getClient.d.ts +32 -14
- package/openid/getClient.js +32 -2
- package/openid/getClient.js.map +1 -1
- package/openid/getClientAuthorizationPolicy.d.ts +4 -0
- package/openid/getClientAuthorizationPolicy.js +4 -0
- package/openid/getClientAuthorizationPolicy.js.map +1 -1
- package/openid/getClientScope.d.ts +4 -0
- package/openid/getClientScope.js +4 -0
- package/openid/getClientScope.js.map +1 -1
- package/openid/getClientServiceAccountUser.d.ts +4 -0
- package/openid/getClientServiceAccountUser.js +4 -0
- package/openid/getClientServiceAccountUser.js.map +1 -1
- package/openid/groupMembershipProtocolMapper.d.ts +53 -81
- package/openid/groupMembershipProtocolMapper.js +41 -24
- package/openid/groupMembershipProtocolMapper.js.map +1 -1
- package/openid/hardcodedClaimProtocolMapper.d.ts +66 -66
- package/openid/hardcodedClaimProtocolMapper.js +42 -24
- package/openid/hardcodedClaimProtocolMapper.js.map +1 -1
- package/openid/hardcodedRoleProtocolMapper.d.ts +48 -43
- package/openid/hardcodedRoleProtocolMapper.js +36 -22
- package/openid/hardcodedRoleProtocolMapper.js.map +1 -1
- package/openid/scriptProtocolMapper.d.ts +17 -3
- package/openid/scriptProtocolMapper.js +17 -3
- package/openid/scriptProtocolMapper.js.map +1 -1
- package/openid/userAttributeProtocolMapper.d.ts +73 -72
- package/openid/userAttributeProtocolMapper.js +43 -24
- package/openid/userAttributeProtocolMapper.js.map +1 -1
- package/openid/userClientRoleProtocolMapper.d.ts +17 -3
- package/openid/userClientRoleProtocolMapper.js +17 -3
- package/openid/userClientRoleProtocolMapper.js.map +1 -1
- package/openid/userPropertyProtocolMapper.d.ts +66 -67
- package/openid/userPropertyProtocolMapper.js +42 -25
- package/openid/userPropertyProtocolMapper.js.map +1 -1
- package/openid/userRealmRoleProtocolMapper.d.ts +73 -63
- package/openid/userRealmRoleProtocolMapper.js +43 -24
- package/openid/userRealmRoleProtocolMapper.js.map +1 -1
- package/openid/userSessionNoteProtocolMapper.d.ts +17 -3
- package/openid/userSessionNoteProtocolMapper.js +17 -3
- package/openid/userSessionNoteProtocolMapper.js.map +1 -1
- package/package.json +1 -1
- package/realm.d.ts +30 -509
- package/realm.js +0 -83
- package/realm.js.map +1 -1
- package/realmEvents.d.ts +20 -74
- package/realmEvents.js +20 -11
- package/realmEvents.js.map +1 -1
- package/realmKeystoreAesGenerated.d.ts +8 -2
- package/realmKeystoreAesGenerated.js +8 -2
- package/realmKeystoreAesGenerated.js.map +1 -1
- package/realmKeystoreEcdsaGenerated.d.ts +8 -2
- package/realmKeystoreEcdsaGenerated.js +8 -2
- package/realmKeystoreEcdsaGenerated.js.map +1 -1
- package/realmKeystoreHmacGenerated.d.ts +8 -2
- package/realmKeystoreHmacGenerated.js +8 -2
- package/realmKeystoreHmacGenerated.js.map +1 -1
- package/realmKeystoreJavaGenerated.d.ts +8 -2
- package/realmKeystoreJavaGenerated.js +8 -2
- package/realmKeystoreJavaGenerated.js.map +1 -1
- package/realmKeystoreRsa.d.ts +6 -2
- package/realmKeystoreRsa.js +6 -2
- package/realmKeystoreRsa.js.map +1 -1
- package/realmKeystoreRsaGenerated.d.ts +8 -2
- package/realmKeystoreRsaGenerated.js +8 -2
- package/realmKeystoreRsaGenerated.js.map +1 -1
- package/realmUserProfile.d.ts +2 -0
- package/realmUserProfile.js +2 -0
- package/realmUserProfile.js.map +1 -1
- package/requiredAction.d.ts +8 -2
- package/requiredAction.js +8 -2
- package/requiredAction.js.map +1 -1
- package/role.d.ts +58 -125
- package/role.js +58 -71
- package/role.js.map +1 -1
- package/saml/client.d.ts +46 -327
- package/saml/client.js +46 -12
- package/saml/client.js.map +1 -1
- package/saml/clientDefaultScope.d.ts +5 -1
- package/saml/clientDefaultScope.js +5 -1
- package/saml/clientDefaultScope.js.map +1 -1
- package/saml/clientScope.d.ts +10 -2
- package/saml/clientScope.js +10 -2
- package/saml/clientScope.js.map +1 -1
- package/saml/getClient.d.ts +4 -0
- package/saml/getClient.js +4 -0
- package/saml/getClient.js.map +1 -1
- package/saml/getClientInstallationProvider.d.ts +4 -0
- package/saml/getClientInstallationProvider.js +4 -0
- package/saml/getClientInstallationProvider.js.map +1 -1
- package/saml/identityProvider.d.ts +163 -117
- package/saml/identityProvider.js +52 -21
- package/saml/identityProvider.js.map +1 -1
- package/saml/scriptProtocolMapper.d.ts +13 -3
- package/saml/scriptProtocolMapper.js +13 -3
- package/saml/scriptProtocolMapper.js.map +1 -1
- package/saml/userAttributeProtocolMapper.d.ts +32 -91
- package/saml/userAttributeProtocolMapper.js +32 -19
- package/saml/userAttributeProtocolMapper.js.map +1 -1
- package/saml/userPropertyProtocolMapper.d.ts +32 -91
- package/saml/userPropertyProtocolMapper.js +32 -19
- package/saml/userPropertyProtocolMapper.js.map +1 -1
- package/types/input.d.ts +74 -183
- package/types/output.d.ts +44 -207
- package/user.d.ts +36 -112
- package/user.js +36 -22
- package/user.js.map +1 -1
- package/userGroups.d.ts +9 -1
- package/userGroups.js +9 -1
- package/userGroups.js.map +1 -1
- package/userRoles.d.ts +11 -2
- package/userRoles.js +11 -2
- package/userRoles.js.map +1 -1
- package/userTemplateImporterIdentityProviderMapper.d.ts +10 -2
- package/userTemplateImporterIdentityProviderMapper.js +10 -2
- package/userTemplateImporterIdentityProviderMapper.js.map +1 -1
- package/usersPermissions.d.ts +10 -25
- package/usersPermissions.js +10 -25
- package/usersPermissions.js.map +1 -1
|
@@ -1,51 +1,43 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* ## # keycloak.AttributeImporterIdentityProviderMapper
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
* - For the OIDC identity provider, this will map a claim on the ID or access token to an attribute for the imported Keycloak user.
|
|
7
|
-
* - For the SAML identity provider, this will map a SAML attribute found within the assertion to an attribute for the imported Keycloak user.
|
|
8
|
-
* - For social identity providers, this will map a JSON field from the user profile to an attribute for the imported Keycloak user.
|
|
5
|
+
* Allows to create and manage identity provider mappers within Keycloak.
|
|
9
6
|
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* ## Example Usage
|
|
7
|
+
* ### Example Usage
|
|
13
8
|
*
|
|
9
|
+
* <!--Start PulumiCodeChooser -->
|
|
14
10
|
* ```typescript
|
|
15
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
12
|
* import * as keycloak from "@pulumi/keycloak";
|
|
17
13
|
*
|
|
18
|
-
* const
|
|
14
|
+
* const testMapper = new keycloak.AttributeImporterIdentityProviderMapper("testMapper", {
|
|
15
|
+
* attributeName: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname",
|
|
16
|
+
* identityProviderAlias: "idp_alias",
|
|
19
17
|
* realm: "my-realm",
|
|
20
|
-
*
|
|
21
|
-
* });
|
|
22
|
-
* const oidcIdentityProvider = new keycloak.oidc.IdentityProvider("oidcIdentityProvider", {
|
|
23
|
-
* realm: realm.id,
|
|
24
|
-
* alias: "oidc",
|
|
25
|
-
* authorizationUrl: "https://example.com/auth",
|
|
26
|
-
* tokenUrl: "https://example.com/token",
|
|
27
|
-
* clientId: "example_id",
|
|
28
|
-
* clientSecret: "example_token",
|
|
29
|
-
* defaultScopes: "openid random profile",
|
|
30
|
-
* });
|
|
31
|
-
* const oidcAttributeImporterIdentityProviderMapper = new keycloak.AttributeImporterIdentityProviderMapper("oidcAttributeImporterIdentityProviderMapper", {
|
|
32
|
-
* realm: realm.id,
|
|
33
|
-
* claimName: "my-email-claim",
|
|
34
|
-
* identityProviderAlias: oidcIdentityProvider.alias,
|
|
35
|
-
* userAttribute: "email",
|
|
36
|
-
* extraConfig: {
|
|
37
|
-
* syncMode: "INHERIT",
|
|
38
|
-
* },
|
|
18
|
+
* userAttribute: "lastName",
|
|
39
19
|
* });
|
|
40
20
|
* ```
|
|
21
|
+
* <!--End PulumiCodeChooser -->
|
|
41
22
|
*
|
|
42
|
-
*
|
|
23
|
+
* ### Argument Reference
|
|
43
24
|
*
|
|
44
|
-
*
|
|
25
|
+
* The following arguments are supported:
|
|
45
26
|
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
27
|
+
* - `realm` - (Required) The name of the realm.
|
|
28
|
+
* - `name` - (Required) The name of the mapper.
|
|
29
|
+
* - `identityProviderAlias` - (Required) The alias of the associated identity provider.
|
|
30
|
+
* - `userAttribute` - (Required) The user attribute name to store SAML attribute.
|
|
31
|
+
* - `attributeName` - (Optional) The Name of attribute to search for in assertion. You can leave this blank and specify a friendly name instead.
|
|
32
|
+
* - `attributeFriendlyName` - (Optional) The friendly name of attribute to search for in assertion. You can leave this blank and specify an attribute name instead.
|
|
33
|
+
* - `claimName` - (Optional) The claim name.
|
|
34
|
+
*
|
|
35
|
+
* ### Import
|
|
36
|
+
*
|
|
37
|
+
* Identity provider mapper can be imported using the format `{{realm_id}}/{{idp_alias}}/{{idp_mapper_id}}`, where `idpAlias` is the identity provider alias, and `idpMapperId` is the unique ID that Keycloak
|
|
38
|
+
* assigns to the mapper upon creation. This value can be found in the URI when editing this mapper in the GUI, and is typically a GUID.
|
|
39
|
+
*
|
|
40
|
+
* Example:
|
|
49
41
|
*/
|
|
50
42
|
export declare class AttributeImporterIdentityProviderMapper extends pulumi.CustomResource {
|
|
51
43
|
/**
|
|
@@ -64,37 +56,34 @@ export declare class AttributeImporterIdentityProviderMapper extends pulumi.Cust
|
|
|
64
56
|
*/
|
|
65
57
|
static isInstance(obj: any): obj is AttributeImporterIdentityProviderMapper;
|
|
66
58
|
/**
|
|
67
|
-
*
|
|
59
|
+
* Attribute Friendly Name
|
|
68
60
|
*/
|
|
69
61
|
readonly attributeFriendlyName: pulumi.Output<string | undefined>;
|
|
70
62
|
/**
|
|
71
|
-
*
|
|
63
|
+
* Attribute Name
|
|
72
64
|
*/
|
|
73
65
|
readonly attributeName: pulumi.Output<string | undefined>;
|
|
74
66
|
/**
|
|
75
|
-
*
|
|
67
|
+
* Claim Name
|
|
76
68
|
*/
|
|
77
69
|
readonly claimName: pulumi.Output<string | undefined>;
|
|
78
|
-
/**
|
|
79
|
-
* Key/value attributes to add to the identity provider mapper model that is persisted to Keycloak. This can be used to extend the base model with new Keycloak features.
|
|
80
|
-
*/
|
|
81
70
|
readonly extraConfig: pulumi.Output<{
|
|
82
71
|
[key: string]: any;
|
|
83
72
|
} | undefined>;
|
|
84
73
|
/**
|
|
85
|
-
*
|
|
74
|
+
* IDP Alias
|
|
86
75
|
*/
|
|
87
76
|
readonly identityProviderAlias: pulumi.Output<string>;
|
|
88
77
|
/**
|
|
89
|
-
*
|
|
78
|
+
* IDP Mapper Name
|
|
90
79
|
*/
|
|
91
80
|
readonly name: pulumi.Output<string>;
|
|
92
81
|
/**
|
|
93
|
-
*
|
|
82
|
+
* Realm Name
|
|
94
83
|
*/
|
|
95
84
|
readonly realm: pulumi.Output<string>;
|
|
96
85
|
/**
|
|
97
|
-
*
|
|
86
|
+
* User Attribute
|
|
98
87
|
*/
|
|
99
88
|
readonly userAttribute: pulumi.Output<string>;
|
|
100
89
|
/**
|
|
@@ -111,37 +100,34 @@ export declare class AttributeImporterIdentityProviderMapper extends pulumi.Cust
|
|
|
111
100
|
*/
|
|
112
101
|
export interface AttributeImporterIdentityProviderMapperState {
|
|
113
102
|
/**
|
|
114
|
-
*
|
|
103
|
+
* Attribute Friendly Name
|
|
115
104
|
*/
|
|
116
105
|
attributeFriendlyName?: pulumi.Input<string>;
|
|
117
106
|
/**
|
|
118
|
-
*
|
|
107
|
+
* Attribute Name
|
|
119
108
|
*/
|
|
120
109
|
attributeName?: pulumi.Input<string>;
|
|
121
110
|
/**
|
|
122
|
-
*
|
|
111
|
+
* Claim Name
|
|
123
112
|
*/
|
|
124
113
|
claimName?: pulumi.Input<string>;
|
|
125
|
-
/**
|
|
126
|
-
* Key/value attributes to add to the identity provider mapper model that is persisted to Keycloak. This can be used to extend the base model with new Keycloak features.
|
|
127
|
-
*/
|
|
128
114
|
extraConfig?: pulumi.Input<{
|
|
129
115
|
[key: string]: any;
|
|
130
116
|
}>;
|
|
131
117
|
/**
|
|
132
|
-
*
|
|
118
|
+
* IDP Alias
|
|
133
119
|
*/
|
|
134
120
|
identityProviderAlias?: pulumi.Input<string>;
|
|
135
121
|
/**
|
|
136
|
-
*
|
|
122
|
+
* IDP Mapper Name
|
|
137
123
|
*/
|
|
138
124
|
name?: pulumi.Input<string>;
|
|
139
125
|
/**
|
|
140
|
-
*
|
|
126
|
+
* Realm Name
|
|
141
127
|
*/
|
|
142
128
|
realm?: pulumi.Input<string>;
|
|
143
129
|
/**
|
|
144
|
-
*
|
|
130
|
+
* User Attribute
|
|
145
131
|
*/
|
|
146
132
|
userAttribute?: pulumi.Input<string>;
|
|
147
133
|
}
|
|
@@ -150,37 +136,34 @@ export interface AttributeImporterIdentityProviderMapperState {
|
|
|
150
136
|
*/
|
|
151
137
|
export interface AttributeImporterIdentityProviderMapperArgs {
|
|
152
138
|
/**
|
|
153
|
-
*
|
|
139
|
+
* Attribute Friendly Name
|
|
154
140
|
*/
|
|
155
141
|
attributeFriendlyName?: pulumi.Input<string>;
|
|
156
142
|
/**
|
|
157
|
-
*
|
|
143
|
+
* Attribute Name
|
|
158
144
|
*/
|
|
159
145
|
attributeName?: pulumi.Input<string>;
|
|
160
146
|
/**
|
|
161
|
-
*
|
|
147
|
+
* Claim Name
|
|
162
148
|
*/
|
|
163
149
|
claimName?: pulumi.Input<string>;
|
|
164
|
-
/**
|
|
165
|
-
* Key/value attributes to add to the identity provider mapper model that is persisted to Keycloak. This can be used to extend the base model with new Keycloak features.
|
|
166
|
-
*/
|
|
167
150
|
extraConfig?: pulumi.Input<{
|
|
168
151
|
[key: string]: any;
|
|
169
152
|
}>;
|
|
170
153
|
/**
|
|
171
|
-
*
|
|
154
|
+
* IDP Alias
|
|
172
155
|
*/
|
|
173
156
|
identityProviderAlias: pulumi.Input<string>;
|
|
174
157
|
/**
|
|
175
|
-
*
|
|
158
|
+
* IDP Mapper Name
|
|
176
159
|
*/
|
|
177
160
|
name?: pulumi.Input<string>;
|
|
178
161
|
/**
|
|
179
|
-
*
|
|
162
|
+
* Realm Name
|
|
180
163
|
*/
|
|
181
164
|
realm: pulumi.Input<string>;
|
|
182
165
|
/**
|
|
183
|
-
*
|
|
166
|
+
* User Attribute
|
|
184
167
|
*/
|
|
185
168
|
userAttribute: pulumi.Input<string>;
|
|
186
169
|
}
|
|
@@ -6,52 +6,44 @@ exports.AttributeImporterIdentityProviderMapper = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* ## # keycloak.AttributeImporterIdentityProviderMapper
|
|
10
10
|
*
|
|
11
|
-
*
|
|
12
|
-
* - For the OIDC identity provider, this will map a claim on the ID or access token to an attribute for the imported Keycloak user.
|
|
13
|
-
* - For the SAML identity provider, this will map a SAML attribute found within the assertion to an attribute for the imported Keycloak user.
|
|
14
|
-
* - For social identity providers, this will map a JSON field from the user profile to an attribute for the imported Keycloak user.
|
|
11
|
+
* Allows to create and manage identity provider mappers within Keycloak.
|
|
15
12
|
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* ## Example Usage
|
|
13
|
+
* ### Example Usage
|
|
19
14
|
*
|
|
15
|
+
* <!--Start PulumiCodeChooser -->
|
|
20
16
|
* ```typescript
|
|
21
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
22
18
|
* import * as keycloak from "@pulumi/keycloak";
|
|
23
19
|
*
|
|
24
|
-
* const
|
|
20
|
+
* const testMapper = new keycloak.AttributeImporterIdentityProviderMapper("testMapper", {
|
|
21
|
+
* attributeName: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname",
|
|
22
|
+
* identityProviderAlias: "idp_alias",
|
|
25
23
|
* realm: "my-realm",
|
|
26
|
-
*
|
|
27
|
-
* });
|
|
28
|
-
* const oidcIdentityProvider = new keycloak.oidc.IdentityProvider("oidcIdentityProvider", {
|
|
29
|
-
* realm: realm.id,
|
|
30
|
-
* alias: "oidc",
|
|
31
|
-
* authorizationUrl: "https://example.com/auth",
|
|
32
|
-
* tokenUrl: "https://example.com/token",
|
|
33
|
-
* clientId: "example_id",
|
|
34
|
-
* clientSecret: "example_token",
|
|
35
|
-
* defaultScopes: "openid random profile",
|
|
36
|
-
* });
|
|
37
|
-
* const oidcAttributeImporterIdentityProviderMapper = new keycloak.AttributeImporterIdentityProviderMapper("oidcAttributeImporterIdentityProviderMapper", {
|
|
38
|
-
* realm: realm.id,
|
|
39
|
-
* claimName: "my-email-claim",
|
|
40
|
-
* identityProviderAlias: oidcIdentityProvider.alias,
|
|
41
|
-
* userAttribute: "email",
|
|
42
|
-
* extraConfig: {
|
|
43
|
-
* syncMode: "INHERIT",
|
|
44
|
-
* },
|
|
24
|
+
* userAttribute: "lastName",
|
|
45
25
|
* });
|
|
46
26
|
* ```
|
|
27
|
+
* <!--End PulumiCodeChooser -->
|
|
47
28
|
*
|
|
48
|
-
*
|
|
29
|
+
* ### Argument Reference
|
|
49
30
|
*
|
|
50
|
-
*
|
|
31
|
+
* The following arguments are supported:
|
|
51
32
|
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
33
|
+
* - `realm` - (Required) The name of the realm.
|
|
34
|
+
* - `name` - (Required) The name of the mapper.
|
|
35
|
+
* - `identityProviderAlias` - (Required) The alias of the associated identity provider.
|
|
36
|
+
* - `userAttribute` - (Required) The user attribute name to store SAML attribute.
|
|
37
|
+
* - `attributeName` - (Optional) The Name of attribute to search for in assertion. You can leave this blank and specify a friendly name instead.
|
|
38
|
+
* - `attributeFriendlyName` - (Optional) The friendly name of attribute to search for in assertion. You can leave this blank and specify an attribute name instead.
|
|
39
|
+
* - `claimName` - (Optional) The claim name.
|
|
40
|
+
*
|
|
41
|
+
* ### Import
|
|
42
|
+
*
|
|
43
|
+
* Identity provider mapper can be imported using the format `{{realm_id}}/{{idp_alias}}/{{idp_mapper_id}}`, where `idpAlias` is the identity provider alias, and `idpMapperId` is the unique ID that Keycloak
|
|
44
|
+
* assigns to the mapper upon creation. This value can be found in the URI when editing this mapper in the GUI, and is typically a GUID.
|
|
45
|
+
*
|
|
46
|
+
* Example:
|
|
55
47
|
*/
|
|
56
48
|
class AttributeImporterIdentityProviderMapper extends pulumi.CustomResource {
|
|
57
49
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attributeImporterIdentityProviderMapper.js","sourceRoot":"","sources":["../attributeImporterIdentityProviderMapper.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"attributeImporterIdentityProviderMapper.js","sourceRoot":"","sources":["../attributeImporterIdentityProviderMapper.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAa,uCAAwC,SAAQ,MAAM,CAAC,cAAc;IAC9E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoD,EAAE,IAAmC;QAClJ,OAAO,IAAI,uCAAuC,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9F,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,uCAAuC,CAAC,YAAY,CAAC;IACxF,CAAC;IAwCD,YAAY,IAAY,EAAE,WAAwG,EAAE,IAAmC;QACnK,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuE,CAAC;YACtF,cAAc,CAAC,uBAAuB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1F,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,C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
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* <!--Start PulumiCodeChooser -->
|
|
9
10
|
* ```typescript
|
|
10
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
12
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -38,13 +39,20 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
38
39
|
* },
|
|
39
40
|
* });
|
|
40
41
|
* ```
|
|
42
|
+
* <!--End PulumiCodeChooser -->
|
|
41
43
|
*
|
|
42
44
|
* ## Import
|
|
43
45
|
*
|
|
44
|
-
* Identity provider mappers can be imported using the format `{{realm_id}}/{{idp_alias}}/{{idp_mapper_id}}`, where `idp_alias` is the identity provider alias, and `idp_mapper_id` is the unique ID that Keycloak
|
|
46
|
+
* Identity provider mappers can be imported using the format `{{realm_id}}/{{idp_alias}}/{{idp_mapper_id}}`, where `idp_alias` is the identity provider alias, and `idp_mapper_id` is the unique ID that Keycloak
|
|
47
|
+
*
|
|
48
|
+
* assigns to the mapper upon creation. This value can be found in the URI when editing this mapper in the GUI, and is typically a GUID.
|
|
49
|
+
*
|
|
50
|
+
* Example:
|
|
51
|
+
*
|
|
52
|
+
* bash
|
|
45
53
|
*
|
|
46
54
|
* ```sh
|
|
47
|
-
*
|
|
55
|
+
* $ pulumi import keycloak:index/attributeToRoleIdentityMapper:AttributeToRoleIdentityMapper test_mapper my-realm/my-mapper/f446db98-7133-4e30-b18a-3d28fde7ca1b
|
|
48
56
|
* ```
|
|
49
57
|
*/
|
|
50
58
|
export declare class AttributeToRoleIdentityMapper extends pulumi.CustomResource {
|
|
@@ -12,6 +12,7 @@ const utilities = require("./utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
15
|
+
* <!--Start PulumiCodeChooser -->
|
|
15
16
|
* ```typescript
|
|
16
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
18
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -44,13 +45,20 @@ const utilities = require("./utilities");
|
|
|
44
45
|
* },
|
|
45
46
|
* });
|
|
46
47
|
* ```
|
|
48
|
+
* <!--End PulumiCodeChooser -->
|
|
47
49
|
*
|
|
48
50
|
* ## Import
|
|
49
51
|
*
|
|
50
|
-
* Identity provider mappers can be imported using the format `{{realm_id}}/{{idp_alias}}/{{idp_mapper_id}}`, where `idp_alias` is the identity provider alias, and `idp_mapper_id` is the unique ID that Keycloak
|
|
52
|
+
* Identity provider mappers can be imported using the format `{{realm_id}}/{{idp_alias}}/{{idp_mapper_id}}`, where `idp_alias` is the identity provider alias, and `idp_mapper_id` is the unique ID that Keycloak
|
|
53
|
+
*
|
|
54
|
+
* assigns to the mapper upon creation. This value can be found in the URI when editing this mapper in the GUI, and is typically a GUID.
|
|
55
|
+
*
|
|
56
|
+
* Example:
|
|
57
|
+
*
|
|
58
|
+
* bash
|
|
51
59
|
*
|
|
52
60
|
* ```sh
|
|
53
|
-
*
|
|
61
|
+
* $ pulumi import keycloak:index/attributeToRoleIdentityMapper:AttributeToRoleIdentityMapper test_mapper my-realm/my-mapper/f446db98-7133-4e30-b18a-3d28fde7ca1b
|
|
54
62
|
* ```
|
|
55
63
|
*/
|
|
56
64
|
class AttributeToRoleIdentityMapper extends pulumi.CustomResource {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attributeToRoleIdentityMapper.js","sourceRoot":"","sources":["../attributeToRoleIdentityMapper.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"attributeToRoleIdentityMapper.js","sourceRoot":"","sources":["../attributeToRoleIdentityMapper.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,MAAa,6B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ulumi from "@pulumi/pulumi";
|
|
|
16
16
|
*
|
|
17
17
|
* ## Example Usage
|
|
18
18
|
*
|
|
19
|
+
* <!--Start PulumiCodeChooser -->
|
|
19
20
|
* ```typescript
|
|
20
21
|
* import * as pulumi from "@pulumi/pulumi";
|
|
21
22
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -49,6 +50,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
49
50
|
* browserFlow: flow.alias,
|
|
50
51
|
* });
|
|
51
52
|
* ```
|
|
53
|
+
* <!--End PulumiCodeChooser -->
|
|
52
54
|
*/
|
|
53
55
|
export declare class Bindings extends pulumi.CustomResource {
|
|
54
56
|
/**
|
|
@@ -22,6 +22,7 @@ const utilities = require("../utilities");
|
|
|
22
22
|
*
|
|
23
23
|
* ## Example Usage
|
|
24
24
|
*
|
|
25
|
+
* <!--Start PulumiCodeChooser -->
|
|
25
26
|
* ```typescript
|
|
26
27
|
* import * as pulumi from "@pulumi/pulumi";
|
|
27
28
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -55,6 +56,7 @@ const utilities = require("../utilities");
|
|
|
55
56
|
* browserFlow: flow.alias,
|
|
56
57
|
* });
|
|
57
58
|
* ```
|
|
59
|
+
* <!--End PulumiCodeChooser -->
|
|
58
60
|
*/
|
|
59
61
|
class Bindings extends pulumi.CustomResource {
|
|
60
62
|
/**
|
|
@@ -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,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoD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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,6 +9,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
9
9
|
*
|
|
10
10
|
* ## Example Usage
|
|
11
11
|
*
|
|
12
|
+
* <!--Start PulumiCodeChooser -->
|
|
12
13
|
* ```typescript
|
|
13
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
15
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -38,13 +39,18 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
38
39
|
* dependsOn: [executionOne],
|
|
39
40
|
* });
|
|
40
41
|
* ```
|
|
42
|
+
* <!--End PulumiCodeChooser -->
|
|
41
43
|
*
|
|
42
44
|
* ## Import
|
|
43
45
|
*
|
|
44
|
-
* Authentication executions can be imported using the formats`{{realmId}}/{{parentFlowAlias}}/{{authenticationExecutionId}}`.
|
|
46
|
+
* Authentication executions can be imported using the formats: `{{realmId}}/{{parentFlowAlias}}/{{authenticationExecutionId}}`.
|
|
47
|
+
*
|
|
48
|
+
* Example:
|
|
49
|
+
*
|
|
50
|
+
* bash
|
|
45
51
|
*
|
|
46
52
|
* ```sh
|
|
47
|
-
*
|
|
53
|
+
* $ pulumi import keycloak:authentication/execution:Execution execution_one my-realm/my-flow-alias/30559fcf-6fb8-45ea-8c46-2b86f46ebc17
|
|
48
54
|
* ```
|
|
49
55
|
*/
|
|
50
56
|
export declare class Execution extends pulumi.CustomResource {
|
|
@@ -15,6 +15,7 @@ const utilities = require("../utilities");
|
|
|
15
15
|
*
|
|
16
16
|
* ## Example Usage
|
|
17
17
|
*
|
|
18
|
+
* <!--Start PulumiCodeChooser -->
|
|
18
19
|
* ```typescript
|
|
19
20
|
* import * as pulumi from "@pulumi/pulumi";
|
|
20
21
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -44,13 +45,18 @@ const utilities = require("../utilities");
|
|
|
44
45
|
* dependsOn: [executionOne],
|
|
45
46
|
* });
|
|
46
47
|
* ```
|
|
48
|
+
* <!--End PulumiCodeChooser -->
|
|
47
49
|
*
|
|
48
50
|
* ## Import
|
|
49
51
|
*
|
|
50
|
-
* Authentication executions can be imported using the formats`{{realmId}}/{{parentFlowAlias}}/{{authenticationExecutionId}}`.
|
|
52
|
+
* Authentication executions can be imported using the formats: `{{realmId}}/{{parentFlowAlias}}/{{authenticationExecutionId}}`.
|
|
53
|
+
*
|
|
54
|
+
* Example:
|
|
55
|
+
*
|
|
56
|
+
* bash
|
|
51
57
|
*
|
|
52
58
|
* ```sh
|
|
53
|
-
*
|
|
59
|
+
* $ pulumi import keycloak:authentication/execution:Execution execution_one my-realm/my-flow-alias/30559fcf-6fb8-45ea-8c46-2b86f46ebc17
|
|
54
60
|
* ```
|
|
55
61
|
*/
|
|
56
62
|
class Execution extends pulumi.CustomResource {
|
|
@@ -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.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC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Ae,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC5D,MAAM,IAAI,KAAK,CAAC,6CAA6C,CAAC,CAAC;aAClE;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACpD,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,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,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAhFL,8BAiFC;AAnEG,gBAAgB;AACO,sBAAY,GAAG,6CAA6C,CAAC"}
|
|
@@ -5,6 +5,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
5
5
|
*
|
|
6
6
|
* ## Example Usage
|
|
7
7
|
*
|
|
8
|
+
* <!--Start PulumiCodeChooser -->
|
|
8
9
|
* ```typescript
|
|
9
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
11
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -31,13 +32,22 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
31
32
|
* },
|
|
32
33
|
* });
|
|
33
34
|
* ```
|
|
35
|
+
* <!--End PulumiCodeChooser -->
|
|
34
36
|
*
|
|
35
37
|
* ## Import
|
|
36
38
|
*
|
|
37
|
-
* Configurations can be imported using the format `{{realm}}/{{authenticationExecutionId}}/{{authenticationExecutionConfigId}}`.
|
|
39
|
+
* Configurations can be imported using the format `{{realm}}/{{authenticationExecutionId}}/{{authenticationExecutionConfigId}}`.
|
|
40
|
+
*
|
|
41
|
+
* If the `authenticationExecutionId` is incorrect, the import will still be successful.
|
|
42
|
+
*
|
|
43
|
+
* A subsequent apply will change the `authenticationExecutionId` to the correct one, which causes the configuration to be replaced.
|
|
44
|
+
*
|
|
45
|
+
* Example:
|
|
46
|
+
*
|
|
47
|
+
* bash
|
|
38
48
|
*
|
|
39
49
|
* ```sh
|
|
40
|
-
*
|
|
50
|
+
* $ pulumi import keycloak:authentication/executionConfig:ExecutionConfig config my-realm/be081463-ddbf-4b42-9eff-9c97886f24ff/30559fcf-6fb8-45ea-8c46-2b86f46ebc17
|
|
41
51
|
* ```
|
|
42
52
|
*/
|
|
43
53
|
export declare class ExecutionConfig extends pulumi.CustomResource {
|
|
@@ -11,6 +11,7 @@ const utilities = require("../utilities");
|
|
|
11
11
|
*
|
|
12
12
|
* ## Example Usage
|
|
13
13
|
*
|
|
14
|
+
* <!--Start PulumiCodeChooser -->
|
|
14
15
|
* ```typescript
|
|
15
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
17
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -37,13 +38,22 @@ const utilities = require("../utilities");
|
|
|
37
38
|
* },
|
|
38
39
|
* });
|
|
39
40
|
* ```
|
|
41
|
+
* <!--End PulumiCodeChooser -->
|
|
40
42
|
*
|
|
41
43
|
* ## Import
|
|
42
44
|
*
|
|
43
|
-
* Configurations can be imported using the format `{{realm}}/{{authenticationExecutionId}}/{{authenticationExecutionConfigId}}`.
|
|
45
|
+
* Configurations can be imported using the format `{{realm}}/{{authenticationExecutionId}}/{{authenticationExecutionConfigId}}`.
|
|
46
|
+
*
|
|
47
|
+
* If the `authenticationExecutionId` is incorrect, the import will still be successful.
|
|
48
|
+
*
|
|
49
|
+
* A subsequent apply will change the `authenticationExecutionId` to the correct one, which causes the configuration to be replaced.
|
|
50
|
+
*
|
|
51
|
+
* Example:
|
|
52
|
+
*
|
|
53
|
+
* bash
|
|
44
54
|
*
|
|
45
55
|
* ```sh
|
|
46
|
-
*
|
|
56
|
+
* $ pulumi import keycloak:authentication/executionConfig:ExecutionConfig config my-realm/be081463-ddbf-4b42-9eff-9c97886f24ff/30559fcf-6fb8-45ea-8c46-2b86f46ebc17
|
|
47
57
|
* ```
|
|
48
58
|
*/
|
|
49
59
|
class ExecutionConfig extends pulumi.CustomResource {
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,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AS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACxD,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;aAC9D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACpD,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAnFL,0CAoFC;AAtEG,gBAAgB;AACO,4BAAY,GAAG,yDAAyD,CAAC"}
|
package/authentication/flow.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
*
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
11
|
+
* <!--Start PulumiCodeChooser -->
|
|
11
12
|
* ```typescript
|
|
12
13
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
14
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -27,13 +28,26 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
27
28
|
* requirement: "REQUIRED",
|
|
28
29
|
* });
|
|
29
30
|
* ```
|
|
31
|
+
* <!--End PulumiCodeChooser -->
|
|
30
32
|
*
|
|
31
33
|
* ## Import
|
|
32
34
|
*
|
|
33
|
-
* Authentication flows can be imported using the format `{{realmId}}/{{authenticationFlowId}}`. The authentication flow ID is
|
|
35
|
+
* Authentication flows can be imported using the format `{{realmId}}/{{authenticationFlowId}}`. The authentication flow ID is
|
|
36
|
+
*
|
|
37
|
+
* typically a GUID which is autogenerated when the flow is created via Keycloak.
|
|
38
|
+
*
|
|
39
|
+
* Unfortunately, it is not trivial to retrieve the authentication flow ID from the UI. The best way to do this is to visit the
|
|
40
|
+
*
|
|
41
|
+
* "Authentication" page in Keycloak, and use the network tab of your browser to view the response of the API call to `/auth/admin/realms/${realm}/authentication/flows`,
|
|
42
|
+
*
|
|
43
|
+
* which will be a list of authentication flows.
|
|
44
|
+
*
|
|
45
|
+
* Example:
|
|
46
|
+
*
|
|
47
|
+
* bash
|
|
34
48
|
*
|
|
35
49
|
* ```sh
|
|
36
|
-
*
|
|
50
|
+
* $ pulumi import keycloak:authentication/flow:Flow flow my-realm/e9a5641e-778c-4daf-89c0-f4ef617987d1
|
|
37
51
|
* ```
|
|
38
52
|
*/
|
|
39
53
|
export declare class Flow extends pulumi.CustomResource {
|