aws emr get-cluster-session-credentials
Provides temporary, HTTP basic credentials that are associated with a given runtime IAM role and used by a cluster with fine-grained access control activated. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--cluster-idThe unique identifier of the cluster.--execution-role-arnThe Amazon Resource Name (ARN) of the runtime role for interactive workload submission on the cluster.