(compatible with InfluxDB version 0.9+)
salt.states.influxdb_user.
absent
(name, **client_args)¶Ensure that given user is absent.
The name of the user to manage
salt.states.influxdb_user.
present
(name, password, admin=False, grants=None, **client_args)¶Ensure that given user is present.
Name of the user to manage
Password of the user
Whether the user should have cluster administration privileges or not.
Optional - Dict of database:privilege items associated with the user. Example:
foo_db: read bar_db: all
Example:
example user present in influxdb:
influxdb_user.present:
- name: example
- password: somepassword
- admin: False
- grants:
foo_db: read
bar_db: all
Generated on February 03, 2020 at 00:04:54 UTC.
You are viewing docs for the previous stable release, 2018.3.5. Switch to docs for the latest stable release, 2019.2.3, or to a recent doc build from the master branch.
© 2020 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy