summaryrefslogtreecommitdiff
path: root/src/rpc/envoy.config.grpc_credential.v3.rs
blob: f6497c2000a516a88dd94df4229ee87625237ce8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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)