Skip to content

End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

Gem::S3URISigner#sign

sign(expiration = 86400)

Signs S3 URI using query-params according to the reference: docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html

See also #generate_string_to_sign #generate_signature also in 4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.0