salt.states.influxdb_user

Management of InfluxDB users

(compatible with InfluxDB version 0.9+)

salt.states.influxdb_user.__virtual__()

Only load if the influxdb module is available

salt.states.influxdb_user.absent(name, **client_args)

Ensure that given user is absent.

name
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
Name of the user to manage
password
Password of the user
admin : False
Whether the user should have cluster administration privileges or not.
grants

Optional - Dict of database:privilege items associated with the user. Example:

grants:
foo_db: read bar_db: all

Example:

Docs for previous releases are available on readthedocs.org.

Latest Salt release: 2018.3.0

Table Of Contents

Previous topic

salt.states.influxdb_retention_policy module