Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WebRoot Plugin] Support for Network Share Credentials #522

Open
ravensorb opened this issue Nov 30, 2023 · 3 comments
Open

[WebRoot Plugin] Support for Network Share Credentials #522

ravensorb opened this issue Nov 30, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@ravensorb
Copy link
Contributor

As a feature request, it would be great if there was a way to specify a username/password for the WebRoot Plugin. Right now, we run posh-acme on a windows arr server that is stand alone and have a custom script that handles this -- would very much like to switch over to this plugin (remove a lot of custom scripting)

If it helps, right now we store the password as a text version of a securestring that was generated on the box running the script (this helps with security). So maybe the WebRoot plugin could add 2 additional agumnets: WRUserName and WRPasswordSecure and if they are provided.

If I get a chance I'll see about getting a POC working.

@rmbolger rmbolger self-assigned this Nov 30, 2023
@rmbolger rmbolger added the enhancement New feature or request label Nov 30, 2023
@rmbolger
Copy link
Owner

rmbolger commented Nov 30, 2023

Hi @ravensorb. Thanks for reaching out. Just so I understand clearly, the credentials would be used to authenticate when WRPath points to a network share that the powershell process can't access in its own user context?

From a design perspective in the POC, I'd recommend using something like [pscredential]$WRShareCredential rather than distinct username/password parameters.

@ravensorb
Copy link
Contributor Author

Correct on using it for authentication to a network share and I like that idea of using the pscredential object. Question, would there be any issues during a renewal with this idea?

@rmbolger
Copy link
Owner

I don't think there'd be any issues during renewal unless the previously saved credentials became invalid for some reason. The module will save them along with the other params and read them in as necessary.

@rmbolger rmbolger changed the title [WebRoot Plugin] Support for UserName/Password [WebRoot Plugin] Support for Network Share Credentials Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants