> For the complete documentation index, see [llms.txt](https://docs.ionos.com/cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionos.com/cloud/backup-and-storage/ionos-object-storage/how-tos/manage-keys.md).

# Manage Keys

For each user, an Object Storage key must be generated manually using [<mark style="color:blue;">Generate a Key</mark>](/cloud/backup-and-storage/ionos-object-storage/get-started/generate-key.md).

## Activate or deactivate a key

1\. In the **DCD**, go to **Menu** > **Backup & Storage** > **Object Storage**.

2\. In the **Key management** tab, go to the **Access keys** section that lists all keys present in your account.

3\. Select the key and toggle on or off the **Active** option to activate or deactivate the key.

![Toggle key active status](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-d0a58071ea5d3e71fe9d15dfa871c65e6e863256%2Fobject-storage-key-activate-deactivate.png?alt=media)

{% hint style="success" %}
**Result:** The access key status is set as `active` when toggled on and `deactivated` when toggled off.
{% endhint %}

{% hint style="warning" %}
**Warning:**

* When you have only one access key, disabling this key will lose your access to all existing buckets. However, the objects remain and usage costs continue to apply.
* To avoid losing access to your Object Storage buckets, you need at least one active access key. You can either generate a new access key or set an existing deactivated key as `active`.
  {% endhint %}

## Activate or deactivate keys of other users

{% hint style="info" %}
**Prerequisite:** Only contract administrators and owners can set up the object storage and manage keys for other users. Make sure you have the corresponding permission.
{% endhint %}

1\. In the **DCD**, go to **Menu** > **Management** > **Users & Groups**.

2\. Select the user from the **Users** list and click the **Object Storage Keys** tab.

3\. Select the checkbox **Active** against the **Key** you want to set as active. Uncheck the checkbox to deactivate the key.

![Key active](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-49f0a0f4f58bc2f229987e6364cf8880b1dd2d75%2Fobject-storage-active-key-other-user.png?alt=media)

{% hint style="success" %}
**Result:** The access key status is successfully updated.
{% endhint %}

## Delete a key

1\. In the **DCD**, go to **Menu** > **Backup & Storage** > **Object Storage**.

2\. In the **Key management** tab, go to the **Access keys** section that lists all keys present in your account.

3\. Select the key to be deleted and click **Delete**.

{% hint style="warning" %}
**Warning:** Any access associated with this key will be revoked and cannot be restored.
{% endhint %}

![Delete key](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-adeb8c5fc0c36939844938b691fcebb9e2bacc19%2Fobject-storage-delete-key.png?alt=media)

4\. To confirm the deletion of the key, click **Delete**.

{% hint style="success" %}
**Result:** The access key is successfully deleted.
{% endhint %}

{% hint style="warning" %}
**Warning:** When you have only one access key with existing buckets, you cannot delete this key. You can either choose to [<mark style="color:blue;">Deactivate a key</mark>](#activate-or-deactivate-a-key) or create a new access key before deleting the selected key. You can also delete existing buckets and continue with deleting the last access key.
{% endhint %}

## Delete key of other users

{% hint style="info" %}
**Prerequisite:** Only contract administrators and owners can delete keys for other users. Make sure you have the corresponding permission.
{% endhint %}

1\. In the **DCD**, go to **Menu** > **Management** > **Users & Groups**.

2\. Select the user from the **Users** list and click the **Object Storage Keys** tab.

3\. Select the key to be deleted from the list of keys and click **Delete**.

{% hint style="warning" %}
**Warning:** Any access associated with this key will be revoked and cannot be restored.
{% endhint %}

![Delete key](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-13cb4f98872fc3d8b960c389ddf54ae7413dec0d%2Fobject-storage-delete-key-users.png?alt=media)

4\. To confirm the deletion of the key, click **OK**.

{% hint style="success" %}
**Result:** The access key is successfully deleted.
{% endhint %}

## API

Use the [<mark style="color:blue;">API</mark>](https://docs.ionos.com/cloud/api-reference/cloud-api-v6/user-s3-keys/) or [<mark style="color:blue;">Object Storage Management API</mark>](https://docs.ionos.com/cloud/api-reference/storage-and-backup/ionos-object-storage/ionos-object-storage-management/) to manage Object Storage access keys.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ionos.com/cloud/backup-and-storage/ionos-object-storage/how-tos/manage-keys.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
