Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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_tags :: Lens' AssociateIdentityProviderConfigResponse (Maybe (HashMap Text Text))
- associateIdentityProviderConfigResponse_update :: Lens' AssociateIdentityProviderConfigResponse (Maybe Update)
- 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:
AssociateIdentityProviderConfig
, associateIdentityProviderConfig_clientRequestToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
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. You
define both.
AssociateIdentityProviderConfig
, associateIdentityProviderConfig_clusterName
- The name of the cluster to associate the configuration to.
AssociateIdentityProviderConfig
, associateIdentityProviderConfig_oidc
- An object representing 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. You define both.
associateIdentityProviderConfig_clusterName :: Lens' AssociateIdentityProviderConfig Text Source #
The name of the cluster to associate the configuration to.
associateIdentityProviderConfig_oidc :: Lens' AssociateIdentityProviderConfig OidcIdentityProviderConfigRequest Source #
An object representing 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:
AssociateIdentityProviderConfig
, associateIdentityProviderConfigResponse_tags
- The tags for the resource.
$sel:update:AssociateIdentityProviderConfigResponse'
, associateIdentityProviderConfigResponse_update
- Undocumented member.
$sel:httpStatus:AssociateIdentityProviderConfigResponse'
, associateIdentityProviderConfigResponse_httpStatus
- The response's http status code.
Response Lenses
associateIdentityProviderConfigResponse_tags :: Lens' AssociateIdentityProviderConfigResponse (Maybe (HashMap Text Text)) Source #
The tags for the resource.
associateIdentityProviderConfigResponse_update :: Lens' AssociateIdentityProviderConfigResponse (Maybe Update) Source #
Undocumented member.
associateIdentityProviderConfigResponse_httpStatus :: Lens' AssociateIdentityProviderConfigResponse Int Source #
The response's http status code.