Documentation ¶
Index ¶
- func GetRoleCertificate(ztsUrl, svcKeyFile, svcCertFile string, opts *options.Options, ...) bool
- func RefreshInstance(data []*attestation.AttestationData, ztsUrl string, opts *options.Options, ...) error
- func RegisterInstance(data []*attestation.AttestationData, document []byte, ztsUrl string, ...) error
- func RoleKey(rotateKey bool, svcKey string) (*rsa.PrivateKey, error)
- func SaveRoleCertKey(key, cert []byte, role options.Role, opts *options.Options, ...) error
- func SaveSvcCertKey(key, cert []byte, svc options.Service, opts *options.Options, ...) error
- type Identity
- type SSHKeyReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRoleCertificate ¶
func RefreshInstance ¶
func RefreshInstance(data []*attestation.AttestationData, ztsUrl string, opts *options.Options, sysLogger io.Writer) error
func RegisterInstance ¶
func RegisterInstance(data []*attestation.AttestationData, document []byte, ztsUrl string, opts *options.Options, docExpiryCheck bool, sysLogger io.Writer) error
func RoleKey ¶ added in v1.10.14
func RoleKey(rotateKey bool, svcKey string) (*rsa.PrivateKey, error)
func SaveRoleCertKey ¶ added in v1.10.14
Types ¶
type SSHKeyReq ¶
type SSHKeyReq struct { Principals []string `json:"principals"` Ips []string `json:"ips,omitempty" rdl:"optional"` //not used 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"` //not used }
SSHKeyReq - congruent with certsign-rdl/certsign.rdl
Click to show internal directories.
Click to hide internal directories.