Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CsrSubjectFields ¶
type CsrSubjectFields struct { Country string State string Locality string Organization string OrganizationUnit string }
CsrSubjectFields are optional fields for the CSR: the fields will appear in the created certificate's "Subject".
type SiaCertData ¶
type SiaCertData struct {
// contains filtered or unexported fields
}
SiaCertData response of GcfGetSiaCerts()
func GcfGetSiaCerts ¶
func GcfGetSiaCerts( athenzDomain string, athenzService string, gcpProjectId string, athenzProvider string, ztsUrl string, certDomain string, optionalSubjectFields CsrSubjectFields, ) (*SiaCertData, error)
GcfGetSiaCerts this method can be called from within a GCF (Google Cloud Function) - to get an Athenz certificate from ZTS. See https://cloud.google.com/functions/docs/writing/write-http-functions#http-example-go
Click to show internal directories.
Click to hide internal directories.