Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.3 KB

grafana_config_ldap_group_mapping.md

File metadata and controls

38 lines (28 loc) · 1.3 KB

grafana_config_ldap_group_mapping

back to resource list

Configures ldap group mapping http://docs.grafana.org/auth/ldap/#group-mappings

Introduced: v10.0.0

Actions

  • :create
  • :delete

Properties

Name Type Default Description Allowed Values
host String The LDAP host to apply the group mapping to
group_dn String
org_role String Admin Editor Viewer
grafana_admin True, False true false
org_id Integer

Examples

grafana_config_ldap_group_mapping 'cn=admins,dc=grafana,dc=org' do
  org_role      'Admin'
  grafana_admin true
  org_id        1
end
grafana_config_ldap_group_mapping 'cn=readers,dc=grafana,dc=org' do
  org_role      'Viewer'
end