azure_mgmt_key_vault 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/azure_mgmt_key_vault.gemspec +1 -1
- data/lib/generated/azure_mgmt_key_vault.rb +2 -1
- data/lib/generated/azure_mgmt_key_vault/key_vault_management_client.rb +1 -1
- data/lib/generated/azure_mgmt_key_vault/models/access_policy_entry.rb +5 -4
- data/lib/generated/azure_mgmt_key_vault/models/key_permissions.rb +29 -0
- data/lib/generated/azure_mgmt_key_vault/models/permissions.rb +4 -4
- data/lib/generated/azure_mgmt_key_vault/models/{sku_family.rb → secret_permissions.rb} +7 -3
- data/lib/generated/azure_mgmt_key_vault/models/sku.rb +4 -2
- data/lib/generated/azure_mgmt_key_vault/models/vault.rb +1 -0
- data/lib/generated/azure_mgmt_key_vault/models/vault_create_or_update_parameters.rb +1 -0
- data/lib/generated/azure_mgmt_key_vault/models/vault_properties.rb +1 -0
- data/lib/generated/azure_mgmt_key_vault/vaults.rb +1 -1
- data/lib/generated/azure_mgmt_key_vault/version.rb +1 -1
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3fb0a8679e9524079c41eda0a868cfc0fe857aa5
|
4
|
+
data.tar.gz: 33c0aa544916ea71b891a2d25c01b0b7d251e10e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: acdf6a3dfbcf7c57a89982bdd067dffb651fc1f042b5b535a60a679ceee63abd0c1da4e633d810115a2eb6217850538ba89460d3e7b07b65e68d61c268d7e744
|
7
|
+
data.tar.gz: 2b8732396e3e740022bc9522a329d586454caf0357b9913b4a4b7e0cce2aaa362dbb2a5be24a0ef21653912bfb709973770f170a0b9cfcd324ab9992cc4a1255
|
@@ -31,7 +31,8 @@ module Azure::ARM::KeyVault
|
|
31
31
|
autoload :VaultCreateOrUpdateParameters, 'generated/azure_mgmt_key_vault/models/vault_create_or_update_parameters.rb'
|
32
32
|
autoload :VaultListResult, 'generated/azure_mgmt_key_vault/models/vault_list_result.rb'
|
33
33
|
autoload :Vault, 'generated/azure_mgmt_key_vault/models/vault.rb'
|
34
|
-
autoload :SkuFamily, 'generated/azure_mgmt_key_vault/models/sku_family.rb'
|
35
34
|
autoload :SkuName, 'generated/azure_mgmt_key_vault/models/sku_name.rb'
|
35
|
+
autoload :KeyPermissions, 'generated/azure_mgmt_key_vault/models/key_permissions.rb'
|
36
|
+
autoload :SecretPermissions, 'generated/azure_mgmt_key_vault/models/secret_permissions.rb'
|
36
37
|
end
|
37
38
|
end
|
@@ -8,8 +8,8 @@ module Azure::ARM::KeyVault
|
|
8
8
|
# A service client - single point of access to the REST API.
|
9
9
|
#
|
10
10
|
class KeyVaultManagementClient < MsRestAzure::AzureServiceClient
|
11
|
-
include MsRest::Serialization
|
12
11
|
include MsRestAzure
|
12
|
+
include MsRestAzure::Serialization
|
13
13
|
|
14
14
|
# @return [String] the base URI of the service.
|
15
15
|
attr_accessor :base_url
|
@@ -19,7 +19,8 @@ module Azure::ARM::KeyVault
|
|
19
19
|
attr_accessor :tenant_id
|
20
20
|
|
21
21
|
# @return The object ID of a user or service principal in the Azure
|
22
|
-
# Active Directory tenant for the vault.
|
22
|
+
# Active Directory tenant for the vault. The object ID must be unique
|
23
|
+
# for the list of access policies.
|
23
24
|
attr_accessor :object_id
|
24
25
|
|
25
26
|
# @return Application ID of the client making request on behalf of a
|
@@ -43,14 +44,14 @@ module Azure::ARM::KeyVault
|
|
43
44
|
class_name: 'AccessPolicyEntry',
|
44
45
|
model_properties: {
|
45
46
|
tenant_id: {
|
46
|
-
required:
|
47
|
+
required: true,
|
47
48
|
serialized_name: 'tenantId',
|
48
49
|
type: {
|
49
50
|
name: 'String'
|
50
51
|
}
|
51
52
|
},
|
52
53
|
object_id: {
|
53
|
-
required:
|
54
|
+
required: true,
|
54
55
|
serialized_name: 'objectId',
|
55
56
|
type: {
|
56
57
|
name: 'String'
|
@@ -64,7 +65,7 @@ module Azure::ARM::KeyVault
|
|
64
65
|
}
|
65
66
|
},
|
66
67
|
permissions: {
|
67
|
-
required:
|
68
|
+
required: true,
|
68
69
|
serialized_name: 'permissions',
|
69
70
|
type: {
|
70
71
|
name: 'Composite',
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::KeyVault
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for KeyPermissions
|
10
|
+
#
|
11
|
+
module KeyPermissions
|
12
|
+
All = "all"
|
13
|
+
Encrypt = "encrypt"
|
14
|
+
Decrypt = "decrypt"
|
15
|
+
Wrapkey = "wrapkey"
|
16
|
+
Unwrapkey = "unwrapkey"
|
17
|
+
Sign = "sign"
|
18
|
+
Verify = "verify"
|
19
|
+
Get = "get"
|
20
|
+
List = "list"
|
21
|
+
Create = "create"
|
22
|
+
Update = "update"
|
23
|
+
Import = "import"
|
24
|
+
Delete = "delete"
|
25
|
+
Backup = "backup"
|
26
|
+
Restore = "restore"
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
@@ -12,10 +12,10 @@ module Azure::ARM::KeyVault
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [Array<
|
15
|
+
# @return [Array<KeyPermissions>] Permissions to keys
|
16
16
|
attr_accessor :keys
|
17
17
|
|
18
|
-
# @return [Array<
|
18
|
+
# @return [Array<SecretPermissions>] Permissions to secrets
|
19
19
|
attr_accessor :secrets
|
20
20
|
|
21
21
|
|
@@ -38,7 +38,7 @@ module Azure::ARM::KeyVault
|
|
38
38
|
name: 'Sequence',
|
39
39
|
element: {
|
40
40
|
required: false,
|
41
|
-
serialized_name: '
|
41
|
+
serialized_name: 'KeyPermissionsElementType',
|
42
42
|
type: {
|
43
43
|
name: 'String'
|
44
44
|
}
|
@@ -52,7 +52,7 @@ module Azure::ARM::KeyVault
|
|
52
52
|
name: 'Sequence',
|
53
53
|
element: {
|
54
54
|
required: false,
|
55
|
-
serialized_name: '
|
55
|
+
serialized_name: 'SecretPermissionsElementType',
|
56
56
|
type: {
|
57
57
|
name: 'String'
|
58
58
|
}
|
@@ -6,10 +6,14 @@
|
|
6
6
|
module Azure::ARM::KeyVault
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# Defines values for
|
9
|
+
# Defines values for SecretPermissions
|
10
10
|
#
|
11
|
-
module
|
12
|
-
|
11
|
+
module SecretPermissions
|
12
|
+
All = "all"
|
13
|
+
Get = "get"
|
14
|
+
List = "list"
|
15
|
+
Set = "set"
|
16
|
+
Delete = "delete"
|
13
17
|
end
|
14
18
|
end
|
15
19
|
end
|
@@ -12,7 +12,7 @@ module Azure::ARM::KeyVault
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [
|
15
|
+
# @return [String] SKU family name. Default value: 'A' .
|
16
16
|
attr_accessor :family
|
17
17
|
|
18
18
|
# @return [SkuName] SKU name to specify whether the key vault is a
|
@@ -34,8 +34,10 @@ module Azure::ARM::KeyVault
|
|
34
34
|
class_name: 'Sku',
|
35
35
|
model_properties: {
|
36
36
|
family: {
|
37
|
-
required:
|
37
|
+
required: true,
|
38
|
+
is_constant: true,
|
38
39
|
serialized_name: 'family',
|
40
|
+
default_value: 'A',
|
39
41
|
type: {
|
40
42
|
name: 'String'
|
41
43
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_mgmt_key_vault
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: 0.4.0
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
82
|
+
version: 0.4.0
|
83
83
|
description: Microsoft Azure Resource Management Key Vault Client Library for Ruby
|
84
84
|
email: azrubyteam@microsoft.com
|
85
85
|
executables: []
|
@@ -94,9 +94,10 @@ files:
|
|
94
94
|
- lib/generated/azure_mgmt_key_vault.rb
|
95
95
|
- lib/generated/azure_mgmt_key_vault/key_vault_management_client.rb
|
96
96
|
- lib/generated/azure_mgmt_key_vault/models/access_policy_entry.rb
|
97
|
+
- lib/generated/azure_mgmt_key_vault/models/key_permissions.rb
|
97
98
|
- lib/generated/azure_mgmt_key_vault/models/permissions.rb
|
99
|
+
- lib/generated/azure_mgmt_key_vault/models/secret_permissions.rb
|
98
100
|
- lib/generated/azure_mgmt_key_vault/models/sku.rb
|
99
|
-
- lib/generated/azure_mgmt_key_vault/models/sku_family.rb
|
100
101
|
- lib/generated/azure_mgmt_key_vault/models/sku_name.rb
|
101
102
|
- lib/generated/azure_mgmt_key_vault/models/vault.rb
|
102
103
|
- lib/generated/azure_mgmt_key_vault/models/vault_create_or_update_parameters.rb
|