Coming soon! A Pro version of the Flipper gem for entirely local installations.

Get Updates

Blog

Read-only API Tokens

· Garrett Dimon · 1 min read

We're working on providing more control over who can manage features and in which environments. Now you can choose to make API tokens read-only.

A demo of toggling API tokens to read-only.

Toggling a feature with a read-only token via the API or Flipper gem will result in an error:

$ curl -H "Flipper-Cloud-Token: $FLIPPER_CLOUD_TOKEN" -X POST \
  https://www.flippercloud.io/adapter/features/reports/boolean
  
{
  "code":"error",
  "message":"Token does not have API write access.",
  "more_info":"https://www.flippercloud.io/docs/api#errors"
}

Existing tokens are still read/write, but if you have any tokens that you know don't need write-access, we recommend switching to a read-only API token.

For the time being, automatically-generated tokens are still created with write access as the default. So any time you create a new project or environment, we automatically create the initial tokens with write-access. When manually adding tokens, however, the permissions will default to read-only, and you'll need to explicitly choose to create tokens with write-access permissions.

Ready to try it out?

Get audit history, rollbacks, advanced permissions, analytics, and all of your projects in one place.


Prefer our Cloudless option?

You can choose from several tiers to sponsor Flipper on GitHub and get some great benefits!

The Friday Deploy

News and open source releases for all things Flipper. Unsubscribe anytime.

Have questions? Need help?

Email us any time or head on over to our documentation or status page for the latest on the app or API.

Ready to take Flipper for a swim?

No credit card required. 14-day free trial. And customer support directly from the developers.