How to Retrieve Connection Details for Vultr Managed Apache Kafka®

Updated on November 27, 2024

Vultr Managed Apache Kafka® allows customers to retrieve essential information for connecting to their Kafka database. Users can easily access details such as Host, Port, and SSL certificates to facilitate secure and reliable connections. This user-friendly interface ensures customers have the necessary information at their fingertips to configure their applications and services for seamless integration with their Kafka environment.

Follow this guide to manage connection details for Vultr Managed Apache Kafka® using the Vultr Customer Portal, API, and CLI.

  • Vultr Customer Portal
  • Vultr API
  • Vultr CLI
  1. Navigate to Products and select Databases.

    Database selection products menu

  2. Select the target database.

    Selecting a target database

  3. Navigate to Connection Details under Overview.

  4. Copy Connection URL.

  5. Download Signed Certificate and save the certificate.

    Copy connection details

  1. List all the databases by sending a GET request to the List Managed Databases endpoint and note the target database's ID.

    console
    $ curl "https://api.vultr.com/v2/databases" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  2. Send a GET request to the Get Managed Database endpoint and specify the target database's ID.

    console
    $ curl "https://api.vultr.com/v2/databases/<database-id>" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    

    Visit the Get Managed Database endpoint to view additional attributes to add to your request.

  3. Copy the host, port, user, and password values.

  1. List all databases and note the target database's ID.

    console
    $ vultr-cli database list --summarize
    
  2. Retrieve connection details by specifying the target database's ID.

    console
    $ vultr-cli database get <database-id>
    

    Run vultr-cli database get --help to view all options.