56 lines
1.3 KiB
Markdown
56 lines
1.3 KiB
Markdown
---
|
|
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
|
page_title: "boundary_auth_method Resource - terraform-provider-boundary"
|
|
subcategory: ""
|
|
description: |-
|
|
The auth method resource allows you to configure a Boundary auth_method.
|
|
---
|
|
|
|
# boundary_auth_method (Resource)
|
|
|
|
The auth method resource allows you to configure a Boundary auth_method.
|
|
|
|
## 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"
|
|
}
|
|
```
|
|
|
|
<!-- schema generated by tfplugindocs -->
|
|
## Schema
|
|
|
|
### Required
|
|
|
|
- `scope_id` (String) The scope ID.
|
|
- `type` (String) The resource type.
|
|
|
|
### Optional
|
|
|
|
- `description` (String) The auth method description.
|
|
- `min_login_name_length` (Number, Deprecated) The minimum login name length.
|
|
- `min_password_length` (Number, Deprecated) The minimum password length.
|
|
- `name` (String) The auth method name. Defaults to the resource name.
|
|
|
|
### Read-Only
|
|
|
|
- `id` (String) The ID of the account.
|
|
|
|
## Import
|
|
|
|
Import is supported using the following syntax:
|
|
|
|
```shell
|
|
terraform import boundary_auth_method.foo <my-id>
|
|
```
|