Documentation ¶
Index ¶
- func GetPrevRoleCertDates(certFile string) (*rdl.Timestamp, *rdl.Timestamp, error)
- func GetRoleCertificate(ztsUrl, svcKeyFile, svcCertFile string, opts *options.Options) bool
- func RefreshInstance(data []*attestation.Data, ztsUrl string, ...) error
- func RegisterInstance(data []*attestation.Data, ztsUrl string, ...) error
- type Identity
- type SSHKeyReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPrevRoleCertDates ¶ added in v1.10.40
func GetRoleCertificate ¶
func RefreshInstance ¶
func RefreshInstance(data []*attestation.Data, ztsUrl string, identityDocument *attestation.IdentityDocument, opts *options.Options) error
func RegisterInstance ¶
func RegisterInstance(data []*attestation.Data, ztsUrl string, identityDocument *attestation.IdentityDocument, opts *options.Options) error
Types ¶
type SSHKeyReq ¶
type SSHKeyReq struct { Principals []string `json:"principals"` Ips []string `json:"ips,omitempty" rdl:"optional"` Pubkey string `json:"pubkey"` Reqip string `json:"reqip"` Requser string `json:"requser"` Certtype string `json:"certtype"` Transid string `json:"transid"` Command string `json:"command,omitempty" rdl:"optional"` }
SSHKeyReq ssh key request object
Click to show internal directories.
Click to hide internal directories.