Is there a way to set password policies for accounts accessing a project on Google Compute Platform? Specifically, I need to meet the PCI-DSS requirements, which include things that pam would normally handle on ubuntu. These include expiring passwords every few months, minimum password strength, and preventing re-use of passwords.

For clarity, I'm asking about the developers and admins that have access to the machines, not an application running on the cloud instances.


Google Cloud Platform does not rely on passwords for authentication (by default) at all and does not manage them for your project.

Feel free to implement your own policies using PAM like in any other environment. You can expect that Cloud Platform management layer will not interfere with them.

  • Let me rephrase (I can edit above if I can make it clear) ... Is there a turn-key solution provided with the flexibility to configure password rules for the credentialed accounts? The docs point to SSH keys are handled and how to work with LDAP, but a solution directly applied to the credentialed accounts would be best. There's a third-party plug-in for 2-factor auth, which seems a bit big to enforce rules like "passwords should be 8 characters".
    – jimm101
    Apr 23 '15 at 11:57
  • @jimm101 looks like you are looking for full blown Identity and Account Management solution, which is not a part of Google Cloud Platform (yet), unfortunately. Apr 23 '15 at 12:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.