Skip to content

Commit 4e068f0

Browse files
MrKeiKunfbreckle
authored andcommitted
docs: regenerate provider docs to include v2 token support
1 parent 8935141 commit 4e068f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ provider "netbox" {
6262

6363
### Required
6464

65-
- `api_token` (String) Netbox API authentication token. Can be set via the `NETBOX_API_TOKEN` environment variable.
65+
- `api_token` (String) Netbox API authentication token. Supports both v1 tokens (`Authorization: Token <key>`) and v2 tokens (`Authorization: Bearer nbt_<key>.<token>`). V2 tokens are auto-detected by their `nbt_` prefix. Can be set via the `NETBOX_API_TOKEN` environment variable.
6666
- `server_url` (String) Location of Netbox server including scheme (http or https) and optional port. Can be set via the `NETBOX_SERVER_URL` environment variable.
6767

6868
### Optional

0 commit comments

Comments
 (0)