Home
last modified time | relevance | path

Searched refs:service_account (Results 1 – 25 of 60) sorted by relevance

123

/external/grpc-grpc/src/core/lib/security/credentials/alts/
Dgrpc_alts_credentials_client_options.cc37 const char* service_account) { in target_service_account_create() argument
38 if (service_account == nullptr) { in target_service_account_create()
43 sa->data = gpr_strdup(service_account); in target_service_account_create()
48 grpc_alts_credentials_options* options, const char* service_account) { in grpc_alts_credentials_client_options_add_target_service_account() argument
49 if (options == nullptr || service_account == nullptr) { in grpc_alts_credentials_client_options_add_target_service_account()
58 target_service_account* node = target_service_account_create(service_account); in grpc_alts_credentials_client_options_add_target_service_account()
64 target_service_account* service_account) { in target_service_account_destroy() argument
65 if (service_account == nullptr) { in target_service_account_destroy()
68 gpr_free(service_account->data); in target_service_account_destroy()
69 gpr_free(service_account); in target_service_account_destroy()
/external/grpc-grpc/src/core/tsi/alts/handshaker/
Dalts_handshaker_service_api.cc63 req->client_start.local_identity.service_account.arg)); in grpc_gcp_handshaker_req_destroy()
181 const char* service_account) { in set_identity_service_account() argument
182 grpc_slice* slice = create_slice(service_account, strlen(service_account)); in set_identity_service_account()
183 identity->service_account.arg = slice; in set_identity_service_account()
184 identity->service_account.funcs.encode = encode_string_or_bytes_cb; in set_identity_service_account()
207 grpc_gcp_handshaker_req* req, const char* service_account) { in grpc_gcp_handshaker_req_add_target_identity_service_account() argument
208 if (req == nullptr || service_account == nullptr || !req->has_client_start) { in grpc_gcp_handshaker_req_add_target_identity_service_account()
216 set_identity_service_account(target_identity, service_account); in grpc_gcp_handshaker_req_add_target_identity_service_account()
239 grpc_gcp_handshaker_req* req, const char* service_account) { in grpc_gcp_handshaker_req_set_local_identity_service_account() argument
240 if (req == nullptr || service_account == nullptr || !req->has_client_start) { in grpc_gcp_handshaker_req_set_local_identity_service_account()
[all …]
Dalts_handshaker_service_api.h154 grpc_gcp_handshaker_req* req, const char* service_account);
178 grpc_gcp_handshaker_req* req, const char* service_account);
271 const char* service_account);
Dhandshaker.pb.c20 …( 1, STRING , OPTIONAL, CALLBACK, FIRST, grpc_gcp_Identity, service_account, service_account, 0),
21 …PB_FIELD( 2, STRING , OPTIONAL, CALLBACK, OTHER, grpc_gcp_Identity, hostname, service_account, 0…
Dalts_handshaker_service_api_util.cc45 destroy_slice(static_cast<grpc_slice*>(identity->service_account.arg)); in destroy_repeated_field_list_identity()
129 identity->service_account.funcs.decode = decode_string_or_bytes_cb; in decode_repeated_identity_cb()
/external/grpc-grpc/tools/internal_ci/helper_scripts/
Dprepare_build_interop_rc33 mkdir ~/service_account
34 gsutil cp gs://grpc-testing-secrets/interop/service_account/GrpcTesting-726eb1347f15.json ~/service…
35 export GOOGLE_APPLICATION_CREDENTIALS=~/service_account/GrpcTesting-726eb1347f15.json
/external/python/oauth2client/oauth2client/contrib/
D_metadata.py76 def get_service_account_info(http_request, service_account='default'): argument
98 'instance/service-accounts/{0}/'.format(service_account),
102 def get_token(http_request, service_account='default'): argument
120 'instance/service-accounts/{0}/token'.format(service_account))
Dgce.py115 service_account=self.service_account_email or 'default')
136 http_request, service_account=self.service_account_email)
/external/grpc-grpc/test/core/tsi/alts/handshaker/
Dalts_handshaker_service_api_test_lib.cc38 req->client_start.local_identity.service_account.funcs.decode = in grpc_gcp_handshaker_decoded_req_create()
122 const char* service_account) { in set_identity_service_account() argument
123 grpc_slice* slice = create_slice(service_account, strlen(service_account)); in set_identity_service_account()
124 identity->service_account.arg = slice; in set_identity_service_account()
125 identity->service_account.funcs.encode = encode_string_or_bytes_cb; in set_identity_service_account()
143 grpc_gcp_handshaker_resp* resp, const char* service_account) { in grpc_gcp_handshaker_resp_set_local_identity_service_account() argument
144 if (resp == nullptr || service_account == nullptr) { in grpc_gcp_handshaker_resp_set_local_identity_service_account()
152 set_identity_service_account(&resp->result.local_identity, service_account); in grpc_gcp_handshaker_resp_set_local_identity_service_account()
171 grpc_gcp_handshaker_resp* resp, const char* service_account) { in grpc_gcp_handshaker_resp_set_peer_identity_service_account() argument
172 if (resp == nullptr || service_account == nullptr) { in grpc_gcp_handshaker_resp_set_peer_identity_service_account()
[all …]
Dalts_handshaker_service_api_test_lib.h69 grpc_gcp_handshaker_resp* resp, const char* service_account);
80 grpc_gcp_handshaker_resp* resp, const char* service_account);
/external/python/oauth2client/tests/
Dtest_service_account.py33 from oauth2client import service_account
55 self.credentials = service_account.ServiceAccountCredentials(
64 creds = service_account.ServiceAccountCredentials(
106 service_account.ServiceAccountCredentials
141 creds, service_account.ServiceAccountCredentials)
172 service_account.ServiceAccountCredentials.from_p12_keyfile(
177 service_account.ServiceAccountCredentials.from_p12_keyfile_buffer(
183 creds, service_account.ServiceAccountCredentials)
201 service_account.ServiceAccountCredentials.from_p12_keyfile(
226 self.credentials = service_account.ServiceAccountCredentials(
[all …]
Dtest_jwt.py28 from oauth2client import service_account
244 credentials = service_account.ServiceAccountCredentials(
253 service_account._PASSWORD_DEFAULT)
/external/grpc-grpc/test/core/security/
Dalts_credentials_fuzzer.cc49 char* service_account = grpc_fuzzer_get_next_string(inp, nullptr); in read_target_service_accounts() local
50 if (service_account != nullptr) { in read_target_service_accounts()
52 options, service_account); in read_target_service_accounts()
53 gpr_free(service_account); in read_target_service_accounts()
/external/python/oauth2client/docs/source/
Doauth2client.service_account.rst1 oauth2client.service_account module
4 .. automodule:: oauth2client.service_account
/external/python/oauth2client/tests/contrib/
Dtest_gce.py81 service_account='a@example.com')
86 service_account='a@example.com')
129 service_account='default')
141 service_account='b@example.com')
/external/autotest/site_utils/
Dpaygen.py41 timeout_mins, qs_account, service_account): argument
79 args += ['-service-account-json', service_account]
/external/grpc-grpc/src/cpp/client/
Dsecure_credentials.cc99 for (auto service_account = options.target_service_accounts.begin(); in AltsCredentials() local
100 service_account != options.target_service_accounts.end(); in AltsCredentials()
101 service_account++) { in AltsCredentials()
103 c_options, service_account->c_str()); in AltsCredentials()
/external/grpc-grpc/tools/dockerfile/interoptest/grpc_interop_http2/
Dbuild_interop.sh27 cp -r /var/local/jenkins/service_account $HOME || true
/external/grpc-grpc/tools/dockerfile/interoptest/grpc_interop_dart/
Dbuild_interop.sh23 cp -r /var/local/jenkins/service_account $HOME || true
/external/grpc-grpc/tools/dockerfile/interoptest/grpc_interop_java/
Dbuild_interop.sh23 cp -r /var/local/jenkins/service_account $HOME || true
/external/grpc-grpc/tools/dockerfile/interoptest/grpc_interop_java_oracle8/
Dbuild_interop.sh23 cp -r /var/local/jenkins/service_account $HOME || true
/external/grpc-grpc/templates/tools/dockerfile/
Djava_build_interop.sh.include23 cp -r /var/local/jenkins/service_account $HOME || true
Dcsharp_build_interop.sh.include27 cp -r /var/local/jenkins/service_account $HOME || true
/external/grpc-grpc/tools/dockerfile/interoptest/grpc_interop_csharpcoreclr/
Dbuild_interop.sh27 cp -r /var/local/jenkins/service_account $HOME || true
/external/grpc-grpc/tools/dockerfile/interoptest/grpc_interop_csharp/
Dbuild_interop.sh27 cp -r /var/local/jenkins/service_account $HOME || true

123