Sha256: 58ccebc16428eeca4d1a068c869dd38a7b4d30a454669b66e6d8fc9bdef64a6f

Contents?: true

Size: 576 Bytes

Versions: 7

Compression:

Stored size: 576 Bytes

Contents

require 'simplecov'

SimpleCov.start do
  command_name "#{ENV['RUBY_VERSION']}"
end

require 'json_spec/cucumber'
require 'conjur/api'

Conjur.configuration.appliance_url = ENV['CONJUR_APPLIANCE_URL'] || 'http://localhost/api/v6'
Conjur.configuration.account = ENV['CONJUR_ACCOUNT'] || 'cucumber'
Conjur.configuration.authn_local_socket = "/run/authn-local-5/.socket"

$username = ENV['CONJUR_AUTHN_LOGIN'] || 'admin'
$password = ENV['CONJUR_AUTHN_API_KEY'] || 'secret'

$api_key = Conjur::API.login $username, $password
$conjur = Conjur::API.new_from_key $username, $api_key

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
conjur-api-5.3.8.pre.194 features/support/env.rb
conjur-api-5.3.7 features/support/env.rb
conjur-api-5.3.7.pre.183 features/support/env.rb
conjur-api-5.3.7.pre.168 features/support/env.rb
conjur-api-5.3.7.pre.14 features/support/env.rb
conjur-api-5.3.7.pre.167 features/support/env.rb
conjur-api-5.3.6 features/support/env.rb