Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCetrificate ¶
func GenerateCetrificate(req *CertificateRequest) (string, error)
GenerateCetrificate main function to get user of host cert
Types ¶
type CertificateRequest ¶
type CertificateRequest struct { CertType string `json:"cert_type"` Key string `json:"key"` Username string `json:"username"` Hostnames string `json:"hostnames"` ValidUntil string `json:"valid_until"` KMSAuthToken string `json:"kmsauth_token"` }
CertificateRequest used for function arguments
Click to show internal directories.
Click to hide internal directories.