If you ever produce and share a signed link for e.g. S3, this link contains your access key ID in it. Turns out you can just slice and decode your Account ID out of that access key, it's in there in base32:
https://medium.com/@TalBeerySec/a-short-note-on-aws-key-id-f...