Add Client Id To Open Id Connect Provider
iam_add_client_id_to_open_id_connect_provider | R Documentation |
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.
This operation is idempotent; it does not fail or return an error if you add an existing client ID to the provider.
Usage¶
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
list_open_id_connect_providers
operation.ClientID
[required] The client ID (also known as audience) to add to the IAM OpenID Connect provider resource.
Value¶
An empty list.
Request syntax¶
svc$add_client_id_to_open_id_connect_provider(
OpenIDConnectProviderArn = "string",
ClientID = "string"
)
Examples¶
## 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:
svc$add_client_id_to_open_id_connect_provider(
ClientID = "my-application-ID",
OpenIDConnectProviderArn = "arn:aws:iam::123456789012:oidc-provider/server.example.com"
)
## End(Not run)