(self, host, login, password, port=22, **kwargs)
| 27 | |
| 28 | class Rotator: |
| 29 | def __init__(self, host, login, password, port=22, **kwargs): |
| 30 | self.host = host |
| 31 | self.login = login |
| 32 | self.password = password |
| 33 | self.port = port |
| 34 | # These characters don't work for Windows ssh password rotation |
| 35 | self.disallow_special_characters = DISALLOW_WINDOWS_SPECIAL_CHARACTERS |
| 36 | |
| 37 | def rotate(self, record, new_password): |
| 38 | """Change a password over SSH""" |
nothing calls this directly
no outgoing calls
no test coverage detected