You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 line
360 B

  1. package credentials
  2. type StdTokenCredential struct {
  3. AccessKeyId string
  4. AccessKeySecret string
  5. AccessKeyFrom string
  6. }
  7. func NewStsTokenCredential(accessKeyId, accessKeySecret, accessFrom string) *StdTokenCredential {
  8. return &StdTokenCredential{
  9. AccessKeyId: accessKeyId,
  10. AccessKeySecret: accessKeySecret,
  11. AccessKeyFrom: accessFrom,
  12. }
  13. }