How can I completely disable the admin console? I don’t want to use it, and I want to ensure no one else has access to it either.
I don’t think you can “disable” it. But, with the usage of a reverse proxy, you can block every incomming network requests to “/admin” so it can’t be accessed.
Well, basically you can disable all the security-admin-console clients in all of the realms. But wouldn’t vote for it.
I have several customers who also had this initial “requirement” (“wish” would describe it better) and wanted to do all and everything through the API, but sooner or later they had the requirement to access the master realm through the console. So I would never disable it on master, because at some time in your KC life, you will need it.
I wanted to write something like this in my answer, but lazyness got me ![]()
I never tried it, but I think you can remove the ./lib/lib/main/org.keycloak.keycloak-admin-ui-<version>.jar