Auth
Client
API management
Cluster management
Running cortex cluster commands from different IAM users
cortex cluster commands from different IAM usersCREATOR_AWS_ACCESS_KEY_ID=*** # access key ID for the IAM user that created the cluster CREATOR_AWS_SECRET_ACCESS_KEY=*** # secret access key for the IAM user that created the cluster NEW_USER_ARN=*** # ARN of the IAM user to grant access to CLUSTER_NAME=*** # the name of your cortex cluster (will be "cortex" unless you specified a different name in your cluster configuration file) CLUSTER_REGION=*** # the region of your cortex clusterAWS_ACCESS_KEY_ID=$CREATOR_AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY=$CREATOR_AWS_SECRET_ACCESS_KEY eksctl create iamidentitymapping --region $CLUSTER_REGION --cluster $CLUSTER_NAME --arn $NEW_USER_ARN --group system:masters --username $NEW_USER_ARNAWS_ACCESS_KEY_ID=$CREATOR_AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY=$CREATOR_AWS_SECRET_ACCESS_KEY eksctl delete iamidentitymapping --region $CLUSTER_REGION --cluster $CLUSTER_NAME --arn $NEW_USER_ARN --all
Authorizing your APIs
Last updated