Try the following (replace ID_OF_CLIENT with UUID of the client, and REALM
with target realm e.g. 'master'):
$ kcadm.sh get
http://localhost:8080/auth/admin/realms/demorealm/clients/ID_OF_CLIENT/in...
-r REALM > keycloak-docker-compose-yaml.zip
On Fri, Feb 9, 2018 at 8:41 AM, Rehman, Abdur <Abdur_Rehman(a)mentor.com>
wrote:
Hi
I am able to download the docker compose bundle by navigating the web UI
as follows:
Clients -> {client id} -> Installation -> Format Option -> Docker Compose
YAML -> Download
Is there a programmatic way to do the same? I am able to authenticate by
calling auth/admin rest api from curl. But I am not sure how to proceed
with downloading the yaml archive. I am only interested in the certs
directory inside the archive. Can I get these certificates/key from some
other method?
I do not have graphical access to the machine I am running keycloak on, so
I am limited to using command line.
Best Regards
Abdur
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user