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