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

Function getCredentials

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

Source from the content-addressed store, hash-verified

18let credentials = 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
29
30describe('listLifecycle with non-current delete marker', () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected