diff options
Diffstat (limited to 'src/rpc/envoy.config.grpc_credential.v3.rs')
| -rw-r--r-- | src/rpc/envoy.config.grpc_credential.v3.rs | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/src/rpc/envoy.config.grpc_credential.v3.rs b/src/rpc/envoy.config.grpc_credential.v3.rs new file mode 100644 index 00000000..f6497c20 --- /dev/null +++ b/src/rpc/envoy.config.grpc_credential.v3.rs @@ -0,0 +1,52 @@ +// @generated +// This file is @generated by prost-build. +// \[#protodoc-title: Grpc Credentials AWS IAM\] +// Configuration for AWS IAM Grpc Credentials Plugin +// .. warning:: +// +// This extension is deprecated and will be deleted in a future Envoy release, no +// later than Envoy 1.35, but possibly sooner. +// +// \[#extension: envoy.grpc_credentials.aws_iam\] + +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct AwsIamConfig { + /// The `service namespace + /// <<https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces>`_> + /// of the Grpc endpoint. + /// + /// Example: appmesh + #[deprecated] + #[prost(string, tag="1")] + pub service_name: ::prost::alloc::string::String, + /// The `region <<https://docs.aws.amazon.com/general/latest/gr/rande.html>`_> hosting the Grpc + /// endpoint. If unspecified, the extension will use the value in the ``AWS_REGION`` environment + /// variable. + /// + /// Example: us-west-2 + #[deprecated] + #[prost(string, tag="2")] + pub region: ::prost::alloc::string::String, +} +// \[#protodoc-title: Grpc Credentials File Based Metadata\] +// Configuration for File Based Metadata Grpc Credentials Plugin +// \[#extension: envoy.grpc_credentials.file_based_metadata\] + +#[allow(clippy::derive_partial_eq_without_eq)] +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct FileBasedMetadataConfig { + /// Location or inline data of secret to use for authentication of the Google gRPC connection + /// this secret will be attached to a header of the gRPC connection + #[prost(message, optional, tag="1")] + pub secret_data: ::core::option::Option<super::super::core::v3::DataSource>, + /// Metadata header key to use for sending the secret data + /// if no header key is set, "authorization" header will be used + #[prost(string, tag="2")] + pub header_key: ::prost::alloc::string::String, + /// Prefix to prepend to the secret in the metadata header + /// if no prefix is set, the default is to use no prefix + #[prost(string, tag="3")] + pub header_prefix: ::prost::alloc::string::String, +} +// @@protoc_insertion_point(module) |
