()
| 18 | const s3 = bucketUtil.s3; |
| 19 | |
| 20 | async function getCredentials() { |
| 21 | const creds = await s3.config.credentials(); |
| 22 | const credentials = { |
| 23 | accessKey: creds.accessKeyId, |
| 24 | secretKey: creds.secretAccessKey, |
| 25 | }; |
| 26 | return credentials; |
| 27 | } |
| 28 | |
| 29 | async function getS3Hostname() { |
| 30 | const s3Hostname = await s3.config.endpoint(); |
no outgoing calls
no test coverage detected