> ## 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 iam static-key issue

## Name

`nebius iam static-key issue`

## Synopsis

```
nebius iam static-key issue [id]
  --account-service-account-id
  --account-user-account-id
  --expires-at
  --id
  --labels
  --name
  --parent-id [required]
  --resource-version
  --service [required]
```

## Examples

**Issue an expiring static key for a service**

```
nebius iam static-key issue \
  --account-service-account-id=<service_account_ID> \
  --service=<CONTAINER_REGISTRY|OBSERVABILITY> \
  --expires-at=<date_in_ISO_8601_format>
```

**Issue a named static key**

```
nebius iam static-key issue \
  --name <name_for_the_key> \
  --account-service-account-id <service_account_ID> \
  --service observability
```

## Positional Arguments

`id`

Identifier for the resource, unique for its resource type.

## Options

`--account-service-account-id` (string)

Mutually exclusive with: `--account-user-account-id`.

`--account-user-account-id` (string)

Mutually exclusive with: `--account-service-account-id`.

`--expires-at` (timestamp: 1970-01-31T02:30:59Z)

When will the static key expire.

`--id` (string)

Identifier for the resource, unique for its resource type.

`--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.

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

Service static key is to be used for.

A value must be one of:

<ul>
  <li>
    `observability`
  </li>

  <li>
    `container_registry`
  </li>

  <li>
    `ai_studio`
  </li>

  <li>
    `tracto`
  </li>

  <li>
    `linux_identity`
  </li>
</ul>

## 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": {               
>     "id": string,              // [identifier]
>                                // Identifier for the resource, unique for its resource type.
>     "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": {                             
>     "account": {             // [immutable]
>                              // Account of the static key. only service accounts are supported for now.
>       "anonymous_account": { // Cannot be set together with: user_account, service_account
>       },
>       "service_account": { // Cannot be set together with: user_account, anonymous_account
>         "id": string      
>       },
>       "user_account": { // Cannot be set together with: service_account, anonymous_account
>         "id": string   
>       }
>     },
>     "expiresAt": "1970-01-31T02:30:59Z", // [google.protobuf.Timestamp]
>                                          // When will the static key expire.
>     "service": enum(                // [required]
>                                     // Service static key is to be used for.
>       "CLIENT_SERVICE_UNSPECIFIED",
>       "OBSERVABILITY",             
>       "CONTAINER_REGISTRY",        
>       "AI_STUDIO",                 
>       "TRACTO",                    
>       "LINUX_IDENTITY"             
>     )
>   }
> }
> ```

> [tab] CopyPaste Friendly
>
> ```json theme={null}
> nebius iam static-key issue '
> {              
>   "metadata": {           
>     "id": "",             
>     "labels": {           
>       "": ""                  
>     },
>     "name": "",           
>     "parent_id": "",      
>     "resource_version": 0 
>   },
>   "spec": {                                                                                                           
>     "account": {            
>       "anonymous_account": {
>       }
>     },
>     "expiresAt": "1970-01-31T02:30:59Z",                                                                              
>     "service": "client_service_unspecified"|"observability"|"container_registry"|"ai_studio"|"tracto"|"linux_identity"
>   }
> }
> '
> ```

*Auto generated on 23-Nov-2026*
