(compatible with InfluxDB version 0.9+)
Ensure that given user is absent.
The name of the user to manage
present(name, passwd, 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 user present in influxdb: influxdb_user.present: - name: example - passwd: somepassword - admin: False - grants: foo_db: read bar_db: all
Generated on April 18, 2023 at 04:07:35 UTC.
You are viewing docs for the previous stable release, 3004.2. Switch to docs for the latest stable release, 3005.1, or to a recent doc build from the master branch.