Skip to content

Add encrypted password for server.user #804

@oz123

Description

@oz123

Currently, pyinfra does now allow setting a user's password.

https://docs.pyinfra.com/en/1.x/operations/server.html#server-user

Sometimes it's required that users have a password. Adding in an ecrypted format would be great:

e.g:

server.user(
    "foo", present=True,
    unique=True,
     encrypted_password="$6$zWs.EKU9NG2bZUIR$JipLm3jA0Cc0Z/6eZHrK2RSB66Pb.TXr4To9rHIC491LImbHxUa2o8Tqmpk.mVoaLsdIWmtRLcdCh1evWXE9e."
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    operationsIssues with operations.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions