class Azure::KeyVault::Mgmt::V2019_09_01::Models::AccessPolicyEntry

An identity that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID.

Attributes

application_id[RW]

@return Application ID of the client making request on behalf of a principal

object_id[RW]

@return [String] The object ID of a user, service principal or security group in the Azure Active Directory tenant for the vault. The object ID must be unique for the list of access policies.

permissions[RW]

@return [Permissions] Permissions the identity has for keys, secrets and certificates.

tenant_id[RW]

@return The Azure Active Directory tenant ID that should be used for authenticating requests to the key vault.

Public Class Methods

mapper() click to toggle source

Mapper for AccessPolicyEntry class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2019-09-01/generated/azure_mgmt_key_vault/models/access_policy_entry.rb, line 38
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AccessPolicyEntry',
    type: {
      name: 'Composite',
      class_name: 'AccessPolicyEntry',
      model_properties: {
        tenant_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'tenantId',
          type: {
            name: 'String'
          }
        },
        object_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'objectId',
          type: {
            name: 'String'
          }
        },
        application_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'applicationId',
          type: {
            name: 'String'
          }
        },
        permissions: {
          client_side_validation: true,
          required: true,
          serialized_name: 'permissions',
          type: {
            name: 'Composite',
            class_name: 'Permissions'
          }
        }
      }
    }
  }
end