|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package envoy.service.secret.v3;
|
|
|
|
|
|
|
|
import "envoy/service/discovery/v3/discovery.proto";
|
|
|
|
|
|
|
|
import "google/api/annotations.proto";
|
|
|
|
|
|
|
|
import "udpa/annotations/versioning.proto";
|
|
|
|
|
|
|
|
import "envoy/annotations/resource.proto";
|
|
|
|
|
|
|
|
option java_package = "io.envoyproxy.envoy.service.secret.v3";
|
|
|
|
option java_outer_classname = "SdsProto";
|
|
|
|
option java_multiple_files = true;
|
|
|
|
option java_generic_services = true;
|
|
|
|
|
|
|
|
// [#protodoc-title: Secret Discovery Service (SDS)]
|
|
|
|
|
|
|
|
service SecretDiscoveryService {
|
|
|
|
option (envoy.annotations.resource).type = "envoy.extensions.transport_sockets.tls.v3.Secret";
|
|
|
|
|
|
|
|
rpc DeltaSecrets(stream discovery.v3.DeltaDiscoveryRequest)
|
|
|
|
returns (stream discovery.v3.DeltaDiscoveryResponse) {
|
|
|
|
}
|
|
|
|
|
|
|
|
rpc StreamSecrets(stream discovery.v3.DiscoveryRequest)
|
|
|
|
returns (stream discovery.v3.DiscoveryResponse) {
|
|
|
|
}
|
|
|
|
|
|
|
|
rpc FetchSecrets(discovery.v3.DiscoveryRequest) returns (discovery.v3.DiscoveryResponse) {
|
|
|
|
option (google.api.http).post = "/v3/discovery:secrets";
|
|
|
|
option (google.api.http).body = "*";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// [#not-implemented-hide:] Not configuration. Workaround c++ protobuf issue with importing
|
|
|
|
// services: https://github.com/google/protobuf/issues/4221
|
|
|
|
message SdsDummy {
|
|
|
|
option (udpa.annotations.versioning).previous_message_type =
|
|
|
|
"envoy.service.discovery.v2.SdsDummy";
|
|
|
|
}
|