Skip to content

Conversation

@aviadl
Copy link
Member

@aviadl aviadl commented Jan 17, 2026

@github-actions
Copy link

Coverage report

The coverage rate went from 98.35% to 98.36% ⬆️

100% of new lines are covered.

Diff Coverage details (click to unfold)

descope/management/access_key.py

100% of new lines are covered (100% of the complete file).

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds support for custom attributes in access key management operations (Create, Read/Search, and Update). The changes enable users to associate custom key-value attributes with access keys and filter by these attributes during search operations.

Changes:

  • Added custom_attributes parameter to create, search_all_access_keys, and update methods in the AccessKey management class
  • Extended search functionality with bound_user_id and creating_user filter parameters
  • Updated tests to validate the new parameters are correctly passed to the API
  • Updated README documentation with examples showing the new parameters

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 6 comments.

File Description
descope/management/access_key.py Added custom_attributes parameter to create, search, and update methods; added bound_user_id and creating_user to search method
tests/management/test_access_key.py Updated tests to validate new parameters are correctly serialized and sent to API endpoints
README.md Updated code examples to demonstrate usage of custom_attributes and new search filters
.vscode/settings.json Added workspace color customizations (unrelated to feature)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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