Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CertificateFiles ¶ added in v1.0.16
type Credentials ¶ added in v1.0.16
type Credentials struct { AccessKeyId string `json:"accessKeyId"` SecretAccessKey string `json:"secretAccessKey"` SessionToken string `json:"sessionToken"` Expiration string `json:"expiration"` }
func GetCredentials ¶ added in v1.0.16
func GetCredentials(certificateFiles CertificateFiles, url string, thingName string) (*Credentials, error)
https://docs.aws.amazon.com/zh_cn/iot/latest/developerguide/authorizing-direct-aws.html
Click to show internal directories.
Click to hide internal directories.