NewStaticV2 returns a pointer to a new Credentials object wrapping a static credentials value provider, signature is set to v2. If access and secret are not specified then regardless of signature type set it Value will return as anonymous.
(id, secret, token string)
| 29 | // regardless of signature type set it Value will return |
| 30 | // as anonymous. |
| 31 | func NewStaticV2(id, secret, token string) *Credentials { |
| 32 | return NewStatic(id, secret, token, SignatureV2) |
| 33 | } |
| 34 | |
| 35 | // NewStaticV4 is similar to NewStaticV2 with similar considerations. |
| 36 | func NewStaticV4(id, secret, token string) *Credentials { |