blob: 38eef4acb680b6c32021668c9e794c1342f9959d (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
|
syntax = "proto3";
package yandex.cloud.mdb.elasticsearch.v1;
import "yandex/cloud/validation.proto";
option go_package = "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/elasticsearch/v1;elasticsearch";
option java_package = "yandex.cloud.api.mdb.elasticsearch.v1";
message AuthProviders {
repeated AuthProvider providers = 1;
}
message AuthProvider {
enum Type {
TYPE_UNSPECIFIED = 0;
NATIVE = 1;
SAML = 2;
// OPENID = 3;
// ANONYMOUS = 4;
}
Type type = 1;
string name = 2 [(length) = "<=50", (pattern) = "[a-z][a-z0-9_-]*"];
int64 order = 3;
bool enabled = 4;
// selector ui settings
bool hidden = 5;
string description = 6 [(length) = "<=50"];
string hint = 7 [(length) = "<=250"];
string icon = 8 [(length) = "<=250"];
oneof settings {
SamlSettings saml = 9;
}
}
message SamlSettings {
string idp_entity_id = 1 [(length) = "<=250"];
bytes idp_metadata_file = 2 [(length) = "<=10000"];
string sp_entity_id = 3 [(length) = "<=250"];
string kibana_url = 4 [(length) = "<=250"];
string attribute_principal = 5 [(length) = "<=50"];
string attribute_groups = 6 [(length) = "<=50"];
string attribute_name = 7 [(length) = "<=50"];
string attribute_email = 8 [(length) = "<=50"];
string attribute_dn = 9 [(length) = "<=50"];
}
|