{ "realm": "ca-skeleton", "enabled": true, "sslRequired": "none", "roles": { "realm": [ { "name": "user", "description": "The baseline realm role the application authorizes ordinary calls on." } ], "client": { "ca-skeleton-api": [ { "name": "graphql-query", "description": "Permission to execute a GraphQL query against the shipped endpoint." }, { "name": "notification-submit", "description": "Accept a notification for dispatch.", "composite": false, "clientRole": true }, { "name": "notification-template-publish", "description": "Publish a notification template version. Separate from submit: publishing changes what every future submission renders.", "composite": false, "clientRole": true }, { "name": "operation-submit", "description": "Submit a durable operation and cancel one's own.", "composite": false, "clientRole": true }, { "name": "ROLE_FILE_READ", "description": "Fileserver data-plane reads (file:read): metadata, download, upload status, on one's own files. The name is the fileserver's default read tier.", "composite": false, "clientRole": true }, { "name": "ROLE_FILE_WRITE", "description": "Fileserver data-plane writes (file:upload, file:delete, file:copy, file:move) on one's own files. The name is the fileserver's default write tier, so one role satisfies both the permission and the tier check.", "composite": false, "clientRole": true }, { "name": "ROLE_FILE_ADMIN", "description": "Fileserver management plane (file:admin): storage health, orphan reconcile, re-verify, force delete. Not granted to the service account.", "composite": false, "clientRole": true } ] } }, "clients": [ { "clientId": "ca-skeleton-api", "enabled": true, "protocol": "openid-connect", "publicClient": false, "bearerOnly": false, "serviceAccountsEnabled": true, "standardFlowEnabled": false, "directAccessGrantsEnabled": false, "implicitFlowEnabled": false, "secret": "${KEYCLOAK_GRAPHQL_SMOKE_CLIENT_SECRET}", "attributes": { "access.token.lifespan": "300" }, "protocolMappers": [ { "name": "ca-skeleton-api-audience", "protocol": "openid-connect", "protocolMapper": "oidc-audience-mapper", "consentRequired": false, "config": { "included.client.audience": "ca-skeleton-api", "id.token.claim": "false", "access.token.claim": "true" } }, { "name": "realm-roles", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-realm-role-mapper", "consentRequired": false, "config": { "multivalued": "true", "claim.name": "realm_access.roles", "jsonType.label": "String", "access.token.claim": "true" } }, { "name": "client-roles", "protocol": "openid-connect", "protocolMapper": "oidc-usermodel-client-role-mapper", "consentRequired": false, "config": { "multivalued": "true", "claim.name": "resource_access.${client_id}.roles", "jsonType.label": "String", "access.token.claim": "true" } } ] } ], "users": [ { "username": "service-account-ca-skeleton-api", "enabled": true, "serviceAccountClientId": "ca-skeleton-api", "realmRoles": [ "user" ], "clientRoles": { "ca-skeleton-api": [ "graphql-query", "notification-submit", "notification-template-publish", "operation-submit", "ROLE_FILE_READ", "ROLE_FILE_WRITE" ] } } ] }