MCPcopy
hub / github.com/minio/minio-go / NewStaticV4

Function NewStaticV4

pkg/credentials/static.go:36–38  ·  view source on GitHub ↗

NewStaticV4 is similar to NewStaticV2 with similar considerations.

(id, secret, token string)

Source from the content-addressed store, hash-verified

34
35// NewStaticV4 is similar to NewStaticV2 with similar considerations.
36func NewStaticV4(id, secret, token string) *Credentials {
37 return NewStatic(id, secret, token, SignatureV4)
38}
39
40// NewStatic returns a pointer to a new Credentials object
41// wrapping a static credentials value provider.

Calls 1

NewStaticFunction · 0.85