Example:
rabbit_user:
rabbitmq_user.present:
- password: password
- force: True
- tags:
- monitoring
- user
- perms:
- '/':
- '.*'
- '.*'
- '.*'
- runas: rabbitmq
salt.states.rabbitmq_user.
absent
(name, runas=None)¶Ensure the named user is absent
The name of the user to remove
User to run the command
salt.states.rabbitmq_user.
present
(name, password=None, force=False, tags=None, perms=(), runas=None)¶Ensure the RabbitMQ user exists.
User name
The user's password
If force is True
, the password will be automatically updated without extra password change check.
Optional list of tags for the user
A list of dicts with vhost keys and 3-tuple values
Name of the user to run the command