getClusterAuth

Get an authentication token to communicate with an EKS cluster.

Uses IAM credentials from the AWS provider to generate a temporary token that is compatible with AWS IAM Authenticator authentication. This can be used to authenticate to an EKS cluster or to a cluster that has the AWS IAM Authenticator server configured.

Using getClusterAuth

function getClusterAuth(args: GetClusterAuthArgs, opts?: InvokeOptions): Promise<GetClusterAuthResult>
def get_cluster_auth(name: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetClusterAuthResult
func GetClusterAuth(ctx *Context, args *GetClusterAuthArgs, opts ...InvokeOption) (*GetClusterAuthResult, error)

Note: This function is named GetClusterAuth in the Go SDK.

public static class GetClusterAuth {
    public static Task<GetClusterAuthResult> InvokeAsync(GetClusterAuthArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Name string
The name of the cluster
Name string
The name of the cluster
name string
The name of the cluster
name str
The name of the cluster

getClusterAuth Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Name string
Token string
The token to use to authenticate with the cluster.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Token string
The token to use to authenticate with the cluster.
id string
The provider-assigned unique ID for this managed resource.
name string
token string
The token to use to authenticate with the cluster.
id str
The provider-assigned unique ID for this managed resource.
name str
token str
The token to use to authenticate with the cluster.

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.