Sha256: ac64155bb427db1fceef5780561a83ec4c64c960e764103625a674a1a3c26bfa

Contents?: true

Size: 498 Bytes

Versions: 100

Compression:

Stored size: 498 Bytes

Contents

<% ['users','groups'].each do |entity_type|
%><%= entity_type.capitalize %>:
<%
    secrets("auth/ldap/#{entity_type}/").each do |entity|
%> * <%=entity%>: <%= secret("auth/ldap/#{entity_type}/#{entity}")['data'].to_json %>
<% end %>
<% end %>

<%# Example Output:
Users:
 * m.conraux: {"groups":"","policies":["operator"]}
 * p.souchay: {"groups":"","policies":["duck_factory_rw"]}

Groups:
 * usr-aws-passwords: {"policies":["aws_passwords"]}
 * gu-analytics: {"policies":["kibana", "hadoop"]}
%>

Version data entries

100 entries across 100 versions & 1 rubygems

Version Path
consul-templaterb-1.36.1 samples/vault-ldap.txt.erb
consul-templaterb-1.35.1 samples/vault-ldap.txt.erb
consul-templaterb-1.34.1 samples/vault-ldap.txt.erb
consul-templaterb-1.33.3 samples/vault-ldap.txt.erb
consul-templaterb-1.33.2 samples/vault-ldap.txt.erb
consul-templaterb-1.33.1 samples/vault-ldap.txt.erb
consul-templaterb-1.33.0 samples/vault-ldap.txt.erb
consul-templaterb-1.32.1 samples/vault-ldap.txt.erb
consul-templaterb-1.32.0 samples/vault-ldap.txt.erb
consul-templaterb-1.31.1 samples/vault-ldap.txt.erb
consul-templaterb-1.31.0 samples/vault-ldap.txt.erb
consul-templaterb-1.30.0 samples/vault-ldap.txt.erb
consul-templaterb-1.29.0 samples/vault-ldap.txt.erb
consul-templaterb-1.28.2 samples/vault-ldap.txt.erb
consul-templaterb-1.28.1 samples/vault-ldap.txt.erb
consul-templaterb-1.28.0 samples/vault-ldap.txt.erb
consul-templaterb-1.27.2 samples/vault-ldap.txt.erb
consul-templaterb-1.27.1 samples/vault-ldap.txt.erb
consul-templaterb-1.27.0 samples/vault-ldap.txt.erb
consul-templaterb-1.26.3 samples/vault-ldap.txt.erb