Skip to content

Commit

Permalink
docs: update provider authentication documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kaldorn committed Jan 3, 2024
1 parent b89afde commit 0d6d69a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,17 @@ provider "doppler" {
```

<!-- schema generated by tfplugindocs -->

## Schema

### Required

- `doppler_token` (String) A Doppler token, either a personal or service token
- `doppler_token` (String) A Doppler token, either a personal or service token. This can also be set via the DOPPLER_TOKEN environment variable.

### Optional

- `host` (String) The Doppler API host (i.e. https://api.doppler.com)
- `verify_tls` (Boolean) Whether or not to verify TLS
- `host` (String) The Doppler API host (i.e. https://api.doppler.com). This can also be set via the DOPPLER_API_HOST environment variable.
- `verify_tls` (Boolean) Whether or not to verify TLS. This can also be set via the DOPPLER_VERIFY_TLS environment variable.

## Getting Help

Expand Down
6 changes: 3 additions & 3 deletions doppler/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ func Provider() *schema.Provider {
return &schema.Provider{
Schema: map[string]*schema.Schema{
"host": {
Description: "The Doppler API host (i.e. https://api.doppler.com)",
Description: "The Doppler API host (i.e. https://api.doppler.com). This can also be set via the DOPPLER_API_HOST environment variable.",
Type: schema.TypeString,
Optional: true,
DefaultFunc: schema.EnvDefaultFunc("DOPPLER_API_HOST", defaultAPIHost),
},
"verify_tls": {
Description: "Whether or not to verify TLS",
Description: "Whether or not to verify TLS. This can also be set via the DOPPLER_VERIFY_TLS environment variable.",
Type: schema.TypeBool,
Optional: true,
DefaultFunc: schema.EnvDefaultFunc("DOPPLER_VERIFY_TLS", true),
},
"doppler_token": {
Description: "A Doppler token, either a personal or service token",
Description: "A Doppler token, either a personal or service token. This can also be set via the DOPPLER_TOKEN environment variable.",
Type: schema.TypeString,
Required: true,
DefaultFunc: schema.EnvDefaultFunc("DOPPLER_TOKEN", nil),
Expand Down

0 comments on commit 0d6d69a

Please sign in to comment.