
    M                         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
)z*Implementation of create command for HMAC.    )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	)
Create   zAdd a service account HMAC.z
       *{command}* command creates an HMAC key for the specified service
       account. The secret key material is only available upon creation, so be
       sure to store the returned secret along with the access_id.
      z
       To create an HMAC key for
       ``test.service.account@test_project.iam.gserviceaccount.com'':

         $ {command} test.service.account@test_project.iam.gserviceaccount.com
      )DESCRIPTIONEXAMPLESc                 .    U R                  S[        SS9  g )Nservice_accountzThe service account email.)typehelp)add_argumentstr)parsers    "lib/surface/storage/hmac/create.pyArgsCreate.Args,   s    
*F  H    c                     UR                   n[        R                  " [        R                  R
                  5      nUR                  U5      nUR                  $ )N)r   r   get_apir   ProviderPrefixGCScreate_hmac_keymetadata)selfargsr   apiresponses        r   Run
Create.Run1   sE    **O


k88<<
=C""?3Hr    N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r#   __static_attributes__r%   r   r   r
   r
      s1    #


- H Hr   r
   N)r*   
__future__r   r   r   googlecloudsdk.api_lib.storager   googlecloudsdk.callioper   "googlecloudsdk.command_lib.storager   UniverseCompatibleCommandr
   r%   r   r   <module>r4      sA    1 &  ' 6 ( : T\\  r   