# access-key-create

The box access-key-create command creates a new access key for a specific object storage instance. This command generates a new access key and secret access key, which can be used to authenticate and access the object storage via S3-compatible services.

## Usage

```
cldkctl box access-key-create [flags] 
```

## Steps

Follow the steps below to run and view the result of this command:

1. View your available object storage instances to find the Object Storage ID. Refer to the Box List section.
2. Run the following command in your terminal:

```
cldkctl box access-key-create <object-storage-id>
```

3. Replace `<object-storage-id>` with the ID of the object storage where the access key will be created.
4. In the interactive interface, select the User to associate with the access key.
5. Enter the Access Key Name

<figure><img src="/files/nfGqxe6qK7272Laap0zZ" alt=""><figcaption></figcaption></figure>

6. Confirm the creation by selecting y, or cancel by choosing n.

<figure><img src="/files/rZT5vgfaPsXP2Yb75ehL" alt=""><figcaption></figcaption></figure>

7. Once completed successfully, a message **“✓ Access Key created successfully!”** will appear in your terminal.
8. Along with this message, the Secret Access Key will also be displayed. Make sure to copy and securely store the secret key immediately, as it may only be shown once.

<figure><img src="/files/MEo0Hm0kXLhtA9jlsWef" alt=""><figcaption></figcaption></figure>

## Flags

{% hint style="info" %}
This command supports [global flags](/cloudeka-api-list/global-flags.md). Refer to the Global Flags section for details
{% endhint %}

| Flag       | Description                             |
| ---------- | --------------------------------------- |
| -h, --help | Help for box access-key-create command. |


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudeka.ai/cloudeka-api-list/command-reference/cldkctl-box/access-key-create.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
