Files
terraform-provider-threshold/docs/resources/account.md
T
Jeff Mitchell d622a0a80a Update docs and Makefile target (#57)
* Update examples

* Remove update-deps target...go get -u is generally not what you want and we want more targeted updates

* Go mod tidy

* Fix up tools

* Update docs
2020-10-13 20:12:03 -07:00

57 lines
1.4 KiB
Markdown

---
page_title: "boundary_account Resource - terraform-provider-boundary"
subcategory: ""
description: |-
The account resource allows you to configure a Boundary account.
---
# Resource `boundary_account`
The account resource allows you to configure a Boundary account.
## Example Usage
```terraform
resource "boundary_scope" "org" {
name = "organization_one"
description = "My first scope!"
scope_id = "global"
auto_create_admin_role = true
auto_create_default_role = true
}
resource "boundary_auth_method" "password" {
scope_id = boundary_scope.org.id
type = "password"
}
resource "boundary_account" "jeff" {
auth_method_id = boundary_auth_method.password.id
type = "password"
login_name = "jeff"
password = "$uper$ecure"
}
```
## Schema
### Required
- **auth_method_id** (String, Required) The resource ID for the auth method.
- **type** (String, Required) The resource type.
### Optional
- **description** (String, Optional) The account description.
- **login_name** (String, Optional) The login name for this account.
- **name** (String, Optional) The account name. Defaults to the resource name.
- **password** (String, Optional) The account password.
## Import
Import is supported using the following syntax:
```shell
terraform import boundary_account.foo <my-id>
```