diff --git a/docs/index.md b/docs/index.md index 06fb091f..50ba4f78 100644 --- a/docs/index.md +++ b/docs/index.md @@ -18,10 +18,10 @@ and [1Password Service Accounts](https://developer.1password.com/docs/secrets-au ```terraform provider "onepassword" { - url = "http://localhost:8080" - token = "CONNECT_TOKEN" + url = "http://localhost:8080" + token = "CONNECT_TOKEN" service_account_token = "SERVICE_ACCOUNT_TOKEN" - op_cli_path = "op_cli_path" + op_cli_path = "OP_CLI_PATH" } ``` diff --git a/examples/provider/provider.tf b/examples/provider/provider.tf index 8939835c..201b4389 100644 --- a/examples/provider/provider.tf +++ b/examples/provider/provider.tf @@ -1,3 +1,6 @@ provider "onepassword" { - url = "http://localhost:8080" + url = "http://localhost:8080" + token = "CONNECT_TOKEN" + service_account_token = "SERVICE_ACCOUNT_TOKEN" + op_cli_path = "OP_CLI_PATH" } diff --git a/templates/index.md.tmpl b/templates/index.md.tmpl index ee6ae1c0..8b4d8309 100644 --- a/templates/index.md.tmpl +++ b/templates/index.md.tmpl @@ -9,8 +9,6 @@ description: |- Use the 1Password Terraform Provider to reference, create, or update items in your existing vaults using [1Password Secrets Automation](https://1password.com/secrets). -## Using a Service Account Token - The 1Password Terraform Provider supports both the [1Password Connect Server](https://developer.1password.com/docs/secrets-automation/#1password-connect-server) and [1Password Service Accounts](https://developer.1password.com/docs/secrets-automation/#1password-service-accounts). To use a service account token, the [1Password CLI](https://developer.1password.com/docs/cli) has to be installed on the machine running terraform. For how to do this in terraform cloud, see