> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nebius.com/llms.txt
> Use this file to discover all available pages before exploring further.

# nebius kms asymmetric-key create

## Name

`nebius kms asymmetric-key create`

Creates an asymmetric KMS key in the specified container.

## Synopsis

```
nebius kms asymmetric-key create
  --algorithm [required]
  --description
  --labels
  --name
  --parent-id [required]
  --resource-version
  --async
  -i, --interactive
```

## Examples

**Create an asymmetric key**

```
nebius kms asymmetric-key create \
   --name <key_name> \
   --description "<key_description>" \
   --algorithm <asymmetric_key_algorithm>
```

**Create an asymmetric key and save its ID**

```
export KEY_ID=$(nebius kms asymmetric-key create \
   --name my-asymmetric-key \
   --algorithm ecdsa_nist_p256_sha_256 \
   --format jsonpath='{.metadata.id}')
```

## Options

`--algorithm` (string)* \[required]*

Cryptographic algorithm that should be used with the key.\

Must be specified only during create operations. Cannot be updated.

A value must be one of:

<ul>
  <li>
    `ecdsa_nist_p256_sha_256`
  </li>

  <li>
    `ecdsa_nist_p384_sha_384`
  </li>

  <li>
    `rsa_4096_enc_oaep_sha_256`
  </li>
</ul>

`--description` (string)

Description of the key.

`--labels` (string->string)

Labels associated with the resource.

`--name` (string)

Human-readable name for the resource.

`--parent-id` (string)* \[required]*

Identifier of the parent resource to which the resource belongs.

`--resource-version` (int64)

Version of the resource for safe concurrent modifications and consistent reads.\

Positive and monotonically increases on each resource spec change (but *not* on each change of the\

resource's container(s) or status).\

Service allows zero value or current.

`--async` (bool)

If set, returns operation id. Otherwise, waits for the operation to complete and returns its resource.

`-i, --interactive` (bool)

If set, suggests to insert field values in interactive mode.

## Global Options

`-h, --help` (bool)

Show this message.

`-p, --profile` (string)

Set a profile for interacting with the cloud.

`--format` (string)

Output format. Supported values: yaml|json|jsonpath|table|text.

`-f, --file` (string)

Input file. For 'update' commands automatically set --full=true.

`-c, --config` (string)

Provide path to config file.

`--debug` (bool)

Write debug logs to stderr. Commands save debug logs in the config directory under logs/, except help and shell completion.

`-I, --impersonate-service-account-id` (string)

Impersonate into the service account and use its token for a command.

`--color` (bool)

Enable colored output.

`--no-browser` (bool)

Do not open browser automatically on auth.

`--insecure` (bool)

Disable transport security.

`--auth-timeout` (duration: 2h30m10s)

Set the timeout for the request including authentication process, default is 15m0s.

`--per-retry-timeout` (duration: 2h30m10s)

Set the timeout for each retry attempt, default is 20s.

`--retries` (uint)

Set the number of retry attempts, 1 is disable retries, default is 3.

`--timeout` (duration: 2h30m10s)

Set the timeout for the main request, default is 1m0s.

`--no-check-update` (bool)

Suppress check for updates.

`--no-progress` (bool)

Suppress progress indicators and spinners.

**Input argument JSON Schema**

> [tab] Full
>
> ```json theme={null}
> {              
>   "metadata": {                // [required]
>                                // The metadata for the resource.
>     "labels": {                // [map]
>                                // Labels associated with the resource.
>       string: string                  
>     },
>     "name": string,            // Human-readable name for the resource.
>     "parent_id": string,       // [required]
>                                // Identifier of the parent resource to which the resource belongs.
>     "resource_version": int64  // Version of the resource for safe concurrent modifications and consistent reads.
>                                // Positive and monotonically increases on each resource spec change (but *not* on each change of the
>                                // resource's container(s) or status).
>                                // Service allows zero value or current.
>   },
>   "spec": {                // [required]
>                            // The specifications for creating an asymmetric key.
>     "algorithm": enum(                    // [required] [immutable]
>                                           // Cryptographic algorithm that should be used with the key.
>                                           // Must be specified only during create operations. Cannot be updated.
>       "ASYMMETRIC_ALGORITHM_UNSPECIFIED",
>       "ECDSA_NIST_P256_SHA_256",          // ECDSA signature with NIST P-256 curve and SHA-256.
>       "ECDSA_NIST_P384_SHA_384",          // ECDSA signature with NIST P-384 curve and SHA-384.
>       "RSA_4096_ENC_OAEP_SHA_256"         // RSA encryption with RSA-4096 key, OAEP padding and SHA-256.
>     ),
>     "description": string  // Description of the key.
>   }
> }
> ```

> [tab] CopyPaste Friendly
>
> ```json theme={null}
> nebius kms asymmetric-key create '
> {              
>   "metadata": {           
>     "labels": {           
>       "": ""                  
>     },
>     "name": "",           
>     "parent_id": "",      
>     "resource_version": 0 
>   },
>   "spec": {                                                                                                                        
>     "algorithm": "asymmetric_algorithm_unspecified"|"ecdsa_nist_p256_sha_256"|"ecdsa_nist_p384_sha_384"|"rsa_4096_enc_oaep_sha_256",
>     "description": ""                                                                                                              
>   }
> }
> '
> ```

*Auto generated on 23-Nov-2026*
