Values.GetWebIdentityTokenResponseSourceReturns 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.
type getWebIdentityTokenResult = {webIdentityToken : WebIdentityTokenType.t option;A signed JSON Web Token (JWT) that represents the caller's Amazon Web Services identity. The token contains standard JWT claims such as subject, audience, expiration time, and additional identity attributes added by STS as custom claims. You can also add your own custom claims to the token by passing tags as request parameters to the GetWebIdentityToken API. The token is signed using the specified signing algorithm and can be verified using the verification keys available at the issuer's JWKS endpoint.
*)expiration : DateType.t option;The date and time when the web identity token expires, in UTC. The expiration is determined by adding the DurationSeconds value to the time the token was issued. After this time, the token should no longer be considered valid.
*)}and t = {getWebIdentityTokenResult : getWebIdentityTokenResult;responseMetaData : responseMetaData;}type error = [ | `JWTPayloadSizeExceededException of JWTPayloadSizeExceededException.t| `OutboundWebIdentityFederationDisabledException of
OutboundWebIdentityFederationDisabledException.t| `SessionDurationEscalationException of SessionDurationEscalationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `JWTPayloadSizeExceededException of JWTPayloadSizeExceededException.t
| `OutboundWebIdentityFederationDisabledException of
OutboundWebIdentityFederationDisabledException.t
| `SessionDurationEscalationException of SessionDurationEscalationException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `JWTPayloadSizeExceededException of JWTPayloadSizeExceededException.t
| `OutboundWebIdentityFederationDisabledException of
OutboundWebIdentityFederationDisabledException.t
| `SessionDurationEscalationException of SessionDurationEscalationException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Structure of
(string
* [> `String of WebIdentityTokenType.t
| `Timestamp of DateType.t ])
list ])
list ]