Files
floci/docs
Priamo Germosen 8b1de6cdbe fix(iam): read the delegation request owner a policy condition names (#8688)
The Service Reference publishes iam:DelegationRequestOwner on the
delegation-request resource type rather than on the actions that act on one,
and only ListDelegationRequests carries the owner in a parameter. On the seven
others the value is the stored request's, so the key reached no request
context: an allow conditioned on it matched nothing and a deny conditioned on
it applied to nothing, where AWS evaluates both.

The table gains a fromResource section for a key published on a resource type,
each entry carrying the type, the member of its record the value is read from
and the type's ARN format. The filter then asks the service holding the
resource an ARN names for what its record keeps there, which is the
per-resource read that already gives a resource its tags, and the delegation
store answers through the port that already keeps IAM from depending on it.

Which member carries the owner is the one thing neither botocore nor the
Service Reference says, so the generator states it where it states anything by
hand, with AWS's own word quoted and linked: the key "Filters access based on
the AWS identity or principal that owns the delegation request", whose owner is
"the AWS identity or principal in the customer account that initiated or
received the delegation request". The generator refuses an entry whose evidence
does not link to itself, or whose member botocore's record of the type does not
hold as a string.

The owner is answered from the same scan the owner listing reads, by request id
rather than by owner, so an authorization costs a lookup rather than a pass over
the store under the lock every claim and expiry takes: this runs on every
request for the actions the key is published on, which the listing does not.

A call naming no request carries no value, so CreateDelegationRequest, whose
request does not exist while it is authorized, and a request nobody has claimed
are both left without the key rather than given a wrong one. The owner is
answered to the account that owns the request and to no other, the line the
service draws when it reads one request by id.

One difference stays and is on the IAM page: the same guide lists
UpdateDelegationRequest among the operations the key supports and the Service
Reference publishes it on neither that action nor a type it acts on, so the
generated reading is what this follows.
2026-11-16 21:15:46 -04:00
..
2026-03-15 17:43:56 -05:00