Skip to content

Environments in Slingshot

Collections (where requests are stored) already supported variables, a feature that allows requests across the collection to reference the same value, easily updatable in one place.

This is now extended through the introduction of environments. Just like collections, they support variable key-value pair, but the main difference is that the values (not the keys) are encrypted using a password provided by you as a user. This means they're a preferred storage mechanism for passwords and API keys and for this reason we call these variables secrets.

Even though environments are only stored in your browser, the data is still encrypted to minimize the risk of leaks to rogue scripts or other means.

Environments

  • Encrypted locally using user-provided password
  • App requires user to provide password when closing app (browser or tab)
  • If user looses password, provides ability to clear environments
  • Environments can be used across collections
  • Each collection can be configured to have a default environment
  • Secrets are accessible by typing {{ in the request editor, just like variables

Other updates

Slingshot now also supports copying a request so that it can easily be shared with others. Please note that all data for the request is contained in the copied URL, meaning that sharing doesn't require the recipient to have a Requestbite account or similar, they can just paste it into their browser and go.

  • Share an open request by clicking the new link "Copy request"
  • Import request by pasting shared URL into browser address bar
  • Support for saving request even if currently not in an active collection