[keycloak-user] Downloading docker compose certs using cli
Marko Strukelj
mstrukel at redhat.com
Thu Feb 22 12:28:18 EST 2018
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/installation/providers/docker-v2-compose-yaml
-r REALM > keycloak-docker-compose-yaml.zip
On Fri, Feb 9, 2018 at 8:41 AM, Rehman, Abdur <Abdur_Rehman at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
More information about the keycloak-user
mailing list