Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCredentials ¶
func GetCredentials() (creds *credentials.Value, err kv.Error)
GetCredentials is used to extract the AWS credentials using the AWS standard mechanisims for specification of things such as env var AWS_PROFILE values or directly using env vars etc. The intent is that the AWS credentials are obtained using the stock AWS client side APIs and then can be used to access minio, as one example.
Types ¶
type AWSCred ¶
type AWSCred struct { Project string Region string Creds *credentials.Credentials }
AWSCred is used to encapsulate the credentials that are to be used to access an AWS resource such as an S3 bucket for example.
Click to show internal directories.
Click to hide internal directories.