SWIFT-FORM-SIGNATURE(1)

✨ SWIFT-FORM-SIGNATURE ✨

ok so bestie, welcome to swift-form-signature πŸ’– β€” it lives in the General Commands Manual section (that's section 1, iykyk) and it's genuinely one of those lil tools that just does the thing.


🌸 NAME 🌸

swift-form-signature β€” compute the expires and signature for OpenStack Swift Form POST middleware 🫢


πŸŽ€ SYNOPSIS πŸŽ€

swift-form-signature path redirect max_file_size max_file_count seconds key

like. six args. that's it. no cap. ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this: it's a tool that computes the expires and signature values πŸ’… and those two lil guys are what let you upload objects directly to the Swift from a browser by using the form POST middleware. no middleman, no drama, just vibes and a signed form. iconic behavior honestly. πŸ‘‘


πŸ’… OPTIONS πŸ’…

  • path β€” the prefix that gets slapped onto every form-uploaded object. for example: /v1/account/container/object_prefix_ would make sure all your form uploads have that path prepended to the browser-given file name. so like, whatever filename the browser hands over, this gets glued to the front. πŸ“
  • redirect β€” the URL the browser gets yeeted to once the uploads have completed. main character exit. πŸšͺ✨
  • max_file_size β€” the maximum file size, per file uploaded. one file, one cap. periodt. πŸ“
  • max_file_count β€” the maximum number of uploaded files allowed. yes there's a limit bestie, the vibes are contained. πŸ”’
  • seconds β€” the number of seconds from now to allow the form post to begin. so it's a countdown starting, like, immediately. ⏳
  • key β€” the X-Account-Meta-Temp-URL-Key for the account. keep this one safe, it's the whole vibe check of the signature. πŸ”‘πŸ’€

πŸ“š DOCUMENTATION πŸ“š

if you want more in depth documentation in regards to swift-form-signature β€” and also about OpenStack Swift as a whole, because honestly the lore goes deep β€” you can find it at:

go read, it's giving studious. 🧚


mwah that's the whole page bestie 🫢 brought to you by OpenStack Swift, dated August 2016 (yes she's a vintage queen and she still slays πŸ’–πŸ‘‘).