Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// ConnectorType specify what do you want to use. May be "TPP".
ConnectorType endpoint.ConnectorType
// BaseUrl should be specified for Venafi Platform.
BaseUrl string
// Project is name of a CodeSign Protect project in Venafi Platform. For TPP, if necessary, escape backslash symbols. For example, "test\\zone" or `test\zone`.
Project string
// Credentials should contain either User and Password for TPP connections.
Credentials *endpoint.Authentication
// ConnectionTrust may contain a trusted CA or certificate of server if you use self-signed certificate.
ConnectionTrust string // *x509.CertPool
LogVerbose bool
// http.Client to use during construction
Client *http.Client
}
Config is a basic structure for high level initiating connector to Trust Platform (TPP)/Venafi Cloud
func BuildConfigWithAuth ¶
func (*Config) GetKeyLabel ¶
Click to show internal directories.
Click to hide internal directories.