()
| 22 | let location = null; |
| 23 | |
| 24 | async function getCredentials() { |
| 25 | const creds = await s3.config.credentials(); |
| 26 | const credentials = { |
| 27 | accessKey: creds.accessKeyId, |
| 28 | secretKey: creds.secretAccessKey, |
| 29 | }; |
| 30 | return credentials; |
| 31 | } |
| 32 | |
| 33 | async function getS3Hostname() { |
| 34 | const endpoint = await s3.config.endpoint(); |
no outgoing calls
no test coverage detected