@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
|
@@ -6,64 +6,79 @@ exports.FullNameProtocolMapper = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* ## # keycloak.openid.FullNameProtocolMapper
|
|
10
10
|
*
|
|
11
|
-
*
|
|
11
|
+
* Allows for creating and managing full name protocol mappers within
|
|
12
|
+
* Keycloak.
|
|
12
13
|
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
14
|
+
* Full name protocol mappers allow you to map a user's first and last name
|
|
15
|
+
* to the OpenID Connect `name` claim in a token. Protocol mappers can be defined
|
|
16
|
+
* for a single client, or they can be defined for a client scope which can
|
|
17
|
+
* be shared between multiple different clients.
|
|
15
18
|
*
|
|
16
|
-
*
|
|
17
|
-
* ### Client)
|
|
19
|
+
* ### Example Usage (Client)
|
|
18
20
|
*
|
|
21
|
+
* <!--Start PulumiCodeChooser -->
|
|
19
22
|
* ```typescript
|
|
20
23
|
* import * as pulumi from "@pulumi/pulumi";
|
|
21
24
|
* import * as keycloak from "@pulumi/keycloak";
|
|
22
25
|
*
|
|
23
26
|
* const realm = new keycloak.Realm("realm", {
|
|
24
|
-
* realm: "my-realm",
|
|
25
27
|
* enabled: true,
|
|
28
|
+
* realm: "my-realm",
|
|
26
29
|
* });
|
|
27
30
|
* const openidClient = new keycloak.openid.Client("openidClient", {
|
|
28
|
-
* realmId: realm.id,
|
|
29
|
-
* clientId: "client",
|
|
30
|
-
* enabled: true,
|
|
31
31
|
* accessType: "CONFIDENTIAL",
|
|
32
|
+
* clientId: "test-client",
|
|
33
|
+
* enabled: true,
|
|
34
|
+
* realmId: realm.id,
|
|
32
35
|
* validRedirectUris: ["http://localhost:8080/openid-callback"],
|
|
33
36
|
* });
|
|
34
37
|
* const fullNameMapper = new keycloak.openid.FullNameProtocolMapper("fullNameMapper", {
|
|
35
|
-
* realmId: realm.id,
|
|
36
38
|
* clientId: openidClient.id,
|
|
39
|
+
* realmId: realm.id,
|
|
37
40
|
* });
|
|
38
41
|
* ```
|
|
39
|
-
*
|
|
42
|
+
* <!--End PulumiCodeChooser -->
|
|
43
|
+
*
|
|
44
|
+
* ### Example Usage (Client Scope)
|
|
40
45
|
*
|
|
46
|
+
* <!--Start PulumiCodeChooser -->
|
|
41
47
|
* ```typescript
|
|
42
48
|
* import * as pulumi from "@pulumi/pulumi";
|
|
43
49
|
* import * as keycloak from "@pulumi/keycloak";
|
|
44
50
|
*
|
|
45
51
|
* const realm = new keycloak.Realm("realm", {
|
|
46
|
-
* realm: "my-realm",
|
|
47
52
|
* enabled: true,
|
|
53
|
+
* realm: "my-realm",
|
|
48
54
|
* });
|
|
49
55
|
* const clientScope = new keycloak.openid.ClientScope("clientScope", {realmId: realm.id});
|
|
50
56
|
* const fullNameMapper = new keycloak.openid.FullNameProtocolMapper("fullNameMapper", {
|
|
51
|
-
* realmId: realm.id,
|
|
52
57
|
* clientScopeId: clientScope.id,
|
|
58
|
+
* realmId: realm.id,
|
|
53
59
|
* });
|
|
54
60
|
* ```
|
|
61
|
+
* <!--End PulumiCodeChooser -->
|
|
55
62
|
*
|
|
56
|
-
*
|
|
63
|
+
* ### Argument Reference
|
|
57
64
|
*
|
|
58
|
-
*
|
|
65
|
+
* The following arguments are supported:
|
|
59
66
|
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
67
|
+
* - `realmId` - (Required) The realm this protocol mapper exists within.
|
|
68
|
+
* - `clientId` - (Required if `clientScopeId` is not specified) The client this protocol mapper is attached to.
|
|
69
|
+
* - `clientScopeId` - (Required if `clientId` is not specified) The client scope this protocol mapper is attached to.
|
|
70
|
+
* - `name` - (Required) The display name of this protocol mapper in the GUI.
|
|
71
|
+
* - `addToIdToken` - (Optional) Indicates if the user's full name should be added as a claim to the id token. Defaults to `true`.
|
|
72
|
+
* - `addToAccessToken` - (Optional) Indicates if the user's full name should be added as a claim to the access token. Defaults to `true`.
|
|
73
|
+
* - `addToUserinfo` - (Optional) Indicates if the user's full name should be added as a claim to the UserInfo response body. Defaults to `true`.
|
|
63
74
|
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
75
|
+
* ### Import
|
|
76
|
+
*
|
|
77
|
+
* Protocol mappers can be imported using one of the following formats:
|
|
78
|
+
* - Client: `{{realm_id}}/client/{{client_keycloak_id}}/{{protocol_mapper_id}}`
|
|
79
|
+
* - Client Scope: `{{realm_id}}/client-scope/{{client_scope_keycloak_id}}/{{protocol_mapper_id}}`
|
|
80
|
+
*
|
|
81
|
+
* Example:
|
|
67
82
|
*/
|
|
68
83
|
class FullNameProtocolMapper extends pulumi.CustomResource {
|
|
69
84
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fullNameProtocolMapper.js","sourceRoot":"","sources":["../../openid/fullNameProtocolMapper.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"fullNameProtocolMapper.js","sourceRoot":"","sources":["../../openid/fullNameProtocolMapper.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0EG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7E,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,sBAAsB,CAAC,YAAY,CAAC;IACvE,CAAC;IA8BD,YAAY,IAAY,EAAE,WAAsE,EAAE,IAAmC;QACjI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsD,CAAC;YACrE,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;aAAM;YACH,MAAM,IAAI,GAAG,WAAqD,CAAC;YACnE,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,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,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,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AAnFL,wDAoFC;AAtEG,gBAAgB;AACO,mCAAY,GAAG,+DAA+D,CAAC"}
|
package/openid/getClient.d.ts
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "../types/output";
|
|
3
3
|
/**
|
|
4
|
+
* ## # keycloak.openid.Client data source
|
|
5
|
+
*
|
|
4
6
|
* This data source can be used to fetch properties of a Keycloak OpenID client for usage with other resources.
|
|
5
7
|
*
|
|
6
|
-
*
|
|
8
|
+
* ### Example Usage
|
|
7
9
|
*
|
|
10
|
+
* <!--Start PulumiCodeChooser -->
|
|
8
11
|
* ```typescript
|
|
9
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
13
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -19,15 +22,24 @@ import * as outputs from "../types/output";
|
|
|
19
22
|
* name: "realm-admin",
|
|
20
23
|
* }));
|
|
21
24
|
* ```
|
|
25
|
+
* <!--End PulumiCodeChooser -->
|
|
26
|
+
*
|
|
27
|
+
* ### Argument Reference
|
|
28
|
+
*
|
|
29
|
+
* The following arguments are supported:
|
|
30
|
+
*
|
|
31
|
+
* - `realmId` - (Required) The realm id.
|
|
32
|
+
* - `clientId` - (Required) The client id.
|
|
33
|
+
*
|
|
34
|
+
* ### Attributes Reference
|
|
35
|
+
*
|
|
36
|
+
* See the docs for the `keycloak.openid.Client` resource for details on the exported attributes.
|
|
22
37
|
*/
|
|
23
38
|
export declare function getClient(args: GetClientArgs, opts?: pulumi.InvokeOptions): Promise<GetClientResult>;
|
|
24
39
|
/**
|
|
25
40
|
* A collection of arguments for invoking getClient.
|
|
26
41
|
*/
|
|
27
42
|
export interface GetClientArgs {
|
|
28
|
-
/**
|
|
29
|
-
* The client id (not its unique ID).
|
|
30
|
-
*/
|
|
31
43
|
clientId: string;
|
|
32
44
|
consentScreenText?: string;
|
|
33
45
|
displayOnConsentScreen?: boolean;
|
|
@@ -37,9 +49,6 @@ export interface GetClientArgs {
|
|
|
37
49
|
oauth2DeviceAuthorizationGrantEnabled?: boolean;
|
|
38
50
|
oauth2DeviceCodeLifespan?: string;
|
|
39
51
|
oauth2DevicePollingInterval?: string;
|
|
40
|
-
/**
|
|
41
|
-
* The realm id.
|
|
42
|
-
*/
|
|
43
52
|
realmId: string;
|
|
44
53
|
}
|
|
45
54
|
/**
|
|
@@ -99,10 +108,13 @@ export interface GetClientResult {
|
|
|
99
108
|
readonly webOrigins: string[];
|
|
100
109
|
}
|
|
101
110
|
/**
|
|
111
|
+
* ## # keycloak.openid.Client data source
|
|
112
|
+
*
|
|
102
113
|
* This data source can be used to fetch properties of a Keycloak OpenID client for usage with other resources.
|
|
103
114
|
*
|
|
104
|
-
*
|
|
115
|
+
* ### Example Usage
|
|
105
116
|
*
|
|
117
|
+
* <!--Start PulumiCodeChooser -->
|
|
106
118
|
* ```typescript
|
|
107
119
|
* import * as pulumi from "@pulumi/pulumi";
|
|
108
120
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -117,15 +129,24 @@ export interface GetClientResult {
|
|
|
117
129
|
* name: "realm-admin",
|
|
118
130
|
* }));
|
|
119
131
|
* ```
|
|
132
|
+
* <!--End PulumiCodeChooser -->
|
|
133
|
+
*
|
|
134
|
+
* ### Argument Reference
|
|
135
|
+
*
|
|
136
|
+
* The following arguments are supported:
|
|
137
|
+
*
|
|
138
|
+
* - `realmId` - (Required) The realm id.
|
|
139
|
+
* - `clientId` - (Required) The client id.
|
|
140
|
+
*
|
|
141
|
+
* ### Attributes Reference
|
|
142
|
+
*
|
|
143
|
+
* See the docs for the `keycloak.openid.Client` resource for details on the exported attributes.
|
|
120
144
|
*/
|
|
121
145
|
export declare function getClientOutput(args: GetClientOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetClientResult>;
|
|
122
146
|
/**
|
|
123
147
|
* A collection of arguments for invoking getClient.
|
|
124
148
|
*/
|
|
125
149
|
export interface GetClientOutputArgs {
|
|
126
|
-
/**
|
|
127
|
-
* The client id (not its unique ID).
|
|
128
|
-
*/
|
|
129
150
|
clientId: pulumi.Input<string>;
|
|
130
151
|
consentScreenText?: pulumi.Input<string>;
|
|
131
152
|
displayOnConsentScreen?: pulumi.Input<boolean>;
|
|
@@ -135,8 +156,5 @@ export interface GetClientOutputArgs {
|
|
|
135
156
|
oauth2DeviceAuthorizationGrantEnabled?: pulumi.Input<boolean>;
|
|
136
157
|
oauth2DeviceCodeLifespan?: pulumi.Input<string>;
|
|
137
158
|
oauth2DevicePollingInterval?: pulumi.Input<string>;
|
|
138
|
-
/**
|
|
139
|
-
* The realm id.
|
|
140
|
-
*/
|
|
141
159
|
realmId: pulumi.Input<string>;
|
|
142
160
|
}
|
package/openid/getClient.js
CHANGED
|
@@ -6,10 +6,13 @@ exports.getClientOutput = exports.getClient = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
+
* ## # keycloak.openid.Client data source
|
|
10
|
+
*
|
|
9
11
|
* This data source can be used to fetch properties of a Keycloak OpenID client for usage with other resources.
|
|
10
12
|
*
|
|
11
|
-
*
|
|
13
|
+
* ### Example Usage
|
|
12
14
|
*
|
|
15
|
+
* <!--Start PulumiCodeChooser -->
|
|
13
16
|
* ```typescript
|
|
14
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
18
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -24,6 +27,18 @@ const utilities = require("../utilities");
|
|
|
24
27
|
* name: "realm-admin",
|
|
25
28
|
* }));
|
|
26
29
|
* ```
|
|
30
|
+
* <!--End PulumiCodeChooser -->
|
|
31
|
+
*
|
|
32
|
+
* ### Argument Reference
|
|
33
|
+
*
|
|
34
|
+
* The following arguments are supported:
|
|
35
|
+
*
|
|
36
|
+
* - `realmId` - (Required) The realm id.
|
|
37
|
+
* - `clientId` - (Required) The client id.
|
|
38
|
+
*
|
|
39
|
+
* ### Attributes Reference
|
|
40
|
+
*
|
|
41
|
+
* See the docs for the `keycloak.openid.Client` resource for details on the exported attributes.
|
|
27
42
|
*/
|
|
28
43
|
function getClient(args, opts) {
|
|
29
44
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -40,10 +55,13 @@ function getClient(args, opts) {
|
|
|
40
55
|
}
|
|
41
56
|
exports.getClient = getClient;
|
|
42
57
|
/**
|
|
58
|
+
* ## # keycloak.openid.Client data source
|
|
59
|
+
*
|
|
43
60
|
* This data source can be used to fetch properties of a Keycloak OpenID client for usage with other resources.
|
|
44
61
|
*
|
|
45
|
-
*
|
|
62
|
+
* ### Example Usage
|
|
46
63
|
*
|
|
64
|
+
* <!--Start PulumiCodeChooser -->
|
|
47
65
|
* ```typescript
|
|
48
66
|
* import * as pulumi from "@pulumi/pulumi";
|
|
49
67
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -58,6 +76,18 @@ exports.getClient = getClient;
|
|
|
58
76
|
* name: "realm-admin",
|
|
59
77
|
* }));
|
|
60
78
|
* ```
|
|
79
|
+
* <!--End PulumiCodeChooser -->
|
|
80
|
+
*
|
|
81
|
+
* ### Argument Reference
|
|
82
|
+
*
|
|
83
|
+
* The following arguments are supported:
|
|
84
|
+
*
|
|
85
|
+
* - `realmId` - (Required) The realm id.
|
|
86
|
+
* - `clientId` - (Required) The client id.
|
|
87
|
+
*
|
|
88
|
+
* ### Attributes Reference
|
|
89
|
+
*
|
|
90
|
+
* See the docs for the `keycloak.openid.Client` resource for details on the exported attributes.
|
|
61
91
|
*/
|
|
62
92
|
function getClientOutput(args, opts) {
|
|
63
93
|
return pulumi.output(args).apply((a) => getClient(a, opts));
|
package/openid/getClient.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getClient.js","sourceRoot":"","sources":["../../openid/getClient.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getClient.js","sourceRoot":"","sources":["../../openid/getClient.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IAEtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,wBAAwB,EAAE,IAAI,CAAC,sBAAsB;QACrD,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,uCAAuC,EAAE,IAAI,CAAC,qCAAqC;QACnF,0BAA0B,EAAE,IAAI,CAAC,wBAAwB;QACzD,6BAA6B,EAAE,IAAI,CAAC,2BAA2B;QAC/D,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,8BAaC;AAsED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
|
|
@@ -8,6 +8,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
* permission for this client called "Default Permission". We'll use the `keycloak.openid.getClientAuthorizationPolicy` data
|
|
9
9
|
* source to fetch information about this permission, so we can use it to create a new resource-based authorization permission.
|
|
10
10
|
*
|
|
11
|
+
* <!--Start PulumiCodeChooser -->
|
|
11
12
|
* ```typescript
|
|
12
13
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
14
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -45,6 +46,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
45
46
|
* resources: [resource.id],
|
|
46
47
|
* });
|
|
47
48
|
* ```
|
|
49
|
+
* <!--End PulumiCodeChooser -->
|
|
48
50
|
*/
|
|
49
51
|
export declare function getClientAuthorizationPolicy(args: GetClientAuthorizationPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetClientAuthorizationPolicyResult>;
|
|
50
52
|
/**
|
|
@@ -113,6 +115,7 @@ export interface GetClientAuthorizationPolicyResult {
|
|
|
113
115
|
* permission for this client called "Default Permission". We'll use the `keycloak.openid.getClientAuthorizationPolicy` data
|
|
114
116
|
* source to fetch information about this permission, so we can use it to create a new resource-based authorization permission.
|
|
115
117
|
*
|
|
118
|
+
* <!--Start PulumiCodeChooser -->
|
|
116
119
|
* ```typescript
|
|
117
120
|
* import * as pulumi from "@pulumi/pulumi";
|
|
118
121
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -150,6 +153,7 @@ export interface GetClientAuthorizationPolicyResult {
|
|
|
150
153
|
* resources: [resource.id],
|
|
151
154
|
* });
|
|
152
155
|
* ```
|
|
156
|
+
* <!--End PulumiCodeChooser -->
|
|
153
157
|
*/
|
|
154
158
|
export declare function getClientAuthorizationPolicyOutput(args: GetClientAuthorizationPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetClientAuthorizationPolicyResult>;
|
|
155
159
|
/**
|
|
@@ -14,6 +14,7 @@ const utilities = require("../utilities");
|
|
|
14
14
|
* permission for this client called "Default Permission". We'll use the `keycloak.openid.getClientAuthorizationPolicy` data
|
|
15
15
|
* source to fetch information about this permission, so we can use it to create a new resource-based authorization permission.
|
|
16
16
|
*
|
|
17
|
+
* <!--Start PulumiCodeChooser -->
|
|
17
18
|
* ```typescript
|
|
18
19
|
* import * as pulumi from "@pulumi/pulumi";
|
|
19
20
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -51,6 +52,7 @@ const utilities = require("../utilities");
|
|
|
51
52
|
* resources: [resource.id],
|
|
52
53
|
* });
|
|
53
54
|
* ```
|
|
55
|
+
* <!--End PulumiCodeChooser -->
|
|
54
56
|
*/
|
|
55
57
|
function getClientAuthorizationPolicy(args, opts) {
|
|
56
58
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -70,6 +72,7 @@ exports.getClientAuthorizationPolicy = getClientAuthorizationPolicy;
|
|
|
70
72
|
* permission for this client called "Default Permission". We'll use the `keycloak.openid.getClientAuthorizationPolicy` data
|
|
71
73
|
* source to fetch information about this permission, so we can use it to create a new resource-based authorization permission.
|
|
72
74
|
*
|
|
75
|
+
* <!--Start PulumiCodeChooser -->
|
|
73
76
|
* ```typescript
|
|
74
77
|
* import * as pulumi from "@pulumi/pulumi";
|
|
75
78
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -107,6 +110,7 @@ exports.getClientAuthorizationPolicy = getClientAuthorizationPolicy;
|
|
|
107
110
|
* resources: [resource.id],
|
|
108
111
|
* });
|
|
109
112
|
* ```
|
|
113
|
+
* <!--End PulumiCodeChooser -->
|
|
110
114
|
*/
|
|
111
115
|
function getClientAuthorizationPolicyOutput(args, opts) {
|
|
112
116
|
return pulumi.output(args).apply((a) => getClientAuthorizationPolicy(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getClientAuthorizationPolicy.js","sourceRoot":"","sources":["../../openid/getClientAuthorizationPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getClientAuthorizationPolicy.js","sourceRoot":"","sources":["../../openid/getClientAuthorizationPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAE5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2EAA2E,EAAE;QACtG,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;KAC5C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oEAQC;AA4DD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAA2B;IACxH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,4BAA4B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvF,CAAC;AAFD,gFAEC"}
|
|
@@ -4,6 +4,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
4
4
|
*
|
|
5
5
|
* ## Example Usage
|
|
6
6
|
*
|
|
7
|
+
* <!--Start PulumiCodeChooser -->
|
|
7
8
|
* ```typescript
|
|
8
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
10
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -19,6 +20,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
19
20
|
* includedCustomAudience: "foo",
|
|
20
21
|
* });
|
|
21
22
|
* ```
|
|
23
|
+
* <!--End PulumiCodeChooser -->
|
|
22
24
|
*/
|
|
23
25
|
export declare function getClientScope(args: GetClientScopeArgs, opts?: pulumi.InvokeOptions): Promise<GetClientScopeResult>;
|
|
24
26
|
/**
|
|
@@ -54,6 +56,7 @@ export interface GetClientScopeResult {
|
|
|
54
56
|
*
|
|
55
57
|
* ## Example Usage
|
|
56
58
|
*
|
|
59
|
+
* <!--Start PulumiCodeChooser -->
|
|
57
60
|
* ```typescript
|
|
58
61
|
* import * as pulumi from "@pulumi/pulumi";
|
|
59
62
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -69,6 +72,7 @@ export interface GetClientScopeResult {
|
|
|
69
72
|
* includedCustomAudience: "foo",
|
|
70
73
|
* });
|
|
71
74
|
* ```
|
|
75
|
+
* <!--End PulumiCodeChooser -->
|
|
72
76
|
*/
|
|
73
77
|
export declare function getClientScopeOutput(args: GetClientScopeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetClientScopeResult>;
|
|
74
78
|
/**
|
package/openid/getClientScope.js
CHANGED
|
@@ -10,6 +10,7 @@ const utilities = require("../utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* <!--Start PulumiCodeChooser -->
|
|
13
14
|
* ```typescript
|
|
14
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
16
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -25,6 +26,7 @@ const utilities = require("../utilities");
|
|
|
25
26
|
* includedCustomAudience: "foo",
|
|
26
27
|
* });
|
|
27
28
|
* ```
|
|
29
|
+
* <!--End PulumiCodeChooser -->
|
|
28
30
|
*/
|
|
29
31
|
function getClientScope(args, opts) {
|
|
30
32
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -39,6 +41,7 @@ exports.getClientScope = getClientScope;
|
|
|
39
41
|
*
|
|
40
42
|
* ## Example Usage
|
|
41
43
|
*
|
|
44
|
+
* <!--Start PulumiCodeChooser -->
|
|
42
45
|
* ```typescript
|
|
43
46
|
* import * as pulumi from "@pulumi/pulumi";
|
|
44
47
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -54,6 +57,7 @@ exports.getClientScope = getClientScope;
|
|
|
54
57
|
* includedCustomAudience: "foo",
|
|
55
58
|
* });
|
|
56
59
|
* ```
|
|
60
|
+
* <!--End PulumiCodeChooser -->
|
|
57
61
|
*/
|
|
58
62
|
function getClientScopeOutput(args, opts) {
|
|
59
63
|
return pulumi.output(args).apply((a) => getClientScope(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getClientScope.js","sourceRoot":"","sources":["../../openid/getClientScope.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getClientScope.js","sourceRoot":"","sources":["../../openid/getClientScope.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAEhF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+CAA+C,EAAE;QAC1E,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wCAOC;AA+BD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
|
|
@@ -10,6 +10,7 @@ import * as outputs from "../types/output";
|
|
|
10
10
|
* that represents the service account. We'll use this data source to grab this user's ID in order to assign some roles to this
|
|
11
11
|
* user, using the `keycloak.UserRoles` resource.
|
|
12
12
|
*
|
|
13
|
+
* <!--Start PulumiCodeChooser -->
|
|
13
14
|
* ```typescript
|
|
14
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
16
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -38,6 +39,7 @@ import * as outputs from "../types/output";
|
|
|
38
39
|
* roleIds: [offlineAccess.apply(offlineAccess => offlineAccess.id)],
|
|
39
40
|
* });
|
|
40
41
|
* ```
|
|
42
|
+
* <!--End PulumiCodeChooser -->
|
|
41
43
|
*/
|
|
42
44
|
export declare function getClientServiceAccountUser(args: GetClientServiceAccountUserArgs, opts?: pulumi.InvokeOptions): Promise<GetClientServiceAccountUserResult>;
|
|
43
45
|
/**
|
|
@@ -85,6 +87,7 @@ export interface GetClientServiceAccountUserResult {
|
|
|
85
87
|
* that represents the service account. We'll use this data source to grab this user's ID in order to assign some roles to this
|
|
86
88
|
* user, using the `keycloak.UserRoles` resource.
|
|
87
89
|
*
|
|
90
|
+
* <!--Start PulumiCodeChooser -->
|
|
88
91
|
* ```typescript
|
|
89
92
|
* import * as pulumi from "@pulumi/pulumi";
|
|
90
93
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -113,6 +116,7 @@ export interface GetClientServiceAccountUserResult {
|
|
|
113
116
|
* roleIds: [offlineAccess.apply(offlineAccess => offlineAccess.id)],
|
|
114
117
|
* });
|
|
115
118
|
* ```
|
|
119
|
+
* <!--End PulumiCodeChooser -->
|
|
116
120
|
*/
|
|
117
121
|
export declare function getClientServiceAccountUserOutput(args: GetClientServiceAccountUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetClientServiceAccountUserResult>;
|
|
118
122
|
/**
|
|
@@ -15,6 +15,7 @@ const utilities = require("../utilities");
|
|
|
15
15
|
* that represents the service account. We'll use this data source to grab this user's ID in order to assign some roles to this
|
|
16
16
|
* user, using the `keycloak.UserRoles` resource.
|
|
17
17
|
*
|
|
18
|
+
* <!--Start PulumiCodeChooser -->
|
|
18
19
|
* ```typescript
|
|
19
20
|
* import * as pulumi from "@pulumi/pulumi";
|
|
20
21
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -43,6 +44,7 @@ const utilities = require("../utilities");
|
|
|
43
44
|
* roleIds: [offlineAccess.apply(offlineAccess => offlineAccess.id)],
|
|
44
45
|
* });
|
|
45
46
|
* ```
|
|
47
|
+
* <!--End PulumiCodeChooser -->
|
|
46
48
|
*/
|
|
47
49
|
function getClientServiceAccountUser(args, opts) {
|
|
48
50
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -62,6 +64,7 @@ exports.getClientServiceAccountUser = getClientServiceAccountUser;
|
|
|
62
64
|
* that represents the service account. We'll use this data source to grab this user's ID in order to assign some roles to this
|
|
63
65
|
* user, using the `keycloak.UserRoles` resource.
|
|
64
66
|
*
|
|
67
|
+
* <!--Start PulumiCodeChooser -->
|
|
65
68
|
* ```typescript
|
|
66
69
|
* import * as pulumi from "@pulumi/pulumi";
|
|
67
70
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -90,6 +93,7 @@ exports.getClientServiceAccountUser = getClientServiceAccountUser;
|
|
|
90
93
|
* roleIds: [offlineAccess.apply(offlineAccess => offlineAccess.id)],
|
|
91
94
|
* });
|
|
92
95
|
* ```
|
|
96
|
+
* <!--End PulumiCodeChooser -->
|
|
93
97
|
*/
|
|
94
98
|
function getClientServiceAccountUserOutput(args, opts) {
|
|
95
99
|
return pulumi.output(args).apply((a) => getClientServiceAccountUser(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getClientServiceAccountUser.js","sourceRoot":"","sources":["../../openid/getClientServiceAccountUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getClientServiceAccountUser.js","sourceRoot":"","sources":["../../openid/getClientServiceAccountUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAE1G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yEAAyE,EAAE;QACpG,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kEAOC;AAoCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,SAAgB,iCAAiC,CAAC,IAA2C,EAAE,IAA2B;IACtH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,2BAA2B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtF,CAAC;AAFD,8EAEC"}
|