> 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/deka-gpu-documentations/panduan-untuk-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**](/deka-gpu-documentations/panduan-untuk-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="https://753761090-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtAYQyBIz2BclZ3ZHHlS4%2Fuploads%2Fgit-blob-8032bba8554baaa89649bbd5cd7aab281d3994ca%2Fimage%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://753761090-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtAYQyBIz2BclZ3ZHHlS4%2Fuploads%2Fgit-blob-d8910a146f3613aa10ea09a168848a0582763328%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://753761090-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtAYQyBIz2BclZ3ZHHlS4%2Fuploads%2Fgit-blob-a1142a38b8a059d25716fad3f58924b5f6048f2b%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://753761090-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtAYQyBIz2BclZ3ZHHlS4%2Fuploads%2Fgit-blob-5467e7179b10a9161728ceaea7fe298a35a6c55f%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://753761090-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtAYQyBIz2BclZ3ZHHlS4%2Fuploads%2Fgit-blob-63ec06963b6d0234c88428ed9be09e6fb3facbbb%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://753761090-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtAYQyBIz2BclZ3ZHHlS4%2Fuploads%2Fgit-blob-3a288283f3c183d69238c5b091d4954088900167%2Fimage%20(2).png?alt=media" alt=""><figcaption></figcaption></figure>

## Flags

{% hint style="info" %}
This command supports [global flags](/deka-gpu-documentations/panduan-untuk-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. |
