Skip to content

Delete Open Id Connect Provider

iam_delete_open_id_connect_provider R Documentation

Deletes an OpenID Connect identity provider (IdP) resource object in IAM

Description

Deletes an OpenID Connect identity provider (IdP) resource object in IAM.

Deleting an IAM OIDC provider resource does not update any roles that reference the provider as a principal in their trust policies. Any attempt to assume a role that references a deleted provider fails.

This operation is idempotent; it does not fail or return an error if you call the operation for a provider that does not exist.

Usage

iam_delete_open_id_connect_provider(OpenIDConnectProviderArn)

Arguments

OpenIDConnectProviderArn

[required] The Amazon Resource Name (ARN) of the IAM OpenID Connect provider resource object to delete. You can get a list of OpenID Connect provider resource ARNs by using the list_open_id_connect_providers operation.

Value

An empty list.

Request syntax

svc$delete_open_id_connect_provider(
  OpenIDConnectProviderArn = "string"
)