Pytest Gcpsecretmanager

pytest plugin for mocking GCP Secret Manager in-process. Use when: (1) Writing tests for code that calls google.cloud.secretmanager.SecretManagerServiceClient or SecretManagerServiceAsyncClient, (2) Needing to mock or fake GCP Secret Manager without Docker or external services, (3) Testing secret rotation, version management, or error handling against Secret Manager, (4) Adding pytest fixtures or markers for GCP secrets in a project that depends on pytest-gcpsecretmanager.

nealepetrillo adc3f30 7 files · 70.1 KB Updated

File contents

nealepetrillo/pytest-gcpsecretmanager/tree/main/ commit adc3f30ee4

Frequently asked questions

npx skillmds@latest add nealepetrillo/pytest-gcpsecretmanager