muehlemann-popp/GCP Secrets Disabler

Disable old versions of secrets in Google Cloud Secret Manager. Supports WIF or Service Account Key.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Jun 3, 2025
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: muehlemann-popp/gcp-secrets-disabler-action@f9db97a40c191e6c11fcca28a4f3fc9e506c2bc0 # v1.1.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
workload-identity-providerGoogle Cloud Workload Identity Provider (e.g. projects/YOUR_PROJECT_NUMBER/locations/global/workloadIdentityPools/YOUR_POOL_ID/providers/YOUR_PROVIDER_ID). Required for WIF.no
service-accountGCP service account email to impersonate via WIF (e.g. your-sa-email@YOUR_PROJECT_ID.iam.gserviceaccount.com). Required for WIF.no
gcp-credentialsContents of the GCP service account JSON key. Required if WIF is not used.no
project-idGoogle Cloud Project IDyes
gcp-regionGoogle Cloud Region (Note: Secret Manager is global, but this can be used for other configurations)noeurope-west6
python-versionPython version to useno3.12
dry-runIf true, only changes will be shown without applying them.notrue
save-dataIf true, save requests to external resources as pickled binariesnofalse

no outputs