mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
An oversized session was minted outright and PackedPolicySize was published as a flat zero on every session, where AWS holds a session token to one limit of 4096 bytes, refuses a token that will not fit with PackedPolicyTooLarge 400 naming the size and the limit, and publishes that member as the percentage of the limit the token consumes, the same value as SessionTokenUtilization. Both are answered now on the four operations that carry state into the token they mint, the refusal read before anything is minted. The measure is this emulator's own: the token it will mint, which MinimumSessionTokenSize can ask to be longer, plus the state the request carries into it in UTF-8 bytes. AWS assembles and compresses the real thing, whose size follows the input in neither direction, so the numbers differ; the IAM page records the one size recorded here, 26092 bytes for about 19000 of input, so a later recording can calibrate the reading.