Conversation
…/Corebrain into pre-release-v0.2.0
Fix the issue with wrong import
…brain into pre-release-v0.2.0
Add setup scripts
Add auto generated documentation.
Add translations to all scripts.
…igure command fixed.
comments now work properly
fixing comments
…brain into pre-release-v0.2.0
Add translations to files with Spanish comments.
…to pre-release-v0.2.0
Add installation instruction to include submodules
…res/cli-api-key-creation
…brain into pre-release-v0.2.0
List config commands added
|
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
|---|---|---|---|---|---|
| 17449842 | Triggered | Generic High Entropy Secret | 3fac1ed | examples/complex.py | View secret |
| 17449344 | Triggered | Generic High Entropy Secret | 316f9ec | corebrain/examples/complex.py | View secret |
| 17330250 | Triggered | Generic High Entropy Secret | 791676b | corebrain/cli/common.py | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secrets safely. Learn here the best practices.
- Revoke and rotate these secrets.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
ceoweggo
left a comment
There was a problem hiding this comment.
Readme file get conflicts. Fixed in the next commit
I added CLI arguments for API key creation:
--create-api-key <- Creates a new API Key by sending a request to Corebrain-API
--key-name <- Sets name of the new API Key
--key-level read | write | admin <- Sets Access level for the new API Key
Usage example:
corebrain --create-api-key --key-name "Name of the key" --key-level write
I have tested the API Key creation with Corebrain-API. After logging in to SSO and authentication, API keys can be created with CLI command properly.