> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/guidance-for-enterprise/cloudeka-api-list/command-reference/cldkctl-flexi/security/update.md).

# update

Update an existing flexi security in your project. This command allows you to modify the details of an existing flexi security.

## Usage

```
cldkctl flexi security update [flags]
```

## Aliases

```
update, edit, modify
```

## Steps

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

1. Refer to the [**Flexi Security List**](/guidance-for-enterprise/cloudeka-api-list/command-reference/cldkctl-flexi/security/list.md) section to obtain the **security ID**.
2. Run the following command in your terminal:

```
cldkctl flexi security update [security_id] 
```

3. Replace **\[security\_id]** with the actual security ID.
4. Update the **Security Name** by entering the name of the security configuration, and update the **Description** by entering a description for the security configuration if needed.

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

5. Select the instances where the security configuration will be applied.

<figure><img src="/files/2V63eKYhbtePQDGuswJa" alt=""><figcaption></figcaption></figure>

6. When prompted, choose whether to add an inbound rule.

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

7. When prompted, choose whether to add an outbound rule.

<figure><img src="/files/7G8FuprRYGCwS3oo8ekg" alt=""><figcaption></figcaption></figure>

8. Confirm the update by selecting **Confirm**, or cancel the process by selecting **Cancel**.

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

9. Once completed successfully, the terminal displays the success message.

<figure><img src="/files/2DL8wr5lqmQDtLfrL7w8" alt=""><figcaption></figcaption></figure>

## Flags

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

| Flag   | Shorthand | Description                  |
| ------ | --------- | ---------------------------- |
| --help | -h        | Help for the update command. |
