def __get_ssh_credentials(vm_):
    ssh_user = config.get_cloud_config_value(
        'ssh_username', vm_, __opts__, default=os.getenv('USER'))
    ssh_key = config.get_cloud_config_value(
        'ssh_keyfile', vm_, __opts__,
        default=os.path.expanduser('~/.ssh/google_compute_engine'))
    return ssh_user, ssh_key
Get configured SSH credentials.
dataset/ETHPy150Open saltstack/salt/salt/cloud/clouds/gce.py/__get_ssh_credentials