Versions in this module Expand all Collapse all v0 v0.1.0 Oct 18, 2020 Changes in this version + var APIToken = func() string + var AWSCertificates = map[string]string + var ErrNotWhitelisted = errors.New("not whitelisted") + var MetadataIdentity = func() string + var MetadataIdentitySignature = func() string + var MetadataURL = "http://169.254.169.254" + var TokenHeader = &http.Header + var Version = func() string + func CheckWhitelist(value string, whitelist []string) bool + func GetCertificates(certs map[string]string) ([]*x509.Certificate, error) + func GetMetadataHeader(token string) http.Header + type InstanceIdentityDocument struct + AccountID string + Architecture string + AvailabilityZone string + BillingProducts []string + DevpayProductCodes []string + ImageID string + InstanceID string + KernelID string + MarketplaceProductCodes []string + PendingTime time.Time + PrivateIP string + RamdiskID string + Region string + type InstanceIdentityPassword struct + Payload []byte + Signature []byte + func (iip *InstanceIdentityPassword) Decode(s string) error + func (iip *InstanceIdentityPassword) Encode() (string, error)