Skip to content

Features/cli api key creation#42

Open
KarixD2137 wants to merge 133 commits intoceoweggo:mainfrom
KarixD2137:features/cli-api-key-creation
Open

Features/cli api key creation#42
KarixD2137 wants to merge 133 commits intoceoweggo:mainfrom
KarixD2137:features/cli-api-key-creation

Conversation

@KarixD2137
Copy link
Collaborator

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.

ceoweggo and others added 30 commits May 12, 2025 19:50
ceoweggo and others added 27 commits May 26, 2025 18:26
comments now work properly
Add translations to files with Spanish comments.
Add installation instruction to include submodules
@gitguardian
Copy link

gitguardian bot commented May 29, 2025

⚠️ GitGuardian has uncovered 3 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

Since your pull request originates from a forked repository, GitGuardian is not able to associate the secrets uncovered with secret incidents on your GitGuardian dashboard.
Skipping this check run and merging your pull request will create secret incidents on your GitGuardian dashboard.

🔎 Detected hardcoded secrets in your pull request
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
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secrets safely. Learn here the best practices.
  3. Revoke and rotate these secrets.
  4. 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


🦉 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.

Copy link
Owner

@ceoweggo ceoweggo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Readme file get conflicts. Fixed in the next commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.