Skip to content

how to supply password to smb backend? #41

Description

@hutch3232

I'm trying to use rclone.create_remote with the remote_type "smb".

Per the docs: https://rclone.org/smb/

--smb-pass
SMB password.

NB Input to this must be obscured - see [rclone obscure](https://rclone.org/commands/rclone_obscure/).

Properties:

Config: pass
Env Var: RCLONE_SMB_PASS
Type: string
Required: false

The command line argument to supply the password is pass. Since that is a reserved keyword in python, I can't supply pass as a kwarg to rclone.create_remote. Any ideas for how to accomplish this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions