Stay organized with collections
Save and categorize content based on your preferences.
This page shows you how to delete objects from Google Distributed Cloud (GDC) air-gapped storage buckets.
Before you begin
A project namespace manages bucket resources in the Management API server. You
must have a project to work with buckets and objects.
You must also have the appropriate bucket permissions to perform the following
operation. See Grant bucket access.
Delete objects in buckets
Console
In the navigation menu, click Object Storage.
Click the name of the bucket containing the objects.
Wait to be redirected to the Bucket details page with objects listed in a table.
Click deleteDelete at the end of the row of the object to be deleted.
Wait a few minutes and refresh the page to check that the object is deleted.
Optional: Toggle the Show deleted data option to see which objects you've deleted.
Note that all objects in dual-zone buckets are versioned, so deleting an object won't remove that object from storage. Instead, the object will be marked for deletion and will no longer be visible in LIST calls. The object can still be retrieved by specifying its version ID. An object is permanently deleted only when specifying the versionID when performing the deletion.
CLI
To delete a file from a bucket, run the following command:
gdcloudstoragerms3://BUCKET/OBJECT
Crypto shred objects in buckets with encryption v2
You can use the following to retrieve all AEADKeys belong to this bucket:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-28 UTC."],[[["This guide details how to delete objects from Google Distributed Cloud (GDC) air-gapped storage buckets using both the console and the CLI."],["A project namespace is required to manage bucket resources, and users must have the necessary bucket permissions to delete objects."],["The console method involves navigating to the Object Storage, selecting a bucket, and clicking the delete option on the row of each object intended for deletion."],["The CLI method involves running the command `gdcloud storage rm s3://BUCKET/OBJECT`, replacing BUCKET and OBJECT with the correct bucket and object names."],["Deleting an AEADKey in buckets encrypted with encryption v2 will permanently erase the associated data, and to delete an AEADKey, you must identify it with `kubectl get aeadkeys`, then follow instructions to delete a key."]]],[]]