Share CLI command - node
share node
Manage Uni nodes.
Table of Contents
Commands
Manage nodes in a Uni
Usage
Sub command | description |
---|---|
node add-api-key | Add an API Key |
node add-jwt-auth | Add a custom JWT Authentication Provider to a Node |
node get | Get node configuration |
node grant-access | Grant user access to a Node |
node remove-jwt-auth | Remove a custom JWT Authentication Provider from a Node |
node revoke-access | Revoke a user’s access to a Node |
node schema | Fetch a Node’s GraphQL Schema |
node sharing-policy | Manage sharing policies for a node |
node update | Update node configuration |
Examples
node add-api-key
Add an API Key
Usage
Flags
uni
(option) - The name of Uninode
(option) - The name of Node to modifyname
(option) - The name of the API Keyexpiry
(option) - The expiration date of the API Key
Examples
node add-jwt-auth
Add a custom JWT Authentication Provider to a Node
Usage
Flags
uni
(option) - The name of Uninode
(option) - The name of Node to modifyname
(option) - A unique resource name for this JWT (JSON Web Token) authentication.jwksUrl
(option) - The JSON Web Key Set (JWKS) is a set of keys containing the public keys used to verify any JSON Web Token (JWT) issued by the authorization server and signed using the RS256 signing algorithm.issuer
(option) - The ‘iss’ (issuer) claim identifies the principal that issued the JWT.audience
(option) - The ‘aud’ (audience) claim identifies the recipients that the JWT is intended for.scopes
(option) - The scopes required to access the API resource. Separated by spaces (eg. “read:product write:product ”).
Examples
node get
Get node configuration
Usage
Flags
uni
(option) - Name of Uninode
(option) - Name of Nodejson
(boolean) - Output return values as JSONrole
(option) - Role name to use for the operation
Examples
node grant-access
Grant user access to a Node
Usage
Flags
uni
(option) - The name of Uninode
(option) - The name of Node to modifyuser
(option) - E-mail address of the user to which to grant accessaccessLevel
(option) - Access level to grant user(s)
Examples
node remove-jwt-auth
Remove a custom JWT Authentication Provider from a Node
Usage
Flags
uni
(option) - The name of Uninode
(option) - The name of Node to modifyname
(option) - A unique resource name for this JWT (JSON Web Token) authentication.
Examples
node revoke-access
Revoke a user’s access to a Node
Usage
Flags
uni
(option) - The name of Uninode
(option) - The name of Node to modifyuser
(option) - E-mail address of the user to which to revoke access
Examples
node schema
Fetch a Node’s GraphQL Schema
Usage
Flags
uni
(option) - Name of Uninode
(option) - Name of Nodejson
(boolean) - Output return values as JSON
Examples
node sharing-policy
Manage sharing policies for a node
See https://docs.vendia.com/fine-grained-data-permissions
Usage
Examples
node update
Update node configuration
Usage
Flags
uni
(option) - Name of Uninode
(option) - Name of Nodeconfig
(option) - config values to setforce
(boolean) - Force config update & ignore promptsjson
(boolean) - Output return values as JSON
Examples