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

Function getSSEConfig

tests/unit/utils/bucketEncryption.js:36–43  ·  view source on GitHub ↗
(bucketName, log, cb)

Source from the content-addressed store, hash-verified

34}
35
36function getSSEConfig(bucketName, log, cb) {
37 return metadata.getBucket(bucketName, log, (err, md) => {
38 if (err) {
39 return cb(err);
40 }
41 return cb(null, md.getServerSideEncryption());
42 });
43}
44
45module.exports = {
46 templateRequest,

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected