Sha256: 1a000b7c70b6490047b032edd51c1810dba8cdfb0127c46aa3db171074bc66d8

Contents?: true

Size: 284 Bytes

Versions: 14

Compression:

Stored size: 284 Bytes

Contents

module ChefAPI
  class Resource::Principal < Resource::Base
    collection_path '/principals'

    schema do
      attribute :name,       type: String, primary: true, required: true
      attribute :type,       type: String
      attribute :public_key, type: String
    end
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
chef-infra-api-0.10.0 lib/chef-api/resources/principal.rb
chef-api-0.10.0 lib/chef-api/resources/principal.rb
chef-infra-api-0.9.1 lib/chef-api/resources/principal.rb
chef-api-0.9.0 lib/chef-api/resources/principal.rb
chef-api-0.8.0 lib/chef-api/resources/principal.rb
chef-api-0.7.1 lib/chef-api/resources/principal.rb
chef-api-0.7.0 lib/chef-api/resources/principal.rb
chef-api-0.6.0 lib/chef-api/resources/principal.rb
chef-api-0.5.0 lib/chef-api/resources/principal.rb
chef-api-0.4.1 lib/chef-api/resources/principal.rb
chef-api-0.4.0 lib/chef-api/resources/principal.rb
chef-api-0.3.0 lib/chef-api/resources/principal.rb
chef-api-0.2.1 lib/chef-api/resources/principal.rb
chef-api-0.2.0 lib/chef-api/resources/principal.rb