cli
/
2.1.0-beta.1631
cli 2.1.0-beta.1631
Install from the command line:
Learn more about npm packages
$ npm install @opentdf/cli@2.1.0-beta.1631
Install via package.json:
"@opentdf/cli": "2.1.0-beta.1631"
About this version
A sample application using node & ESM to import and test a project
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
Assets
- cli-2.1.0-beta.1631.tgz
Download activity
- Total downloads 0
- Last 30 days 0
- Last week 0
- Today 0