Skip to content

Instantly share code, notes, and snippets.

@maleck13
Forked from philbrookes/keycloak.json
Last active October 30, 2018 12:37
Show Gist options
  • Save maleck13/6f01a168adce22d83a53fd095828877f to your computer and use it in GitHub Desktop.
Save maleck13/6f01a168adce22d83a53fd095828877f to your computer and use it in GitHub Desktop.
{
"apiVersion": "aerogear.org/v1alpha1",
"kind": "Keycloak",
"metadata": {
"name": "example"
},
"spec": {
"resourceLimits":{},
"version": "7.2.2.GA"
}
}
{
"apiVersion": "aerogear.org/v1alpha1",
"kind": "KeycloakRealm",
"metadata": {
"clusterName": "",
"generation": 1,
"name": "arealm"
},
"spec": {
"clients": [
{
"clientId": "test-client",
"bearerOnly": false,
"standardFlowEnabled": true,
"clientAuthenticatorType": "client-secret",
"directAccessGrantsEnabled": true,
"fullScopeAllowed": true,
"name": "test-client",
"outputSecret": "test-client",
"protocol": "openid-connect",
"publicClient": true,
"redirectUris": [
"http://127.0.0.1:8000/*",
"http://localhost:8000/*",
"http://nodejs-keycloak-myproject.192.168.42.99.nip.io/*"
]
}
],
"displayName": "arealm",
"enabled": true,
"id": "arealm",
"realm": "arealm",
"users": [
{
"clientRoles": {
"account": [
"manage-account view-profile"
]
},
"emailVerified": false,
"enabled": true,
"outputSecret": "admin-credentials",
"username": "admin"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment