# salt.states.rabbitmq_user

Manage RabbitMQ Users.

    rabbit_user:
        rabbitmq_user.present:
            - password: password
            - force: True
            - tags: administrator
            - permissions:
              - '/':
                - '.*'
                - '.*'
                - '.*'
            - runas: rabbitmq

`salt.states.rabbitmq_user.` `absent`(name, runas=None)

  Ensure the named user is absent

  name
    The name of the user to remove
  runas
    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.

  name
    User name
  password
    User's password, if one needs to be set
  force
    If user exists, forcibly change the password
  tags
    Optionally set user tags for user
  perms
    A list of dicts with vhost keys and 3-tuple values
  runas
    Name of the user to run the command

Current Salt release: 0.17.1

#### Previous topic

salt.states.rabbitmq_policy

#### Next topic

salt.states.rabbitmq_vhost

### Quick search

Enter search terms or a module, class or function name.

### Upcoming SaltStack Events

My conferences on Lanyrd