62 lines
1.5 KiB
Markdown
62 lines
1.5 KiB
Markdown
---
|
|
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
|
page_title: "boundary_account_password Resource - terraform-provider-boundary"
|
|
subcategory: ""
|
|
description: |-
|
|
The account resource allows you to configure a Boundary account.
|
|
---
|
|
|
|
# boundary_account_password (Resource)
|
|
|
|
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_password" "jeff" {
|
|
auth_method_id = boundary_auth_method.password.id
|
|
login_name = "jeff"
|
|
password = "$uper$ecure"
|
|
}
|
|
```
|
|
|
|
<!-- schema generated by tfplugindocs -->
|
|
## Schema
|
|
|
|
### Required
|
|
|
|
- `auth_method_id` (String) The resource ID for the auth method.
|
|
|
|
### Optional
|
|
|
|
- `description` (String) The account description.
|
|
- `login_name` (String) The login name for this account.
|
|
- `name` (String) The account name. Defaults to the resource name.
|
|
- `password` (String, Sensitive) The account password. Only set on create, changes will not be reflected when updating account.
|
|
- `type` (String, Deprecated) The resource type.
|
|
|
|
### Read-Only
|
|
|
|
- `id` (String) The ID of the account.
|
|
|
|
## Import
|
|
|
|
Import is supported using the following syntax:
|
|
|
|
```shell
|
|
terraform import boundary_account_password.foo <my-id>
|
|
```
|