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

Function putEncryptedObject

tests/functional/sse-kms-migration/helpers.js:173–178  ·  view source on GitHub ↗
(Bucket, Key, sseConfig, kmsKeyId, Body)

Source from the content-addressed store, hash-verified

171}
172
173async function putEncryptedObject(Bucket, Key, sseConfig, kmsKeyId, Body) {
174 return s3.putObject({
175 ...putObjParams(Bucket, Key, sseConfig, kmsKeyId),
176 Body,
177 });
178}
179
180async function getObjectMDSSE(Bucket, Key) {
181 const objMD = await MD.getObject(Bucket, Key, {}, log);

Callers

nothing calls this directly

Calls 2

putObjParamsFunction · 0.85
putObjectMethod · 0.80

Tested by

no test coverage detected