Sha256: 08ed2d68f9365e5f9f8c6e054d909df907380def9dba2a640cbe40dd6136ec18

Contents?: true

Size: 835 Bytes

Versions: 32

Compression:

Stored size: 835 Bytes

Contents

module Fog
  module KeyVault
    class AzureRM
      # AccessPolicyEntry Model for Storage Service
      class AccessPolicyEntry < Fog::Model
        identity  :object_id
        attribute :tenant_id
        attribute :application_id
        attribute :keys
        attribute :secrets
        attribute :certificates

        def self.parse(access_policy_entry)
          access_policy_entry_hash = get_hash_from_object(access_policy_entry)
          permissions = access_policy_entry.permissions
          unless permissions.nil?
            access_policy_entry_hash['keys'] = permissions.keys
            access_policy_entry_hash['secrets'] = permissions.secrets
            access_policy_entry_hash['certificates'] = permissions.certificates
          end

          access_policy_entry_hash
        end
      end
    end
  end
end

Version data entries

32 entries across 32 versions & 3 rubygems

Version Path
fog-azure-rm-0.6.0 lib/fog/azurerm/models/key_vault/access_policy_entry.rb
fog-azure-rm-0.5.3 lib/fog/azurerm/models/key_vault/access_policy_entry.rb
fog-azure-rm-0.5.2 lib/fog/azurerm/models/key_vault/access_policy_entry.rb
far-gem-0.5.6 lib/fog/azurerm/models/key_vault/access_policy_entry.rb
fog-azure-rm-0.5.1 lib/fog/azurerm/models/key_vault/access_policy_entry.rb
far-gem-0.5.5 lib/fog/azurerm/models/key_vault/access_policy_entry.rb
fog-azure-rm-0.5.0 lib/fog/azurerm/models/key_vault/access_policy_entry.rb
far-gem-0.5.4 lib/fog/azurerm/models/key_vault/access_policy_entry.rb
far-gem-0.5.3 lib/fog/azurerm/models/key_vault/access_policy_entry.rb
fog-azure-rm-0.4.9 lib/fog/azurerm/models/key_vault/access_policy_entry.rb
far-gem-0.5.2 lib/fog/azurerm/models/key_vault/access_policy_entry.rb
fog-azure-rm-0.4.8 lib/fog/azurerm/models/key_vault/access_policy_entry.rb
fog-azure-rm-0.4.7 lib/fog/azurerm/models/key_vault/access_policy_entry.rb
fog-azure-rm-0.4.6 lib/fog/azurerm/models/key_vault/access_policy_entry.rb
fog-azure-rm-0.4.5 lib/fog/azurerm/models/key_vault/access_policy_entry.rb
fog-azure-rm-temp-0.0.5 lib/fog/azurerm/models/key_vault/access_policy_entry.rb
fog-azure-rm-0.4.4 lib/fog/azurerm/models/key_vault/access_policy_entry.rb
fog-azure-rm-0.4.3 lib/fog/azurerm/models/key_vault/access_policy_entry.rb
far-gem-0.5.1 lib/fog/azurerm/models/key_vault/access_policy_entry.rb
fog-azure-rm-0.4.2 lib/fog/azurerm/models/key_vault/access_policy_entry.rb