-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Secret validation #191
Comments
Some of the secrets (such as Github) are stand-alone tokens, but some of them can be used only by combination (of Access Token and Secret Token, such as on AWS Console). I need to think about how to validate those. |
This PR is the first implementation of validity check #191. I added the flow of validation, controlled by the `--validate` flag, and added validation for Github token.
|
To validate curl \
'https://youtube.googleapis.com/youtube/v3/search?part=snippet&key=YOUR_GCP_KEY' \
--header 'Accept: application/json' \
--compressed It may return a message like: |
As a user I would like to know if the secret found is valid or not so I would be able to prioritize and remediate accordingly.
Description:
Associate the following data with the secret found:
Secrets to add validation to:
The text was updated successfully, but these errors were encountered: