Home
last modified time | relevance | path

Searched +full:application +full:- +full:default +full:- +full:credentials (Results 1 – 25 of 1237) sorted by relevance

12345678910>>...50

/aosp_15_r20/external/python/google-auth-library-python/docs/
Duser-guide.rst6 Credentials and account types
7 -----------------------------
9 :class:`~credentials.Credentials` are the means of identifying an application or
10 user to a service or API. Credentials can be obtained with three different types
13 Credentials from service accounts identify a particular application. These types
14 of credentials are used in server-to-server use cases, such as accessing a
15 database. This library primarily focuses on service account credentials.
17 Credentials from user accounts are obtained by asking the user to authorize
18 access to their data. These types of credentials are used in cases where your
19 application needs access to a user's data in another service, such as accessing
[all …]
/aosp_15_r20/external/python/google-auth-library-python/google/auth/
D_default.py7 # http://www.apache.org/licenses/LICENSE-2.0
15 """Application default credentials.
17 Implements application default credentials and project ID detection.
34 # Valid types accepted for file-based credentials.
40 # Help message when no credentials can be found.
42 Could not automatically determine credentials. Please set {env} or \
43 explicitly create credentials and re-run the application. For more \
45 https://cloud.google.com/docs/authentication/getting-started
47 env=environment_vars.CREDENTIALS
50 # Warning when using Cloud SDK user credentials
[all …]
D_default_async.py7 # http://www.apache.org/licenses/LICENSE-2.0
15 """Application default credentials.
17 Implements application default credentials and project ID detection.
32 """Loads Google credentials from a file.
34 The credentials file must be a service account key or stored authorized
35 user credentials.
38 filename (str): The full path to the credentials file.
39 scopes (Optional[Sequence[str]]): The list of scopes for the credentials. If
40 specified, the credentials will automatically be scoped if
46 Tuple[google.auth.credentials.Credentials, Optional[str]]: Loaded
[all …]
/aosp_15_r20/external/python/python-api-core/docs/
Dauth.rst19 .. code-block:: bash
21 $ gcloud auth application-default login
23 …Note that this command generates credentials for client libraries. To authenticate the CLI itself,…
25 .. code-block:: bash
33 .. code-block:: bash
40 * **If you're running your application elsewhere**,
44 .. code-block:: bash
48 .. _service account: https://cloud.google.com/iam/docs/creating-managing-service-accounts#creating
50 Client-Provided Authentication
57 .. code-block:: python
[all …]
/aosp_15_r20/external/google-auth-library-java/
H A DREADME.md5 [![stable](http://badges.github.io/stability-badges/dist/stable.svg)](http://github.com/badges/stab…
6 …n-central/v/com.google.auth/google-auth-library-credentials.svg)](https://img.shields.io/maven-cen…
8 - [API Documentation](https://googleapis.dev/java/google-auth-library/latest)
12 - [*google-auth-library-credentials*](#google-auth-library-credentials): contains base classes and
13 interfaces for Google credentials
14 - [*google-auth-library-appengine*](#google-auth-library-appengine): contains App Engine
15 credentials. This artifact depends on the App Engine SDK.
16 - [*google-auth-library-oauth2-http*](#google-auth-library-oauth2-http): contains a wide variety of
17 credentials as well as utility methods to create them and to get Application Default Credentials
24 * [google-auth-library-oauth2-http](#google-auth-library-oauth2-http)
[all …]
/aosp_15_r20/external/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/
H A DGoogleCredentials.java38 import com.google.auth.Credentials;
57 /** Base type for credentials for authorizing calls to Google APIs using OAuth2. */
60 private static final long serialVersionUID = -1522852442442473691L;
62 static final String QUOTA_PROJECT_ID_HEADER_KEY = "x-goog-user-project";
76 * Returns the credentials instance from the given access token.
79 * @return the credentials instance
86 * Returns the credentials instance from the given access token and universe domain.
90 * @return the credentials instance
100 * Returns the Application Default Credentials.
102 * <p>Returns the Application Default Credentials which are used to identify and authorize the
[all …]
H A DDefaultCredentialsProvider.java50 * Provides the Application Default Credential from the environment.
52 * <p>An instance represents the per-process state used to get and cache the credential and allows
56 static final DefaultCredentialsProvider DEFAULT = new DefaultCredentialsProvider(); field in DefaultCredentialsProvider
73 "764086051850-6qr4p6gpi6hn506pt8ejuq83di341hur.apps.googleusercontent.com";
75 "You are authenticating using user credentials. "
76 + "For production, we recommend using service account credentials.\n\n"
77 + "To learn more about service account credentials, see "
78 + "http://cloud.google.com/docs/authentication/external/set-up-adc-on-cloud";
81 "Your default credentials were not found. To set up Application Default Credentials "
83 + "https://cloud.google.com/docs/authentication/external/set-up-adc.";
[all …]
H A DGoogleAuthUtils.java38 * convenience methods such as a getter for well-known Application Default Credentials file path
43 * Gets the path to the well-known Application Default Credentials file location
45 * @return the path to the well-known Application Default Credentials file location
48 return getWellKnownCredentialsFile(DefaultCredentialsProvider.DEFAULT).getAbsolutePath(); in getWellKnownCredentialsPath()
54 * @return the path to the well-known Application Default Credentials file location
61 * Platform-independent logic to obtain the well-known Application Default Credentials file
65 * @return the well-known Application Default Credentials file
/aosp_15_r20/external/python/google-api-python-client/docs/
Doauth-server.md3-to-server interactions such as those between a web application and a Google service. For this sce…
5application uses a service account when the application uses Google APIs to work with its own data…
7application to access user data on behalf of users in the G Suite domain. For example, an applicat…
9application for your domain, the required permissions are automatically granted to the application
11 …outside of the domain. If you're using G Suite domain-wide delegation, this isn't relevant to you
13 This document describes how an application can complete the server-to-server OAuth 2.0 flow by usin…
17-to-server interactions, first create a service account for your project in the API Console. If yo…
19 Then, your application prepares to make authorized API calls by using the service account's credent…
21 Finally, your application can use the access token to call Google APIs.
25 https://cloud.google.com/iam/docs/creating-managing-service-account-keys#creating_service_account_k…
[all …]
/aosp_15_r20/external/python/oauth2client/oauth2client/
Dclient.py7 # http://www.apache.org/licenses/LICENSE-2.0
57 EXPIRY_FORMAT = '%Y-%m-%dT%H:%M:%SZ'
68 # The value representing user credentials.
71 # The value representing service account credentials.
75 # Application Default Credentials.
77 # The ~/.config subdirectory containing gcloud credentials. Intended
83 # The error message we show users when we can't find the Application
84 # Default Credentials.
86 'The Application Default Credentials are not available. They are '
90 ' must be defined pointing to a file defining the credentials. See '
[all …]
/aosp_15_r20/external/opencensus-java/exporters/stats/stackdriver/src/main/java/io/opencensus/exporter/stats/stackdriver/
H A DStackdriverStatsExporter.java8 * http://www.apache.org/licenses/LICENSE-2.0
32 import com.google.auth.Credentials;
87 private static final String USER_AGENT_KEY = "user-agent";
89 "opencensus-java/" + OpenCensusLibraryInformation.VERSION;
130 * Creates a StackdriverStatsExporter for an explicit project ID and using explicit credentials,
131 * with default Monitored Resource.
135 * @param credentials a credentials used to authenticate API calls.
144 Credentials credentials, String projectId, Duration exportInterval) throws IOException { in createAndRegisterWithCredentialsAndProjectId() argument
145 checkNotNull(credentials, "credentials"); in createAndRegisterWithCredentialsAndProjectId()
149 credentials, in createAndRegisterWithCredentialsAndProjectId()
[all …]
/aosp_15_r20/external/autotest/utils/frozen_chromite/third_party/oauth2client/
H A Dclient.py7 # http://www.apache.org/licenses/LICENSE-2.0
64 EXPIRY_FORMAT = '%Y-%m-%dT%H:%M:%SZ'
78 # The value representing user credentials.
81 # The value representing service account credentials.
85 # Application Default Credentials.
87 # The ~/.config subdirectory containing gcloud credentials. Intended
93 # The error message we show users when we can't find the Application
94 # Default Credentials.
96 'The Application Default Credentials are not available. They are '
100 ' must be defined pointing to a file defining the credentials. See '
[all …]
/aosp_15_r20/external/python/google-auth-library-python/system_tests/
Dnoxfile.py7 # http://www.apache.org/licenses/LICENSE-2.0
42 GAE_APP_URL_TMPL = "https://{}-dot-{}.appspot.com"
43 GAE_TEST_APP_SERVICE = "google-auth-system-tests"
46 CLOUD_SDK_DIST_FILENAME = "google-cloud-sdk.tar.gz"
67 CLOUD_SDK_INSTALL_DIR = CLOUD_SDK_ROOT.join("google-cloud-sdk")
97 session.run(GCLOUD, "components", "update", "-q")
103 session.run("wget", CLOUD_SDK_DOWNLOAD_URL, "-O", str(tar_path), silent=True)
106 session.run("tar", "xzf", str(tar_path), "-C", str(CLOUD_SDK_ROOT))
112 "--usage-reporting",
114 "--path-update",
[all …]
/aosp_15_r20/external/aws-crt-java/codebuild/
H A DCanaryWrapper_24_7.py5 # Will only stop running if the Canary application itself has an issue - in which case it Canary ap…
16 # TODO - Using subprocess may not work on Windows for starting/stopping the application thread.
22 command_parser.add_argument("--canary_executable", type=str, required=True,
24 command_parser.add_argument("--canary_arguments", type=str, default="",
26 command_parser.add_argument("--s3_bucket_name", type=str, default="canary-wrapper-folder",
27 …help="(OPTIONAL, default=canary-wrapper-folder) The name of the S3 bucket where success logs will …
28 command_parser.add_argument("--s3_bucket_application", type=str, required=True,
29 …help="(OPTIONAL, default=canary-wrapper-folder) The S3 URL to monitor for changes MINUS the bucket…
30 command_parser.add_argument("--s3_bucket_application_in_zip", type=str, required=False, default="",
31 …help="(OPTIONAL, default="") The file path in the zip folder where the application is stored. Will…
[all …]
H A DCanaryWrapper.py1 # Python wrapper script for collecting Canary metrics, setting-up/tearing-down alarms, reporting me…
16 command_parser.add_argument("--canary_executable", type=str, required=True,
17 help="The path to the canary executable (or program - like 'python3')")
18 command_parser.add_argument("--canary_arguments", type=str, default="",
20 command_parser.add_argument("--git_hash", type=str, required=True,
22 command_parser.add_argument("--git_repo_name", type=str, required=True,
24 command_parser.add_argument("--git_hash_as_namespace", type=bool, default=False,
25 …help="(OPTIONAL, default=False) If true, the git hash will be used as the name of the Cloudwatch n…
26 command_parser.add_argument("--output_log_filepath", type=str, default="output.log",
27 help="(OPTIONAL, default=output.log) The file to output log info to. Set to 'None' to disable")
[all …]
/aosp_15_r20/external/google-cloud-java/java-iamcredentials/grpc-google-cloud-iamcredentials-v1/src/main/java/com/google/cloud/iam/credentials/v1/
H A DIAMCredentialsGrpc.java8 * https://www.apache.org/licenses/LICENSE-2.0
16 package com.google.cloud.iam.credentials.v1;
25 * application or a virtual machine (VM), instead of to an individual end user.
26 * Your application assumes the identity of the service account to call Google
28 * Service account credentials are used to temporarily assume the identity
30 * tokens, OpenID Connect ID tokens, self-signed JSON Web Tokens (JWTs), and
36 comments = "Source: google/iam/credentials/v1/iamcredentials.proto")
42 public static final String SERVICE_NAME = "google.iam.credentials.v1.IAMCredentials";
46 com.google.cloud.iam.credentials.v1.GenerateAccessTokenRequest,
47 com.google.cloud.iam.credentials.v1.GenerateAccessTokenResponse>
[all …]
/aosp_15_r20/external/sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/core/
H A DGoogleCredentialsProvider.java33 import com.google.auth.Credentials;
45 * GoogleCredentialsProvider acquires credentials using Application Default Credentials.
47 * <p>For more information on Application Default Credentials, see <a
48 * href="https://developers.google.com/identity/protocols/application-default-credentials">
49 * https://developers.google.com/identity/protocols/application-default-credentials</a>.
67 public Credentials getCredentials() throws IOException { in getCredentials()
68 GoogleCredentials credentials = getOAuth2Credentials(); in getCredentials() local
69 if (credentials == null) { in getCredentials()
70 credentials = GoogleCredentials.getApplicationDefault(); in getCredentials()
82 if (credentials instanceof ServiceAccountCredentials && hasJwtEnabledScope) { in getCredentials()
[all …]
/aosp_15_r20/external/sdv/vsomeip/documentation/
DvsomeipUserGuide9 // Set the directory where the default icons can be found
10 :iconsdir: {asciidoc-confdir}/{iconsdir}
14 :data-uri:
18 Copyright (C) 2015-2019, Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
29 // or pass it via -a version=$VSOMEIP_VERSION to asciidoc
33 ----------------
34 The vsomeip stack implements the http://some-ip.com/[Scalable service-Oriented
38 * a second shared library for SOME/IP's service discovery (`libvsomeip-sd.so`)
42 ------------------
49 *** `sudo apt-get install libboost-system1.55-dev libboost-thread1.55-dev
[all …]
/aosp_15_r20/external/python/google-auth-library-python/tests/compute_engine/
Dtest_credentials.py7 # http://www.apache.org/licenses/LICENSE-2.0
25 from google.auth.compute_engine import credentials
38 b"OquNjHKhTmlgCk361omRo18F_uY-7y0f_AmLbzW062Q1Zr61HAwHYP5FM"
40 b"WN1YpT55IiQ31esLdL5q-qDsOPpNZJUti1y1lAreM5nIn2srdWzGXGs4i"
41 b"TRQsn0XkNUCL4RErpciXmjfhMrPkcAjKA-mXQm2fa4jmTlEZFqFmUlym1"
42 b"ozJ0yf5grjN6AslN4OGvAv1pS-_Ko_pGBS6IQtSBC6vVKCUuBfaqNjykg"
48 credentials = None variable in TestCredentials
52 self.credentials = credentials.Credentials()
55 assert not self.credentials.valid
57 assert not self.credentials.expired
[all …]
/aosp_15_r20/external/python/google-auth-library-python/google/auth/transport/
Dgrpc.py7 # http://www.apache.org/licenses/LICENSE-2.0
44 """A `gRPC AuthMetadataPlugin`_ that inserts the credentials into each
51 credentials (google.auth.credentials.Credentials): The credentials to
54 object used to refresh credentials as needed.
56 This is used when a self-signed JWT is created from service
57 account credentials.
60 def __init__(self, credentials, request, default_host=None): argument
61 # pylint: disable=no-value-for-parameter
65 self._credentials = credentials
79 # Attempt to use self-signed JWTs when a service account is used.
[all …]
Durllib3.py7 # http://www.apache.org/licenses/LICENSE-2.0
26 # http://urllib3.readthedocs.io/en/latest/user-guide.html\
27 # #certificate-verification
47 import urllib3.exceptions # pylint: disable=ungrouped-imports
88 :class:`~google.auth.credentials.Credentials` instance::
96 credentials.refresh(request)
122 urllib3 default timeout will be used.
132 # urllib3 uses a sentinel default value for timeout, so only set it if
157 See https://github.com/urllib3/urllib3/issues/474#issuecomment-253168415
189 """A urllib3 HTTP class with credentials.
[all …]
Drequests.py7 # http://www.apache.org/licenses/LICENSE-2.0
37 import requests.adapters # pylint: disable=ungrouped-imports
38 import requests.exceptions # pylint: disable=ungrouped-imports
41 ) # pylint: disable=ungrouped-imports
42 import six # pylint: disable=ungrouped-imports
108 elapsed = time.time() - self._start
112 self.remaining_timeout = self._timeout - elapsed
115 self.remaining_timeout = tuple(x - elapsed for x in self._timeout)
130 :class:`~google.auth.credentials.Credentials` instance::
137 credentials.refresh(request)
[all …]
/aosp_15_r20/external/python/oauth2client/
DCHANGELOG.md5 * Populate `token_expiry` for GCE credentials. (#473)
7 * Populate `scopes` for GCE credentials. (#524)
9 * Add `oauth2client.contrib.sqlalchemy`, a SQLAlchemy-based credential store. (#527)
13 * Refactor all django-related code into `oauth2client.contrib.django_util`. Add `DjangoORMStorage`,…
14 * Fix application default credentials resolution order. (#570)
27 …d `oauth2client.contrib.django_orm` have been updated to support Django 1.8 - 1.10. Versions of Dj…
31 * Add basic support for JWT access credentials. (#503)
36 * Fix issue where `flask_util.UserOAuth2.required` would accept expired credentials (#452).
50 * Allowing default flags in `oauth2client.tools.run_flow()`
59 ## v2.0.0-post1
[all …]
/aosp_15_r20/external/python/google-auth-library-python/tests/
Dtest_external_account.py7 # http://www.apache.org/licenses/LICENSE-2.0
33 SERVICE_ACCOUNT_EMAIL = "service-1234@service-name.iam.gserviceaccount.com"
36 "//iam.googleapis.com/locations/global/workforcePools/pool-id/providers/provider-id",
37 "//iam.googleapis.com/locations/eu/workforcePools/pool-id/providers/provider-id",
38 "//iam.googleapis.com/locations/eu/workforcePools/workloadIdentityPools/providers/provider-id",
46 "global/workloadIdentityPools/pool-id/providers/"
47 "provider-id"
51 "eu/workloadIdentityPools/pool-id/providers/"
52 "provider-id"
58 "provider-id"
[all …]
/aosp_15_r20/external/google-cloud-java/java-translate/google-cloud-translate/src/main/java/com/google/cloud/translate/
H A DTranslateOptions.java8 * http://www.apache.org/licenses/LICENSE-2.0
21 import com.google.auth.Credentials;
40 private static final long serialVersionUID = -572597134540398216L;
48 ImmutableSet.of("https://www.googleapis.com/auth/cloud-platform");
85 /** Returns the authentication credentials. */
86 public Credentials getCredentials() { in getCredentials()
87 return credentials; in getCredentials()
111 * Sets the API key used to issue requests. This will be ignored if credentials are explicitly
113 * and no Application Default Credentials are available, an API key is looked for in the {@code
124 * Sets the code for the default target language. If not set, English ({@code en}) is used.
[all …]

12345678910>>...50