Skip to content

Commit

Permalink
Add README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
the-maldridge committed Feb 24, 2022
1 parent 47d9665 commit 3a8185f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# sftpgo-hook

This is a hook as described in the SFTPGo documentation for [external
authentication](https://github.com/drakkan/sftpgo/blob/main/docs/external-auth.md)
that allows you to validate your SFTPGo users via NetAuth.

It can be enabled by configuring the following environment variables:

```
SFTPGO_DATA_PROVIDER__EXTERNAL_AUTH_HOOK=/absolute/path/to/sftpgo-hook
SFTPGO_NETAUTH_HOMEDIR=/base/path/for/netauth/users/
```

0 comments on commit 3a8185f

Please sign in to comment.