A full-screen terminal editor for Infisical secrets, in the style of the Doppler TUI.
- Environments and Projects on the left, Secrets on the right, Status and Filter at the bottom.
- Every secret of an environment is listed under its folder path. Filter the list by path.
- Values are masked. Press
vto reveal the value under the cursor. - Press
yto copy the path, name or value of a secret. - Add, edit, move and delete secrets as pending changes. Press
sto review them and sync them to Infisical. - The initial project and environment come from
.infisical.yamlor.infisical.json, as for the Infisical CLI.
- The Infisical CLI, signed in with
infisical login. intuitive reads the CLI's session withinfisical login status --jsonandinfisical user get token. It doesn't sign in by itself. It was tested with CLI version 0.45.15. - macOS or Linux.
- To copy with
y:pbcopyon macOS, orwl-copyorxclipon Linux.
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/makesometh-ing/intuitive/releases/latest/download/intuitive-installer.sh | shThe script downloads the binary for your platform from the latest release and installs it to $CARGO_HOME/bin, which is ~/.cargo/bin by default. It adds that directory to your PATH in your shell profile when it isn't there yet.
- Download the archive for your platform from the latest release:
intuitive-aarch64-apple-darwin.tar.xzfor Apple silicon Macsintuitive-x86_64-apple-darwin.tar.xzfor Intel Macsintuitive-x86_64-unknown-linux-gnu.tar.xzorintuitive-aarch64-unknown-linux-gnu.tar.xzfor Linux
- Check the archive against its
.sha256file. - Extract it, and move
intuitiveto a directory in yourPATH.
cargo install --locked --git https://github.com/makesometh-ing/intuitiveintuitiveRun it in a directory linked to an Infisical project to start in that project. Otherwise the first project is selected. Press ? for every shortcut, and q to quit.
| Key | Action |
|---|---|
1, 2, 3 |
Focus Environments, Projects or Secrets |
j / k |
Move down or up |
Enter |
Select a project or environment, or filter by the path row under the cursor |
h / l |
Focus the path, name or value box of the secret under the cursor |
y |
Copy the full text of the focused box |
v |
Reveal or mask the value under the cursor |
a |
Add a secret |
e |
Edit the path, name and value of the secret under the cursor |
d |
Delete the secret under the cursor at the next sync |
u |
Undo the pending change of the secret under the cursor |
s |
Review the pending changes and sync them |
/ |
Type a path to filter by |
? |
Help |
q |
Quit |
a and e open a pop-over with the Path, Name and Value fields. Move between the fields with Tab and Shift-Tab, Down and Up, or Ctrl-J and Ctrl-K. Enter saves the pop-over as a pending change. Esc closes it without a change.
- A pending change is marked in the Secrets pane:
+for an add,~for an edit and-for a delete. Infisical isn't changed until the sync. slists the pending changes without their values. Enter sends them to Infisical in the order they were made. A failed change stays pending, and the Status pane shows the server error.- Pending changes are kept in memory only. Before you select a different project or environment, or quit, intuitive asks to sync or discard them.
- Enter can't be typed in a field. In the Value field,
\nis a newline and\\is a backslash. Pasted text is inserted as it is, and its newlines are shown as\n. - A missing folder is created when a secret is added or moved to it.
- A rename keeps the version history of the secret. A move to a different path creates a new secret at that path, with its own version history. The history of the original secret isn't moved.
- Secret references such as
${OTHER_KEY}are saved as they are typed.
The initial selection follows the rules of the Infisical CLI:
- The project comes from
INFISICAL_PROJECT_ID, then the nearest.infisical.yamlor.infisical.jsonin the current directory or a parent directory. - The environment comes from
INFISICAL_ENVIRONMENT, then the Git branch override in the file, then the default environment in the file, thendev.
Install a current stable Rust toolchain with rustup, then:
cargo build --release
cargo testThe binary is target/release/intuitive. The tests run the compiled binary in a pseudo-terminal with a test Infisical CLI and a test HTTP server. They don't need an Infisical account or network access.
Releases are built by dist in GitHub Actions.
- Set
versioninCargo.toml, for example0.2.0, and commit it. - Push a tag with the same version:
git tag v0.2.0 && git push origin v0.2.0.
The workflow builds the four platform archives and the install script, and publishes them as a GitHub release for the tag.