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

Solution Verified - Updated -

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?

Environment

  • Red Hat Satellite 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content