class
Amazonite::Sts::GetWebIdentityTokenRequest
- Amazonite::Sts::GetWebIdentityTokenRequest
- Reference
- Object
Defined in:
sts/get_web_identity_token_request.crConstructors
- .from_xml(node : XML::Node) : self
- .new(audience : Array(String), signing_algorithm : String, duration_seconds : Int32 | Nil = nil, tags : Array(Tag) | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#audience : Array(String)
The intended recipient of the web identity token.
-
#audience=(audience : Array(String))
The intended recipient of the web identity token.
-
#duration_seconds : Int32 | Nil
The duration, in seconds, for which the JSON Web Token (JWT) will remain valid.
-
#duration_seconds=(duration_seconds : Int32 | Nil)
The duration, in seconds, for which the JSON Web Token (JWT) will remain valid.
-
#hash(hasher)
See
Object#hash(hasher) -
#signing_algorithm : String
The cryptographic algorithm to use for signing the JSON Web Token (JWT).
-
#signing_algorithm=(signing_algorithm : String)
The cryptographic algorithm to use for signing the JSON Web Token (JWT).
-
#tags : Array(Tag) | Nil
An optional list of tags to include in the JSON Web Token (JWT).
-
#tags=(tags : Array(Tag) | Nil)
An optional list of tags to include in the JSON Web Token (JWT).
- #to_query_params(prefix : String) : Array(Tuple(String, String))
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The intended recipient of the web identity token. This value populates the aud claim in the
JWT and should identify the service or application that will validate and use the token. The
external service should verify this claim to ensure the token was intended for their use.
The intended recipient of the web identity token. This value populates the aud claim in the
JWT and should identify the service or application that will validate and use the token. The
external service should verify this claim to ensure the token was intended for their use.
The duration, in seconds, for which the JSON Web Token (JWT) will remain valid. The value can range from 60 seconds (1 minute) to 3600 seconds (1 hour). If not specified, the default duration is 300 seconds (5 minutes). The token is designed to be short-lived and should be used for proof of identity, then exchanged for credentials or short-lived tokens in the external service.
The duration, in seconds, for which the JSON Web Token (JWT) will remain valid. The value can range from 60 seconds (1 minute) to 3600 seconds (1 hour). If not specified, the default duration is 300 seconds (5 minutes). The token is designed to be short-lived and should be used for proof of identity, then exchanged for credentials or short-lived tokens in the external service.
The cryptographic algorithm to use for signing the JSON Web Token (JWT). Valid values are RS256 (RSA with SHA-256) and ES384 (ECDSA using P-384 curve with SHA-384).
The cryptographic algorithm to use for signing the JSON Web Token (JWT). Valid values are RS256 (RSA with SHA-256) and ES384 (ECDSA using P-384 curve with SHA-384).
An optional list of tags to include in the JSON Web Token (JWT). These tags are added as custom claims to the JWT and can be used by the downstream service for authorization decisions.
An optional list of tags to include in the JSON Web Token (JWT). These tags are added as custom claims to the JWT and can be used by the downstream service for authorization decisions.