diff --git a/website/docs/r/resource_account.html.markdown b/website/docs/r/resource_account.html.markdown new file mode 100644 index 00000000..9ffd124c --- /dev/null +++ b/website/docs/r/resource_account.html.markdown @@ -0,0 +1,41 @@ +--- +layout: "boundary" +page_title: "Boundary: account_resource" +sidebar_current: "docs-boundary-account-resource" +description: |- + Account resource for the Boundary Terraform provider. +--- + +# boundary_account_resource +The account resource allows you to configure a Boundary account. + +## Example Usage + +```hcl +resource "boundary_organization" "main" {} + +resource "boundary_auth_method" "password" { + scope_id = boundary_organization.main.id + type = "password" +} + +resource "boundary_account" "jeff" { + auth_method_id = boundary_auth_method.password.id + type = "password" + login_name = "jeff" + password = "$uper$ecure" +} +``` + +## Argument Reference + +The following arguments are required: +* `auth_method_id` - The resource ID for the authentication method. +* `type` - The resource type + +The following arguments are optional: +* `description` - The account description. +* `name` - The account name. Defaults to the resource name. +* `login_name` - The login name for this account. +* `password` - The account password. + diff --git a/website/docs/r/resource_auth_method.html.markdown b/website/docs/r/resource_auth_method.html.markdown new file mode 100644 index 00000000..977b5a8f --- /dev/null +++ b/website/docs/r/resource_auth_method.html.markdown @@ -0,0 +1,34 @@ +--- +layout: "boundary" +page_title: "Boundary: auth_method_resource" +sidebar_current: "docs-boundary-auth-method-resource" +description: |- + Auth Method resource for the Boundary Terraform provider. +--- + +# boundary_auth_method_resource +The auth method resource allows you to configure a Boundary auth_method. + +## Example Usage + +```hcl +resource "boundary_organization" "main" {} + +resource "boundary_auth_method" "password" { + scope_id = boundary_organization.main.id + type = "password" +} +``` + +## Argument Reference + +The following arguments are required: +* `scope_id` - The scope ID. +* `type` - The resource type. + +The following arguments are optional: +* `description` - The auth method description. +* `name` - The auth method name. Defaults to the resource name. +* `min_login_name_length` - The minimum login name length. +* `min_password_length` - The minimum password length. +