grpc: google.golang.org/grpc/credentials/tls/certprovider/meshca/internal/meshca_experimental Index | Files

package meshca_experimental

import "google.golang.org/grpc/credentials/tls/certprovider/meshca/internal/meshca_experimental"

Index

Package Files

config.pb.go

Variables

var (
    GoogleMeshCaConfig_KeyType_name = map[int32]string{
        0:  "KEY_TYPE_UNKNOWN",
        1:  "KEY_TYPE_RSA",
    }
    GoogleMeshCaConfig_KeyType_value = map[string]int32{
        "KEY_TYPE_UNKNOWN": 0,
        "KEY_TYPE_RSA":     1,
    }
)

Enum value maps for GoogleMeshCaConfig_KeyType.

var File_grpc_tls_provider_meshca_experimental_config_proto protoreflect.FileDescriptor

type GoogleMeshCaConfig Uses

type GoogleMeshCaConfig struct {

    // GoogleMeshCA server endpoint to get CSRs signed via the *CreateCertificate*
    // unary call. This must have :ref:`api_type
    // <envoy_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
    // <envoy_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`.
    // STS based call credentials need to be supplied in :ref:`call_credentials
    // <envoy_api_field_config.core.v3.GrpcService.GoogleGrpc.call_credentials>`.
    //
    // If :ref:`timeout envoy_api_field_config.core.v3.GrpcService.timeout` is
    // left unspecified, a default value of 10s will be used.
    Server *v3.ApiConfigSource `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
    // Certificate lifetime to request in CSRs sent to the MeshCA.
    //
    // A default value of 24h will be used if left unspecified.
    CertificateLifetime *duration.Duration `protobuf:"bytes,2,opt,name=certificate_lifetime,json=certificateLifetime,proto3" json:"certificate_lifetime,omitempty"`
    // How long before certificate expiration should the certificate be renewed.
    //
    // A default value of 12h will be used if left unspecified.
    RenewalGracePeriod *duration.Duration `protobuf:"bytes,3,opt,name=renewal_grace_period,json=renewalGracePeriod,proto3" json:"renewal_grace_period,omitempty"`
    // Type of key.
    //
    // RSA keys will be used if left unspecified.
    KeyType GoogleMeshCaConfig_KeyType `protobuf:"varint,4,opt,name=key_type,json=keyType,proto3,enum=grpc.tls.provider.meshca.experimental.GoogleMeshCaConfig_KeyType" json:"key_type,omitempty"`
    // Size of the key in bits.
    //
    // 2048 bit keys will be used if left unspecified.
    KeySize uint32 `protobuf:"varint,5,opt,name=key_size,json=keySize,proto3" json:"key_size,omitempty"`
    // GCE location (region/zone) where the workload is located.
    //
    // GCE/GKE Metadata Server will be contacted if left unspecified.
    Location string `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"`
    // contains filtered or unexported fields
}

GoogleMeshCaConfig contains all configuration parameters required by the MeshCA CertificateProvider plugin implementation.

func (*GoogleMeshCaConfig) Descriptor Uses

func (*GoogleMeshCaConfig) Descriptor() ([]byte, []int)

Deprecated: Use GoogleMeshCaConfig.ProtoReflect.Descriptor instead.

func (*GoogleMeshCaConfig) GetCertificateLifetime Uses

func (x *GoogleMeshCaConfig) GetCertificateLifetime() *duration.Duration

func (*GoogleMeshCaConfig) GetKeySize Uses

func (x *GoogleMeshCaConfig) GetKeySize() uint32

func (*GoogleMeshCaConfig) GetKeyType Uses

func (x *GoogleMeshCaConfig) GetKeyType() GoogleMeshCaConfig_KeyType

func (*GoogleMeshCaConfig) GetLocation Uses

func (x *GoogleMeshCaConfig) GetLocation() string

func (*GoogleMeshCaConfig) GetRenewalGracePeriod Uses

func (x *GoogleMeshCaConfig) GetRenewalGracePeriod() *duration.Duration

func (*GoogleMeshCaConfig) GetServer Uses

func (x *GoogleMeshCaConfig) GetServer() *v3.ApiConfigSource

func (*GoogleMeshCaConfig) ProtoMessage Uses

func (*GoogleMeshCaConfig) ProtoMessage()

func (*GoogleMeshCaConfig) ProtoReflect Uses

func (x *GoogleMeshCaConfig) ProtoReflect() protoreflect.Message

func (*GoogleMeshCaConfig) Reset Uses

func (x *GoogleMeshCaConfig) Reset()

func (*GoogleMeshCaConfig) String Uses

func (x *GoogleMeshCaConfig) String() string

type GoogleMeshCaConfig_KeyType Uses

type GoogleMeshCaConfig_KeyType int32

Type of key to be embedded in CSRs sent to the MeshCA.

const (
    GoogleMeshCaConfig_KEY_TYPE_UNKNOWN GoogleMeshCaConfig_KeyType = 0
    GoogleMeshCaConfig_KEY_TYPE_RSA     GoogleMeshCaConfig_KeyType = 1
)

func (GoogleMeshCaConfig_KeyType) Descriptor Uses

func (GoogleMeshCaConfig_KeyType) Descriptor() protoreflect.EnumDescriptor

func (GoogleMeshCaConfig_KeyType) Enum Uses

func (x GoogleMeshCaConfig_KeyType) Enum() *GoogleMeshCaConfig_KeyType

func (GoogleMeshCaConfig_KeyType) EnumDescriptor Uses

func (GoogleMeshCaConfig_KeyType) EnumDescriptor() ([]byte, []int)

Deprecated: Use GoogleMeshCaConfig_KeyType.Descriptor instead.

func (GoogleMeshCaConfig_KeyType) Number Uses

func (x GoogleMeshCaConfig_KeyType) Number() protoreflect.EnumNumber

func (GoogleMeshCaConfig_KeyType) String Uses

func (x GoogleMeshCaConfig_KeyType) String() string

func (GoogleMeshCaConfig_KeyType) Type Uses

func (GoogleMeshCaConfig_KeyType) Type() protoreflect.EnumType

Package meshca_experimental imports 7 packages (graph) and is imported by 1 packages. Updated 2020-10-22. Refresh now. Tools for package owners.