Skip to content

Store session info for long time non interactive auth #8

@rekby

Description

@rekby

Hello.

Thanks for the CLI it is great way for update certificate on synology.

  1. I don't want to store login/password as plain text
  2. I have enabled 2-factor auth for administrators.

Now CLI doesn't support the cases for use in authomation

What you think about

  1. Add optional otp-code (will use for auth request)
  2. Option for save auth data (session, token) into a file and use the file for next commands

I can create PR with the functions if you are ok.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions