Setup

  • Install bun https://bun.sh/
  • Generate your Cloudflare token from here
  • save it to a .env file like this
CLOUDFLARE_API_TOKEN=xxx
  • Copy this to your ~/.aws/config file
[sso-session nestri]
sso_start_url = https://nestri.awsapps.com/start
sso_region = us-east-1

[profile nestri-dev]
sso_session = nestri
sso_account_id = 535002871375
sso_role_name = AdministratorAccess
region = us-east-1

[profile nestri-production]
sso_session = nestri
sso_account_id = 209479283398
sso_role_name = AdministratorAccess
region = us-east-1
  • You need to login once a day with bun sso in root