Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ provider "panos" {
### Optional

- `additional_headers` (Map of String) Additional HTTP headers to send with API calls Environment variable: `PANOS_HEADERS`. JSON config file variable: `additional_headers`.
- `api_key` (String) The API key for PAN-OS. Either specify this or give both username and password. Environment variable: `PANOS_API_KEY`. JSON config file variable: `api_key`.
- `api_key` (String, Sensitive) The API key for PAN-OS. Either specify this or give both username and password. Environment variable: `PANOS_API_KEY`. JSON config file variable: `api_key`.
- `api_key_in_request` (Boolean) Send the API key in the request body instead of using the authentication header. Environment variable: `PANOS_API_KEY_IN_REQUEST`. JSON config file variable: `api_key_in_request`.
- `auth_file` (String) Filesystem path to a JSON config file that specifies the provider's params. JSON config file variable: `auth_file`.
- `config_file` (String) (Local inspection mode) The PAN-OS config file to load read in using `file()` JSON config file variable: `config_file`.
Expand Down
1 change: 1 addition & 0 deletions internal/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ func (p *PanosProvider) Schema(_ context.Context, _ provider.SchemaRequest, resp
"api_key",
),
Optional: true,
Sensitive: true,
},
"api_key_in_request": schema.BoolAttribute{
Description: ProviderParamDescription(
Expand Down
Loading