Files
terraform-provider-threshold/docs/resources/credential_password.md
T
Bharath Gajjala d738671047 Password Credential support (#758)
* feat(password credential): Add password credential type support

* build(deps): upgrade Boundary to v0.21.0 and update dependencies

* chore: update go.mod and go.sum from main

* Dependency cleanup
2025-12-16 22:29:42 -05:00

2.1 KiB

page_title, subcategory, description
page_title subcategory description
boundary_credential_password Resource - terraform-provider-boundary 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

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 can be used, for example:

terraform import boundary_credential_password.example <my-id>