List API Key
-
by Blog Admin
- 12
List API Key
List Vultr user API keys with admin access to audit, monitor, and manage credentials.
Listing a user’s API keys allows you to audit active credentials, monitor usage, and manage key rotation effectively. Regularly reviewing API keys helps maintain security by identifying unused or outdated credentials.
This guide covers listing API Keys for other users. You must have root or administrator account credentials in Vultr to perform these actions.
Follow this guide to list a user’s API keys in the Vultr Customer Portal or through the Vultr API.
Vultr Customer Portal
- Navigate to Account and select Users under OTHER.
- Select the user from the list and click the Edit User icon.
- Scroll to the
User Access Tokens
section to view all API keys associated with the user.
Vultr API
- Send a
GET
request to the Get Users endpoint to list all users.console$ curl "https://api.vultr.com/v2/users" \ -X GET \ -H "Authorization: Bearer ${VULTR_API_KEY}"
Note the
id
of the user whose API keys you want to list. - Send a
GET
request to the List User API Keys endpoint to list all keys for that user.console$ curl "https://api.vultr.com/v2/users/{user-id}/apikeys" \ -X GET \ -H "Authorization: Bearer ${VULTR_API_KEY}"
- (Optional) Send a
GET
request to the Get User API Key endpoint to retrieve details for a single key by ID.console$ curl "https://api.vultr.com/v2/users/{user-id}/apikeys/{apikey-id}" \ -X GET \ -H "Authorization: Bearer ${VULTR_API_KEY}"
List API Key List Vultr user API keys with admin access to audit, monitor, and manage credentials. Listing a user’s API keys allows you to audit active credentials, monitor usage, and manage key rotation effectively. Regularly reviewing API keys helps maintain security by identifying unused or outdated credentials. Note This…
List API Key List Vultr user API keys with admin access to audit, monitor, and manage credentials. Listing a user’s API keys allows you to audit active credentials, monitor usage, and manage key rotation effectively. Regularly reviewing API keys helps maintain security by identifying unused or outdated credentials. Note This…