
                             S r SSKJr  SSKJr  SSKJr  SSKJr  SSKJr  SSK	J
r
  \R                   " S S	\R                  5      5       rg
)z0Implementation of describe command for HMAC key.    )absolute_import)division)unicode_literals)api_factory)base)storage_urlc                   8    \ rS rSrSrSSS.r\S 5       rS rSr	g	)
Describe   z%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                 .    U R                  S[        SS9  g )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ArgsDescribe.Args-   s!    
M	      c                     [         R                  " [        R                  R                  5      R                  UR                  5      nUR                  $ )N)r   get_apir   ProviderPrefixGCSget_hmac_keyr   metadata)selfargshmac_resources      r   RunDescribe.Run8   s@    ''""&&l4>>"  !!!r    N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r"   __static_attributes__r$   r   r   r
   r
      s/    -


-  "r   r
   N)r)   
__future__r   r   r   googlecloudsdk.api_lib.storager   googlecloudsdk.callioper   "googlecloudsdk.command_lib.storager   UniverseCompatibleDescribeCommandr
   r$   r   r   <module>r3      sC    7 &  ' 6 ( : !"t## !" !"r   