Skip to content

Script to programatically set a default rate limit for all keys in an organization

Notifications You must be signed in to change notification settings

serglom21/dsn_key_script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DSN KEY SCRIPT

The goal of this script is to be used to programmatically set a default rate limit to all project keys in a Sentry.io organization

How to use it

  1. Create an .env file with the following variables:
  • AUTH_TOKEN -> Token with project:admin and org:admin permissions
  • ORG_SLUG
  • RATELIMIT_WINDOW -> Time window which is used by rate limit (in seconds - e.g 1 day has 86400 seconds)
  • RATELIMIT_COUNT
  1. Run bash run.sh

About

Script to programatically set a default rate limit for all keys in an organization

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published