
    
                        S r SSKJr  SSKJr  SSKJr  SSKJr  \R                  " \R                  R                  \R                  R                  \R                  R                  5       " S S\R                  5      5       rg)	z)Auth for Application Default Credentials.    )absolute_import)division)unicode_literals)basec                       \ rS rSrSrSrg)ApplicationDefault   a
  Manage your active Application Default Credentials.

Application Default Credentials (ADC) provide a method to get credentials used
in calling Google APIs. The {command} command group allows you to manage
active credentials on your machine that are used for local application
development.

These credentials are only used by Google client libraries in your own
application.

For more information about ADC and how it works, see [Authenticating as a
service account](https://cloud.google.com/docs/authentication/production).

## EXAMPLES

To use your own user credentials for your application to access an API, run:

  $ {command} login

This will take you through a web flow to acquire new user credentials.

To create a service account and have your application use it for API access,
run:

  $ gcloud iam service-accounts create my-account
  $ gcloud iam service-accounts keys create key.json
    --iam-account=my-account@my-project.iam.gserviceaccount.com
  $ export GOOGLE_APPLICATION_CREDENTIALS=key.json
  $ ./my_application.sh
 N)__name__
__module____qualname____firstlineno____doc____static_attributes__r
       0lib/surface/auth/application_default/__init__.pyr   r      s    r   r   N)r   
__future__r   r   r   googlecloudsdk.callioper   ReleaseTracksReleaseTrackGABETAALPHAGroupr   r
   r   r   <module>r      sk     0 &  ' ( D%%(($*;*;*@*@%%++- -r   