blob: a9a92d92e36b9f25bd82c1d65857136c29882dbf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
syntax = "proto3";
option cc_enable_arenas = true;
package NYql.Generic;
import "ydb/library/yql/providers/generic/connector/api/service/protos/connector.proto";
import "yql/essentials/providers/common/proto/gateways_config.proto";
message TSource {
// Prepared Select expression
NYql.NConnector.NApi.TSelect select = 2;
// Credentials used to access managed databases APIs.
// When working with external data source instances deployed in clouds,
// one should either set (ServiceAccountId, ServiceAccountIdSignature) pair
// that will be resolved into IAM Token via Token Accessor,
// or provide IAM Token directly.
string ServiceAccountId = 4;
string ServiceAccountIdSignature = 5;
string Token = 6;
reserved 1, 3;
}
//TODO(YQ-3093) move SA creds to some common message
message TLookupSource {
NYql.TGenericDataSourceInstance data_source_instance = 1;
string table = 2;
// Credentials used to access managed databases APIs.
// When working with external data source instances deployed in clouds,
// one should either set (ServiceAccountId, ServiceAccountIdSignature) pair
// that will be resolved into IAM Token via Token Accessor,
// or provide IAM Token directly.
string ServiceAccountId = 4;
string ServiceAccountIdSignature = 5;
string Token = 6;
}
|