| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- /*
- Copyright © 2022 ESO Maintainer Team
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- */
- syntax = "proto3";
- option go_package = "github.com/external-secrets/external-secrets/pkg/plugin/grpc/plugin.proto";
- option java_multiple_files = true;
- option java_package = "io.external-secrets.provider.plugin";
- option java_outer_classname = "ProviderPluginProto";
- package plugin;
- service SecretsClient {
- // GetSecret returns a single secret from the provider
- // if GetSecret returns an error with type NoSecretError
- // then the secret entry will be deleted depending on the deletionPolicy.
- rpc GetSecret (GetSecretRequest) returns (GetSecretReply) {}
- }
- message RemoteRef {
- string key = 1;
- string metadataPolicy = 2;
- string property = 3;
- string version = 4;
- string conversionStrategy = 5;
- string decodingStrategy = 6;
- }
- message GetSecretRequest {
- RemoteRef remoteRef = 1;
- }
- message GetSecretReply {
- bytes secret = 1;
- string error = 2;
- }
|