# rpk ai oauth-client cimd update

> For the complete documentation index, see [llms.txt](https://docs.redpanda.com/llms.txt). Component-specific: [agentic-data-plane-full.txt](https://docs.redpanda.com/agentic-data-plane-full.txt)

---
title: rpk ai oauth-client cimd update
latest-operator-version: v26.2.6
latest-console-tag: v3.14.0
latest-connect-version: 4.117.0
latest-redpanda-tag: v26.2.6
docname: rpk/rpk-ai/rpk-ai-oauth-client-cimd-update
page-component-name: agentic-data-plane
page-version: master
page-component-version: master
page-component-title: Agentic Data Plane
page-relative-src-path: rpk/rpk-ai/rpk-ai-oauth-client-cimd-update.adoc
page-edit-url: https://github.com/redpanda-data/adp-docs/edit/main/modules/reference/pages/rpk/rpk-ai/rpk-ai-oauth-client-cimd-update.adoc
description: Replace complete CIMD settings (omitted fields reset).
page-git-created-date: "2026-10-26"
page-git-modified-date: "2026-10-26"
page-generated-sources:
  - include: streaming:reference:partial$rpk-ai/rpk-ai-oauth-client-cimd-update.adoc
    generator: rpk-docs
    version: null
    source: the rpk command help in redpanda-data/streaming-enterprise
page-generated-content: partial
---

<!-- Source: https://docs.redpanda.com/agentic-data-plane/reference/rpk/rpk-ai/rpk-ai-oauth-client-cimd-update.md -->

Replace complete CIMD settings (omitted fields reset).

> 📝 **NOTE**
>
> This command was introduced in ai version 0.2.94.

## [](#usage)Usage

```bash
rpk ai oauth-client cimd update [flags]
```

## [](#flags)Flags

| Value | Type | Description |
| --- | --- | --- |
| --cimd-settings.enabled | bool | Accept https URL client IDs that resolve to a hosted client metadata document (CIMD). When off, the discovery document does not advertise support. (true when set; pass --cimd-settings.enabled=false to disable). |
| --cimd-settings.trust-policy | string | Which domains may host a client metadata document. Any domain is the spec-default posture; restricting to an allowlist keeps CIMD’s zero-setup flow for known vendors only. (one of: all-domains, allowed-domains). |
| --cimd-settings.allowed-domains | strings | Domains allowed to host a client metadata document. A parent domain also admits its subdomains. (repeatable; replaces the full list on update). |
| --cimd-settings.allowed-resources | strings | Resources every CIMD-resolved client is permitted to request tokens for. Use "*" for any MCP on this gateway. (repeatable; replaces the full list on update). |
| -f, --filename | string | request as YAML or JSON, or - for stdin; flags override file values. |
| --dry-run | bool | print the request that would be sent (with the computed update mask) and exit without calling the server. |

## [](#global-flags)Global flags

| Value | Type | Description |
| --- | --- | --- |
| --config | string | Redpanda or rpk config file; default search paths are ~/.config/rpk/rpk.yaml, $PWD/redpanda.yaml, and /etc/redpanda/redpanda.yaml. |
| -X, --config-opt | stringArray | Override rpk configuration settings; -X help for detail or -X list for terser detail. |
| --ignore-profile | bool | Ignore rpk.yaml and redpanda.yaml; use default settings. |
| --profile | string | rpk profile to use. |
| -v, --verbose | bool | Enable verbose logging. |