In my project client want to rotate sevice account key in every 90 days how I can automate without any manual step that job should triggered automatically for every 90 days
Hi @Saikumar94 ,
Welcome to Google Cloud Community!
To automate service account key rotation every 90 days, you can use a Cloud Function. A Cloud Function is a serverless compute platform that allows you to run code without provisioning or managing servers.
To create a Cloud Function to rotate service account keys every 90 days, follow these steps:
- Create a Cloud Function with the Python 3.9 runtime and a schedule trigger that fires every 90 days.
- Write the code to rotate your service account keys.
- Deploy the Cloud Function.
Once the Cloud Function is deployed, it will be triggered every 90 days and will rotate all of the service account keys in your project.