Skip to content
cli / 2.0.0-beta.1623

cli 2.0.0-beta.1623

Install from the command line:
Learn more about npm packages
$ npm install @opentdf/cli@2.0.0-beta.1623
Install via package.json:
"@opentdf/cli": "2.0.0-beta.1623"

About this version

OpenTDF command line tool (for node)

A sample application using node & ESM to import and test a project

Usage

opentdf.mjs <auth options> <policy options> [encrypt|decrypt] [input file]

Sample round trip execution:

echo hello-world >sample.txt
bin/opentdf.mjs encrypt \
  --kasEndpoint http://localhost:65432/api/kas \
  --oidcEndpoint http://localhost:65432/auth/realms/tdf \
  --auth tdf-client:123-456 \
  --containerType tdf3 \
  --output sample.tdf \
  sample.txt
bin/opentdf.mjs \
  --kasEndpoint http://localhost:65432/api/kas \
  --oidcEndpoint http://localhost:65432/auth/realms/tdf \
  --auth tdf-client:123-456 \
  --containerType tdf3 \
  --userId [email protected] \
  decrypt sample.tdf

References

Details

  • cli
  • @opentdf opentdf
  • about 1 month ago
  • BSD-3-Clause-Clear
  • 19 dependencies

Assets

  • cli-2.0.0-beta.1623.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0