Files
terraform-provider-threshold/docs/resources/auth_method_password.md
T

1.7 KiB

page_title, subcategory, description
page_title subcategory description
boundary_auth_method_password Resource - terraform-provider-boundary The auth method resource allows you to configure a Boundary auth_method_password.

boundary_auth_method_password (Resource)

The auth method resource allows you to configure a Boundary auth_method_password.

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" "password" {
  scope_id = boundary_scope.org.id
}

resource "boundary_auth_method_password" "password_is_primary" {
  scope_id = boundary_scope.org.id
  is_primary_for_scope = true
}

Schema

Required

  • scope_id (String) The scope ID.

Optional

  • description (String) The auth method description.
  • is_primary_for_scope (Boolean) When true, makes this auth method the primary auth method for the scope in which it resides.
  • min_login_name_length (Number) The minimum login name length.
  • min_password_length (Number) The minimum password length.
  • name (String) The auth method name. Defaults to the resource name.
  • type (String) The resource type, hardcoded per resource

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_auth_method_password.foo <my-id>