Sha256: 9e8b277e48eeefbe5b5843229203355a6f28787f71fc1ffe4045fb551da0c7fd

Contents?: true

Size: 210 Bytes

Versions: 162

Compression:

Stored size: 210 Bytes

Contents

require 'netrc'
Netrc.configure do |c|
  c[:allow_permissive_netrc_file] = true
end

creds = Netrc.read('/root/.netrc')[ENV['CONJUR_APPLIANCE_URL'] + '/authn']
print "#{creds.login} #{creds.password}" if creds

Version data entries

162 entries across 162 versions & 1 rubygems

Version Path
conjur-debify-3.0.3.pre.248 distrib/conjur_creds.rb
conjur-debify-3.0.3.pre.216 distrib/conjur_creds.rb
conjur-debify-3.0.3.pre.145 distrib/conjur_creds.rb
conjur-debify-3.0.3.pre.10 distrib/conjur_creds.rb
conjur-debify-3.0.3.pre.9 distrib/conjur_creds.rb
conjur-debify-3.0.3.pre.2005 distrib/conjur_creds.rb
conjur-debify-3.0.3.pre.1981 distrib/conjur_creds.rb
conjur-debify-3.0.3.pre.1971 distrib/conjur_creds.rb
conjur-debify-3.0.3.pre.1967 distrib/conjur_creds.rb
conjur-debify-3.0.3.pre.1965 distrib/conjur_creds.rb
conjur-debify-3.0.3.pre.1963 distrib/conjur_creds.rb
conjur-debify-3.0.3.pre.1961 distrib/conjur_creds.rb
conjur-debify-3.0.3.pre.1959 distrib/conjur_creds.rb
conjur-debify-3.0.3.pre.1957 distrib/conjur_creds.rb
conjur-debify-3.0.3.pre.1956 distrib/conjur_creds.rb
conjur-debify-3.0.3.pre.1954 distrib/conjur_creds.rb
conjur-debify-3.0.3.pre.1952 distrib/conjur_creds.rb
conjur-debify-3.0.3.pre.1950 distrib/conjur_creds.rb
conjur-debify-3.0.3.pre.1948 distrib/conjur_creds.rb
conjur-debify-3.0.3.pre.1946 distrib/conjur_creds.rb