@opentdf/cli

1.0.1-beta.925 • Public • Published

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]

For example, to use the quickstart test, we should do something like:

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 alice@somewhere.there \
  decrypt sample.tdf

This is a placeholder for working through build and CI issues.

References

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.1-beta.9254latest
2.0.0-beta.15370beta

Version History

VersionDownloads (Last 7 Days)Published
2.0.0-beta.15370
2.0.0-beta.15150
2.0.0-beta.15020
2.0.0-beta.148882
2.0.0-beta.14611
2.0.0-beta.14371
2.0.0-beta.14121
2.0.0-beta.13701
2.0.0-beta.13621
2.0.0-beta.13261
1.0.1-beta.9254
1.0.0-rc.8890
0.5.0-rc.8190
0.5.0-beta.8130
0.5.0-beta.7910
0.5.0-beta.7860
0.4.0-beta.7840
0.4.0-beta.7720
0.4.0-beta.7650
0.4.0-beta.7390
0.4.0-beta.7210
0.4.0-beta.7150
0.4.0-beta.6610
0.4.0-beta.6540
0.4.0-beta.6440
0.4.0-beta.6360
0.4.0-beta.6070
0.4.0-beta.5520
0.4.0-beta.5400
0.4.0-beta.5010
0.3.0-beta.3740
0.3.0-beta.3640
0.3.0-beta.3590

Package Sidebar

Install

npm i @opentdf/cli

Weekly Downloads

92

Version

1.0.1-beta.925

License

BSD-3-Clause-Clear

Unpacked Size

33.5 kB

Total Files

5

Last publish

Collaborators

  • opentdf-bot
  • dricaud
  • pflynn-virtru
  • virtru-admin
  • the_krakatoa