Commit 7eb8439b authored by Jakob Moser's avatar Jakob Moser
Browse files

Add get credentials section

parent 3f93f872
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -35,3 +35,14 @@ The URL scheme (`ldap://` or `ldaps://`) has precedence over the parameter `use_

However, setting it to true means that if there ever is a case where no scheme is specified, the connection will fall back to use SSL, and I believe that is a good way for things to be.
>>>


## Get credentials

Using `input` and `getpass` prevents your credentials from being contained in the interactive session history.

```python
from getpass import getpass
user = input("Username: ")
password = getpass()
```