Skip to content

NodeRed nodes to manage objects in the IBM Cloud Object Storage based on S3-API

Notifications You must be signed in to change notification settings

node-red-contrib-ibm-cloud/node-red-contrib-cos

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-red-contrib-cos

A set of Node-RED nodes to store, delete, restore and query objects from the IBM Cloud Object Storage service. This is a S3-like object storage service hosted on IBM Cloud.

Install


Run the following command in the root directory of your Node-RED install or home directory (usually ~/.node-red) and will also install necessary libraries automatically.

        npm install @node-red-contrib-ibm-cloud/node-red-contrib-cos

This node was tested under Nodejs V16.x LTS and NPM 8.x on Node-RED 2.0.

Usage


Provides a set of nodes to easily manage objects within buckets of an instance of the IBM Object Storage service. The package uses the S3-API to communicate with the IBM Cloud Object Storage service instance - this requires that you specify the credentials from the IBM Cloud Object Storage service instance.

Any bucket referenced by the nodes in the IBM Cloud Object Storage service instance must already exist.

When an URL to the object is requested, use HMAC credentials within the config to provide a 15 minute accessible signed URL to the object. See IBM Cloud Object Storage - Using HMAC credentials for more details.

COS Object Put

Saves the given object (from a file or from the provided buffer) to the IBM Cloud Object Storage service into the given bucket.

COS Object Get

Restores the object from the IBM Cloud Object Storage service as a payload or a local file. Can also be used to generate a presigned URL to enable short-term public access, with or without downloading the object.

COS Object Del

Deletes the object from the given bucket of the IBM Cloud Object Storage service.

COS Object Qry

List all of the objects of a given bucket from the IBM Cloud Object Storage service as an array of objects.

About

NodeRed nodes to manage objects in the IBM Cloud Object Storage based on S3-API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 50.5%
  • JavaScript 49.5%