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

Function getCredentials

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

Source from the content-addressed store, hash-verified

18let backbeatAuthCredentials = null;
19
20async function getCredentials() {
21 const creds = await s3.config.credentials();
22 credentials = {
23 accessKey: creds.accessKeyId,
24 secretKey: creds.secretAccessKey,
25 };
26 return credentials;
27}
28
29const TEST_BUCKET = 'bucket-for-bucket-indexing';
30

Callers 5

bucketIndexing.jsFile · 0.70
routeBackbeat.jsFile · 0.50
routeMetadata.jsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected