• 2 Posts
  • 4 Comments
Joined 2 years ago
cake
Cake day: June 30th, 2023

help-circle
  • If the spec contains default values why not make a constructor with all the missing fields or implement Default when all fields are covered?

    For the first implementation I wanted to keep it simple, I don’t exclude that in the future it will change.

    Also lol:

    Yep, I still need to figure out deep macro testing, for now I use the integration tests and cargo expand. This will absolutely change in the future :)

    Thanks for the feedback!





  • Hi, just a disclaimer as I’ve never used Minio in a serious/professional project, only in home fiddling and school projects, so I may not suggest the optimal way to do things.

    You can create Access Keys (Service Accounts) in Minio for your application, and make the bucket(s) accessible only by this account (private with an access policy, I guess). In your JS app, if I remember correctly, you should be able to specify an access key to use for the connection.

    Access keys are credentials, so be sure to store them (and pass them around) safely.

    I hope this gives you at least a general direction to investigate, happy tinkering!