Skip to content

Auth: Credentials Management by Org & Project - #748

Merged
Ayush8923 merged 10 commits into
feat/email-validation-flowfrom
feat/credentials-management
Apr 17, 2026
Merged

Auth: Credentials Management by Org & Project#748
Ayush8923 merged 10 commits into
feat/email-validation-flowfrom
feat/credentials-management

Conversation

@Ayush8923

@Ayush8923Ayush8923 commented Apr 10, 2026

Copy link
Copy Markdown
Collaborator

Issue: ProjectTech4DevAI/kaapi-frontend#105

Summary

  • Created the new API endpoints for credentials corresponding to org/project so that super admin can create/update the credentials of any org/project.
  • Credential Masking
    • Added sensitive_fields to ProviderConfig (masks api_key for openai/google/sarvamai/elevenlabs,secret_key for langfuse)
    • New mask_credential_fields() helper in providers.py.
    • to_public() now masks sensitive fields by default
    • All GET endpoints return masked credentials in responses

Checklist

Before submitting a pull request, please ensure that you mark these task.

  • Ran fastapi run --reload app/main.py or docker compose up in the repository root and test.
  • If you've fixed a bug or added code that is tested and has test cases.

@Ayush8923Ayush8923 self-assigned this Apr 10, 2026
@coderabbitai

coderabbitaiBot commented Apr 10, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: ebfd663c-1cf9-4257-815c-a7afd0a8a8ac

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/credentials-management

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Comment threadbackend/app/models/credentials.py Outdated
@Ayush8923Ayush8923 changed the title Feat: Credentials Management by Org & ProjectAuth: Credentials Management by Org & ProjectApr 15, 2026
@Ayush8923
Ayush8923 merged commit af3e0b3 into feat/email-validation-flowApr 17, 2026
1 check passed
@Ayush8923
Ayush8923 deleted the feat/credentials-management branch April 17, 2026 15:56
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@Ayush8923@vprashrex