Class: Azure::ARM::KeyVault::Models::AccessPolicyEntry

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_key_vault/models/access_policy_entry.rb

Overview

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.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#application_idObject

principal

Returns:

  • Application ID of the client making request on behalf of a



28
29
30
# File 'lib/generated/azure_mgmt_key_vault/models/access_policy_entry.rb', line 28

def application_id
  @application_id
end

#object_idString

group in the Azure Active Directory tenant for the vault. The object ID must be unique for the list of access policies.

Returns:

  • (String)

    The object ID of a user, service principal or security



24
25
26
# File 'lib/generated/azure_mgmt_key_vault/models/access_policy_entry.rb', line 24

def object_id
  @object_id
end

#permissionsPermissions

and certificates.

Returns:

  • (Permissions)

    Permissions the identity has for keys, secrets



32
33
34
# File 'lib/generated/azure_mgmt_key_vault/models/access_policy_entry.rb', line 32

def permissions
  @permissions
end

#tenant_idObject

authenticating requests to the key vault.

Returns:

  • The Azure Active Directory tenant ID that should be used for



19
20
21
# File 'lib/generated/azure_mgmt_key_vault/models/access_policy_entry.rb', line 19

def tenant_id
  @tenant_id
end

Class Method Details

.mapperObject

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



39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# File 'lib/generated/azure_mgmt_key_vault/models/access_policy_entry.rb', line 39

def self.mapper()
  {
    required: false,
    serialized_name: 'AccessPolicyEntry',
    type: {
      name: 'Composite',
      class_name: 'AccessPolicyEntry',
      model_properties: {
        tenant_id: {
          required: true,
          serialized_name: 'tenantId',
          type: {
            name: 'String'
          }
        },
        object_id: {
          required: true,
          serialized_name: 'objectId',
          type: {
            name: 'String'
          }
        },
        application_id: {
          required: false,
          serialized_name: 'applicationId',
          type: {
            name: 'String'
          }
        },
        permissions: {
          required: true,
          serialized_name: 'permissions',
          type: {
            name: 'Composite',
            class_name: 'Permissions'
          }
        }
      }
    }
  }
end