Sha256: 0830c8d62068d9bde015d618159cdb6089bac0b4bb1950cfe2b394becb049d99

Contents?: true

Size: 287 Bytes

Versions: 17

Compression:

Stored size: 287 Bytes

Contents

require 'conjur/secret'

module Conjur
  class API
    def create_secret(value, options = {})
      standard_create Conjur::Core::API.host, :secret, nil, options.merge(value: value)
    end
    
    def secret id
      standard_show Conjur::Core::API.host, :secret, id
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
conjur-api-2.7.1 lib/conjur/api/secrets.rb
conjur-api-2.5.1 lib/conjur/api/secrets.rb
conjur-api-2.4.0 lib/conjur/api/secrets.rb
conjur-api-2.3.1 lib/conjur/api/secrets.rb
conjur-api-2.2.3 lib/conjur/api/secrets.rb
conjur-api-2.2.2 lib/conjur/api/secrets.rb
conjur-api-2.2.1 lib/conjur/api/secrets.rb
conjur-api-2.1.8 lib/conjur/api/secrets.rb
conjur-api-2.1.7 lib/conjur/api/secrets.rb
conjur-api-2.1.6 lib/conjur/api/secrets.rb
conjur-api-2.1.5 lib/conjur/api/secrets.rb
conjur-api-2.1.4 lib/conjur/api/secrets.rb
conjur-api-2.1.3 lib/conjur/api/secrets.rb
conjur-api-2.1.2 lib/conjur/api/secrets.rb
conjur-api-2.1.1 lib/conjur/api/secrets.rb
conjur-api-2.1.0 lib/conjur/api/secrets.rb
conjur-api-2.0.1 lib/conjur/api/secrets.rb