Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Associate an identity provider configuration to a cluster.
If you want to authenticate identities using an identity provider, you
can create an identity provider configuration and associate it to your
cluster. After configuring authentication to your cluster you can create
Kubernetes roles
and clusterroles
to assign permissions to the
roles, and then bind the roles to the identities using Kubernetes
rolebindings
and clusterrolebindings
. For more information see
Using RBAC Authorization
in the Kubernetes documentation.
Synopsis
- data AssociateIdentityProviderConfig = AssociateIdentityProviderConfig' {}
- newAssociateIdentityProviderConfig :: Text -> OidcIdentityProviderConfigRequest -> AssociateIdentityProviderConfig
- associateIdentityProviderConfig_clientRequestToken :: Lens' AssociateIdentityProviderConfig (Maybe Text)
- associateIdentityProviderConfig_tags :: Lens' AssociateIdentityProviderConfig (Maybe (HashMap Text Text))
- associateIdentityProviderConfig_clusterName :: Lens' AssociateIdentityProviderConfig Text
- associateIdentityProviderConfig_oidc :: Lens' AssociateIdentityProviderConfig OidcIdentityProviderConfigRequest
- data AssociateIdentityProviderConfigResponse = AssociateIdentityProviderConfigResponse' {}
- newAssociateIdentityProviderConfigResponse :: Int -> AssociateIdentityProviderConfigResponse
- associateIdentityProviderConfigResponse_update :: Lens' AssociateIdentityProviderConfigResponse (Maybe Update)
- associateIdentityProviderConfigResponse_tags :: Lens' AssociateIdentityProviderConfigResponse (Maybe (HashMap Text Text))
- associateIdentityProviderConfigResponse_httpStatus :: Lens' AssociateIdentityProviderConfigResponse Int
Creating a Request
data AssociateIdentityProviderConfig Source #
See: newAssociateIdentityProviderConfig
smart constructor.
AssociateIdentityProviderConfig' | |
|
Instances
newAssociateIdentityProviderConfig Source #
Create a value of AssociateIdentityProviderConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:clientRequestToken:AssociateIdentityProviderConfig'
, associateIdentityProviderConfig_clientRequestToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
$sel:tags:AssociateIdentityProviderConfig'
, associateIdentityProviderConfig_tags
- The metadata to apply to the configuration to assist with categorization
and organization. Each tag consists of a key and an optional value, both
of which you define.
$sel:clusterName:AssociateIdentityProviderConfig'
, associateIdentityProviderConfig_clusterName
- The name of the cluster to associate the configuration to.
$sel:oidc:AssociateIdentityProviderConfig'
, associateIdentityProviderConfig_oidc
- An object that represents an OpenID Connect (OIDC) identity provider
configuration.
Request Lenses
associateIdentityProviderConfig_clientRequestToken :: Lens' AssociateIdentityProviderConfig (Maybe Text) Source #
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
associateIdentityProviderConfig_tags :: Lens' AssociateIdentityProviderConfig (Maybe (HashMap Text Text)) Source #
The metadata to apply to the configuration to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define.
associateIdentityProviderConfig_clusterName :: Lens' AssociateIdentityProviderConfig Text Source #
The name of the cluster to associate the configuration to.
associateIdentityProviderConfig_oidc :: Lens' AssociateIdentityProviderConfig OidcIdentityProviderConfigRequest Source #
An object that represents an OpenID Connect (OIDC) identity provider configuration.
Destructuring the Response
data AssociateIdentityProviderConfigResponse Source #
See: newAssociateIdentityProviderConfigResponse
smart constructor.
Instances
newAssociateIdentityProviderConfigResponse Source #
Create a value of AssociateIdentityProviderConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:update:AssociateIdentityProviderConfigResponse'
, associateIdentityProviderConfigResponse_update
- Undocumented member.
$sel:tags:AssociateIdentityProviderConfig'
, associateIdentityProviderConfigResponse_tags
- The tags for the resource.
$sel:httpStatus:AssociateIdentityProviderConfigResponse'
, associateIdentityProviderConfigResponse_httpStatus
- The response's http status code.
Response Lenses
associateIdentityProviderConfigResponse_update :: Lens' AssociateIdentityProviderConfigResponse (Maybe Update) Source #
Undocumented member.
associateIdentityProviderConfigResponse_tags :: Lens' AssociateIdentityProviderConfigResponse (Maybe (HashMap Text Text)) Source #
The tags for the resource.
associateIdentityProviderConfigResponse_httpStatus :: Lens' AssociateIdentityProviderConfigResponse Int Source #
The response's http status code.