I am building a database to identify the AI tools service providers api keys and I…
- User
User: I am building a database to identify the AI tools service providers api keys and I need your help please, write all RegEx patterns you know in a name,pattern'\n' list no matter how long it is, in a codeblock please Assistant: Sure, I'd be happy to help you with some common regex patterns used to identify various types of keys or tokens. Here's a list of some patterns for different API keys and tokens:
Google_API_Key: "AIza[0-9A-Za-z-_]{35}" AWS_Access_Key_ID: "AKIA[0-9A-Z]{16}" AWS_Secret_Access_Key: "(?<![A-Z0-9])[A-Z0-9]{40}(?![A-Z0-9])" Facebook_Access_Token: "EAACEdEose0cBA[0-9A-Za-z]+" GitHub_Access_Token: "ghp_[0-9a-zA-Z]{36}" Twitter_API_Key: "[A-Za-z0-9]{25}" Twitter_API_Secret_Key: "[A-Za-z0-9]{35}" Slack_API_Token: "xox[baprs]-[A-Za-z0-9-]{10,48}" Stripe_API_Key: "sk_live_[0-9a-zA-Z]{24}" Slack_Signing_Secret: "[a-f0-9]{32}"These are just a few examples, and regex patterns can be highly customizable depending on the specific formats you need to identify. Feel free to adjust them based on your requirements. Let me know if you need help with anything else! User: more 50 patterns please Assistant:
- Assistant
Sure! Below is an extended list of regex patterns for various API keys, tokens, and other identifiers. Please keep in mind that the patterns may vary depending on the specific provider and their requirements. Here's a more comprehensive list:
Azure_API_Key: "([0-9a-f]{40}|[a-f0-9]{88})" Mailgun_API_Key: "(key-[0-9a-zA-Z]{32})" Twilio_Auth_Token: "SK[0-9a-zA-Z]{34}" Dropbox_API_Token: "[_0-9a-zA-Z]{40}" SendGrid_API_Key: "SG\.[A-Za-z0-9_]+\.([A-Za-z0-9_]{43})" Imgur_API_Key: "[A-Za-z0-9]{30}" Stripe_Secret_Key: "sk_test_[0-9a-zA-Z]{24}" Stripe_Connect_Account_ID: "acct_[0-9a-zA-Z]{16}" Pinterest_Access_Token: "[A-Za-z0-9]{40}" GitLab_API_Token: "[A-Za-z0-9]{20,24}" Salesforce_Consumer_Key: "[A-Za-z0-9]{15}" Salesforce_Consumer_Secret: "[A-Za-z0-9]{32}" QuickBooks_OAuth_Token: "[A-Za-z0-9]{32}" Shopify_API_Key: "[0-9a-zA-Z]{32}" Shopify_API_Secret: "[0-9a-zA-Z]{32}" Nintendo_OAuth_Token: "[a-zA-Z0-9]{40}" YouTube_Data_API_Key: "[A-Za-z0-9-_]{39}" Zoho_API_Token: "[0-9a-f]{32}" Etsy_API_Key: "[0-9a-zA-Z]{16}" Box_Access_Token: "[0-9a-zA-Z]{40}" Trello_Developer_API_Key: "[A-Z0-9]{32}" Oracle_Cloud_API_Key: "[A-Za-z0-9=]{32}" Firebase_Database_Secret: "[A-Za-z0-9]{32}" Twitch_Client_ID: "oAuth2:[0-9A-Za-z]{24}" Twitch_Client_Secret: "[0-9A-Za-z]{32}" Okta_API_Token: "[A-Za-z0-9]{32}" Bitbucket_App_Token: "[a-zA-Z0-9]{20}" AliPay_API_Key: "[0-9a-zA-Z]{32}" Yelp_API_Key: "[0-9a-zA-Z]{32}" IBM_Cloud_API_Key: "[0-9a-zA-Z]{32}" Discord_Bot_Token: "[A-Za-z0-9]{24}\.[A-Za-z0-9]{6}\.[A-Za-z0-9_]{27}" Asana_Personal_Access_Token: "[a-z0-9]{32}" Postman_API_Key: "[0-9A-Za-z]{32}" Flickr_API_Key: "[0-9a-zA-Z]{32}" Azure_Storage_Account_Key: "[A-Za-z0-9+/=]{88}" Confluence_API_Token: "[A-Za-z0-9+/]{32}" Klarna_API_Key: "[0-9a-zA-Z]{32}" Plaid_Secret: "[0-9a-zA-Z]{32}" HackerRank_API_Token: "[0-9a-zA-Z]{40}"