Vultr DocsLatest Content


Create New API Key

Updated on 17 September, 2025

Create a new Vultr current user API key securely via portal or API.


Creating a new API Key for the current user allows you to manage access more securely, issue separate credentials for different integrations, and support key rotation without disrupting existing workflows.

Follow this guide to create a new API key for the current user in the Vultr Customer Portal or via Vultr API..

  • Vultr Customer Portal
  • Vultr API
  1. Navigate to Dashboard and select Vultr API under Orchestration.
  2. In User Access Tokens section, enter a Name, choose an API key Expiry option, and set the Expiry On date.
  3. Click Add Key.
  4. Copy the new API key and store it securely.
  1. Send a POST request to the Create API Key endpoint to generate a new API key for your current user account.

    console
    $ curl "https://api.vultr.com/v2/apikeys" \
        -X POST \
        -H "Authorization: Bearer ${VULTR_API_KEY}" \
        -H "Content-Type: application/json" \
        -d '{
            "name": "<api-key-name>",
            "expire": true,
            "date_expire": "2030-01-01T00:00:00Z"
        }'
    

    The response returns the new API key in plain text. Copy and store it securely, as you cannot view or recover it later from the portal or API.

Comments

No comments yet.