New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@soluto-asurion/kamus-cli

Package Overview
Dependencies
Maintainers
4
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@soluto-asurion/kamus-cli

CLI Tool to encrypt secrets for kamus

  • 0.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by100%
Maintainers
4
Weekly downloads
 
Created
Source

npm version Known Vulnerabilities docker hub

Kamus CLI

This cli was created to provide an easy interface to interact with Kamus API.

It supports azure device flow authentication out of the box.

To install, use the following NPM command:

npm install -g @soluto-asurion/kamus-cli

Alternatively, you can use docker to run the CLI (for example, to run it inside the cluster when the encryptor is deployed without ingress):

docker run -it --rm soluto/kamus-cli encrypt <arguments>

Or, using kubectl:

kubectl run -it --rm --restart=Never kamus-cli --image=soluto/kamus-cli -- encrypt <arguments>

Supported commands:
Encrypt

kamus-cli encrypt --secret <data> --service-account <serviceAccount> --namespace <namespace> --kamus-url <kamus-url>


How to enable azure active directory authentication

You need working active directory tenant and designated native app registration, Then just set all the auth prefixed options. Once the user will run the cli with the auth options, he will get a small code and and azure URL to login into.


CLI options:
OptionRequiredDescriptionDefault Value
--auth-tenantfalseazure authentication tenant id
--auth-applicationfalseazure authentication application id
--auth-resourcefalseazure authentication resource id
--cert-fingerprintfalsecertificate fingerprint of encrypt api for validation
--kamus-urltrueurl of kamus encrypt api
--allow-insecure-urlfalseallow or block non https endpointsfalse
--log-level <debug|verbose|info|warn|error|fatal>falsespecify global logger level
--log-flag <[no-](date|inline|colorful)>falsethe prefix no- represent negation. date: whether to print date. default value is false. inline: each log record output in one line. default value is false. colorful: whether to print with colors. default value is true.
--log-output falsespecify the output path (default behavior is output directory to stdout).
--log-encoding falsespecify the log file's encoding.
--secret or --secret-filetruethe secret to encrypt, or the file containing it

Keywords

FAQs

Package last updated on 07 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc