Discord Token

Bridgecrew Policy ID: BC_GIT_35
Chekov Check ID: CKV_SECRET_35
Severity: LOW

Discord Token

Description

Discord token provides full access to your account and is required to perform actions within Discord. It’s also useful for allowing bots to do things on your behalf outside of the Discord client. If you need your Discord token, the only way to find it is via Discord’s developer tools.

Fix - Buildtime

Discord

POST https://discord.com/api/oauth2/token/revoke
Content-Type: application/x-www-form-urlencoded
data:
  client_id: <client_id>
  client_secret: <client_secret>
  token: <access_token>