How to encrypt the password stored in ~/.hammer/cli.modules.d/foreman.yml file?

Solution Verified - Updated

Environment

  • Red Hat Satellite 6

Issue

  • Password stored in ~/.hammer/cli.modules.d/foreman.yml file for using hammer command without authentication is visible to all.
  • How to encrypt the password stored in file ~/.hammer/cli.modules.d/foreman.yml?

Resolution

For more KB articles/solutions related to Red Hat Satellite 6.x hammer Issues, please refer to the Consolidated Troubleshooting Article for Red Hat Satellite 6.x hammer-related Issues

SBR
Product(s)
Components
Category
Tags

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.