| Server IP : 35.236.43.222 / Your IP : 216.73.216.143 Web Server : Apache System : Linux order-form-vm-001 5.10.0-37-cloud-amd64 #1 SMP Debian 5.10.247-1 (2025-12-11) x86_64 User : deploy ( 1002) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/google-cloud-sdk/bin/bootstrapping/__pycache__/ |
Upload File : |
�
�� � �� � d Z ddlmZ ddlmZ ddlZddlZddlZddlmZ ddl m
Z
ddl mZ ddl mZ dd l m
Z
dd
l mZ ddlmZ ddlmZ dd
lmZ d� Zd� Zd� Zd� Zedk r� ej dd� � Z ej de�� � ddiZ ej � � Z ej ee� � ej! d� � e� � dS # e"$ rZ# ej$ e#d� � Y dZ#[#dS dZ#[#ww xY wdS )z*A convenience wrapper for starting gsutil.� )�absolute_import)�unicode_literalsN)�
exceptions)�config)�
context_aware)�log)�metrics)�
properties)�gce)�encoding)�filesc � � |�d S | � d� � | � d� |||�� � � � d S )Nz-oz{section}:{name}={value})�section�name�value)�append�format)�argsr r r s �bin/bootstrapping/gsutil.py�_MaybeAddBotoOptionr s] � �
�]�
�F��+�+�d�����+�+�(�/�/��D�� 0� /� /� 0� 0� 0� 0� 0� c � � t | d� � r| j S t j | j � � }t j |� � }d|v r|d S dS # t j $ r&}t j d| j |� � Y d}~dS d}~ww xY w)z:Returns the cert provider command from the context config.�cert_provider_commandz-context aware settings discovery file %s - %sN)
�hasattrr r
�ReadFileContents�config_path�json�loads�Errorr �debug)�context_config�contents�json_out�es r �_GetCertProviderCommandr% # s� � �
�^�4�5�5� 0��/�/�-��%�n�&@�A�A�H��z�(�#�#�H��(�*�*�
�-�
.�.� +�*�� �� -� -� -��I�=��(�!�-� -� -� -� -� -� -� -� -�����-���s �8A �B �#B�B c �P � t j � � }|r|j t j j k rdS |ot |dd� � }t
| dd|� � |rMt |� � }t |t � � rd�
|� � }t
| dd|� � dS dS )z*Adds device certificate settings for mTLS.N�use_client_certificateT�Credentials� r )r �Config�config_type�
ConfigType�ENTERPRISE_CERTIFICATE�getattrr r% �
isinstance�list�join)r r! r'