[keycloak-user] Regenerating a realm public key through the API

Stian Thorgersen sthorger at redhat.com
Tue Mar 8 01:28:30 EST 2016


On 7 March 2016 at 20:04, Aikeaguinea <aikeaguinea at xsmail.com> wrote:

> After doing a scripted import of a realm file I'm looking to call the
> Keycloak API to change the realm's public and private keys. The API docs
> aren't entirely clear on how to do this, but after looking at the
> "Generate New Keys" button in the Keycloak admin console I'm guessing it
> should be done as follows:
> Update the top-level realm information by sending a PUT request to
> /admin/realms/<REALM_NAME> with a body of { realm: <REALM_NAME>,
> publicKey : 'GENERATE' }
> Is that correct?
> --
> http://www.fastmail.com - Email service worth paying for. Try it for free
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160308/09c654c2/attachment.html 

More information about the keycloak-user mailing list