# show-key

The ssl show-key command retrieves the key files associated with a specific SSL certificate. This command requires the SSL certificate ID.

## Usage

```
cldkctl ssl show-key [id] [flags]
```

## Steps

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

1. Run the following command in your terminal:

```
cldkctl ssl show-key [ssl-id]
```

2. Replace `[ssl-id]` with the SSL certificate ID. To obtain the SSL certificate ID, refer to the ssl list section.
3. Select the key file you want to view when prompted.
4. Enter your password (this uses your user login password) when prompted.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FDYKXBxD1VIRS8KwhFXNx%2Funknown.png?alt=media&#x26;token=b93a5395-341d-462f-bf7a-a58d50b60ed4" alt=""><figcaption></figcaption></figure>

5. Once successful, the terminal displays the content of the selected key file.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FiGBjhiriYQlYB7KlJzec%2Funknown.png?alt=media&#x26;token=9e1aecb6-3721-4205-954b-b80f9644521b" alt=""><figcaption></figcaption></figure>

## Flags

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

| Flag       | Description                    |
| ---------- | ------------------------------ |
| -h, --help | Help for ssl show key command. |
