Skip to content
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

User secret management #135

Merged
merged 3 commits into from
Aug 19, 2024
Merged

User secret management #135

merged 3 commits into from
Aug 19, 2024

Conversation

bsatoriu
Copy link
Collaborator

@bsatoriu bsatoriu commented Aug 14, 2024

Add support for creating and retrieving user secrets within MAAP for use inside algorithms. See ticket: MAAP-Project/Community#1048

Changes:

  • Add secrets endpoints that use the cryptography library for encrypting secret values. Encrypted secrets are stored in a new member_secret table.
  • Refactor api/member namespaces to move admin-specific endpoints into a new api/admin namespace.

api/endpoints/admin.py Outdated Show resolved Hide resolved
api/endpoints/admin.py Show resolved Hide resolved
api/endpoints/admin.py Show resolved Hide resolved
api/endpoints/members.py Outdated Show resolved Hide resolved
api/endpoints/members.py Outdated Show resolved Hide resolved
Copy link

sonarcloud bot commented Aug 15, 2024

@bsatoriu
Copy link
Collaborator Author

@sujen1412 the admin role restriction for pre_approved_email endpoints and improved exception handling is ready for final review.

@bsatoriu bsatoriu merged commit 1d0e59c into develop Aug 19, 2024
4 checks passed
@bsatoriu bsatoriu deleted the feature/user-secrets-1048 branch August 19, 2024 18:54
@bsatoriu bsatoriu mentioned this pull request Sep 10, 2024
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.

2 participants