mirror of
https://github.com/floci-io/floci.git
synced 2026-11-25 14:57:54 -05:00
AWS requires the principal to hold permission on the old name and the new one, so that a rename into a name they may not write fails. ResourceArnBuilder named only the stored certificate, so a Deny on the destination did not match and the rename went through. UpdateServerCertificate now names both the current ARN and the one the request would produce, which the filter authorizes once per resource. The destination is built beside the stored ARN so it keeps the certificate's partition and account, and an update that renames and moves nothing still names a single resource.