File tree 12 files changed +203
-0
lines changed
12 files changed +203
-0
lines changed Original file line number Diff line number Diff line change
1
+ Markdown Conversion
2
+ ===================
3
+
4
+ To simplify documentation writing, our man pages are first written in Markdown
5
+ and then converted to roff format using the ` md2man ` Ruby gem.
6
+
7
+ If you modify a Markdown document in this directory you should commit the
8
+ regenerated roff version in the same commit. To regenerate the roff version,
9
+ use this command:
10
+
11
+ ``` sh
12
+ md2man-roff DOCFILE.1.md > DOCFILE.1
13
+ ```
14
+
15
+ But first, you may have to install the ` md2man ` gem: ` gem install md2man `
Original file line number Diff line number Diff line change
1
+ .TH vaulted\- add 1
2
+ .SH NAME
3
+ .PP
4
+ vaulted add \- interactively creates the content of a new vault
5
+ .SH SYNOPSIS
6
+ .PP
7
+ \fB \f C vaulted add\fR \fI name \fP
8
+ .SH DESCRIPTION
9
+ .PP
10
+ Spawns an interactve mode for editing the content of a new vault.
11
+ .PP
12
+ Upon quitting, the new content is saved to the vault.
Original file line number Diff line number Diff line change
1
+ .TH vaulted\- cp 1
2
+ .SH NAME
3
+ .PP
4
+ vaulted cp \- copies the content of a vault and saves it as a new vault with a new password
5
+ .SH SYNOPSIS
6
+ .PP
7
+ \fB \f C vaulted cp\fR \fI old \fP \fI new \fP
8
+ .br
9
+ \fB \f C vaulted copy\fR \fI old \fP \fI new \fP
10
+ .SH DESCRIPTION
11
+ .PP
12
+ Content in the \fI new \fP vault is created or replaced by content from \fI old \fP \& .
13
+ .PP
14
+ If the \fB \f C VAULTED_PASSWORD\fR environment variable is set, it will be used as the
15
+ password for \fI old \fP , otherwise the password will be requested via the tty.
16
+ .PP
17
+ If the \fB \f C VAULTED_NEW_PASSWORD\fR environment variable is set, it will be used as
18
+ the password for \fI new \fP , otherwise the password will be requested via the tty.
Original file line number Diff line number Diff line change
1
+ .TH vaulted\- dump 1
2
+ .SH NAME
3
+ .PP
4
+ vaulted dump \- writes the content of a vault to stdout as JSON
5
+ .SH SYNOPSIS
6
+ .PP
7
+ \fB \f C vaulted dump\fR \fI name \fP
8
+ .SH DESCRIPTION
9
+ .PP
10
+ Dumps the content of the vault to stdout in JSON format.
Original file line number Diff line number Diff line change
1
+ .TH vaulted\- edit 1
2
+ .SH NAME
3
+ .PP
4
+ vaulted edit \- interactively edits the content of an existing vault
5
+ .SH SYNOPSIS
6
+ .PP
7
+ \fB \f C vaulted edit\fR \fI name \fP
8
+ .SH DESCRIPTION
9
+ .PP
10
+ Spawns an interactve mode for editing the content of an existing vault.
11
+ .PP
12
+ Upon quitting, the new content is saved to the vault.
Original file line number Diff line number Diff line change
1
+ .TH vaulted\- env 1
2
+ .SH NAME
3
+ .PP
4
+ vaulted env \- outputs shell commands that load secrets for a vault into the shell
5
+ .SH SYNOPSIS
6
+ .PP
7
+ \fB \f C vaulted env\fR \fI name \fP
8
+ .SH DESCRIPTION
9
+ .PP
10
+ Creates an environment using variables and the AWS key stored in the vault. The
11
+ resulting environment variables are used to generate shell commands that will
12
+ load the secrets into a shell.
13
+ .PP
14
+ The shell is autodetected from the \fB \f C SHELL\fR environment variable, if the shell
15
+ is unknown or unspecified, \fB \f C sh\fR compatible commands are emitted.
16
+ .PP
17
+ \fI Note: \fP SSH keys are ignored when generating environments this way. This is due
18
+ to the inability to track the lifetime of the environment, which means the SSH
19
+ agent would exist indefinitely.
Original file line number Diff line number Diff line change
1
+ .TH vaulted\- load 1
2
+ .SH NAME
3
+ .PP
4
+ vaulted load \- uses JSON provided to stdin to create or replace the content of a vault
5
+ .SH SYNOPSIS
6
+ .PP
7
+ \fB \f C vaulted load\fR \fI name \fP
8
+ .SH DESCRIPTION
9
+ .PP
10
+ Replaces the content of \fI name \fP with JSON content provided via stdin.
Original file line number Diff line number Diff line change
1
+ .TH vaulted\- ls 1
2
+ .SH NAME
3
+ .PP
4
+ vaulted ls \- lists all vaults
5
+ .SH SYNOPSIS
6
+ .PP
7
+ \fB \f C vaulted ls\fR
8
+ .br
9
+ \fB \f C vaulted list\fR
10
+ .SH DESCRIPTION
11
+ .PP
12
+ Lists all vaults, one per line, to stdout.
Original file line number Diff line number Diff line change
1
+ .TH vaulted\- rm 1
2
+ .SH NAME
3
+ .PP
4
+ vaulted rm \- removes existing vaults
5
+ .SH SYNOPSIS
6
+ .PP
7
+ \fB \f C vaulted rm\fR \fI name \fP \fI \& ... \fP
8
+ .SH DESCRIPTION
9
+ .PP
10
+ Removes the vaults specified by \fI name \fP \& . The exit code is equal to the number of
11
+ vaults that could not be removed.
12
+ .PP
13
+ If a vault cannot be removed, the error is displayed on stdout.
Original file line number Diff line number Diff line change
1
+ .TH vaulted\- shell 1
2
+ .SH NAME
3
+ .PP
4
+ vaulted shell \- starts an interactive shell with the secrets for the vault loaded into the shell
5
+ .SH SYNOPSIS
6
+ .PP
7
+ \fB \f C vaulted shell\fR \fI name \fP
8
+ .SH DESCRIPTION
9
+ .PP
10
+ Starts an interactive shell (uses the \fB \f C SHELL\fR environment variable, if set;
11
+ otherwise defaults to \fB \f C /bin/sh\fR ).
Original file line number Diff line number Diff line change
1
+ .TH vaulted\- upgrade 1
2
+ .SH NAME
3
+ .PP
4
+ vaulted upgrade \- upgrades legacy vaults to the current vault format
5
+ .SH SYNOPSIS
6
+ .PP
7
+ \fB \f C vaulted upgrade\fR
8
+ .SH DESCRIPTION
9
+ .PP
10
+ Reads legacy vaults and converts them to the current vault format. The same
11
+ password is used for the converted vaults.
12
+ .PP
13
+ The exit code is equal to the number of vaults that could not be upgraded.
Original file line number Diff line number Diff line change
1
+ .TH vaulted 1
2
+ .SH NAME
3
+ .PP
4
+ vaulted \- spawn environments from securely stored secrets
5
+ .SH SYNOPSIS
6
+ .PP
7
+ \fB \f C vaulted\fR \fB \f C \- n\fR \fI name \fP [\fB \f C \- i\fR ]
8
+ .br
9
+ \fB \f C vaulted\fR \fB \f C \- n\fR \fI name \fP [\fB \f C \-\- \fR ] \fI CMD \fP
10
+ .PP
11
+ \fB \f C vaulted\fR \fI COMMAND \fP [\fI args... \fP ]
12
+ .SH DESCRIPTION
13
+ .PP
14
+ If no \fI COMMAND \fP is provided, \fB \f C vaulted\fR either spawns \fI CMD \fP (if provided) or
15
+ spawns an interactive shell.
16
+ .PP
17
+ \fB \f C \-\- \fR may be used to differentiate the \fI CMD \fP from \fB \f C vaulted\fR \& 's own arguments.
18
+ .SH COMMANDS
19
+ .TP
20
+ \fB \f C add\fR
21
+ Interactively creates the content of a new vault. See
22
+ .BR vaulted-add (1).
23
+ .TP
24
+ \fB \f C cp\fR / \fB \f C copy\fR
25
+ Copies the content of a vault and saves it as a new vault with a new password. See
26
+ .BR vaulted-cp (1).
27
+ .TP
28
+ \fB \f C dump\fR
29
+ Writes the content of a vault to stdout as JSON. See
30
+ .BR vaulted-dump (1).
31
+ .TP
32
+ \fB \f C edit\fR
33
+ Interactively edits the content of an existing vault. See
34
+ .BR vaulted-edit (1).
35
+ .TP
36
+ \fB \f C env\fR
37
+ Outputs shell commands that load secrets for a vault into the shell. See
38
+ .BR vaulted-env (1).
39
+ .TP
40
+ \fB \f C load\fR
41
+ Uses JSON provided to stdin to create or replace the content of a vault. See
42
+ .BR vaulted-load (1).
43
+ .TP
44
+ \fB \f C ls\fR / \fB \f C list\fR
45
+ Lists all vaults. See
46
+ .BR vaulted-ls (1).
47
+ .TP
48
+ \fB \f C rm\fR
49
+ Removes existing vaults. See
50
+ .BR vaulted-rm (1).
51
+ .TP
52
+ \fB \f C shell\fR
53
+ Starts an interactive shell with the secrets for the vault loaded into the shell. See
54
+ .BR vaulted-shell (1).
55
+ .TP
56
+ \fB \f C upgrade\fR
57
+ Upgrades legacy vaults to the current vault format. See
58
+ .BR vaulted-upgrade (1).
You can’t perform that action at this time.
0 commit comments