2023-03-28 22:48:58 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
2023-08-11 13:12:13 +00:00
|
|
|
// SPDX-License-Identifier: BUSL-1.1
|
2023-03-28 22:48:58 +00:00
|
|
|
|
2020-06-05 19:56:19 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
2022-07-13 16:03:27 +00:00
|
|
|
package hashicorp.consul.internal.config;
|
2020-06-05 19:56:19 +00:00
|
|
|
|
|
|
|
message Config {
|
2022-05-23 14:37:52 +00:00
|
|
|
string Datacenter = 1;
|
|
|
|
string PrimaryDatacenter = 2;
|
|
|
|
string NodeName = 3;
|
|
|
|
string SegmentName = 4;
|
|
|
|
string Partition = 9;
|
|
|
|
ACL ACL = 5;
|
|
|
|
AutoEncrypt AutoEncrypt = 6;
|
|
|
|
Gossip Gossip = 7;
|
|
|
|
TLS TLS = 8;
|
2020-06-05 19:56:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message Gossip {
|
2022-05-23 14:37:52 +00:00
|
|
|
GossipEncryption Encryption = 1;
|
|
|
|
repeated string RetryJoinLAN = 2;
|
2020-06-05 19:56:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message GossipEncryption {
|
2022-05-23 14:37:52 +00:00
|
|
|
string Key = 1;
|
|
|
|
bool VerifyIncoming = 2;
|
|
|
|
bool VerifyOutgoing = 3;
|
2020-06-05 19:56:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message TLS {
|
2022-05-23 14:37:52 +00:00
|
|
|
bool VerifyOutgoing = 1;
|
|
|
|
bool VerifyServerHostname = 2;
|
|
|
|
string CipherSuites = 3;
|
|
|
|
string MinVersion = 4;
|
|
|
|
// Deprecated_PreferServerCipherSuites is deprecated. It is no longer
|
|
|
|
// populated and should be ignored by clients.
|
|
|
|
bool Deprecated_PreferServerCipherSuites = 5 [deprecated = true];
|
2020-06-05 19:56:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message ACL {
|
2022-05-23 14:37:52 +00:00
|
|
|
bool Enabled = 1;
|
|
|
|
string PolicyTTL = 2;
|
|
|
|
string RoleTTL = 3;
|
|
|
|
string TokenTTL = 4;
|
|
|
|
string DownPolicy = 5;
|
|
|
|
string DefaultPolicy = 6;
|
|
|
|
bool EnableKeyListPolicy = 7;
|
|
|
|
ACLTokens Tokens = 8;
|
|
|
|
// Deprecated_DisabledTTL is deprecated. It is no longer populated and should
|
|
|
|
// be ignored by clients.
|
|
|
|
string Deprecated_DisabledTTL = 9 [deprecated = true];
|
|
|
|
bool EnableTokenPersistence = 10;
|
|
|
|
bool MSPDisableBootstrap = 11;
|
2020-06-05 19:56:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message ACLTokens {
|
2022-05-23 14:37:52 +00:00
|
|
|
string InitialManagement = 1;
|
|
|
|
string Replication = 2;
|
|
|
|
string AgentRecovery = 3;
|
|
|
|
string Default = 4;
|
|
|
|
string Agent = 5;
|
|
|
|
repeated ACLServiceProviderToken ManagedServiceProvider = 6;
|
2020-06-05 19:56:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message ACLServiceProviderToken {
|
2022-05-23 14:37:52 +00:00
|
|
|
string AccessorID = 1;
|
|
|
|
string SecretID = 2;
|
2020-06-05 19:56:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message AutoEncrypt {
|
2022-05-23 14:37:52 +00:00
|
|
|
bool TLS = 1;
|
|
|
|
repeated string DNSSAN = 2;
|
|
|
|
repeated string IPSAN = 3;
|
|
|
|
bool AllowTLS = 4;
|
2021-12-01 19:32:34 +00:00
|
|
|
}
|