aws sts get-web-identity-token
Returns a signed JSON Web Token (JWT) that represents the calling Amazon Web Services identity. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--audienceThe intended recipient of the web identity token.--duration-secondsThe duration, in seconds, for which the JSON Web Token (JWT) will remain valid.--signing-algorithmThe cryptographic algorithm to use for signing the JSON Web Token (JWT).--tagsAn optional list of tags to include in the JSON Web Token (JWT).