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.
Navigate to Products and select Cloud Storage.
Click Object Storage. Then, select the target Vultr Object Storage subscription.
Select Overview, and navigate to S3 Credentials. Click Regenerate Keys if you need a new copy of the S3 credentials.
Send a GET
request to List Object Storages endpoint and note the s3_hostname
, s3_access_key
, and s3_secret_key
for your target Vultr Object Storage subscription.
$ curl "https://api.vultr.com/v2/object-storage" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}" \
-H "Content-Type: application/json"
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.
$ 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.
List all Vultr Object Storage subscriptions and note the S3 HOSTNAME
, S3 ACCESS KEY
, and the S3 SECRET KEY
for your target subscription.
$ vultr-cli object-storage list
Regenerate the keys by specifying a Vultr object storage subscription ID if you need a fresh copy of the credentials.
$ vultr-cli object-storage regenerate-keys object_storage_id
Run vultr-cli object-storage regenerate-keys --help
to view all options.