@eggplugin/s3
Version:
AWS S3 plugin for Egg
45 lines (41 loc) • 755 B
JavaScript
;
/**
* egg-s3 default config
* @member Config#s3
*/
exports.s3 = {
// default configuration for all clients
default: {
// endpoint: '',
// s3ForcePathStyle: '',
// maxRetries: '',
// sslEnabled: '',
// apiVersion: '',
// signatureVersion: '',
// ...
},
app: true,
agent: false,
// Single client
// client: {
// accessKeyId: '',
// secretAccessKey: '',
// endpoint: '',
// // ...
// },
// Multi client
// clients: {
// client1: {
// accessKeyId: '',
// secretAccessKey: '',
// endpoint: '',
// // ...
// },
// client2: {
// accessKeyId: '',
// secretAccessKey: '',
// endpoint: '',
// // ...
// },
// },
};