Keycloak database in H2 Console

Howto connect to Keycloak's default database with the H2 Console:

#!/bin/bash

jar="./modules/system/layers/base/com/h2database/h2/main/h2-*.jar"
url="jdbc:h2:./standalone/data/keycloak;AUTO_SERVER=TRUE"

java -cp $jar org.h2.tools.Console -url "$url" -user sa -password sa

Download: h2.sh

H2 Console