Module: Awskeyring::Input
- Defined in:
- lib/awskeyring/input.rb
Overview
Input methods for Awskeyring
Class Method Summary collapse
-
.read_secret(prompt) ⇒ Object
Read a secret in without echoing the characters.
Class Method Details
.read_secret(prompt) ⇒ Object
Read a secret in without echoing the characters
10 11 12 13 |
# File 'lib/awskeyring/input.rb', line 10 def self.read_secret(prompt) $stdout.print(prompt) hide_input end |