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

add sample code for receiving a Pub/Sub notification from Secret Manager #6170

Closed
sigilite opened this issue Jun 22, 2021 · 1 comment
Closed
Assignees
Labels
api: secretmanager Issues related to the Secret Manager API. samples Issues that are directly related to samples. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@sigilite
Copy link
Contributor

In which file did you encounter the issue?

python-secret-manager/samples/snippets/

Did you change the file? If so, how?

Added a new file consume_event_notification.py and a unit test for the new function in snippets_test.py

Describe the issue

Added sample code for consuming a Pub/Sub Event Notification from Secret Manager in a cloud function (see https://cloud.google.com/secret-manager/docs/event-notifications)

@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label Jun 22, 2021
@busunkim96 busunkim96 added api: secretmanager Issues related to the Secret Manager API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. labels Jun 22, 2021
@busunkim96 busunkim96 assigned sigilite and unassigned dandhlee Jun 23, 2021
@busunkim96
Copy link
Contributor

@sigilite sigilite closed this as completed Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: secretmanager Issues related to the Secret Manager API. samples Issues that are directly related to samples. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

3 participants