2016-09-27 15:33:26 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
|
|
<Configuration>
|
|
|
|
<Rule path="/token/user" requiresToken="false">
|
|
|
|
{% for ip in authorized_ips %}
|
|
|
|
<Entity type="IP" value="{{ ip }}" />
|
|
|
|
{% endfor %}
|
2016-12-12 12:32:22 +01:00
|
|
|
</Rule>
|
|
|
|
|
|
|
|
<Rule path="/apikey" requiresToken="true" acceptedTokenTypes="USER"/>
|
|
|
|
<Rule path="/policyManager" requiresToken="true">
|
|
|
|
{% for ip in authorized_ips %}
|
|
|
|
<Entity type="IP" value="{{ ip }}" />
|
|
|
|
{% endfor %}
|
|
|
|
</Rule>
|
|
|
|
<Rule path="/token/external" requiresToken="true" acceptedTokenTypes="USER" />
|
|
|
|
<Rule path="/token/node" requiresToken="false" />
|
|
|
|
<Rule path="/token/service" requiresToken="true" acceptedTokenTypes="CONTAINER"/>
|
|
|
|
<Rule path="/token/resolve" requiresToken="false">
|
2017-05-17 18:22:35 +02:00
|
|
|
{% if authorized_ips is defined %}
|
2016-12-12 12:32:22 +01:00
|
|
|
{% for ip in authorized_ips %}
|
|
|
|
<Entity type="IP" value="{{ ip }}" />
|
|
|
|
{% endfor %}
|
2017-05-17 18:22:35 +02:00
|
|
|
{% endif %}
|
2016-12-12 12:32:22 +01:00
|
|
|
</Rule>
|
2016-09-27 15:33:26 +02:00
|
|
|
</Configuration>
|
|
|
|
|