How to Retrieve Connection Details for Vultr Container Registry

Updated on September 23, 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.

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

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

  1. Send a GET request to the List Container 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 Container 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 available registries 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>
    

Comments

No comments yet.