Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStaticCredentials ¶
func GetStaticCredentials() (*credentials.Credentials, error)
GetStaticCredentials generates credentials.Credentials using environtment variables: - static key (`YC_STORAGE_ACCESS_KEY` + `YC_STORAGE_SECRET_KEY`) - yaml file (`YC_SA_STATIC_KEY_FILE`)
func NewS3Client ¶
func NewS3Client(creds *credentials.Credentials, sdk *ycsdk.SDK, logger zerolog.Logger) (*s3.S3, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.