2018-03-26 00:52:26 +00:00
|
|
|
package structs
|
|
|
|
|
|
|
|
// ConnectAuthorizeRequest is the structure of a request to authorize
|
|
|
|
// a connection.
|
|
|
|
type ConnectAuthorizeRequest struct {
|
|
|
|
// Target is the name of the service that is being requested.
|
|
|
|
Target string
|
|
|
|
|
2018-03-28 21:29:35 +00:00
|
|
|
// ClientCertURI is a unique identifier for the requesting client. This
|
2018-03-26 00:52:26 +00:00
|
|
|
// is currently the URI SAN from the TLS client certificate.
|
|
|
|
//
|
|
|
|
// ClientCertSerial is a colon-hex-encoded of the serial number for
|
|
|
|
// the requesting client cert. This is used to check against revocation
|
|
|
|
// lists.
|
2018-03-28 21:29:35 +00:00
|
|
|
ClientCertURI string
|
2018-03-26 00:52:26 +00:00
|
|
|
ClientCertSerial string
|
|
|
|
}
|