Skip to content

Commit

Permalink
Chore: modify provider documentation for api_key and api_secret (#748)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomerHeber committed Nov 16, 2023
1 parent adc0d62 commit 28db964
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions env0/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ func Provider(version string) plugin.ProviderFunc {
},
"api_key": {
Type: schema.TypeString,
Description: "env0 API key. Instead of this field, it can also be set via the ENV0_API_KEY environment variable.",
Description: "env0 API key. This field can be removed from the provider block; instead of the field, you can set the value via the ENV0_API_KEY environment variable.",
DefaultFunc: schema.EnvDefaultFunc(apiKeyEnv, nil),
Optional: true,
Sensitive: true,
},
"api_secret": {
Type: schema.TypeString,
Description: "env0 API secret. Instead of this field, it can also be set via the ENV0_API_SECRET environment variable.",
Description: "env0 API secret. This field can be removed from the provider block; instead of the field, you can set the value via the ENV0_API_SECRET environment variable.",
DefaultFunc: schema.EnvDefaultFunc(apiSecretEnv, nil),
Optional: true,
Sensitive: true,
Expand Down

0 comments on commit 28db964

Please sign in to comment.