How do I ensure that my service account keys are not compromised

0 votes
What security measures should I follow to ensure that the private keys of my service accounts aren't compromised?
Oct 30, 2019 in GCP by anonymous
• 6,260 points
1,221 views

1 answer to this question.

0 votes

If you delete a key, your application will no longer be able to access Cloud Platform resources using that key.

A security best practice is to rotate your service account keys regularly. You can rotate a key by creating a new key, switching applications to use the new key and then deleting old key

Use the serviceAccount.keys.create()method and serviceAccount.keys.delete() method together to automate the rotation.

answered Oct 30, 2019 by Sirajul
• 59,230 points

Related Questions In GCP

0 votes
1 answer

How do I ensure that my cloud storage data has max availability?

Consider storing your data in a multi-regional ...READ MORE

answered Nov 18, 2019 in GCP by Sirajul
• 59,230 points
626 views
0 votes
1 answer

How can I change the Service Account that my GCP GAE Flex Service is running as?

This isn't possible at the moment. The ...READ MORE

answered Mar 4, 2022 in GCP by Korak
• 5,820 points
539 views
+7 votes
12 answers

How do I delete my Google Cloud Platform Account?

How do I delete me cloud and ...READ MORE

answered Jan 18, 2019 in GCP by dodge123@yahoo.com
164,787 views
0 votes
1 answer
0 votes
1 answer

Updated Role isn't reflecting in my GCP project.

When modifying a custom role by adding ...READ MORE

answered Oct 30, 2019 in GCP by Sirajul
• 59,230 points
1,609 views
0 votes
1 answer
0 votes
1 answer

create a service account on Gcloud.

To create a service account, at minimum ...READ MORE

answered Oct 30, 2019 in GCP by Sirajul
• 59,230 points
708 views
0 votes
1 answer

How do I ensure that all the VM instances created in my organisation are shielded VM's?

You can set the constraints/compute.requireShieldedVm organization policy constraint to True to require ...READ MORE

answered Oct 23, 2019 in GCP by Sirajul
• 59,230 points
1,040 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP