How to Manage S3 Credentials for Vultr Object Storage Subscription

How to Manage S3 Credentials for Vultr Object Storage Subscription

Learn how to view and regenerate access credentials for your Vultr Object Storage S3-compatible buckets.


Managing S3 Credentials for Vultr Object Storage subscription allows viewing and regenerating access credentials for S3-compatible storage buckets. These credentials include the hostname, secret key, and access key. Your apps use these credentials to authenticate to the Vultr Object Storage subscription programmatically. You can also use these credentials to access a Vultr Object Storage subscription using any S3-compatible command-line tool like S3cmd.

Follow this guide to manage S3 Credentials for Vultr Object Storage subscription using the Vultr Customer Portal, API, and CLI.

  • Vultr Customer Portal
  1. Navigate to Products and select Cloud Storage.
  2. Click Object Storage and select the target Vultr Object Storage subscription.
  3. Select Overview, and navigate to S3 Credentials.
  4. Click Regenerate Keys if you need a new copy of the S3 credentials.
  • Vultr API
  1. Send a GET request to List Object Storages endpoint and note the s3_hostnames3_access_key, and s3_secret_key for your target Vultr Object Storage subscription.
    console
    $ curl "https://api.vultr.com/v2/object-storage" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}" \
        -H "Content-Type: application/json"
    
  2. Send a POST request to the Regenerate Object Storage Keys endpoint endpoint and specify a Vultr Object Storage subscription ID if you need to regenerate the keys.
    console
    $ curl "https://api.vultr.com/v2/object-storage/object_storage_id/regenerate-keys" \
        -X POST \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    

    Visit the Regenerate Object Storage Keys endpoint to view additional attributes to add to your request.

  • Vultr CLI
  1. List all Vultr Object Storage subscriptions and note the S3 HOSTNAMES3 ACCESS KEY, and the S3 SECRET KEY for your target subscription.
    console$ vultr-cli object-storage list
  2. Regenerate the keys by specifying a Vultr object storage subscription ID if you need a fresh copy of the credentials.
    console
    $ vultr-cli object-storage regenerate-keys object_storage_id
    

    Run vultr-cli object-storage regenerate-keys --help to view all options.

How to Manage S3 Credentials for Vultr Object Storage Subscription Learn how to view and regenerate access credentials for your Vultr Object Storage S3-compatible buckets. Managing S3 Credentials for Vultr Object Storage subscription allows viewing and regenerating access credentials for S3-compatible storage buckets. These credentials include the hostname, secret key,…

How to Manage S3 Credentials for Vultr Object Storage Subscription Learn how to view and regenerate access credentials for your Vultr Object Storage S3-compatible buckets. Managing S3 Credentials for Vultr Object Storage subscription allows viewing and regenerating access credentials for S3-compatible storage buckets. These credentials include the hostname, secret key,…

Leave a Reply

Your email address will not be published. Required fields are marked *