OidcIdentityProviderConfigRequest
An object representing an OpenID Connect (OIDC) configuration. Before associating an OIDC identity provider to your cluster, review the considerations in Authenticating users for your cluster from an OIDC identity provider in the Amazon EKS User Guide.
Contents
- clientId
-
This is also known as audience. The ID for the client application that makes authentication requests to the OIDC identity provider.
Type: String
Required: Yes
- identityProviderConfigName
-
The name of the OIDC provider configuration.
Type: String
Required: Yes
- issuerUrl
-
The URL of the OIDC identity provider that allows the API server to discover public signing keys for verifying tokens. The URL must begin with
https://
and should correspond to theiss
claim in the provider's OIDC ID tokens. Based on the OIDC standard, path components are allowed but query parameters are not. Typically the URL consists of only a hostname, likehttps://server.example.org
orhttps://example.com
. This URL should point to the level below.well-known/openid-configuration
and must be publicly accessible over the internet.Type: String
Required: Yes
- groupsClaim
-
The JWT claim that the provider uses to return your groups.
Type: String
Required: No
- groupsPrefix
-
The prefix that is prepended to group claims to prevent clashes with existing names (such as
system:
groups). For example, the valueoidc:
will create group names likeoidc:engineering
andoidc:infra
.Type: String
Required: No
- requiredClaims
-
The key value pairs that describe required claims in the identity token. If set, each claim is verified to be present in the token with a matching value. For the maximum number of claims that you can require, see Amazon EKS service quotas in the Amazon EKS User Guide.
Type: String to string map
Key Length Constraints: Minimum length of 1. Maximum length of 63.
Value Length Constraints: Minimum length of 1. Maximum length of 253.
Required: No
- usernameClaim
-
The JSON Web Token (JWT) claim to use as the username. The default is
sub
, which is expected to be a unique identifier of the end user. You can choose other claims, such asemail
orname
, depending on the OIDC identity provider. Claims other thanemail
are prefixed with the issuer URL to prevent naming clashes with other plug-ins.Type: String
Required: No
- usernamePrefix
-
The prefix that is prepended to username claims to prevent clashes with existing names. If you do not provide this field, and
username
is a value other thanemail
, the prefix defaults toissuerurl#
. You can use the value-
to disable all prefixing.Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: