2 option go_package = "app_identity";
6 message AppIdentityServiceError {
10 BLOB_TOO_LARGE = 1000;
11 DEADLINE_EXCEEDED = 1001;
12 NOT_A_VALID_APP = 1002;
15 NOT_IMPLEMENTED = 1006;
19 message SignForAppRequest {
20 optional bytes bytes_to_sign = 1;
23 message SignForAppResponse {
24 optional string key_name = 1;
25 optional bytes signature_bytes = 2;
28 message GetPublicCertificateForAppRequest {
31 message PublicCertificate {
32 optional string key_name = 1;
33 optional string x509_certificate_pem = 2;
36 message GetPublicCertificateForAppResponse {
37 repeated PublicCertificate public_certificate_list = 1;
38 optional int64 max_client_cache_time_in_second = 2;
41 message GetServiceAccountNameRequest {
44 message GetServiceAccountNameResponse {
45 optional string service_account_name = 1;
48 message GetAccessTokenRequest {
49 repeated string scope = 1;
50 optional int64 service_account_id = 2;
51 optional string service_account_name = 3;
54 message GetAccessTokenResponse {
55 optional string access_token = 1;
56 optional int64 expiration_time = 2;
59 message GetDefaultGcsBucketNameRequest {
62 message GetDefaultGcsBucketNameResponse {
63 optional string default_gcs_bucket_name = 1;