---
title: "ezgh iam oidc-providers update"
description: "Rename an OIDC provider or replace its audiences."
---

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

# ezgh iam oidc-providers update

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh iam oidc-providers update <provider> [--name n] [--audiences a,…] [flags]
```

Rename an OIDC provider or replace its audiences. Its issuer can't change: register another provider instead. Sent with the ETag ezgh read, so a change someone made in between isn't lost.

Part of [`ezgh iam oidc-providers`](/cli/reference/iam-oidc-providers).

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--audiences` | strings, comma-separated or repeated |  | the audiences accepted, replacing the current ones |
| `--name` | string |  | the new name |

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/iam-oidc-providers-update/index.mdx
