2022-07-27 16:08:17 -04:00
|
|
|
---
|
|
|
|
|
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
|
|
|
|
page_title: "boundary_credential_store_static Resource - terraform-provider-boundary"
|
|
|
|
|
subcategory: ""
|
|
|
|
|
description: |-
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
```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"
|
2022-08-10 14:15:51 -07:00
|
|
|
description = "My first static credential store!"
|
2022-07-27 16:08:17 -04:00
|
|
|
scope_id = boundary_scope.project.id
|
|
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
<!-- schema generated by tfplugindocs -->
|
|
|
|
|
## 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:
|
|
|
|
|
|
|
|
|
|
```shell
|
|
|
|
|
terraform import boundary_credential_store_static.example_static_credential_store <my-id>
|
|
|
|
|
```
|