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.
- Navigate to the object's detail page and click Permanently delete. Alternatively, in the bucket object list view, select the checkbox next to the object and then click Permanently delete.
- Wait a few minutes and refresh the page to check that the object is 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 if you specify the versionID
when performing the deletion.
gdcloud
Delete a file from a bucket:
gdcloud storage rm s3://FULLY_QUALIFIED_BUCKET_NAME/OBJECT
Crypto shred objects in buckets with encryption v2
Retrieve all AEADKeys that belong to a bucket:
kubectl get aeadkeys -n PROJECT_NAMESPACE -l cmek.security.gdc.goog/resource-name=FULLY_QUALIFIED_BUCKET_NAME
Follow Delete a key to delete the intended AEADKey to crypto shred objects.