dataset/seed/applicationservice/2022.03.08/server/extras/accounts/00_accounts.xml
Emmanuel Garette 0cab627154 update
2022-06-24 19:00:16 +02:00

21 lines
987 B
XML

<?xml version='1.0' encoding='UTF-8'?>
<rougail version="0.10">
<variables>
<variable name="remotes" description="Remote clients needing an account" type="domainname" multi="True" provider="clients"/>
<family name="remote_" description="Account for " dynamic="accounts.remotes">
<variable name="password_" description="Remote password" auto_save="False" hidden="True" type="password" mandatory="True" provider="client_password"/>
<variable name="remote_ip_" description="Remote IP" type="ip" hidden="True" provider="client_ip"/>
</family>
</variables>
<constraints>
<fill name="get_password">
<param name="server_name" type="variable">domain_name_eth0</param>
<param name="username" type="suffix"/>
<param name="description">remote</param>
<param name="type">cleartext</param>
<param name="hide" type="variable">hide_secret</param>
<target>accounts.remote_.password_</target>
</fill>
</constraints>
</rougail>