Sha256: fd777c2ffce321a024c228042ea34723e7529e3379739f14a95b183917cb7bd1

Contents?: true

Size: 278 Bytes

Versions: 3

Compression:

Stored size: 278 Bytes

Contents

require 'conjur/key_pair'

module Conjur
  class API
    def create_key_pair(options = {})
      standard_create Conjur::KeyPairs::API.host, :key_pair, nil, options
    end
    
    def key_pair id
      standard_show Conjur::KeyPairs::API.host, :key_pair, id
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
conjur-asset-key-pair-api-0.2.2 lib/conjur/api/key_pairs.rb
conjur-asset-key-pair-api-0.2.1 lib/conjur/api/key_pairs.rb
conjur-asset-key-pair-0.2.1 lib/conjur/api/key_pairs.rb