Manage Grafana v4.0 users
New in version 2017.7.0.
This state requires a configuration profile to be configured in the minion config, minion pillar, or master config. The module will use the 'grafana' key by default, if defined.
Example configuration using basic authentication:
grafana: grafana_url: http://grafana.localhost grafana_user: admin grafana_password: admin grafana_timeout: 3
Example configuration using token based authentication:
grafana: grafana_url: http://grafana.localhost grafana_token: token grafana_timeout: 3
Ensure foobar user is present:
grafana4_user.present:
- name: foobar
- password: mypass
- email: "foobar@localhost"
- fullname: Foo Bar
- is_admin: true Ensure that a user is present.
Name of the user to remove.
Configuration profile used to connect to the Grafana instance. Default is 'grafana'.
Ensure that a user is present.
Name of the user.
Password of the user.
Email of the user.
Optional - Set user as admin user. Default: False
Optional - Full name of the user.
Optional - Selected theme of the user.
Configuration profile used to connect to the Grafana instance. Default is 'grafana'.
© 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltproject.io/en/latest/ref/states/all/salt.states.grafana4_user.html