The account resource allows you to configure a Boundary account.
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"
}
auth_method_id
(String) The resource ID for the auth method.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.id
(String) The ID of the account.Import is supported using the following syntax:
terraform import boundary_account_password.foo <my-id>