1.7 KiB
1.7 KiB
page_title, subcategory, description
| page_title | subcategory | description |
|---|---|---|
| boundary_account_password Resource - terraform-provider-boundary | The account resource allows you to configure a Threshold account. |
boundary_account_password (Resource)
The account resource allows you to configure a Threshold account.
Example Usage
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
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:
The terraform import command can be used, for example:
terraform import boundary_account_password.foo <my-id>