sniptt-official / snip Goto Github PK
View Code? Open in Web Editor NEW๐ A simple developer-friendly CLI for managing secrets
Home Page: https://sniptt.com
License: MIT License
๐ A simple developer-friendly CLI for managing secrets
Home Page: https://sniptt.com
License: MIT License
We should use a matrix strategy with different OS versions when running the test jobs, similar to the node versions matrix.
snip add joebloggs_aws_password_prod -v aws_initial_passwords
snip add joebloggs_aws_password_test --vault aws_initial_passwords
Also, moving the --vault
not work either, nor adding the value as non-hidden text at the end.
snip --vault aws_initial_passwords add joebloggs_aws_password_test 1234
Error: Unknown argument: 1234
Hint: Use the --help option to get help about the usage
Use-case being that if I adopt snip as a team with a shared vault, I'd want to call snip from scripts and retrieve a secret in plaintext.
For now the best option I found to get plaintext output of a secret value is:
snip get foo -q -o /dev/stdout
A convention of lots of programs would be to accept -
in place of stdout to shorten the command.
A different option could be to implement a flag like snip get foo -r
(-r/--raw
for raw output mode).
It makes sense to port snip
to golang, improving the overall DX and aligning with how we've built ots
samsavage@CVX-0032:/tmp snip ls --vault datauniverse_vault
โ Fetching existing vault memberships
โ Fetching vault secrets
Secret Name Owner
It looks like the vault contains 1 secret called Secret Name Owner
but I don't think that is the intension.
If the vault is empty, no text should be output, or it should say "vault empty" or something.
The install instructions at https://www.sniptt.com/ have you run brew install sniptt-official/tap
which will fail with the error Warning: No available formula or cask with the name "sniptt-official/tap". However if the instructions are updated to brew tap sniptt-official/tap
the instructions work as expected.
If you're looking for an alternative to this check out: https://github.com/dotenv-org/dotenv-vault
Sniptt was a cool project that I used to use. But as it stop being maintained, I had to look elsewhere. Didn't really find much so me and some friends starting building dotenv-vault.
Currently when I create a new profile it's not set as default. During command executions I also do not see what the profile is. As a result if I leave the --profile flag from the command I get errors that are quite strange and misleading. It would be good to:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.