[keycloak-user] configure realm master on server initialization
Sebastien Blanc
sblanc at redhat.com
Tue Apr 2 10:06:46 EDT 2019
I see. I'm afraid we don't have this out of the box.
One other option could be to import a master realm at startup, this will
overwrite the current master. And in your master realm json you could have
some variables that you replace
On Tue, Apr 2, 2019 at 3:27 PM Koffi Yannick N'ZI <nykykof at gmail.com> wrote:
> Yes i can make manually a request (by using, for example, the kcadm.sh
> script provided out of the box) in order to update the realm master.
>
> But what i expect, what i wish is a way to provide automatically the smtp
> informations on server initialization. I want it so because the smtp
> properties can dynamically change, in the cloud, from a deployment to
> another.
>
> And i don't want (if i could) to make for each deployment a request to
> update the master realm.
>
> Le mar. 2 avr. 2019 à 15:09, Sebastien Blanc <sblanc at redhat.com> a écrit :
>
>> But you could do a PUT (update) on the master realm and passing the
>> smtpServer properties map ?
>>
>>
>>
>> On Tue, Apr 2, 2019 at 2:49 PM Koffi Yannick N'ZI <nykykof at gmail.com>
>> wrote:
>>
>>> For the others realm i create them with the APIs. So when sending the
>>> realm object i set the realm smtp server property. It assumes that the
>>> Keycloak instance is deployed.
>>> But for the realm master i cannot do so.
>>>
>>> I would like to set some environnement variables which can be detected
>>> by keycloak when starting
>>>
>>>
>>> Le mar. 2 avr. 2019 à 14:39, Sebastien Blanc <sblanc at redhat.com> a
>>> écrit :
>>>
>>>> What prevents you to configure SMTP for the Master Realm ? How are you
>>>> doing it for the other realms (API ? ) ?
>>>>
>>>>
>>>> On Tue, Apr 2, 2019 at 2:11 PM Koffi Yannick N'ZI <nykykof at gmail.com>
>>>> wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I'm working on deploying keycloak on a PaaS Like CloudFoundry. I'm
>>>>> able now
>>>>> to do so and to create realms on demand.
>>>>> However, i have an issue. I want to automate the stmtp server
>>>>> configuration
>>>>> in every realm when creating them, including the realm master. I'm
>>>>> able to
>>>>> do so for new realm except the master one.
>>>>>
>>>>> So my question is: is it possible to configure the realm master by
>>>>> putting
>>>>> some configurations properties in the standalone.xml file or elsewhere
>>>>> ?
>>>>> What property name must i set if so ?
>>>>>
>>>>> thanks
>>>>>
>>>>> --
>>>>> Koffi Yannick N'ZI
>>>>>
>>>>> *Ingénieur en Technologies de l'Information et de la Communication
>>>>> option
>>>>> Télécommunication et Réseaux.*
>>>>> *Mastère spécialisé en Technologies du web et la Cyber Sécurité *
>>>>>
>>>>> nykykof at gmail.com
>>>>> _______________________________________________
>>>>> keycloak-user mailing list
>>>>> keycloak-user at lists.jboss.org
>>>>> https://lists.jboss.org/mailman/listinfo/keycloak-user
>>>>
>>>>
>>>
>>> --
>>> Koffi Yannick N'ZI
>>>
>>> *Ingénieur en Technologies de l'Information et de la Communication
>>> option Télécommunication et Réseaux.*
>>> *Mastère spécialisé en Technologies du web et la Cyber Sécurité*
>>>
>>> nykykof at gmail.com
>>>
>>>
>
> --
> Koffi Yannick N'ZI
>
> *Ingénieur en Technologies de l'Information et de la Communication option
> Télécommunication et Réseaux.*
> *Mastère spécialisé en Technologies du web et Cyber Sécurité.*
>
> nykykof at gmail.com
>
>
More information about the keycloak-user
mailing list