Files
terraform-provider-threshold/docs/resources/credential_store_static.md
T
Danielle 48672fd050 Static Credential Store (#236)
* added static store plus single test

* revert gomod and gosum changes

* upgrade boundary version from 0.8.1 to 0.9.1

* merged 0.9.1 update and cleaned up test file

* added example for static store, cleanup store and testfile for PR

* update scope test to ignore auto_create_admin_role needed for static credential store test

* update schema function and test comment

* remove auto_create_admin_role in favor of depends_on, and remove all references to the former
2022-07-27 16:08:17 -04:00

1.6 KiB

page_title, subcategory, description
page_title subcategory description
boundary_credential_store_static Resource - terraform-provider-boundary The static credential store resource allows you to configure a Boundary static credential store.

boundary_credential_store_static (Resource)

The static credential store resource allows you to configure a Boundary static credential store.

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 sttatic credential store!"
  scope_id    = boundary_scope.project.id
}

Schema

Required

  • scope_id (String) The scope for this credential store.

Optional

  • description (String) The static credential store description.
  • name (String) The static credential store name. Defaults to the resource name.

Read-Only

  • id (String) The ID of the static credential store.

Import

Import is supported using the following syntax:

terraform import boundary_credential_store_static.example_static_credential_store <my-id>