@@ -36,8 +36,18 @@ OPTIONS:
3636 --netbox-proxy < netbox-proxy>
3737 HTTP(s) proxy to use to connect to Netbox [env: NETBOX_PROXY= ]
3838
39- --netbox-token < netbox-token> The Netbox token [env: NETBOX_TOKEN] [default: ]
40- --netbox-url < netbox-url> The Netbox API URL [env: NETBOX_URL= ]
39+ --netbox-tls-client-certificate < netbox-tls-client-certificate>
40+ The TLS certificate to use to authenticate to Netbox (PKCS12 format) [env: NETBOX_TLS_CLIENT_CERTIFICATE= ]
41+
42+ --netbox-tls-client-certificate-password < netbox-tls-client-certificate-password>
43+ The optional password for the netbox PKCS12 file [env: NETBOX_TLS_CLIENT_CERTIFICATE_PASSWORD= ]
44+
45+ --netbox-token < netbox-token>
46+ The Netbox token [env: NETBOX_TOKEN]
47+
48+ --netbox-url < netbox-url>
49+ The Netbox API URL [env: NETBOX_URL= ]
50+
4151 --netbox-vms-filter < netbox-vms-filter>
4252 The querystring to use to select the VM from netbox [env: NETBOX_VMS_FILTER= ]
4353
@@ -47,13 +57,25 @@ OPTIONS:
4757 --netshot-proxy < netshot-proxy>
4858 HTTP(s) proxy to use to connect to Netshot [env: NETSHOT_PROXY= ]
4959
50- --netshot-token < netshot-token> The Netshot token [env: NETSHOT_TOKEN]
51- --netshot-url < netshot-url> The Netshot API URL [env: NETSHOT_URL= ]
52- ` ` `
60+ --netshot-tls-client-certificate < netshot-tls-client-certificate>
61+ The TLS certificate to use to authenticate to Netshot (PKCS12 format) [env: NETSHOT_TLS_CLIENT_CERTIFICATE= ]
62+
63+ --netshot-tls-client-certificate-password < netshot-tls-client-certificate-password>
64+ The optional password for the netshot PKCS12 file [env: NETSHOT_TLS_CLIENT_CERTIFICATE_PASSWORD= ]
65+
66+ --netshot-token < netshot-token>
67+ The Netshot token [env: NETSHOT_TOKEN]
68+
69+ --netshot-url < netshot-url>
70+ The Netshot API URL [env: NETSHOT_URL= ]` ` `
5371
5472The query-string format need to be like this (url query string without the ` ? ` ):
5573
5674` ` ` bash
5775status=active& platform=cisco-ios& platform=cisco-ios-xe& platform=cisco-ios-xr& platform=cisco-nx-os& platform=juniper-junos& has_primary_ip=true& tenant_group=network
5876` ` `
5977
78+ If you plan to use TLS authentication, please provide a PKCS12 formatted identity file (.pfx or .p12), they can be created from .pem/.key/.crt using the following command:
79+ ` ` ` bash
80+ openssl pkcs12 -export -out my.pfx -inkey my.key -in my.crt
81+ ` ` `
0 commit comments