# Buckets and Access Keys

Source: https://docs.sliplane.io/object-storage/buckets-and-keys

Learn how buckets, access keys, versioning, object locking, and deletion work in Sliplane Object Storage.

Buckets are the top-level containers for objects in Sliplane Object Storage. Access keys are credentials that allow applications and S3 clients to access one bucket.

## Buckets

Buckets belong to your team. Any team member with access to Object Storage can manage the team's buckets in the Sliplane dashboard.

See [Limits](/object-storage/limits) for bucket and object restrictions.

## Versioning

Versioning keeps previous versions of objects when they are overwritten or deleted.

Enable versioning when you want protection against accidental overwrites or deletes. Keep in mind that stored versions count toward your total Object Storage usage.

## Object locking

Object locking prevents objects from being deleted or overwritten for a retention period.

Object locking also enables versioning.

## Access keys

Each access key is scoped to exactly one bucket.

An access key can:

* read and write objects in its bucket
* list objects in its bucket
* list buckets and see whether other buckets exist in the same team

An access key cannot read, write, or delete objects in any other bucket.

> **warn**
>
> Secret access keys are only returned once, when the key is created. If you lose a secret access key, delete the key and create a new one.

## Deleting access keys

Delete an access key when it is no longer used or if you think it may have been exposed.

Deleting an access key immediately prevents clients from using that key to access the bucket.

## Deleting buckets

When you delete a bucket, Sliplane schedules it for deletion with a 24-hour grace period.

After the grace period, the bucket and its access keys are removed.

> **warn**
>
> Deleting a bucket also deletes the objects stored in it. Make sure you have copied any data you still need before deleting a bucket.

## API

See the [bucket API reference](https://ctrl.sliplane.io/#tag/buckets).
