Learn R Programming

paws.security.identity (version 0.1.0)

iam_add_client_id_to_open_id_connect_provider: Adds a new client ID (also known as audience) to the list of client IDs already registered for the specified IAM OpenID Connect (OIDC) provider resource

Description

Adds a new client ID (also known as audience) to the list of client IDs already registered for the specified IAM OpenID Connect (OIDC) provider resource.

Usage

iam_add_client_id_to_open_id_connect_provider(OpenIDConnectProviderArn,
  ClientID)

Arguments

OpenIDConnectProviderArn

[required] The Amazon Resource Name (ARN) of the IAM OpenID Connect (OIDC) provider resource to add the client ID to. You can get a list of OIDC provider ARNs by using the ListOpenIDConnectProviders operation.

ClientID

[required] The client ID (also known as audience) to add to the IAM OpenID Connect provider resource.

Request syntax

svc$add_client_id_to_open_id_connect_provider(
  OpenIDConnectProviderArn = "string",
  ClientID = "string"
)

Details

This operation is idempotent; it does not fail or return an error if you add an existing client ID to the provider.

Examples

Run this code
# NOT RUN {
# The following add-client-id-to-open-id-connect-provider command adds the
# client ID my-application-ID to the OIDC provider named
# server.example.com:
# }
# NOT RUN {
svc$add_client_id_to_open_id_connect_provider(
  ClientID = "my-application-ID",
  OpenIDConnectProviderArn = "arn:aws:iam::123456789012:oidc-provider/server.example.com"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab