Home
last modified time | relevance | path

Searched refs:private_key_path (Results 1 – 3 of 3) sorted by relevance

/tools/acloud/internal/lib/
Dauth.py65 def _CreateOauthServiceAccountCreds(email, private_key_path, scopes): argument
82 email, private_key_path, scopes=scopes)
86 " error message: %s" % (private_key_path, str(e)))
Dutils.py316 def CreateSshKeyPairIfNotExist(private_key_path, public_key_path): argument
336 private_key_path = os.path.expanduser(private_key_path)
338 private_key_exist = os.path.exists(private_key_path)
342 "will not automatically create the key pairs.", private_key_path,
345 key_folder = os.path.dirname(private_key_path)
350 cmd = SSH_KEYGEN_PUB_CMD + ["-f", private_key_path]
361 "-C", getpass.getuser(), "-f", private_key_path
365 private_key_path, " ".join(cmd))
377 default_pub_key_path = "%s.pub" % private_key_path
387 private_key_path, public_key_path)
/tools/acloud/setup/
Dgcp_setup_runner.py100 def SetupSSHKeys(config_path, private_key_path, public_key_path): argument
112 private_key_path = os.path.expanduser(private_key_path)
113 if (private_key_path == "" or public_key_path == ""
114 or private_key_path == _DEFAULT_SSH_PRIVATE_KEY):