Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AssociateIdentityProviderConfigCommand

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.

example

Use a bare-bones client and the command you need to make an API call.

import { EKSClient, AssociateIdentityProviderConfigCommand } from "@aws-sdk/client-eks"; // ES Modules import
// const { EKSClient, AssociateIdentityProviderConfigCommand } = require("@aws-sdk/client-eks"); // CommonJS import
const client = new EKSClient(config);
const command = new AssociateIdentityProviderConfigCommand(input);
const response = await client.send(command);
see

AssociateIdentityProviderConfigCommandInput for command's input shape.

see

AssociateIdentityProviderConfigCommandOutput for command's response shape.

see

config for EKSClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: AssociateIdentityProviderConfigCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions