Rucredstash release & Rust experience from a Haskeller

submited by
Style Pass
2021-05-30 10:00:05

Credstash is a cli utility for managing credentials securely in AWS cloud. It uses a combination of AWS Key Management Service (KMS) and DynamoDB to achieve it. One of my co-worker has written a more detailed tutorial here. The original tool was written by a company named Fugue in Python. It has been implemented in various languages including Rust which I have authored (Rucredstash).

I released a new version of rucredstash quite some time ago and with that, rucredstash cli executable becomes a drop in replacement to the original credstash program. While you could use it previously too, it lacked the putall subcommand. This subcommand had three different ways of passing data to it:

I disliked the above overloaded behavior and wanted to give a different better user experience in my Rust implementation. But that meant breaking compatibility with the original program. So, I finally bit the bullet and implemented it. With that, it becomes a drop in replacement to the original Python program which was my primary goal when I started working on rucredstash.

Now that I have some experience with Rust and have been working on it for a couple of years or so, I would like to compare it with the other language I prefer: Haskell. My primary language at work and hobby is Haskell. I mainly want to compare Rust with Haskell in terms of library quality, community and documentation. Note that my experience is based on writing and maintaining rucredstash and also doing some other minor work on Rust. Also, my codebase isn’t that big so probably my view would change based on more experience.

Leave a Comment