Yelp / detect-secrets

An enterprise friendly way of detecting and preventing secrets in code.
Apache License 2.0
3.58k stars 449 forks source link

New plugin for OpenAI tokens #823

Closed Chandra158 closed 2 months ago

Chandra158 commented 2 months ago

Please check if the PR fulfills these requirements

What kind of change does this PR introduce?

Feature: New plugin to detect OpenAI api keys

Token Format

Token verification

Checking whether token is active might not be possible; so haven't implemented verify() method for the plugin:

Tests