summaryrefslogtreecommitdiffstats
path: root/VNF_Catalogue/minio.js
diff options
context:
space:
mode:
Diffstat (limited to 'VNF_Catalogue/minio.js')
-rw-r--r--VNF_Catalogue/minio.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/VNF_Catalogue/minio.js b/VNF_Catalogue/minio.js
new file mode 100644
index 00000000..acf5f117
--- /dev/null
+++ b/VNF_Catalogue/minio.js
@@ -0,0 +1,11 @@
+var Minio = require("minio");
+
+var minio_client = new Minio.Client({
+ endPoint: 'localhost',//process.env.MINIO_HOST,
+ port: 9000,
+ secure: false,
+ accessKey: process.env.MINIO_ACCESS_KEY,
+ secretKey: process.env.MINIO_SECRET_KEY
+});
+
+exports.minio_client = minio_client;