--- # generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "boundary_credential_password Resource - terraform-provider-boundary" subcategory: "" description: |- The password credential resource allows you to configure a credential using a password. --- # boundary_credential_password (Resource) The password credential resource allows you to configure a credential using a password. ## Example Usage ```terraform resource "boundary_scope" "org" { name = "organization_one" description = "global scope" scope_id = "global" auto_create_admin_role = true auto_create_default_role = true } resource "boundary_scope" "project" { name = "project_one" description = "My first scope!" scope_id = boundary_scope.org.id auto_create_admin_role = true } resource "boundary_credential_store_static" "example" { name = "example_static_credential_store" description = "My first static credential store!" scope_id = boundary_scope.project.id } resource "boundary_credential_password" "example" { name = "example_password" description = "My first password credential!" credential_store_id = boundary_credential_store_static.example.id password = "my-password" } ``` ## Schema ### Required - `credential_store_id` (String) The credential store in which to save this password credential. - `password` (String, Sensitive) The password of this password credential. ### Optional - `description` (String) The description of this password credential. - `name` (String) The name of this password credential. Defaults to the resource name. ### Read-Only - `id` (String) The ID of this password credential. - `password_hmac` (String) The password hmac. ## Import Import is supported using the following syntax: The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example: ```shell terraform import boundary_credential_password.example ```