Skip to content

chore(python): examples for keyrings #1914

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

Open
wants to merge 3 commits into
base: python-poc
Choose a base branch
from

Conversation

imabhichow
Copy link

@imabhichow imabhichow commented May 29, 2025

Issue #, if available:

Description of changes:

  1. Add keyring examples

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@imabhichow imabhichow force-pushed the imabhichow/python-examples-keyrings branch 4 times, most recently from 2c651c2 to c7a025e Compare May 29, 2025 18:00
key_id = keystore_create_key(TEST_KEYSTORE_NAME, TEST_LOGICAL_KEYSTORE_NAME, TEST_KEYSTORE_KMS_KEY_ID)

assert key_id is not None
# TODO: Cleanup Branch Key Items
Copy link
Contributor

Choose a reason for hiding this comment

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

I see other languages don't do this, nice catch.
I don't think we need to do this, but if you have time, feel free to do it.

Copy link
Author

Choose a reason for hiding this comment

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

I'll keep this TODO for this PR, I'll try to resolve in my next PR by adding a cleanup method.

Copy link
Author

Choose a reason for hiding this comment

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

I've updated the PR to add cleanup utility for branch keys

@imabhichow imabhichow force-pushed the imabhichow/python-examples-keyrings branch from 6aa9c8c to 00bab8f Compare May 30, 2025 21:45
@imabhichow imabhichow force-pushed the imabhichow/python-examples-keyrings branch from 00bab8f to 93860fe Compare May 30, 2025 22:37
@imabhichow imabhichow marked this pull request as ready for review May 30, 2025 23:17
@imabhichow imabhichow requested a review from a team as a code owner May 30, 2025 23:17
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