Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 324 Bytes

File metadata and controls

14 lines (11 loc) · 324 Bytes

gcp-sa-key-rotator

Google Cloud Function for rotating GCP service account keys.

Deployment

$ gcloud beta functions deploy sa-key-rotation \
    --env-vars-file env.yaml \
    --runtime python37 \
    --entry-point rotate \
    --trigger-resource sa-rotate \
    --trigger-event google.pubsub.topic.publish