Guides - Object Storage

Updated , by Linode

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.

  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. Revoke an Object Storage Key:

    linode-cli object-storage keys-delete $key_id
    
  6. 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