Skip to content

Instantly share code, notes, and snippets.

@philbrookes
Created October 30, 2018 12:24
Show Gist options
  • Save philbrookes/696663c6b9da2d03939f161f52b60415 to your computer and use it in GitHub Desktop.
Save philbrookes/696663c6b9da2d03939f161f52b60415 to your computer and use it in GitHub Desktop.
{
"apiVersion": "aerogear.org/v1alpha1",
"kind": "Keycloak",
"metadata": {
"name": "example"
},
"spec": {
"version": "4.1.0",
"adminCredentials": ""
}
}
{
"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,
"enabled": true,
"frontchannelLogout": false,
"fullScopeAllowed": true,
"implicitFlowEnabled": false,
"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