feat(target): add proxy certificate repos and protos (#1577)

This commit is contained in:
Irena Rindos authored and irenarindos committed 2025-09-02 15:13:39 -04:00
1 parent bcd2a62890
commit 6afb42e334
13 files changed
+1489 -24

No files matched your search

+8
View File
@@ -18,6 +18,12 @@ import (
"github.com/hashicorp/boundary/internal/types/resource"
)
// ServerCertificate holds the PEM encoded certificate and key for a target
type ServerCertificate struct {
CertificatePem []byte
PrivateKeyPem []byte
}
// Target is a commmon interface for all target subtypes
type Target interface {
GetPublicId() string
@@ -42,6 +48,7 @@ type Target interface {
GetCredentialSources() []CredentialSource
GetStorageBucketId() string
GetEnableSessionRecording() bool
GetProxyServerCertificate() *ServerCertificate
Clone() Target
SetPublicId(context.Context, string) error
SetProjectId(string)
@@ -64,6 +71,7 @@ type Target interface {
SetStorageBucketId(string)
SetEnableSessionRecording(bool)
Oplog(op oplog.OpType) oplog.Metadata
SetProxyServerCertificate(*ServerCertificate)
}
const (