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

Allow user/password entry for WinRM in bolt.yaml #448

Closed
bbraunstein opened this issue May 22, 2018 · 2 comments
Closed

Allow user/password entry for WinRM in bolt.yaml #448

bbraunstein opened this issue May 22, 2018 · 2 comments

Comments

@bbraunstein
Copy link

It'd be a nice add-in to support specifying the username/password for WinRM transport mode in the bolt.yaml config file. Instead of passing the --user "${user}" --password "${password}" each time needed to execute WInRM commands/tasks.

Perhaps allow the variables within the code block in the bolt.yaml file:

winrm:
  ssl: false
  user: <username>
  password: <password>
  connect-timeout: 30

Defaults would be specified parameters located in bolt.yaml, unless overridden by manually passed params on the CLI.

@bbraunstein
Copy link
Author

Actually, turns out you literally can do this exactly like in my example given above.

The documentation should reflect this.

@MikaelSmith
Copy link
Contributor

Ah, I'll see about updating the docs.

MikaelSmith added a commit to MikaelSmith/bolt that referenced this issue May 22, 2018
With BOLT-366, more transport-specific config options were exposed in
the global config. Update docs to reflect the new options.

Resolves puppetlabs#448.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants