MCPcopy Index your code
hub / github.com/scality/cloudserver / getCredentials

Function getCredentials

tests/functional/backbeat/listNullVersion.js:22–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20let credentials = null;
21
22async function getCredentials() {
23 const creds = await s3.config.credentials();
24 credentials = {
25 accessKey: creds.accessKeyId,
26 secretKey: creds.secretAccessKey,
27 };
28 return credentials;
29}
30
31describe('listLifecycle if null version', () => {
32 let versionForKey2;

Callers 1

listNullVersion.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected