How to Retrieve Connection Details for Vultr Container Registry

Updated on November 27, 2024

Retrieving Connection Details for Vultr Container Registry provides essential information, including endpoints and credentials, for seamless integration and secure access. This allows you to effectively manage and deploy container images across your applications. Vultr Container Registry ensures that you have the necessary details to connect and work with your container registry efficiently.

Follow this guide to retrieve the connection details of your container registry on your Vultr account using the Vultr Customer Portal, API, or CLI.

  • Vultr Customer Portal
  • Vultr API
  • Vultr CLI
  1. Navigate to Products and click Container Registry.

    Container Registry in the products menu

  2. Click your target registry to open its management page.

    Selection of a target container registry

  3. In the overview page, copy the registry connection details such as Registry URL, Username and API Key.

    Copy the registry connection details

  1. Send a GET request to the list Registries endpoint and note the target registry's ID.

    console
    $ curl "https://api.vultr.com/v2/registries" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  2. Send a GET request to the Read Registry endpoint and note the connection details for your target registry.

    console
    $ curl "https://api.vultr.com/v2/registry/<registry-id>" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  1. List all registries available in your Vultr account and note the target registry's ID.

    console
    $ vultr-cli container-registry list
    
  2. Get the target registry and note the connection details.

    console
    $ vultr-cli container-registry get <registry-id>