Skip to content

Commit a0041c2

Browse files
committed
step to verify proxmox token, secret
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
1 parent cc083c1 commit a0041c2

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

source/adminguide/extensions/builtin_extensions.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,26 @@ Note down the **user**, **token**, and **secret**.
4545
|proxmox-add-token.png|
4646
|proxmox-api-token-permission.png|
4747

48+
To check whether the **token** and **secret** are working fine, you can check the following:
49+
50+
.. code-block:: bash
51+
52+
export PVE_TOKEN='root@pam!token2=secret'
53+
54+
curl -s -k -H "Authorization: PVEAPIToken=$PVE_TOKEN" https://<proxmox-ip>:8006/api2/json/version | jq
55+
56+
It should return a JSON response similar to this:
57+
58+
.. code-block:: json
59+
60+
{
61+
"data": {
62+
"repoid": "ec58e45e1bcdf2ac",
63+
"version": "8.4.0",
64+
"release": "8.4"
65+
}
66+
}
67+
4868
Adding Proxmox to CloudStack
4969
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5070

0 commit comments

Comments
 (0)