- Log into
ManagementPortal
- View the
OAuth Clients
page (Top Menu/Administration
/OAuth Clients
) - Register a new OAuth Client
- Enter the
Client ID
, andClient Secret
- Enter the Scope
SOURCETYPE.READ, MEASUREMENT.CREATE, PROJECT.READ, OAUTHCLIENTS.READ, SOURCEDATA.READ, SUBJECT.READ, SUBJECT.UPDATE
- Enter the Resources
res_ManagementPortal, res_gateway
- Check Grant Type
client_credentials
- Enter
Access Token Validity
(a value in seconds, e.g. 900 = 15 minutes)
- Enter the
- Run the script in
scripts
folder:
./scripts/main.sh
- Log into
Minio
Portal - Go to
Access Keys
Page (Side Menu /Access Keys
) - Create access key
- Copy
Access Key
andSecret Key
(These keys are used in the app)
- Install the app dependencies
npm install
- Run the NodeJs Application
node app.mjs
The full documentation of the SDK for different languages is available on Minio website: https://min.io/docs/minio/linux/developers/minio-drivers.html