github.com/danp/terraform@v0.9.5-0.20170426144147-39d740081351/website/source/docs/providers/rabbitmq/r/user.html.markdown (about) 1 --- 2 layout: "rabbitmq" 3 page_title: "RabbitMQ: rabbitmq_user" 4 sidebar_current: "docs-rabbitmq-resource-user" 5 description: |- 6 Creates and manages a user on a RabbitMQ server. 7 --- 8 9 # rabbitmq\_user 10 11 The ``rabbitmq_user`` resource creates and manages a user. 12 13 ~> **Note:** All arguments including username and password will be stored in the raw state as plain-text. 14 [Read more about sensitive data in state](/docs/state/sensitive-data.html). 15 16 ## Example Usage 17 18 ```hcl 19 resource "rabbitmq_user" "test" { 20 name = "mctest" 21 password = "foobar" 22 tags = ["administrator", "management"] 23 } 24 ``` 25 26 ## Argument Reference 27 28 The following arguments are supported: 29 30 * `name` - (Required) The name of the user. 31 32 * `password` - (Required) The password of the user. The value of this argument 33 is plain-text so make sure to secure where this is defined. 34 35 * `tags` - (Optional) Which permission model to apply to the user. Valid 36 options are: management, policymaker, monitoring, and administrator. 37 38 ## Attributes Reference 39 40 No further attributes are exported. 41 42 ## Import 43 44 Users can be imported using the `name`, e.g. 45 46 ``` 47 terraform import rabbitmq_user.test mctest 48 ```