keycloak-scim/js/apps/account-ui/test/realms/verifiable-credentials-realm.json

239 lines
14 KiB
JSON
Raw Normal View History

{
"id": "verifiable-credentials",
"realm": "verifiable-credentials",
"displayName": "Keycloak",
"displayNameHtml": "<div class=\"kc-logo-text\"><span>Keycloak</span></div>",
"enabled": true,
"attributes": {
"frontendUrl": "http://localhost:8080/",
"issuerDid": "did:web:test.org"
},
"sslRequired": "none",
"roles": {
"realm": [
{
"name": "user",
"description": "User privileges",
"composite": false,
"clientRole": false,
"containerId": "dome",
"attributes": {}
}
],
"client": {
"did:web:test-marketplace.org": [
{
"name": "LEGAL_REPRESENTATIVE",
"clientRole": true
},
{
"name": "EMPLOYEE",
"clientRole": true
}
]
}
},
"groups": [
],
"users": [
{
"username": "test-user",
"enabled": true,
"email": "test@user.org",
"firstName": "Test",
"lastName": "Employee",
"credentials": [
{
"type": "password",
"value": "test"
}
],
"clientRoles": {
"did:web:test-marketplace.org": [
"EMPLOYEE"
],
"account": [
"view-profile",
"manage-account"
]
},
"groups": [
]
}
],
"clients": [
{
"clientId": "did:web:test-marketplace.org",
"enabled": true,
"description": "Client to connect the marketplace",
"surrogateAuthRequired": false,
"alwaysDisplayInConsole": false,
"clientAuthenticatorType": "client-secret",
"defaultRoles": [],
"redirectUris": [],
"webOrigins": [],
"notBefore": 0,
"bearerOnly": false,
"consentRequired": false,
"standardFlowEnabled": true,
"implicitFlowEnabled": false,
"directAccessGrantsEnabled": false,
"serviceAccountsEnabled": false,
"publicClient": false,
"frontchannelLogout": false,
"protocol": "oid4vc",
"attributes": {
"client.secret.creation.time": "1675260539",
"vc.natural-person.format": "jwt_vc",
"vc.natural-person.scope": "NaturalPersonCredential",
"vc.verifiable-credential.format": "jwt_vc",
"vc.verifiabel-credential.scope": "VerifiableCredential"
},
"protocolMappers": [
{
"name": "target-role-mapper",
"protocol": "oid4vc",
"protocolMapper": "oid4vc-target-role-mapper",
"config": {
"subjectProperty": "roles",
"clientId": "did:web:test-marketplace.org",
"supportedCredentialTypes": "NaturalPersonCredential"
}
},
{
"name": "target-vc-role-mapper",
"protocol": "oid4vc",
"protocolMapper": "oid4vc-target-role-mapper",
"config": {
"subjectProperty": "roles",
"clientId": "did:web:test-marketplace.org",
"supportedCredentialTypes": "VerifiableCredential"
}
},
{
"name": "email-mapper",
"protocol": "oid4vc",
"protocolMapper": "oid4vc-user-attribute-mapper",
"config": {
"subjectProperty": "email",
"userAttribute": "email",
"supportedCredentialTypes": "NaturalPersonCredential"
}
}
],
"authenticationFlowBindingOverrides": {},
"fullScopeAllowed": true,
"nodeReRegistrationTimeout": -1,
"defaultClientScopes": [],
"optionalClientScopes": []
}
],
"clientScopes": [
{
"name": "roles",
"description": "OpenID Connect scope for add user roles to the access token",
"protocol": "openid-connect",
"attributes": {
"include.in.token.scope": "false",
"display.on.consent.screen": "true",
"consent.screen.text": "${rolesScopeConsentText}"
},
"protocolMappers": [
{
"name": "audience resolve",
"protocol": "openid-connect",
"protocolMapper": "oidc-audience-resolve-mapper",
"consentRequired": false,
"config": {
"introspection.token.claim": "true",
"access.token.claim": "true"
}
},
{
"name": "realm roles",
"protocol": "openid-connect",
"protocolMapper": "oidc-usermodel-realm-role-mapper",
"consentRequired": false,
"config": {
"introspection.token.claim": "true",
"multivalued": "true",
"user.attribute": "foo",
"access.token.claim": "true",
"claim.name": "realm_access.roles",
"jsonType.label": "String"
}
},
{
"name": "client roles",
"protocol": "openid-connect",
"protocolMapper": "oidc-usermodel-client-role-mapper",
"consentRequired": false,
"config": {
"introspection.token.claim": "true",
"multivalued": "true",
"user.attribute": "foo",
"access.token.claim": "true",
"claim.name": "resource_access.${client_id}.roles",
"jsonType.label": "String"
}
}
]
}
],
"defaultDefaultClientScopes": [
],
"defaultOptionalClientScopes": [
],
"components": {
"org.keycloak.protocol.oid4vc.issuance.signing.VerifiableCredentialsSigningService": [
{
"id": "jwt-signing",
"name": "jwt-signing-service",
"providerId": "jwt_vc",
"subComponents": {},
"config": {
"keyId": [
"GwZfdu_xA5MYJmIWnrAdvbExMMWGdsqfY2qoqFVhVPM"
],
"algorithmType": [
"RS256"
],
"issuerDid": [
"did:web:test.org"
],
"tokenType": [
"JWT"
]
}
}
],
"org.keycloak.keys.KeyProvider": [
{
"id": "a4589e8f-7f82-4345-b2ea-ccc9d4366600",
"name": "test-key",
"providerId": "rsa",
"subComponents": {},
"config": {
"privateKey": [
"-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEA1M1vl2mW0ewMctKEoCYG6+SgV9TqN+4oIt2ZLkQb1O+yWGTW\nuu8h2U7yZ+Dc1JfSPUd45eU1p9j3rYu5Bs2Labc6zZUYyBMjZXopv/AqIOhvuTRR\ng7v4yRkC6QACniLndPCkanlp/8dL98Gmm8x+oOjYf1UFbGxjGqqVxfNVZmGi9NLE\n6AM0e4wmBVknwWTcC3TTHDxgAxHHa0GhL1y7OYsmw9Kz1riUWlr0Az3lBclOFACb\nOp/cGnyHnotErw1xKVQtGOv4GIsYQZr4jIeQkoFcqbAQVOk30NjTRNgVra2JzEpM\nvhbm4l+WHK2OfsPfBx6OKTOmet6zJnnNC608jQIDAQABAoIBAA+gyro28fGWwU9J\ncJ4GTOnUD4aDx3O2FNKCrbY9IEIiHFnrhe2SlEzORHUmiXE/eRww/Ir9q1QZVg8z\nvLHoNH3eC/5/HaPL7ASO1TQYYi+qglH6qqXfDyVNpe4QpyCP9amb5qc/JW64ZzbZ\nzO+SNBaDIysuxkgxKZISxw8TkMkE7jvh6RafPkIBldIhGunWQ33on08UJaTAeCz2\nw+3g7Ei8Ejg6sMZ+HGTJ9omA7xVOT+baLm9zwwQh1RcYV9MRywljAnJRs9iDwRzn\n2uWOpqFbmdTRDRuZmocP2ks9Wty5Ub3iyu7n1M9y5W8fxdmuZ4mXSYoG6jm/tJzo\nd8yRHYECgYEA/KP8MFyhWsH9F/eMDdq6oMG/Gk5VQcp6gadoHy2g710h37stTPRN\nnyitAo6enWoKNFH2jZBvGxrUY4n7+Zib51zhUf6L6YvP77yYn4txIwZYITzdr4X7\nivL4IH4qmoM5T2DRMD/bSN2c87v5IKpnuySL81C+irr1ZFSqDe5anKECgYEA16HW\nebVv87icGHDlkON21VCeTpnpofntjKSvEYfHRsyzldgkaurGSjIjojtdj0t2fHfx\nMt0VBHLENop1E0Up/jhroYjlBXFcIPwaBwSECoIzzoZApL/kJciijek3V6GWne0R\nIskVLTBxvVf4gz2bovRY4zgsi3cLs719KL8hDG0CgYEAsJohC910nXDFbx+IM5cW\nppFI+SaQynCzujY/vquyuCAuMasyO3z7VaqlZgg0MG2TvIcfBk5UnGng1cP687sO\nIGj4yMxbGWK2dCsttTlQWN9yc6mMfcn20GaPtIb9WQ0p3qcbE9NPglwH/wkDWSZF\nZLhjbC6hQ3D1YLEePqbDiIECgYBgwl5bfu8djll9HivlOCy6y9I9sxMDfAL8eWmV\nlDf3rSNoufSdhXw1DwquYbU598LTV38EM/CabmVdlAO1AfQ1/1tMwQED0DpnErkb\nLQuTK5nTsqqPQww9aCqJQ31x9TCA7UAjO9gkzvg63p7FRX/xP3QjgbF7Y4/8t6rR\n/fH2gQKBgAvBF7+OQWNWC4VPYGX6GMveqvN7/87qwGMltB5OQZWiODEuKYPLKmll\nsin1Xlek/Fe4zRSe+mWTs9pnrZ7VWIUUlBbW9V/tgRKcW7c6S4r69Gih5gToFE6Q\nEH4j0DoVcaH3nWOxwQqKrQL0tk2faSS0Y0O6wGDQiEuDvk4AGmGp\n-----END RSA PRIVATE KEY-----\n\n"
],
"certificate": [
"-----BEGIN CERTIFICATE-----\nMIIE/jCCA+agAwIBAgISA6pEpAokqYJAJqQPgnCnsHAsMA0GCSqGSIb3DQEBCwUA\nMDIxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MQswCQYDVQQD\nEwJSMzAeFw0yMzEyMjQwNTQxMzFaFw0yNDAzMjMwNTQxMzBaMCMxITAfBgNVBAMT\nGGNvbnN1bWVyLmRvbWUuZml3YXJlLmRldjCCASIwDQYJKoZIhvcNAQ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nHlUjr8gRsI3qfJOQFy/9rKIJR0Y/8Omwt/8oTWgy1mdeHmmjk7j1nYsvC9JSQ6Zv\nMldlTTKB3zhThV1+XWYp6rjd5JW1zbVWEkLNxE7GJThEUG3szgBVGP7pSWTUTsqX\nnLRbwHOoq7hHwg==\n-----END CERTIFICATE-----\n-----BEGIN CERTIFICATE-----\nMIIFYDCCBEigAwIBAgIQQAF3ITfU6UK47naqPGQKtzANBgkqhkiG9w0BAQsFADA/\nMSQwIgYDVQQKExtEaWdpdGFsIFNpZ25hdHVyZSBUcnVzdCBDby4xFzAVBgNVBAMT\nDkRTVCBSb290IENBIFgzMB4XDTIxMDEyMDE5MTQwM1oXDTI0MDkzMDE4MTQwM1ow\nTzELMAkGA1UEBhMCVVMxKTAnBgNVBAoTIEludGVybmV0IFNlY3VyaXR5IFJlc2Vh\ncmNoIEdyb3VwMRUwEwYDVQQDEwxJU1JHIFJvb3QgWDEwggIiMA0GCSqGSIb3DQEB\nAQUAA4ICDwAwggIKAoICAQCt6CRz9BQ385ueK1coHIe
],
"active": [
"true"
],
"priority": [
"0"
],
"enabled": [
"true"
],
"algorithm": [
"RS256"
]
}
}
]
}
}