aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/yandex-cloud-api-protos/yandex/cloud/mdb/greenplum/v1/hba_rule.proto
diff options
context:
space:
mode:
authoriddqd <iddqd@yandex-team.com>2024-06-11 10:12:13 +0300
committeriddqd <iddqd@yandex-team.com>2024-06-11 10:22:43 +0300
commit07f57e35443ab7f09471caf2dbf1afbcced4d9f7 (patch)
treea4a7b66ead62e83fa988a2ec2ce6576311c1f4b1 /contrib/libs/yandex-cloud-api-protos/yandex/cloud/mdb/greenplum/v1/hba_rule.proto
parent6db3b8ca95e44179e48306a58656fb1f9317d9c3 (diff)
downloadydb-07f57e35443ab7f09471caf2dbf1afbcced4d9f7.tar.gz
add contrib/python/yandexcloud to import
03b7d3cad2237366b55b393e18d4dc5eb222798c
Diffstat (limited to 'contrib/libs/yandex-cloud-api-protos/yandex/cloud/mdb/greenplum/v1/hba_rule.proto')
-rw-r--r--contrib/libs/yandex-cloud-api-protos/yandex/cloud/mdb/greenplum/v1/hba_rule.proto54
1 files changed, 54 insertions, 0 deletions
diff --git a/contrib/libs/yandex-cloud-api-protos/yandex/cloud/mdb/greenplum/v1/hba_rule.proto b/contrib/libs/yandex-cloud-api-protos/yandex/cloud/mdb/greenplum/v1/hba_rule.proto
new file mode 100644
index 0000000000..ea30fd688f
--- /dev/null
+++ b/contrib/libs/yandex-cloud-api-protos/yandex/cloud/mdb/greenplum/v1/hba_rule.proto
@@ -0,0 +1,54 @@
+syntax = "proto3";
+
+package yandex.cloud.mdb.greenplum.v1;
+
+import "yandex/cloud/validation.proto";
+
+option go_package = "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/greenplum/v1;greenplum";
+option java_package = "yandex.cloud.api.mdb.greenplum.v1";
+
+message HBARule {
+ enum ConnectionType {
+ CONNECTION_TYPE_UNSPECIFIED = 0;
+
+ // Matches connection attempts made using TCP/IP.
+ HOST = 1;
+
+ // Matches connection attempts made using TCP/IP, but only when the connection is made with SSL encryption.
+ HOSTSSL = 2;
+
+ // Matches connection attempts made over TCP/IP that do not use SSL.
+ HOSTNOSSL = 3;
+ }
+
+ enum AuthMethod {
+ AUTH_METHOD_UNSPECIFIED = 0;
+
+ // Perform SCRAM-SHA-256 or MD5 authentication to verify the user's password.
+ MD5 = 1;
+
+ // Perform LDAP authentication, if MDB_GREENPLUM_LDAP flag is set
+ LDAP = 2;
+
+ // Disable authentication
+ REJECT = 3;
+ }
+
+ // Priority of the Greenplum cluster rule.
+ int64 priority = 1 [(value) = "0-1000"];
+
+ ConnectionType connection_type = 2;
+
+ // Specifies which database names this record matches.
+ string database = 3 [(required) = true];
+
+ // Specifies which database role names this user matches.
+ string user = 4 [(required) = true];
+
+ // Specifies the client machine addresses that this record matches.
+ string address = 5 [(required) = true];
+
+ // Specifies the authentication method to use when a connection matches this record.
+ // https://gpdb.docs.pivotal.io/6-6/security-guide/topics/Authenticate.html
+ AuthMethod auth_method = 6;
+}