Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
louisruch committed Jun 24, 2021
1 parent 8eca003 commit 6a6f7bd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions docs/resources/credential_library_vault.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,24 +31,24 @@ resource "boundary_scope" "project" {
resource "boundary_credential_store_vault" "foo" {
name = "foo"
description = "My first Vault credential store!"
address = "127.0.0.1"
token = "s.0ufRo6XEGU2jOqnIr7OlFYP5"
address = "127.0.0.1" # change to Vault address
token = "s.0ufRo6XEGU2jOqnIr7OlFYP5" # change to valid Vault token
scope_id = boundary_scope.project.id
}
resource "boundary_credential_library_vault" "foo" {
name = "foo"
description = "My first Vault credential library!"
credential_store_id = boundary_credential_store_vault.foo.id
path = "my/secret/foo"
path = "my/secret/foo" # change to Vault backend path
http_method = "GET"
}
resource "boundary_credential_library_vault" "bar" {
name = "bar"
description = "My second Vault credential library!"
credential_store_id = boundary_credential_store_vault.foo.id
path = "my/secret/bar"
path = "my/secret/bar" # change to Vault backend path
http_method = "POST"
request_body = <<EOT
{
Expand Down
4 changes: 2 additions & 2 deletions docs/resources/target.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ resource "boundary_target" "foo" {
host_set_ids = [
boundary_host_set.foo.id
]
credential_library_ids = [
application_credential_library_ids = [
boundary_credential_library_vault.foo.id
]
}
Expand All @@ -104,7 +104,7 @@ resource "boundary_target" "foo" {

### Optional

- **credential_library_ids** (Set of String) A list of credential library ID's.
- **application_credential_library_ids** (Set of String) A list of application credential library ID's.
- **default_port** (Number) The default port for this target.
- **description** (String) The target description.
- **host_set_ids** (Set of String) A list of host set ID's.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,24 @@ resource "boundary_scope" "project" {
resource "boundary_credential_store_vault" "foo" {
name = "foo"
description = "My first Vault credential store!"
address = "127.0.0.1"
token = "s.0ufRo6XEGU2jOqnIr7OlFYP5"
address = "127.0.0.1" # change to Vault address
token = "s.0ufRo6XEGU2jOqnIr7OlFYP5" # change to valid Vault token
scope_id = boundary_scope.project.id
}

resource "boundary_credential_library_vault" "foo" {
name = "foo"
description = "My first Vault credential library!"
credential_store_id = boundary_credential_store_vault.foo.id
path = "my/secret/foo"
path = "my/secret/foo" # change to Vault backend path
http_method = "GET"
}

resource "boundary_credential_library_vault" "bar" {
name = "bar"
description = "My second Vault credential library!"
credential_store_id = boundary_credential_store_vault.foo.id
path = "my/secret/bar"
path = "my/secret/bar" # change to Vault backend path
http_method = "POST"
request_body = <<EOT
{
Expand Down

0 comments on commit 6a6f7bd

Please sign in to comment.