# rpk ai oauth-provider apply

> 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-provider apply
latest-operator-version: v26.2.1
latest-console-tag: v3.9.0
latest-connect-version: 4.104.0
latest-redpanda-tag: v26.2.1
docname: rpk/rpk-ai/rpk-ai-oauth-provider-apply
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-provider-apply.adoc
page-edit-url: https://github.com/redpanda-data/adp-docs/edit/main/modules/reference/pages/rpk/rpk-ai/rpk-ai-oauth-provider-apply.adoc
description: "Reconcile OAuth providers from one or more YAML manifests. For each manifest: create the resource if absent, otherwise update only the fields that are present in the manifest AND differ from the live resource."
page-git-created-date: "2026-07-02"
page-git-modified-date: "2026-08-06"
---

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

Reconcile OAuth providers from one or more YAML manifests.

For each manifest: create the resource if absent, otherwise update only the fields that are present in the manifest AND differ from the live resource. Fields you omit are left untouched; to clear a field, write it explicitly. Lists, maps and oneof variants replace wholesale. Fields that can only be set at creation time are immutable; changing one is an error.

Manifests round-trip with `get -o yaml` for this resource. Pass `-f` - to read stdin.

This does not delete resources absent from the manifests (no prune), and drift is detected only for the fields a manifest names; see `diff --help`.

## [](#usage)Usage

```bash
rpk ai oauth-provider apply [flags]
```

## [](#flags)Flags

| Value | Type | Description |
| --- | --- | --- |
| -f, --filename | strings | manifest file, directory, or - for stdin (repeatable). |

## [](#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. |