Guides - Object Storage

The Linode CLI is a wrapper around the Linode API that allows you to manage your Linode account from the command line. Virtually any task that can be done through the Linode Manager can be done through the CLI, making it an excellent tool for scripting.

Create a Linode account to try this guide with a $100 credit.
This credit will be applied to any valid services used during your first 60 days.
  1. List the current Object Storage Clusters available to use:

    linode-cli object-storage clusters-list
    
  2. Create a new Object Storage Key for your account:

    linode-cli object-storage keys-create --label "my-object-storage-key"
    
  3. List Object Storage Keys for authenticating to the Object Storage S3 API:

    linode-cli object-storage keys-list
    
  4. Update an Object Storage Key label:

    linode-cli object-storage keys-update --keyId $key_id --label "my-new-object-storage-key"
    
  5. Upload a TLS/SSL Certificate:

    linode-cli object-storage ssl-upload us-east-1 example-bucket --certificate "my-full-certificate" --private_key "my-full-private-key"
    
  6. View an Active TLS/SSL Certificate:

    linode-cli object-storage ssl-view us-east-1 example-bucket
    
  7. Revoke an Object Storage Key:

    linode-cli object-storage keys-delete $key_id
    
  8. Delete an Active TLS/SSL Certificate:

    linode-cli object-storage ssl-delete us-east-1 example-bucket
    
  9. Cancel Object Storage on your Account. All buckets on the Account must be empty before Object Storage can be cancelled.

    linode-cli object-storage cancel
    

This page was originally published on


Your Feedback Is Important

Let us know if this guide made it easy to get the answer you needed.