add sample code for receiving a Pub/Sub notification from Secret Manager #6170
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.
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 insnippets_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)
The text was updated successfully, but these errors were encountered: