...

Text file src/github.com/datawire/ambassador/v2/api/envoy/admin/v2alpha/certs.proto

Documentation: github.com/datawire/ambassador/v2/api/envoy/admin/v2alpha

     1syntax = "proto3";
     2
     3package envoy.admin.v2alpha;
     4
     5import "google/protobuf/timestamp.proto";
     6
     7import "udpa/annotations/status.proto";
     8
     9option java_package = "io.envoyproxy.envoy.admin.v2alpha";
    10option java_outer_classname = "CertsProto";
    11option java_multiple_files = true;
    12option (udpa.annotations.file_status).package_version_status = FROZEN;
    13
    14// [#protodoc-title: Certificates]
    15
    16// Proto representation of certificate details. Admin endpoint uses this wrapper for `/certs` to
    17// display certificate information. See :ref:`/certs <operations_admin_interface_certs>` for more
    18// information.
    19message Certificates {
    20  // List of certificates known to an Envoy.
    21  repeated Certificate certificates = 1;
    22}
    23
    24message Certificate {
    25  // Details of CA certificate.
    26  repeated CertificateDetails ca_cert = 1;
    27
    28  // Details of Certificate Chain
    29  repeated CertificateDetails cert_chain = 2;
    30}
    31
    32// [#next-free-field: 7]
    33message CertificateDetails {
    34  // Path of the certificate.
    35  string path = 1;
    36
    37  // Certificate Serial Number.
    38  string serial_number = 2;
    39
    40  // List of Subject Alternate names.
    41  repeated SubjectAlternateName subject_alt_names = 3;
    42
    43  // Minimum of days until expiration of certificate and it's chain.
    44  uint64 days_until_expiration = 4;
    45
    46  // Indicates the time from which the certificate is valid.
    47  google.protobuf.Timestamp valid_from = 5;
    48
    49  // Indicates the time at which the certificate expires.
    50  google.protobuf.Timestamp expiration_time = 6;
    51}
    52
    53message SubjectAlternateName {
    54  // Subject Alternate Name.
    55  oneof name {
    56    string dns = 1;
    57
    58    string uri = 2;
    59
    60    string ip_address = 3;
    61  }
    62}

View as plain text