syntax = "proto3";

package resource.secrets;

option go_package = "github.com/talos-systems/talos/pkg/machinery/api/resource/secrets";

message CertAndKeyPEM {
    bytes cert = 1;
    bytes key = 2;
}

// APISpec describes secrets.API.
message APISpec {
    bytes ca_pem = 1;
    CertAndKeyPEM server = 2;
    CertAndKeyPEM client = 3;
}
