akeyless 3.5.4 → 3.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -2
  3. data/docs/AssocTargetItem.md +8 -0
  4. data/docs/AuthMethod.md +2 -0
  5. data/docs/CertificateChainInfo.md +4 -0
  6. data/docs/CertificateVersionInfo.md +22 -0
  7. data/docs/Connect.md +1 -1
  8. data/docs/CreateAuthMethod.md +2 -0
  9. data/docs/CreateAuthMethodAWSIAM.md +2 -0
  10. data/docs/CreateAuthMethodAzureAD.md +3 -1
  11. data/docs/CreateAuthMethodCert.md +2 -0
  12. data/docs/CreateAuthMethodEmail.md +2 -0
  13. data/docs/CreateAuthMethodGCP.md +2 -0
  14. data/docs/CreateAuthMethodHuawei.md +2 -0
  15. data/docs/CreateAuthMethodK8S.md +2 -0
  16. data/docs/CreateAuthMethodLDAP.md +2 -0
  17. data/docs/CreateAuthMethodOAuth2.md +2 -0
  18. data/docs/CreateAuthMethodOIDC.md +2 -0
  19. data/docs/CreateAuthMethodSAML.md +2 -0
  20. data/docs/CreateAuthMethodUniversalIdentity.md +2 -0
  21. data/docs/CreateEventForwarder.md +1 -1
  22. data/docs/CreateLinkedTarget.md +2 -0
  23. data/docs/CreateRole.md +4 -0
  24. data/docs/CreateRotatedSecret.md +7 -1
  25. data/docs/CreateSSHCertIssuer.md +4 -4
  26. data/docs/CreateSecret.md +2 -0
  27. data/docs/GatewayCreateMigration.md +2 -0
  28. data/docs/GatewayCreateProducerCassandra.md +4 -0
  29. data/docs/GatewayUpdateItem.md +2 -0
  30. data/docs/GatewayUpdateMigration.md +2 -0
  31. data/docs/GatewayUpdateProducerCassandra.md +4 -0
  32. data/docs/GenerateCsr.md +1 -1
  33. data/docs/GwClusterIdentity.md +2 -0
  34. data/docs/ImportPasswords.md +3 -1
  35. data/docs/ImportPasswordsOutput.md +3 -1
  36. data/docs/ItemVersion.md +2 -0
  37. data/docs/ProvisionCertificate.md +28 -0
  38. data/docs/ProvisionCertificateOutput.md +24 -0
  39. data/docs/RenewCertificate.md +28 -0
  40. data/docs/RenewCertificateOutput.md +28 -0
  41. data/docs/SecureRemoteAccess.md +2 -0
  42. data/docs/ServerInventoryPayload.md +2 -0
  43. data/docs/SetRoleRule.md +1 -1
  44. data/docs/SignDataWithClassicKey.md +2 -0
  45. data/docs/SignEcDsa.md +5 -1
  46. data/docs/SignPKCS1.md +9 -1
  47. data/docs/SignPKCS1Output.md +1 -1
  48. data/docs/SignRsaSsaPss.md +5 -1
  49. data/docs/StaticSecretDetailsInfo.md +2 -0
  50. data/docs/TargetItemVersion.md +2 -0
  51. data/docs/UpdateAuthMethod.md +2 -0
  52. data/docs/UpdateAuthMethodAWSIAM.md +2 -0
  53. data/docs/UpdateAuthMethodAzureAD.md +3 -1
  54. data/docs/UpdateAuthMethodCert.md +2 -0
  55. data/docs/UpdateAuthMethodGCP.md +2 -0
  56. data/docs/UpdateAuthMethodK8S.md +2 -0
  57. data/docs/UpdateAuthMethodLDAP.md +2 -0
  58. data/docs/UpdateAuthMethodOAuth2.md +2 -0
  59. data/docs/UpdateAuthMethodOIDC.md +2 -0
  60. data/docs/UpdateAuthMethodSAML.md +2 -0
  61. data/docs/UpdateAuthMethodUniversalIdentity.md +2 -0
  62. data/docs/UpdateCertificateValue.md +2 -0
  63. data/docs/UpdateItem.md +6 -0
  64. data/docs/UpdateLinkedTarget.md +2 -0
  65. data/docs/UpdateRole.md +4 -0
  66. data/docs/UpdateSSHCertIssuer.md +3 -3
  67. data/docs/UpdateSecretVal.md +2 -0
  68. data/docs/V2Api.md +138 -9
  69. data/docs/VerifyEcDsa.md +5 -1
  70. data/docs/VerifyPKCS1.md +9 -1
  71. data/docs/VerifyRsaSsaPss.md +5 -1
  72. data/lib/akeyless/api/v2_api.rb +146 -7
  73. data/lib/akeyless/models/assoc_target_item.rb +43 -1
  74. data/lib/akeyless/models/auth_method.rb +10 -1
  75. data/lib/akeyless/models/certificate_chain_info.rb +19 -1
  76. data/lib/akeyless/models/certificate_version_info.rb +232 -0
  77. data/lib/akeyless/models/connect.rb +1 -1
  78. data/lib/akeyless/models/create_auth_method.rb +11 -1
  79. data/lib/akeyless/models/create_auth_method_awsiam.rb +11 -1
  80. data/lib/akeyless/models/create_auth_method_azure_ad.rb +12 -2
  81. data/lib/akeyless/models/create_auth_method_cert.rb +11 -1
  82. data/lib/akeyless/models/create_auth_method_email.rb +11 -1
  83. data/lib/akeyless/models/create_auth_method_gcp.rb +11 -1
  84. data/lib/akeyless/models/create_auth_method_huawei.rb +11 -1
  85. data/lib/akeyless/models/create_auth_method_k8_s.rb +11 -1
  86. data/lib/akeyless/models/create_auth_method_ldap.rb +11 -1
  87. data/lib/akeyless/models/create_auth_method_o_auth2.rb +11 -1
  88. data/lib/akeyless/models/create_auth_method_oidc.rb +11 -1
  89. data/lib/akeyless/models/create_auth_method_saml.rb +11 -1
  90. data/lib/akeyless/models/create_auth_method_universal_identity.rb +11 -1
  91. data/lib/akeyless/models/create_event_forwarder.rb +1 -1
  92. data/lib/akeyless/models/create_linked_target.rb +11 -1
  93. data/lib/akeyless/models/create_role.rb +21 -1
  94. data/lib/akeyless/models/create_rotated_secret.rb +35 -2
  95. data/lib/akeyless/models/create_secret.rb +11 -1
  96. data/lib/akeyless/models/create_ssh_cert_issuer.rb +9 -9
  97. data/lib/akeyless/models/gateway_create_migration.rb +11 -1
  98. data/lib/akeyless/models/gateway_create_producer_cassandra.rb +23 -1
  99. data/lib/akeyless/models/gateway_update_item.rb +11 -1
  100. data/lib/akeyless/models/gateway_update_migration.rb +11 -1
  101. data/lib/akeyless/models/gateway_update_producer_cassandra.rb +23 -1
  102. data/lib/akeyless/models/generate_csr.rb +1 -1
  103. data/lib/akeyless/models/gw_cluster_identity.rb +10 -1
  104. data/lib/akeyless/models/import_passwords.rb +13 -4
  105. data/lib/akeyless/models/import_passwords_output.rb +13 -4
  106. data/lib/akeyless/models/item_version.rb +10 -1
  107. data/lib/akeyless/models/provision_certificate.rb +275 -0
  108. data/lib/akeyless/models/provision_certificate_output.rb +243 -0
  109. data/lib/akeyless/models/renew_certificate.rb +267 -0
  110. data/lib/akeyless/models/renew_certificate_output.rb +259 -0
  111. data/lib/akeyless/models/secure_remote_access.rb +12 -1
  112. data/lib/akeyless/models/server_inventory_payload.rb +12 -1
  113. data/lib/akeyless/models/set_role_rule.rb +1 -1
  114. data/lib/akeyless/models/sign_data_with_classic_key.rb +13 -1
  115. data/lib/akeyless/models/sign_ec_dsa.rb +24 -4
  116. data/lib/akeyless/models/sign_pkcs1.rb +44 -4
  117. data/lib/akeyless/models/sign_pkcs1_output.rb +2 -4
  118. data/lib/akeyless/models/sign_rsa_ssa_pss.rb +24 -4
  119. data/lib/akeyless/models/static_secret_details_info.rb +10 -1
  120. data/lib/akeyless/models/target_item_version.rb +10 -1
  121. data/lib/akeyless/models/update_auth_method.rb +11 -1
  122. data/lib/akeyless/models/update_auth_method_awsiam.rb +11 -1
  123. data/lib/akeyless/models/update_auth_method_azure_ad.rb +12 -2
  124. data/lib/akeyless/models/update_auth_method_cert.rb +11 -1
  125. data/lib/akeyless/models/update_auth_method_gcp.rb +11 -1
  126. data/lib/akeyless/models/update_auth_method_k8_s.rb +11 -1
  127. data/lib/akeyless/models/update_auth_method_ldap.rb +11 -1
  128. data/lib/akeyless/models/update_auth_method_o_auth2.rb +11 -1
  129. data/lib/akeyless/models/update_auth_method_oidc.rb +11 -1
  130. data/lib/akeyless/models/update_auth_method_saml.rb +11 -1
  131. data/lib/akeyless/models/update_auth_method_universal_identity.rb +11 -1
  132. data/lib/akeyless/models/update_certificate_value.rb +11 -1
  133. data/lib/akeyless/models/update_item.rb +32 -1
  134. data/lib/akeyless/models/update_linked_target.rb +11 -1
  135. data/lib/akeyless/models/update_role.rb +21 -1
  136. data/lib/akeyless/models/update_secret_val.rb +11 -1
  137. data/lib/akeyless/models/update_ssh_cert_issuer.rb +8 -8
  138. data/lib/akeyless/models/verify_ec_dsa.rb +24 -4
  139. data/lib/akeyless/models/verify_pkcs1.rb +44 -4
  140. data/lib/akeyless/models/verify_rsa_ssa_pss.rb +24 -4
  141. data/lib/akeyless/version.rb +1 -1
  142. data/lib/akeyless.rb +5 -0
  143. data/spec/models/certificate_version_info_spec.rb +48 -0
  144. data/spec/models/provision_certificate_output_spec.rb +54 -0
  145. data/spec/models/provision_certificate_spec.rb +66 -0
  146. data/spec/models/renew_certificate_output_spec.rb +66 -0
  147. data/spec/models/renew_certificate_spec.rb +66 -0
  148. metadata +23 -3
@@ -31,12 +31,18 @@ module Akeyless
31
31
  # The input message to sign in a base64 format
32
32
  attr_accessor :message
33
33
 
34
+ # Markes that the message is already hashed
35
+ attr_accessor :prehashed
36
+
34
37
  # Authentication token (see `/auth` and `/configure`)
35
38
  attr_accessor :token
36
39
 
37
40
  # The universal identity token, Required only for universal_identity authentication
38
41
  attr_accessor :uid_token
39
42
 
43
+ # The version of the key to use for signing
44
+ attr_accessor :version
45
+
40
46
  # Attribute mapping from ruby-style variable name to JSON key.
41
47
  def self.attribute_map
42
48
  {
@@ -45,8 +51,10 @@ module Akeyless
45
51
  :'json' => :'json',
46
52
  :'key_name' => :'key-name',
47
53
  :'message' => :'message',
54
+ :'prehashed' => :'prehashed',
48
55
  :'token' => :'token',
49
- :'uid_token' => :'uid-token'
56
+ :'uid_token' => :'uid-token',
57
+ :'version' => :'version'
50
58
  }
51
59
  end
52
60
 
@@ -63,8 +71,10 @@ module Akeyless
63
71
  :'json' => :'Boolean',
64
72
  :'key_name' => :'String',
65
73
  :'message' => :'String',
74
+ :'prehashed' => :'Boolean',
66
75
  :'token' => :'String',
67
- :'uid_token' => :'String'
76
+ :'uid_token' => :'String',
77
+ :'version' => :'Integer'
68
78
  }
69
79
  end
70
80
 
@@ -113,6 +123,10 @@ module Akeyless
113
123
  self.message = nil
114
124
  end
115
125
 
126
+ if attributes.key?(:'prehashed')
127
+ self.prehashed = attributes[:'prehashed']
128
+ end
129
+
116
130
  if attributes.key?(:'token')
117
131
  self.token = attributes[:'token']
118
132
  end
@@ -120,6 +134,10 @@ module Akeyless
120
134
  if attributes.key?(:'uid_token')
121
135
  self.uid_token = attributes[:'uid_token']
122
136
  end
137
+
138
+ if attributes.key?(:'version')
139
+ self.version = attributes[:'version']
140
+ end
123
141
  end
124
142
 
125
143
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -152,8 +170,10 @@ module Akeyless
152
170
  json == o.json &&
153
171
  key_name == o.key_name &&
154
172
  message == o.message &&
173
+ prehashed == o.prehashed &&
155
174
  token == o.token &&
156
- uid_token == o.uid_token
175
+ uid_token == o.uid_token &&
176
+ version == o.version
157
177
  end
158
178
 
159
179
  # @see the `==` method
@@ -165,7 +185,7 @@ module Akeyless
165
185
  # Calculates hash code according to all attributes.
166
186
  # @return [Integer] Hash code
167
187
  def hash
168
- [display_id, item_id, json, key_name, message, token, uid_token].hash
188
+ [display_id, item_id, json, key_name, message, prehashed, token, uid_token, version].hash
169
189
  end
170
190
 
171
191
  # Builds the object from hash
@@ -19,6 +19,12 @@ module Akeyless
19
19
  # The display id of the key to use in the signing process
20
20
  attr_accessor :display_id
21
21
 
22
+ # HashFunction defines the hash function (e.g. sha-256)
23
+ attr_accessor :hash_function
24
+
25
+ # Select default assumed format for the plaintext message. Currently supported options: [base64]
26
+ attr_accessor :input_format
27
+
22
28
  # The item id of the key to use in the signing process
23
29
  attr_accessor :item_id
24
30
 
@@ -31,22 +37,32 @@ module Akeyless
31
37
  # The message to be signed
32
38
  attr_accessor :message
33
39
 
40
+ # Markes that the message is already hashed
41
+ attr_accessor :prehashed
42
+
34
43
  # Authentication token (see `/auth` and `/configure`)
35
44
  attr_accessor :token
36
45
 
37
46
  # The universal identity token, Required only for universal_identity authentication
38
47
  attr_accessor :uid_token
39
48
 
49
+ # The version of the key to use for signing
50
+ attr_accessor :version
51
+
40
52
  # Attribute mapping from ruby-style variable name to JSON key.
41
53
  def self.attribute_map
42
54
  {
43
55
  :'display_id' => :'display-id',
56
+ :'hash_function' => :'hash-function',
57
+ :'input_format' => :'input-format',
44
58
  :'item_id' => :'item-id',
45
59
  :'json' => :'json',
46
60
  :'key_name' => :'key-name',
47
61
  :'message' => :'message',
62
+ :'prehashed' => :'prehashed',
48
63
  :'token' => :'token',
49
- :'uid_token' => :'uid-token'
64
+ :'uid_token' => :'uid-token',
65
+ :'version' => :'version'
50
66
  }
51
67
  end
52
68
 
@@ -59,12 +75,16 @@ module Akeyless
59
75
  def self.openapi_types
60
76
  {
61
77
  :'display_id' => :'String',
78
+ :'hash_function' => :'String',
79
+ :'input_format' => :'String',
62
80
  :'item_id' => :'Integer',
63
81
  :'json' => :'Boolean',
64
82
  :'key_name' => :'String',
65
83
  :'message' => :'String',
84
+ :'prehashed' => :'Boolean',
66
85
  :'token' => :'String',
67
- :'uid_token' => :'String'
86
+ :'uid_token' => :'String',
87
+ :'version' => :'Integer'
68
88
  }
69
89
  end
70
90
 
@@ -93,6 +113,14 @@ module Akeyless
93
113
  self.display_id = attributes[:'display_id']
94
114
  end
95
115
 
116
+ if attributes.key?(:'hash_function')
117
+ self.hash_function = attributes[:'hash_function']
118
+ end
119
+
120
+ if attributes.key?(:'input_format')
121
+ self.input_format = attributes[:'input_format']
122
+ end
123
+
96
124
  if attributes.key?(:'item_id')
97
125
  self.item_id = attributes[:'item_id']
98
126
  end
@@ -113,6 +141,10 @@ module Akeyless
113
141
  self.message = nil
114
142
  end
115
143
 
144
+ if attributes.key?(:'prehashed')
145
+ self.prehashed = attributes[:'prehashed']
146
+ end
147
+
116
148
  if attributes.key?(:'token')
117
149
  self.token = attributes[:'token']
118
150
  end
@@ -120,6 +152,10 @@ module Akeyless
120
152
  if attributes.key?(:'uid_token')
121
153
  self.uid_token = attributes[:'uid_token']
122
154
  end
155
+
156
+ if attributes.key?(:'version')
157
+ self.version = attributes[:'version']
158
+ end
123
159
  end
124
160
 
125
161
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -148,12 +184,16 @@ module Akeyless
148
184
  return true if self.equal?(o)
149
185
  self.class == o.class &&
150
186
  display_id == o.display_id &&
187
+ hash_function == o.hash_function &&
188
+ input_format == o.input_format &&
151
189
  item_id == o.item_id &&
152
190
  json == o.json &&
153
191
  key_name == o.key_name &&
154
192
  message == o.message &&
193
+ prehashed == o.prehashed &&
155
194
  token == o.token &&
156
- uid_token == o.uid_token
195
+ uid_token == o.uid_token &&
196
+ version == o.version
157
197
  end
158
198
 
159
199
  # @see the `==` method
@@ -165,7 +205,7 @@ module Akeyless
165
205
  # Calculates hash code according to all attributes.
166
206
  # @return [Integer] Hash code
167
207
  def hash
168
- [display_id, item_id, json, key_name, message, token, uid_token].hash
208
+ [display_id, hash_function, input_format, item_id, json, key_name, message, prehashed, token, uid_token, version].hash
169
209
  end
170
210
 
171
211
  # Builds the object from hash
@@ -32,7 +32,7 @@ module Akeyless
32
32
  # Attribute type mapping.
33
33
  def self.openapi_types
34
34
  {
35
- :'result' => :'Array<Integer>'
35
+ :'result' => :'String'
36
36
  }
37
37
  end
38
38
 
@@ -58,9 +58,7 @@ module Akeyless
58
58
  }
59
59
 
60
60
  if attributes.key?(:'result')
61
- if (value = attributes[:'result']).is_a?(Array)
62
- self.result = value
63
- end
61
+ self.result = attributes[:'result']
64
62
  end
65
63
  end
66
64
 
@@ -34,12 +34,18 @@ module Akeyless
34
34
  # The input message to sign in a base64 format
35
35
  attr_accessor :message
36
36
 
37
+ # Markes that the message is already hashed
38
+ attr_accessor :prehashed
39
+
37
40
  # Authentication token (see `/auth` and `/configure`)
38
41
  attr_accessor :token
39
42
 
40
43
  # The universal identity token, Required only for universal_identity authentication
41
44
  attr_accessor :uid_token
42
45
 
46
+ # The version of the key to use for signing
47
+ attr_accessor :version
48
+
43
49
  # Attribute mapping from ruby-style variable name to JSON key.
44
50
  def self.attribute_map
45
51
  {
@@ -49,8 +55,10 @@ module Akeyless
49
55
  :'json' => :'json',
50
56
  :'key_name' => :'key-name',
51
57
  :'message' => :'message',
58
+ :'prehashed' => :'prehashed',
52
59
  :'token' => :'token',
53
- :'uid_token' => :'uid-token'
60
+ :'uid_token' => :'uid-token',
61
+ :'version' => :'version'
54
62
  }
55
63
  end
56
64
 
@@ -68,8 +76,10 @@ module Akeyless
68
76
  :'json' => :'Boolean',
69
77
  :'key_name' => :'String',
70
78
  :'message' => :'String',
79
+ :'prehashed' => :'Boolean',
71
80
  :'token' => :'String',
72
- :'uid_token' => :'String'
81
+ :'uid_token' => :'String',
82
+ :'version' => :'Integer'
73
83
  }
74
84
  end
75
85
 
@@ -122,6 +132,10 @@ module Akeyless
122
132
  self.message = nil
123
133
  end
124
134
 
135
+ if attributes.key?(:'prehashed')
136
+ self.prehashed = attributes[:'prehashed']
137
+ end
138
+
125
139
  if attributes.key?(:'token')
126
140
  self.token = attributes[:'token']
127
141
  end
@@ -129,6 +143,10 @@ module Akeyless
129
143
  if attributes.key?(:'uid_token')
130
144
  self.uid_token = attributes[:'uid_token']
131
145
  end
146
+
147
+ if attributes.key?(:'version')
148
+ self.version = attributes[:'version']
149
+ end
132
150
  end
133
151
 
134
152
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -162,8 +180,10 @@ module Akeyless
162
180
  json == o.json &&
163
181
  key_name == o.key_name &&
164
182
  message == o.message &&
183
+ prehashed == o.prehashed &&
165
184
  token == o.token &&
166
- uid_token == o.uid_token
185
+ uid_token == o.uid_token &&
186
+ version == o.version
167
187
  end
168
188
 
169
189
  # @see the `==` method
@@ -175,7 +195,7 @@ module Akeyless
175
195
  # Calculates hash code according to all attributes.
176
196
  # @return [Integer] Hash code
177
197
  def hash
178
- [display_id, hash_function, item_id, json, key_name, message, token, uid_token].hash
198
+ [display_id, hash_function, item_id, json, key_name, message, prehashed, token, uid_token, version].hash
179
199
  end
180
200
 
181
201
  # Builds the object from hash
@@ -15,6 +15,8 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class StaticSecretDetailsInfo
18
+ attr_accessor :notify_on_change_event
19
+
18
20
  attr_accessor :username
19
21
 
20
22
  # deprecated
@@ -25,6 +27,7 @@ module Akeyless
25
27
  # Attribute mapping from ruby-style variable name to JSON key.
26
28
  def self.attribute_map
27
29
  {
30
+ :'notify_on_change_event' => :'notify_on_change_event',
28
31
  :'username' => :'username',
29
32
  :'website' => :'website',
30
33
  :'websites' => :'websites'
@@ -39,6 +42,7 @@ module Akeyless
39
42
  # Attribute type mapping.
40
43
  def self.openapi_types
41
44
  {
45
+ :'notify_on_change_event' => :'Boolean',
42
46
  :'username' => :'String',
43
47
  :'website' => :'String',
44
48
  :'websites' => :'Array<String>'
@@ -66,6 +70,10 @@ module Akeyless
66
70
  h[k.to_sym] = v
67
71
  }
68
72
 
73
+ if attributes.key?(:'notify_on_change_event')
74
+ self.notify_on_change_event = attributes[:'notify_on_change_event']
75
+ end
76
+
69
77
  if attributes.key?(:'username')
70
78
  self.username = attributes[:'username']
71
79
  end
@@ -101,6 +109,7 @@ module Akeyless
101
109
  def ==(o)
102
110
  return true if self.equal?(o)
103
111
  self.class == o.class &&
112
+ notify_on_change_event == o.notify_on_change_event &&
104
113
  username == o.username &&
105
114
  website == o.website &&
106
115
  websites == o.websites
@@ -115,7 +124,7 @@ module Akeyless
115
124
  # Calculates hash code according to all attributes.
116
125
  # @return [Integer] Hash code
117
126
  def hash
118
- [username, website, websites].hash
127
+ [notify_on_change_event, username, website, websites].hash
119
128
  end
120
129
 
121
130
  # Builds the object from hash
@@ -19,6 +19,8 @@ module Akeyless
19
19
 
20
20
  attr_accessor :access_date_display
21
21
 
22
+ attr_accessor :certificate_version_info
23
+
22
24
  attr_accessor :creation_date
23
25
 
24
26
  attr_accessor :customer_fragment_id
@@ -45,6 +47,7 @@ module Akeyless
45
47
  {
46
48
  :'access_date' => :'access_date',
47
49
  :'access_date_display' => :'access_date_display',
50
+ :'certificate_version_info' => :'certificate_version_info',
48
51
  :'creation_date' => :'creation_date',
49
52
  :'customer_fragment_id' => :'customer_fragment_id',
50
53
  :'deletion_date' => :'deletion_date',
@@ -68,6 +71,7 @@ module Akeyless
68
71
  {
69
72
  :'access_date' => :'Time',
70
73
  :'access_date_display' => :'String',
74
+ :'certificate_version_info' => :'CertificateVersionInfo',
71
75
  :'creation_date' => :'Time',
72
76
  :'customer_fragment_id' => :'String',
73
77
  :'deletion_date' => :'Time',
@@ -110,6 +114,10 @@ module Akeyless
110
114
  self.access_date_display = attributes[:'access_date_display']
111
115
  end
112
116
 
117
+ if attributes.key?(:'certificate_version_info')
118
+ self.certificate_version_info = attributes[:'certificate_version_info']
119
+ end
120
+
113
121
  if attributes.key?(:'creation_date')
114
122
  self.creation_date = attributes[:'creation_date']
115
123
  end
@@ -173,6 +181,7 @@ module Akeyless
173
181
  self.class == o.class &&
174
182
  access_date == o.access_date &&
175
183
  access_date_display == o.access_date_display &&
184
+ certificate_version_info == o.certificate_version_info &&
176
185
  creation_date == o.creation_date &&
177
186
  customer_fragment_id == o.customer_fragment_id &&
178
187
  deletion_date == o.deletion_date &&
@@ -194,7 +203,7 @@ module Akeyless
194
203
  # Calculates hash code according to all attributes.
195
204
  # @return [Integer] Hash code
196
205
  def hash
197
- [access_date, access_date_display, creation_date, customer_fragment_id, deletion_date, item_version_state, latest_version, modification_date, protection_key_name, target_name, version, with_customer_fragment].hash
206
+ [access_date, access_date_display, certificate_version_info, creation_date, customer_fragment_id, deletion_date, item_version_state, latest_version, modification_date, protection_key_name, target_name, version, with_customer_fragment].hash
198
207
  end
199
208
 
200
209
  # Builds the object from hash
@@ -21,6 +21,9 @@ module Akeyless
21
21
  # A CIDR whitelist with the IPs that the access is restricted to
22
22
  attr_accessor :bound_ips
23
23
 
24
+ # Auth Method description
25
+ attr_accessor :description
26
+
24
27
  # if true: enforce role-association must include sub claims
25
28
  attr_accessor :force_sub_claims
26
29
 
@@ -50,6 +53,7 @@ module Akeyless
50
53
  {
51
54
  :'access_expires' => :'access-expires',
52
55
  :'bound_ips' => :'bound-ips',
56
+ :'description' => :'description',
53
57
  :'force_sub_claims' => :'force-sub-claims',
54
58
  :'gw_bound_ips' => :'gw-bound-ips',
55
59
  :'json' => :'json',
@@ -71,6 +75,7 @@ module Akeyless
71
75
  {
72
76
  :'access_expires' => :'Integer',
73
77
  :'bound_ips' => :'Array<String>',
78
+ :'description' => :'String',
74
79
  :'force_sub_claims' => :'Boolean',
75
80
  :'gw_bound_ips' => :'Array<String>',
76
81
  :'json' => :'Boolean',
@@ -115,6 +120,10 @@ module Akeyless
115
120
  end
116
121
  end
117
122
 
123
+ if attributes.key?(:'description')
124
+ self.description = attributes[:'description']
125
+ end
126
+
118
127
  if attributes.key?(:'force_sub_claims')
119
128
  self.force_sub_claims = attributes[:'force_sub_claims']
120
129
  end
@@ -183,6 +192,7 @@ module Akeyless
183
192
  self.class == o.class &&
184
193
  access_expires == o.access_expires &&
185
194
  bound_ips == o.bound_ips &&
195
+ description == o.description &&
186
196
  force_sub_claims == o.force_sub_claims &&
187
197
  gw_bound_ips == o.gw_bound_ips &&
188
198
  json == o.json &&
@@ -202,7 +212,7 @@ module Akeyless
202
212
  # Calculates hash code according to all attributes.
203
213
  # @return [Integer] Hash code
204
214
  def hash
205
- [access_expires, bound_ips, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, new_name, token, uid_token].hash
215
+ [access_expires, bound_ips, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, new_name, token, uid_token].hash
206
216
  end
207
217
 
208
218
  # Builds the object from hash
@@ -43,6 +43,9 @@ module Akeyless
43
43
  # A list of full user-name that the access is restricted to
44
44
  attr_accessor :bound_user_name
45
45
 
46
+ # Auth Method description
47
+ attr_accessor :description
48
+
46
49
  # if true: enforce role-association must include sub claims
47
50
  attr_accessor :force_sub_claims
48
51
 
@@ -82,6 +85,7 @@ module Akeyless
82
85
  :'bound_role_name' => :'bound-role-name',
83
86
  :'bound_user_id' => :'bound-user-id',
84
87
  :'bound_user_name' => :'bound-user-name',
88
+ :'description' => :'description',
85
89
  :'force_sub_claims' => :'force-sub-claims',
86
90
  :'gw_bound_ips' => :'gw-bound-ips',
87
91
  :'json' => :'json',
@@ -111,6 +115,7 @@ module Akeyless
111
115
  :'bound_role_name' => :'Array<String>',
112
116
  :'bound_user_id' => :'Array<String>',
113
117
  :'bound_user_name' => :'Array<String>',
118
+ :'description' => :'String',
114
119
  :'force_sub_claims' => :'Boolean',
115
120
  :'gw_bound_ips' => :'Array<String>',
116
121
  :'json' => :'Boolean',
@@ -200,6 +205,10 @@ module Akeyless
200
205
  end
201
206
  end
202
207
 
208
+ if attributes.key?(:'description')
209
+ self.description = attributes[:'description']
210
+ end
211
+
203
212
  if attributes.key?(:'force_sub_claims')
204
213
  self.force_sub_claims = attributes[:'force_sub_claims']
205
214
  end
@@ -286,6 +295,7 @@ module Akeyless
286
295
  bound_role_name == o.bound_role_name &&
287
296
  bound_user_id == o.bound_user_id &&
288
297
  bound_user_name == o.bound_user_name &&
298
+ description == o.description &&
289
299
  force_sub_claims == o.force_sub_claims &&
290
300
  gw_bound_ips == o.gw_bound_ips &&
291
301
  json == o.json &&
@@ -306,7 +316,7 @@ module Akeyless
306
316
  # Calculates hash code according to all attributes.
307
317
  # @return [Integer] Hash code
308
318
  def hash
309
- [access_expires, bound_arn, bound_aws_account_id, bound_ips, bound_resource_id, bound_role_id, bound_role_name, bound_user_id, bound_user_name, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, new_name, sts_url, token, uid_token].hash
319
+ [access_expires, bound_arn, bound_aws_account_id, bound_ips, bound_resource_id, bound_role_id, bound_role_name, bound_user_id, bound_user_name, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, new_name, sts_url, token, uid_token].hash
310
320
  end
311
321
 
312
322
  # Builds the object from hash
@@ -19,7 +19,7 @@ module Akeyless
19
19
  # Access expiration date in Unix timestamp (select 0 for access without expiry date)
20
20
  attr_accessor :access_expires
21
21
 
22
- # The audience in the JWT
22
+ # Deprecated (Deprecated) The audience in the JWT
23
23
  attr_accessor :audience
24
24
 
25
25
  # A list of group ids that the access is restricted to
@@ -52,6 +52,9 @@ module Akeyless
52
52
  # The Azure tenant id that the access is restricted to
53
53
  attr_accessor :bound_tenant_id
54
54
 
55
+ # Auth Method description
56
+ attr_accessor :description
57
+
55
58
  # if true: enforce role-association must include sub claims
56
59
  attr_accessor :force_sub_claims
57
60
 
@@ -97,6 +100,7 @@ module Akeyless
97
100
  :'bound_spid' => :'bound-spid',
98
101
  :'bound_sub_id' => :'bound-sub-id',
99
102
  :'bound_tenant_id' => :'bound-tenant-id',
103
+ :'description' => :'description',
100
104
  :'force_sub_claims' => :'force-sub-claims',
101
105
  :'gw_bound_ips' => :'gw-bound-ips',
102
106
  :'issuer' => :'issuer',
@@ -130,6 +134,7 @@ module Akeyless
130
134
  :'bound_spid' => :'Array<String>',
131
135
  :'bound_sub_id' => :'Array<String>',
132
136
  :'bound_tenant_id' => :'String',
137
+ :'description' => :'String',
133
138
  :'force_sub_claims' => :'Boolean',
134
139
  :'gw_bound_ips' => :'Array<String>',
135
140
  :'issuer' => :'String',
@@ -236,6 +241,10 @@ module Akeyless
236
241
  self.bound_tenant_id = nil
237
242
  end
238
243
 
244
+ if attributes.key?(:'description')
245
+ self.description = attributes[:'description']
246
+ end
247
+
239
248
  if attributes.key?(:'force_sub_claims')
240
249
  self.force_sub_claims = attributes[:'force_sub_claims']
241
250
  end
@@ -331,6 +340,7 @@ module Akeyless
331
340
  bound_spid == o.bound_spid &&
332
341
  bound_sub_id == o.bound_sub_id &&
333
342
  bound_tenant_id == o.bound_tenant_id &&
343
+ description == o.description &&
334
344
  force_sub_claims == o.force_sub_claims &&
335
345
  gw_bound_ips == o.gw_bound_ips &&
336
346
  issuer == o.issuer &&
@@ -352,7 +362,7 @@ module Akeyless
352
362
  # Calculates hash code according to all attributes.
353
363
  # @return [Integer] Hash code
354
364
  def hash
355
- [access_expires, audience, bound_group_id, bound_ips, bound_providers, bound_resource_id, bound_resource_names, bound_resource_types, bound_rg_id, bound_spid, bound_sub_id, bound_tenant_id, force_sub_claims, gw_bound_ips, issuer, json, jwks_uri, jwt_ttl, name, new_name, token, uid_token].hash
365
+ [access_expires, audience, bound_group_id, bound_ips, bound_providers, bound_resource_id, bound_resource_names, bound_resource_types, bound_rg_id, bound_spid, bound_sub_id, bound_tenant_id, description, force_sub_claims, gw_bound_ips, issuer, json, jwks_uri, jwt_ttl, name, new_name, token, uid_token].hash
356
366
  end
357
367
 
358
368
  # Builds the object from hash
@@ -46,6 +46,9 @@ module Akeyless
46
46
  # The certificate data in base64, if no file was provided
47
47
  attr_accessor :certificate_data
48
48
 
49
+ # Auth Method description
50
+ attr_accessor :description
51
+
49
52
  # if true: enforce role-association must include sub claims
50
53
  attr_accessor :force_sub_claims
51
54
 
@@ -89,6 +92,7 @@ module Akeyless
89
92
  :'bound_organizational_units' => :'bound-organizational-units',
90
93
  :'bound_uri_sans' => :'bound-uri-sans',
91
94
  :'certificate_data' => :'certificate-data',
95
+ :'description' => :'description',
92
96
  :'force_sub_claims' => :'force-sub-claims',
93
97
  :'gw_bound_ips' => :'gw-bound-ips',
94
98
  :'json' => :'json',
@@ -120,6 +124,7 @@ module Akeyless
120
124
  :'bound_organizational_units' => :'Array<String>',
121
125
  :'bound_uri_sans' => :'Array<String>',
122
126
  :'certificate_data' => :'String',
127
+ :'description' => :'String',
123
128
  :'force_sub_claims' => :'Boolean',
124
129
  :'gw_bound_ips' => :'Array<String>',
125
130
  :'json' => :'Boolean',
@@ -210,6 +215,10 @@ module Akeyless
210
215
  self.certificate_data = attributes[:'certificate_data']
211
216
  end
212
217
 
218
+ if attributes.key?(:'description')
219
+ self.description = attributes[:'description']
220
+ end
221
+
213
222
  if attributes.key?(:'force_sub_claims')
214
223
  self.force_sub_claims = attributes[:'force_sub_claims']
215
224
  end
@@ -303,6 +312,7 @@ module Akeyless
303
312
  bound_organizational_units == o.bound_organizational_units &&
304
313
  bound_uri_sans == o.bound_uri_sans &&
305
314
  certificate_data == o.certificate_data &&
315
+ description == o.description &&
306
316
  force_sub_claims == o.force_sub_claims &&
307
317
  gw_bound_ips == o.gw_bound_ips &&
308
318
  json == o.json &&
@@ -324,7 +334,7 @@ module Akeyless
324
334
  # Calculates hash code according to all attributes.
325
335
  # @return [Integer] Hash code
326
336
  def hash
327
- [access_expires, allowed_cors, bound_common_names, bound_dns_sans, bound_email_sans, bound_extensions, bound_ips, bound_organizational_units, bound_uri_sans, certificate_data, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, new_name, revoked_cert_ids, token, uid_token, unique_identifier].hash
337
+ [access_expires, allowed_cors, bound_common_names, bound_dns_sans, bound_email_sans, bound_extensions, bound_ips, bound_organizational_units, bound_uri_sans, certificate_data, description, force_sub_claims, gw_bound_ips, json, jwt_ttl, name, new_name, revoked_cert_ids, token, uid_token, unique_identifier].hash
328
338
  end
329
339
 
330
340
  # Builds the object from hash