@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
package/authentication/flow.js
CHANGED
|
@@ -14,6 +14,7 @@ const utilities = require("../utilities");
|
|
|
14
14
|
*
|
|
15
15
|
* ## Example Usage
|
|
16
16
|
*
|
|
17
|
+
* <!--Start PulumiCodeChooser -->
|
|
17
18
|
* ```typescript
|
|
18
19
|
* import * as pulumi from "@pulumi/pulumi";
|
|
19
20
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -33,13 +34,26 @@ const utilities = require("../utilities");
|
|
|
33
34
|
* requirement: "REQUIRED",
|
|
34
35
|
* });
|
|
35
36
|
* ```
|
|
37
|
+
* <!--End PulumiCodeChooser -->
|
|
36
38
|
*
|
|
37
39
|
* ## Import
|
|
38
40
|
*
|
|
39
|
-
* Authentication flows can be imported using the format `{{realmId}}/{{authenticationFlowId}}`. The authentication flow ID is
|
|
41
|
+
* Authentication flows can be imported using the format `{{realmId}}/{{authenticationFlowId}}`. The authentication flow ID is
|
|
42
|
+
*
|
|
43
|
+
* typically a GUID which is autogenerated when the flow is created via Keycloak.
|
|
44
|
+
*
|
|
45
|
+
* Unfortunately, it is not trivial to retrieve the authentication flow ID from the UI. The best way to do this is to visit the
|
|
46
|
+
*
|
|
47
|
+
* "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`,
|
|
48
|
+
*
|
|
49
|
+
* which will be a list of authentication flows.
|
|
50
|
+
*
|
|
51
|
+
* Example:
|
|
52
|
+
*
|
|
53
|
+
* bash
|
|
40
54
|
*
|
|
41
55
|
* ```sh
|
|
42
|
-
*
|
|
56
|
+
* $ pulumi import keycloak:authentication/flow:Flow flow my-realm/e9a5641e-778c-4daf-89c0-f4ef617987d1
|
|
43
57
|
* ```
|
|
44
58
|
*/
|
|
45
59
|
class Flow extends pulumi.CustomResource {
|
|
@@ -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;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;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,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,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,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AA7EL,oBA8EC;AAhEG,gBAAgB;AACO,iBAAY,GAAG,mCAAmC,CAAC"}
|
|
@@ -7,6 +7,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
7
7
|
*
|
|
8
8
|
* ## Example Usage
|
|
9
9
|
*
|
|
10
|
+
* <!--Start PulumiCodeChooser -->
|
|
10
11
|
* ```typescript
|
|
11
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
12
13
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -27,13 +28,28 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
27
28
|
* requirement: "ALTERNATIVE",
|
|
28
29
|
* });
|
|
29
30
|
* ```
|
|
31
|
+
* <!--End PulumiCodeChooser -->
|
|
30
32
|
*
|
|
31
33
|
* ## Import
|
|
32
34
|
*
|
|
33
|
-
* Authentication flows can be imported using the format `{{realmId}}/{{parentFlowAlias}}/{{authenticationSubflowId}}`.
|
|
35
|
+
* Authentication flows can be imported using the format `{{realmId}}/{{parentFlowAlias}}/{{authenticationSubflowId}}`.
|
|
36
|
+
*
|
|
37
|
+
* The authentication subflow ID is typically a GUID which is autogenerated when the subflow is created via Keycloak.
|
|
38
|
+
*
|
|
39
|
+
* Unfortunately, it is not trivial to retrieve the authentication subflow 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
|
|
42
|
+
*
|
|
43
|
+
* `/auth/admin/realms/${realm}/authentication/flows/{flow}/executions`, which will be a list of executions, where the subflow will be.
|
|
44
|
+
*
|
|
45
|
+
* __The subflow ID is contained in the `flowID` field__ (not, as one could guess, the `id` field).
|
|
46
|
+
*
|
|
47
|
+
* Example:
|
|
48
|
+
*
|
|
49
|
+
* bash
|
|
34
50
|
*
|
|
35
51
|
* ```sh
|
|
36
|
-
*
|
|
52
|
+
* $ pulumi import keycloak:authentication/subflow:Subflow subflow my-realm/"Parent Flow"/3bad1172-bb5c-4a77-9615-c2606eb03081
|
|
37
53
|
* ```
|
|
38
54
|
*/
|
|
39
55
|
export declare class Subflow extends pulumi.CustomResource {
|
|
@@ -13,6 +13,7 @@ const utilities = require("../utilities");
|
|
|
13
13
|
*
|
|
14
14
|
* ## Example Usage
|
|
15
15
|
*
|
|
16
|
+
* <!--Start PulumiCodeChooser -->
|
|
16
17
|
* ```typescript
|
|
17
18
|
* import * as pulumi from "@pulumi/pulumi";
|
|
18
19
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -33,13 +34,28 @@ const utilities = require("../utilities");
|
|
|
33
34
|
* requirement: "ALTERNATIVE",
|
|
34
35
|
* });
|
|
35
36
|
* ```
|
|
37
|
+
* <!--End PulumiCodeChooser -->
|
|
36
38
|
*
|
|
37
39
|
* ## Import
|
|
38
40
|
*
|
|
39
|
-
* Authentication flows can be imported using the format `{{realmId}}/{{parentFlowAlias}}/{{authenticationSubflowId}}`.
|
|
41
|
+
* Authentication flows can be imported using the format `{{realmId}}/{{parentFlowAlias}}/{{authenticationSubflowId}}`.
|
|
42
|
+
*
|
|
43
|
+
* The authentication subflow ID is typically a GUID which is autogenerated when the subflow is created via Keycloak.
|
|
44
|
+
*
|
|
45
|
+
* Unfortunately, it is not trivial to retrieve the authentication subflow ID from the UI. The best way to do this is to visit the
|
|
46
|
+
*
|
|
47
|
+
* "Authentication" page in Keycloak, and use the network tab of your browser to view the response of the API call to
|
|
48
|
+
*
|
|
49
|
+
* `/auth/admin/realms/${realm}/authentication/flows/{flow}/executions`, which will be a list of executions, where the subflow will be.
|
|
50
|
+
*
|
|
51
|
+
* __The subflow ID is contained in the `flowID` field__ (not, as one could guess, the `id` field).
|
|
52
|
+
*
|
|
53
|
+
* Example:
|
|
54
|
+
*
|
|
55
|
+
* bash
|
|
40
56
|
*
|
|
41
57
|
* ```sh
|
|
42
|
-
*
|
|
58
|
+
* $ pulumi import keycloak:authentication/subflow:Subflow subflow my-realm/"Parent Flow"/3bad1172-bb5c-4a77-9615-c2606eb03081
|
|
43
59
|
* ```
|
|
44
60
|
*/
|
|
45
61
|
class Subflow extends pulumi.CustomResource {
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;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,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,CAAC;IAKD;;;OAGG;IACI,MA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AC;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,6 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* ## Example Usage
|
|
4
4
|
*
|
|
5
|
+
* <!--Start PulumiCodeChooser -->
|
|
5
6
|
* ```typescript
|
|
6
7
|
* import * as pulumi from "@pulumi/pulumi";
|
|
7
8
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -30,13 +31,20 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
30
31
|
* },
|
|
31
32
|
* });
|
|
32
33
|
* ```
|
|
34
|
+
* <!--End PulumiCodeChooser -->
|
|
33
35
|
*
|
|
34
36
|
* ## Import
|
|
35
37
|
*
|
|
36
|
-
* 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
|
|
38
|
+
* 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
|
|
39
|
+
*
|
|
40
|
+
* 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.
|
|
41
|
+
*
|
|
42
|
+
* Example:
|
|
43
|
+
*
|
|
44
|
+
* bash
|
|
37
45
|
*
|
|
38
46
|
* ```sh
|
|
39
|
-
*
|
|
47
|
+
* $ pulumi import keycloak:index/customIdentityProviderMapping:CustomIdentityProviderMapping test_mapper my-realm/my-mapper/f446db98-7133-4e30-b18a-3d28fde7ca1b
|
|
40
48
|
* ```
|
|
41
49
|
*/
|
|
42
50
|
export declare class CustomIdentityProviderMapping extends pulumi.CustomResource {
|
|
@@ -66,7 +74,7 @@ export declare class CustomIdentityProviderMapping extends pulumi.CustomResource
|
|
|
66
74
|
*/
|
|
67
75
|
readonly identityProviderAlias: pulumi.Output<string>;
|
|
68
76
|
/**
|
|
69
|
-
* The type of the identity provider mapper. This can be a format string that includes a
|
|
77
|
+
* The type of the identity provider mapper. This can be a format string that includes a `%!s(MISSING)` - this will be replaced by the provider id.
|
|
70
78
|
*/
|
|
71
79
|
readonly identityProviderMapper: pulumi.Output<string>;
|
|
72
80
|
/**
|
|
@@ -101,7 +109,7 @@ export interface CustomIdentityProviderMappingState {
|
|
|
101
109
|
*/
|
|
102
110
|
identityProviderAlias?: pulumi.Input<string>;
|
|
103
111
|
/**
|
|
104
|
-
* The type of the identity provider mapper. This can be a format string that includes a
|
|
112
|
+
* The type of the identity provider mapper. This can be a format string that includes a `%!s(MISSING)` - this will be replaced by the provider id.
|
|
105
113
|
*/
|
|
106
114
|
identityProviderMapper?: pulumi.Input<string>;
|
|
107
115
|
/**
|
|
@@ -128,7 +136,7 @@ export interface CustomIdentityProviderMappingArgs {
|
|
|
128
136
|
*/
|
|
129
137
|
identityProviderAlias: pulumi.Input<string>;
|
|
130
138
|
/**
|
|
131
|
-
* The type of the identity provider mapper. This can be a format string that includes a
|
|
139
|
+
* The type of the identity provider mapper. This can be a format string that includes a `%!s(MISSING)` - this will be replaced by the provider id.
|
|
132
140
|
*/
|
|
133
141
|
identityProviderMapper: pulumi.Input<string>;
|
|
134
142
|
/**
|
|
@@ -8,6 +8,7 @@ const utilities = require("./utilities");
|
|
|
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";
|
|
@@ -36,13 +37,20 @@ const utilities = require("./utilities");
|
|
|
36
37
|
* },
|
|
37
38
|
* });
|
|
38
39
|
* ```
|
|
40
|
+
* <!--End PulumiCodeChooser -->
|
|
39
41
|
*
|
|
40
42
|
* ## Import
|
|
41
43
|
*
|
|
42
|
-
* 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
|
|
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
|
|
45
|
+
*
|
|
46
|
+
* 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.
|
|
47
|
+
*
|
|
48
|
+
* Example:
|
|
49
|
+
*
|
|
50
|
+
* bash
|
|
43
51
|
*
|
|
44
52
|
* ```sh
|
|
45
|
-
*
|
|
53
|
+
* $ pulumi import keycloak:index/customIdentityProviderMapping:CustomIdentityProviderMapping test_mapper my-realm/my-mapper/f446db98-7133-4e30-b18a-3d28fde7ca1b
|
|
46
54
|
* ```
|
|
47
55
|
*/
|
|
48
56
|
class CustomIdentityProviderMapping extends pulumi.CustomResource {
|
|
@@ -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":["../customIdentityProviderMapping.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAa,6BAA8B,SAAQ,MAAM,CAAC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,CAAC,CAAC;IAClF,CAAC;;AAtFL,sEAuFC;AAzEG,gBAAgB;AACO,0CAAY,GAAG,4EAA4E,CAAC"}
|
|
@@ -1,34 +1,47 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* ##
|
|
3
|
+
* ## # keycloak.CustomUserFederation
|
|
4
4
|
*
|
|
5
|
+
* Allows for creating and managing custom user federation providers within Keycloak.
|
|
6
|
+
*
|
|
7
|
+
* A custom user federation provider is an implementation of Keycloak's
|
|
8
|
+
* [User Storage SPI](https://www.keycloak.org/docs/4.2/server_development/index.html#_user-storage-spi).
|
|
9
|
+
* An example of this implementation can be found here.
|
|
10
|
+
*
|
|
11
|
+
* ### Example Usage
|
|
12
|
+
*
|
|
13
|
+
* <!--Start PulumiCodeChooser -->
|
|
5
14
|
* ```typescript
|
|
6
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
7
16
|
* import * as keycloak from "@pulumi/keycloak";
|
|
8
17
|
*
|
|
9
18
|
* const realm = new keycloak.Realm("realm", {
|
|
10
|
-
* realm: "test",
|
|
11
19
|
* enabled: true,
|
|
20
|
+
* realm: "test",
|
|
12
21
|
* });
|
|
13
22
|
* const customUserFederation = new keycloak.CustomUserFederation("customUserFederation", {
|
|
14
|
-
* realmId: realm.id,
|
|
15
|
-
* providerId: "custom",
|
|
16
23
|
* enabled: true,
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* dummyBool: true,
|
|
20
|
-
* multivalue: "value1##value2",
|
|
21
|
-
* },
|
|
24
|
+
* providerId: "custom",
|
|
25
|
+
* realmId: realm.id,
|
|
22
26
|
* });
|
|
23
27
|
* ```
|
|
28
|
+
* <!--End PulumiCodeChooser -->
|
|
24
29
|
*
|
|
25
|
-
*
|
|
30
|
+
* ### Argument Reference
|
|
26
31
|
*
|
|
27
|
-
*
|
|
32
|
+
* The following arguments are supported:
|
|
28
33
|
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
34
|
+
* - `realmId` - (Required) The realm that this provider will provide user federation for.
|
|
35
|
+
* - `name` - (Required) Display name of the provider when displayed in the console.
|
|
36
|
+
* - `providerId` - (Required) The unique ID of the custom provider, specified in the `getId` implementation for the `UserStorageProviderFactory` interface.
|
|
37
|
+
* - `enabled` - (Optional) When `false`, this provider will not be used when performing queries for users. Defaults to `true`.
|
|
38
|
+
* - `priority` - (Optional) Priority of this provider when looking up users. Lower values are first. Defaults to `0`.
|
|
39
|
+
* - `cachePolicy` - (Optional) Can be one of `DEFAULT`, `EVICT_DAILY`, `EVICT_WEEKLY`, `MAX_LIFESPAN`, or `NO_CACHE`. Defaults to `DEFAULT`.
|
|
40
|
+
*
|
|
41
|
+
* ### Import
|
|
42
|
+
*
|
|
43
|
+
* Custom user federation providers can be imported using the format `{{realm_id}}/{{custom_user_federation_id}}`.
|
|
44
|
+
* The ID of the custom user federation provider can be found within the Keycloak GUI and is typically a GUID:
|
|
32
45
|
*/
|
|
33
46
|
export declare class CustomUserFederation extends pulumi.CustomResource {
|
|
34
47
|
/**
|
|
@@ -46,22 +59,17 @@ export declare class CustomUserFederation extends pulumi.CustomResource {
|
|
|
46
59
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
47
60
|
*/
|
|
48
61
|
static isInstance(obj: any): obj is CustomUserFederation;
|
|
49
|
-
/**
|
|
50
|
-
* Can be one of `DEFAULT`, `EVICT_DAILY`, `EVICT_WEEKLY`, `MAX_LIFESPAN`, or `NO_CACHE`. Defaults to `DEFAULT`.
|
|
51
|
-
*/
|
|
52
62
|
readonly cachePolicy: pulumi.Output<string | undefined>;
|
|
53
63
|
/**
|
|
54
|
-
* How frequently Keycloak should sync changed users, in seconds. Omit this property to disable periodic changed users
|
|
64
|
+
* How frequently Keycloak should sync changed users, in seconds. Omit this property to disable periodic changed users
|
|
65
|
+
* sync.
|
|
55
66
|
*/
|
|
56
67
|
readonly changedSyncPeriod: pulumi.Output<number | undefined>;
|
|
57
|
-
/**
|
|
58
|
-
* The provider configuration handed over to your custom user federation provider. In order to add multivalue settings, use `##` to seperate the values.
|
|
59
|
-
*/
|
|
60
68
|
readonly config: pulumi.Output<{
|
|
61
69
|
[key: string]: any;
|
|
62
70
|
} | undefined>;
|
|
63
71
|
/**
|
|
64
|
-
* When
|
|
72
|
+
* When false, this provider will not be used when performing queries for users.
|
|
65
73
|
*/
|
|
66
74
|
readonly enabled: pulumi.Output<boolean | undefined>;
|
|
67
75
|
/**
|
|
@@ -73,19 +81,20 @@ export declare class CustomUserFederation extends pulumi.CustomResource {
|
|
|
73
81
|
*/
|
|
74
82
|
readonly name: pulumi.Output<string>;
|
|
75
83
|
/**
|
|
76
|
-
*
|
|
84
|
+
* The parent_id of the generated component. will use realm_id if not specified.
|
|
77
85
|
*/
|
|
78
86
|
readonly parentId: pulumi.Output<string>;
|
|
79
87
|
/**
|
|
80
|
-
* Priority of this provider when looking up users. Lower values are first.
|
|
88
|
+
* Priority of this provider when looking up users. Lower values are first.
|
|
81
89
|
*/
|
|
82
90
|
readonly priority: pulumi.Output<number | undefined>;
|
|
83
91
|
/**
|
|
84
|
-
* The unique ID of the custom provider, specified in the `getId` implementation for the
|
|
92
|
+
* The unique ID of the custom provider, specified in the `getId` implementation for the UserStorageProviderFactory
|
|
93
|
+
* interface
|
|
85
94
|
*/
|
|
86
95
|
readonly providerId: pulumi.Output<string>;
|
|
87
96
|
/**
|
|
88
|
-
* The realm
|
|
97
|
+
* The realm (name) this provider will provide user federation for.
|
|
89
98
|
*/
|
|
90
99
|
readonly realmId: pulumi.Output<string>;
|
|
91
100
|
/**
|
|
@@ -101,22 +110,17 @@ export declare class CustomUserFederation extends pulumi.CustomResource {
|
|
|
101
110
|
* Input properties used for looking up and filtering CustomUserFederation resources.
|
|
102
111
|
*/
|
|
103
112
|
export interface CustomUserFederationState {
|
|
104
|
-
/**
|
|
105
|
-
* Can be one of `DEFAULT`, `EVICT_DAILY`, `EVICT_WEEKLY`, `MAX_LIFESPAN`, or `NO_CACHE`. Defaults to `DEFAULT`.
|
|
106
|
-
*/
|
|
107
113
|
cachePolicy?: pulumi.Input<string>;
|
|
108
114
|
/**
|
|
109
|
-
* How frequently Keycloak should sync changed users, in seconds. Omit this property to disable periodic changed users
|
|
115
|
+
* How frequently Keycloak should sync changed users, in seconds. Omit this property to disable periodic changed users
|
|
116
|
+
* sync.
|
|
110
117
|
*/
|
|
111
118
|
changedSyncPeriod?: pulumi.Input<number>;
|
|
112
|
-
/**
|
|
113
|
-
* The provider configuration handed over to your custom user federation provider. In order to add multivalue settings, use `##` to seperate the values.
|
|
114
|
-
*/
|
|
115
119
|
config?: pulumi.Input<{
|
|
116
120
|
[key: string]: any;
|
|
117
121
|
}>;
|
|
118
122
|
/**
|
|
119
|
-
* When
|
|
123
|
+
* When false, this provider will not be used when performing queries for users.
|
|
120
124
|
*/
|
|
121
125
|
enabled?: pulumi.Input<boolean>;
|
|
122
126
|
/**
|
|
@@ -128,19 +132,20 @@ export interface CustomUserFederationState {
|
|
|
128
132
|
*/
|
|
129
133
|
name?: pulumi.Input<string>;
|
|
130
134
|
/**
|
|
131
|
-
*
|
|
135
|
+
* The parent_id of the generated component. will use realm_id if not specified.
|
|
132
136
|
*/
|
|
133
137
|
parentId?: pulumi.Input<string>;
|
|
134
138
|
/**
|
|
135
|
-
* Priority of this provider when looking up users. Lower values are first.
|
|
139
|
+
* Priority of this provider when looking up users. Lower values are first.
|
|
136
140
|
*/
|
|
137
141
|
priority?: pulumi.Input<number>;
|
|
138
142
|
/**
|
|
139
|
-
* The unique ID of the custom provider, specified in the `getId` implementation for the
|
|
143
|
+
* The unique ID of the custom provider, specified in the `getId` implementation for the UserStorageProviderFactory
|
|
144
|
+
* interface
|
|
140
145
|
*/
|
|
141
146
|
providerId?: pulumi.Input<string>;
|
|
142
147
|
/**
|
|
143
|
-
* The realm
|
|
148
|
+
* The realm (name) this provider will provide user federation for.
|
|
144
149
|
*/
|
|
145
150
|
realmId?: pulumi.Input<string>;
|
|
146
151
|
}
|
|
@@ -148,22 +153,17 @@ export interface CustomUserFederationState {
|
|
|
148
153
|
* The set of arguments for constructing a CustomUserFederation resource.
|
|
149
154
|
*/
|
|
150
155
|
export interface CustomUserFederationArgs {
|
|
151
|
-
/**
|
|
152
|
-
* Can be one of `DEFAULT`, `EVICT_DAILY`, `EVICT_WEEKLY`, `MAX_LIFESPAN`, or `NO_CACHE`. Defaults to `DEFAULT`.
|
|
153
|
-
*/
|
|
154
156
|
cachePolicy?: pulumi.Input<string>;
|
|
155
157
|
/**
|
|
156
|
-
* How frequently Keycloak should sync changed users, in seconds. Omit this property to disable periodic changed users
|
|
158
|
+
* How frequently Keycloak should sync changed users, in seconds. Omit this property to disable periodic changed users
|
|
159
|
+
* sync.
|
|
157
160
|
*/
|
|
158
161
|
changedSyncPeriod?: pulumi.Input<number>;
|
|
159
|
-
/**
|
|
160
|
-
* The provider configuration handed over to your custom user federation provider. In order to add multivalue settings, use `##` to seperate the values.
|
|
161
|
-
*/
|
|
162
162
|
config?: pulumi.Input<{
|
|
163
163
|
[key: string]: any;
|
|
164
164
|
}>;
|
|
165
165
|
/**
|
|
166
|
-
* When
|
|
166
|
+
* When false, this provider will not be used when performing queries for users.
|
|
167
167
|
*/
|
|
168
168
|
enabled?: pulumi.Input<boolean>;
|
|
169
169
|
/**
|
|
@@ -175,19 +175,20 @@ export interface CustomUserFederationArgs {
|
|
|
175
175
|
*/
|
|
176
176
|
name?: pulumi.Input<string>;
|
|
177
177
|
/**
|
|
178
|
-
*
|
|
178
|
+
* The parent_id of the generated component. will use realm_id if not specified.
|
|
179
179
|
*/
|
|
180
180
|
parentId?: pulumi.Input<string>;
|
|
181
181
|
/**
|
|
182
|
-
* Priority of this provider when looking up users. Lower values are first.
|
|
182
|
+
* Priority of this provider when looking up users. Lower values are first.
|
|
183
183
|
*/
|
|
184
184
|
priority?: pulumi.Input<number>;
|
|
185
185
|
/**
|
|
186
|
-
* The unique ID of the custom provider, specified in the `getId` implementation for the
|
|
186
|
+
* The unique ID of the custom provider, specified in the `getId` implementation for the UserStorageProviderFactory
|
|
187
|
+
* interface
|
|
187
188
|
*/
|
|
188
189
|
providerId: pulumi.Input<string>;
|
|
189
190
|
/**
|
|
190
|
-
* The realm
|
|
191
|
+
* The realm (name) this provider will provide user federation for.
|
|
191
192
|
*/
|
|
192
193
|
realmId: pulumi.Input<string>;
|
|
193
194
|
}
|
package/customUserFederation.js
CHANGED
|
@@ -6,35 +6,48 @@ exports.CustomUserFederation = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ##
|
|
9
|
+
* ## # keycloak.CustomUserFederation
|
|
10
10
|
*
|
|
11
|
+
* Allows for creating and managing custom user federation providers within Keycloak.
|
|
12
|
+
*
|
|
13
|
+
* A custom user federation provider is an implementation of Keycloak's
|
|
14
|
+
* [User Storage SPI](https://www.keycloak.org/docs/4.2/server_development/index.html#_user-storage-spi).
|
|
15
|
+
* An example of this implementation can be found here.
|
|
16
|
+
*
|
|
17
|
+
* ### Example Usage
|
|
18
|
+
*
|
|
19
|
+
* <!--Start PulumiCodeChooser -->
|
|
11
20
|
* ```typescript
|
|
12
21
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
22
|
* import * as keycloak from "@pulumi/keycloak";
|
|
14
23
|
*
|
|
15
24
|
* const realm = new keycloak.Realm("realm", {
|
|
16
|
-
* realm: "test",
|
|
17
25
|
* enabled: true,
|
|
26
|
+
* realm: "test",
|
|
18
27
|
* });
|
|
19
28
|
* const customUserFederation = new keycloak.CustomUserFederation("customUserFederation", {
|
|
20
|
-
* realmId: realm.id,
|
|
21
|
-
* providerId: "custom",
|
|
22
29
|
* enabled: true,
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
* dummyBool: true,
|
|
26
|
-
* multivalue: "value1##value2",
|
|
27
|
-
* },
|
|
30
|
+
* providerId: "custom",
|
|
31
|
+
* realmId: realm.id,
|
|
28
32
|
* });
|
|
29
33
|
* ```
|
|
34
|
+
* <!--End PulumiCodeChooser -->
|
|
30
35
|
*
|
|
31
|
-
*
|
|
36
|
+
* ### Argument Reference
|
|
32
37
|
*
|
|
33
|
-
*
|
|
38
|
+
* The following arguments are supported:
|
|
34
39
|
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
40
|
+
* - `realmId` - (Required) The realm that this provider will provide user federation for.
|
|
41
|
+
* - `name` - (Required) Display name of the provider when displayed in the console.
|
|
42
|
+
* - `providerId` - (Required) The unique ID of the custom provider, specified in the `getId` implementation for the `UserStorageProviderFactory` interface.
|
|
43
|
+
* - `enabled` - (Optional) When `false`, this provider will not be used when performing queries for users. Defaults to `true`.
|
|
44
|
+
* - `priority` - (Optional) Priority of this provider when looking up users. Lower values are first. Defaults to `0`.
|
|
45
|
+
* - `cachePolicy` - (Optional) Can be one of `DEFAULT`, `EVICT_DAILY`, `EVICT_WEEKLY`, `MAX_LIFESPAN`, or `NO_CACHE`. Defaults to `DEFAULT`.
|
|
46
|
+
*
|
|
47
|
+
* ### Import
|
|
48
|
+
*
|
|
49
|
+
* Custom user federation providers can be imported using the format `{{realm_id}}/{{custom_user_federation_id}}`.
|
|
50
|
+
* The ID of the custom user federation provider can be found within the Keycloak GUI and is typically a GUID:
|
|
38
51
|
*/
|
|
39
52
|
class CustomUserFederation extends pulumi.CustomResource {
|
|
40
53
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customUserFederation.js","sourceRoot":"","sources":["../customUserFederation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"customUserFederation.js","sourceRoot":"","sources":["../customUserFederation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;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
|
+
*
|
|
3
5
|
* Allows for managing a realm's default groups.
|
|
4
6
|
*
|
|
5
|
-
*
|
|
7
|
+
* Note that you should not use `keycloak.DefaultGroups` with a group with memberships managed
|
|
8
|
+
* by `keycloak.GroupMemberships`.
|
|
6
9
|
*
|
|
7
|
-
*
|
|
10
|
+
* ### Example Usage
|
|
8
11
|
*
|
|
12
|
+
* <!--Start PulumiCodeChooser -->
|
|
9
13
|
* ```typescript
|
|
10
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
15
|
* import * as keycloak from "@pulumi/keycloak";
|
|
12
16
|
*
|
|
13
17
|
* const realm = new keycloak.Realm("realm", {
|
|
14
|
-
* realm: "my-realm",
|
|
15
18
|
* enabled: true,
|
|
19
|
+
* realm: "my-realm",
|
|
16
20
|
* });
|
|
17
21
|
* const group = new keycloak.Group("group", {realmId: realm.id});
|
|
18
22
|
* const _default = new keycloak.DefaultGroups("default", {
|
|
19
|
-
* realmId: realm.id,
|
|
20
23
|
* groupIds: [group.id],
|
|
24
|
+
* realmId: realm.id,
|
|
21
25
|
* });
|
|
22
26
|
* ```
|
|
27
|
+
* <!--End PulumiCodeChooser -->
|
|
23
28
|
*
|
|
24
|
-
*
|
|
29
|
+
* ### Argument Reference
|
|
25
30
|
*
|
|
26
|
-
*
|
|
31
|
+
* The following arguments are supported:
|
|
27
32
|
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
33
|
+
* - `realmId` - (Required) The realm this group exists in.
|
|
34
|
+
* - `groupIds` - (Required) A set of group ids that should be default groups on the realm referenced by `realmId`.
|
|
35
|
+
*
|
|
36
|
+
* ### Import
|
|
37
|
+
*
|
|
38
|
+
* Groups can be imported using the format `{{realm_id}}` where `realmId` is the realm the group exists in.
|
|
39
|
+
*
|
|
40
|
+
* Example:
|
|
31
41
|
*/
|
|
32
42
|
export declare class DefaultGroups extends pulumi.CustomResource {
|
|
33
43
|
/**
|
|
@@ -45,13 +55,7 @@ export declare class DefaultGroups extends pulumi.CustomResource {
|
|
|
45
55
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
46
56
|
*/
|
|
47
57
|
static isInstance(obj: any): obj is DefaultGroups;
|
|
48
|
-
/**
|
|
49
|
-
* A set of group ids that should be default groups on the realm referenced by `realmId`.
|
|
50
|
-
*/
|
|
51
58
|
readonly groupIds: pulumi.Output<string[]>;
|
|
52
|
-
/**
|
|
53
|
-
* The realm this group exists in.
|
|
54
|
-
*/
|
|
55
59
|
readonly realmId: pulumi.Output<string>;
|
|
56
60
|
/**
|
|
57
61
|
* Create a DefaultGroups resource with the given unique name, arguments, and options.
|
|
@@ -66,25 +70,13 @@ export declare class DefaultGroups extends pulumi.CustomResource {
|
|
|
66
70
|
* Input properties used for looking up and filtering DefaultGroups resources.
|
|
67
71
|
*/
|
|
68
72
|
export interface DefaultGroupsState {
|
|
69
|
-
/**
|
|
70
|
-
* A set of group ids that should be default groups on the realm referenced by `realmId`.
|
|
71
|
-
*/
|
|
72
73
|
groupIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
73
|
-
/**
|
|
74
|
-
* The realm this group exists in.
|
|
75
|
-
*/
|
|
76
74
|
realmId?: pulumi.Input<string>;
|
|
77
75
|
}
|
|
78
76
|
/**
|
|
79
77
|
* The set of arguments for constructing a DefaultGroups resource.
|
|
80
78
|
*/
|
|
81
79
|
export interface DefaultGroupsArgs {
|
|
82
|
-
/**
|
|
83
|
-
* A set of group ids that should be default groups on the realm referenced by `realmId`.
|
|
84
|
-
*/
|
|
85
80
|
groupIds: pulumi.Input<pulumi.Input<string>[]>;
|
|
86
|
-
/**
|
|
87
|
-
* The realm this group exists in.
|
|
88
|
-
*/
|
|
89
81
|
realmId: pulumi.Input<string>;
|
|
90
82
|
}
|