SSH key file

If you're using vagrant for testing this, rather than a cloud provider, I'm simply using the default insecure keys provided by vagrant. This key can always be found at https://github.com/hashicorp/vagrant/tree/master/keys.

When adding credentials, we're also scoping our credentials. In an SSH private key credential, you begin by selecting the PEM file you wish to apply from your local hard drive. We have three available RBAC options:

  • Discover data on hosts: Should this key be used to discover information?
  • Run tasks on target hosts: Should this key be able to run and execute tasks?
  • Escalate privileges to root: Should this user become the root user for discovery and tasks?

Finally, we have a username and passphrase. Our username ...

Get Mastering Puppet 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.