Module Smaws_Client_STS.GetWebIdentityToken

and Deserialization

Returns a signed JSON Web Token (JWT) that represents the calling Amazon Web Services identity. The returned JWT can be used to authenticate with external services that support OIDC discovery. The token is signed by Amazon Web Services STS and can be publicly verified using the verification keys published at the issuer's JWKS endpoint.

val error_to_string : [ Smaws_Lib.Protocols.AwsQuery.error | `JWTPayloadSizeExceededException of Types.jwt_payload_size_exceeded_exception | `OutboundWebIdentityFederationDisabledException of Types.outbound_web_identity_federation_disabled_exception | `SessionDurationEscalationException of Types.session_duration_escalation_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.get_web_identity_token_request -> (Types.get_web_identity_token_response, [> Smaws_Lib.Protocols.AwsQuery.error | `JWTPayloadSizeExceededException of Types.jwt_payload_size_exceeded_exception | `OutboundWebIdentityFederationDisabledException of Types.outbound_web_identity_federation_disabled_exception | `SessionDurationEscalationException of Types.session_duration_escalation_exception ]) Stdlib.result