You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
git-secret/man/man1/git-secret-tell.1

53 lines
2.4 KiB
Groff

8 years ago
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
2 years ago
.TH "GIT\-SECRET\-TELL" "1" "May 2022" "sobolevn" "git-secret 0.5.1-alpha1"
8 years ago
.
.SH "NAME"
2 years ago
\fBgit\-secret\-tell\fR \- adds person who can access private data\.
8 years ago
.
.SH "SYNOPSIS"
.
.nf
git secret tell [\-m] [\-d dir] [emails]\.\.\.
8 years ago
.
.fi
.
.SH "DESCRIPTION"
\fBgit\-secret tell\fR \- adds user(s) to the list of those able to encrypt/decrypt secrets\.
.
.P
2 years ago
This lets the specified user encrypt new files, but will not immediately be able to decrypt existing files, which were encrypted without their key\. Files should be re\-encrypted with the new keyring by someone who already has access in order for the new user to be able to decrypt the files\.
8 years ago
.
.P
2 years ago
\fBgit\-secret tell\fR works only with email addresses, and will exit with an error if you have multiple keys in your keyring with specified email addresses, or if one of the specified emails is already associated with a key in the \fBgit\-secret\fR repo\'s keyring\.
.
.P
Under the hood, \fBgit\-secret\-tell\fR searches in the current user\'s \fBgnupg\fR keyring for public key(s) of passed email(s), then imports the corresponding public key(s) into your \fBgit\-secret\fR repo\'s keyring\.
.
.P
Versions of \fBgit\-secret tell\fR after \fB0\.3\.2\fR will warn about keys that are expired, revoked, or otherwise invalid\. It will also warn if multiple keys are found for a single email address\.
.
.P
\fBDo not manually import secret keys into \fBgit\-secret\fR\fR\. It won\'t work with imported secret keys anyway\.
8 years ago
.
2 years ago
.P
For more details about how \fBgit\-secret\fR uses public and private keys, see the documentation for \fBgit\-secret\-hide\fR and \fBgit\-secret\-reveal\fR\.
.
8 years ago
.SH "OPTIONS"
.
.nf
2 years ago
\-m \- uses your current `git config user\.email` setting as an identifier for the key\.
\-d \- specifies `\-\-homedir` option for `gpg`, basically use this option if your store your keys in a custom location\.
8 years ago
\-h \- shows help\.
.
.fi
.
.SH "MANUAL"
2 years ago
Run \fBman git\-secret\-tell\fR to see this document\.
.
8 years ago
.SH "SEE ALSO"
3 years ago
git\-secret\-init(1) \fIhttps://git\-secret\.io/git\-secret\-init\fR, git\-secret\-add(1) \fIhttps://git\-secret\.io/git\-secret\-add\fR, git\-secret\-hide(1) \fIhttps://git\-secret\.io/git\-secret\-hide\fR, git\-secret\-reveal(1) \fIhttps://git\-secret\.io/git\-secret\-reveal\fR, git\-secret\-cat(1) \fIhttps://git\-secret\.io/git\-secret\-cat\fR, git\-secret\-removeperson(1) \fIhttps://git\-secret\.io/git\-secret\-removeperson\fR