> ## 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 federated-credentials update

## Name

`nebius iam federated-credentials update`

Updates federated credentials.

## Synopsis

```
nebius iam federated-credentials update [id]
  --federated-subject-id
  --id
  --labels
  --labels-add
  --labels-remove
  --name
  --oidc-provider-issuer-url
  --oidc-provider-jwk-set-json
  --parent-id
  --resource-version
  --subject-id
  --async
  --clear-mask
  --diff
  --full
  --patch
```

## Positional Arguments

`id`

Identifier for the resource, unique for its resource type.

## Options

`--federated-subject-id` (string)

Federated subject ID. For oidc\_provider, the subject is calculated from the\

"sub" claim of the federated JWT token.

`--id` (string)

Identifier for the resource, unique for its resource type.

`--labels` (string->string)

Labels associated with the resource.

`--labels-add` (string->string)

Add values to Labels associated with the resource.

`--labels-remove` (string array)

Remove values from Labels associated with the resource.

`--name` (string)

Human-readable name for the resource.

`--oidc-provider-issuer-url` (string)

OIDC-compatible JWT issuer URL.

`--oidc-provider-jwk-set-json` (string)

JSON representation of a JSON Web Key Set (JWKS) with public keys used for\

JWT signature verification.\

If set, the token service uses this JWKS to verify token signatures.

`--parent-id` (string)

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.

`--subject-id` (string)

IAM subject (service account) that the federated subject impersonates.

`--async` (bool)

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

`--clear-mask` (string array)

Reset-mask field paths to clear in patch mode. Can be repeated.

`--diff` (bool)

Show diff of resource before committing update.

`--full` (bool)

Update full resource state. Automatically set to true if the --file or argument provided.

`--patch` (bool)

Update only specified fields.

## 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": {                // Federated credentials resource 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": {                         // Federated credentials resource specification.
>     "federated_subject_id": string, // Federated subject ID. For oidc_provider, the subject is calculated from the
>                                     // "sub" claim of the federated JWT token.
>     "oidc_provider": {       
>       "issuer_url": string,   // [required]
>                               // OIDC-compatible JWT issuer URL.
>       "jwk_set_json": string  // JSON representation of a JSON Web Key Set (JWKS) with public keys used for
>                               // JWT signature verification.
>                               // If set, the token service uses this JWKS to verify token signatures.
>     },
>     "subject_id": string            // [required]
>                                     // IAM subject (service account) that the federated subject impersonates.
>   }
> }
> ```

> [tab] CopyPaste Friendly
>
> ```json theme={null}
> nebius iam federated-credentials update '
> {              
>   "metadata": {           
>     "id": "",             
>     "labels": {           
>       "": ""                  
>     },
>     "name": "",           
>     "parent_id": "",      
>     "resource_version": 0 
>   },
>   "spec": {                    
>     "federated_subject_id": "",
>     "oidc_provider": {   
>       "issuer_url": "",  
>       "jwk_set_json": "" 
>     },
>     "subject_id": ""           
>   }
> }
> '
> ```

*Auto generated on 23-Nov-2026*
