MCPcopy
hub / github.com/scality/cloudserver / getCredentials

Function getCredentials

tests/functional/backbeat/listLifecycleNonCurrents.js:27–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25let location = null;
26
27async 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
36async function getS3Hostname() {
37 const endpoint = await s3.config.endpoint();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected