akeyless 2.16.4 → 2.16.7

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 (195) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +44 -1
  3. data/docs/AwsS3LogForwardingConfig.md +2 -0
  4. data/docs/CertAccessRules.md +1 -1
  5. data/docs/CreateAuthMethod.md +1 -1
  6. data/docs/CreateAuthMethodAWSIAM.md +1 -1
  7. data/docs/CreateAuthMethodAzureAD.md +1 -1
  8. data/docs/CreateAuthMethodCert.md +1 -1
  9. data/docs/CreateAuthMethodGCP.md +1 -1
  10. data/docs/CreateAuthMethodHuawei.md +1 -1
  11. data/docs/CreateAuthMethodK8S.md +1 -1
  12. data/docs/CreateAuthMethodLDAP.md +1 -1
  13. data/docs/CreateAuthMethodOAuth2.md +1 -1
  14. data/docs/CreateAuthMethodOIDC.md +1 -1
  15. data/docs/CreateAuthMethodSAML.md +1 -1
  16. data/docs/CreateAuthMethodUniversalIdentity.md +1 -1
  17. data/docs/CreateAzureTarget.md +6 -0
  18. data/docs/CreateClassicKey.md +12 -0
  19. data/docs/CreateRotatedSecret.md +30 -0
  20. data/docs/CreateSalesforceTarget.md +42 -0
  21. data/docs/CreateSalesforceTargetOutput.md +18 -0
  22. data/docs/CreateTokenizer.md +42 -0
  23. data/docs/CreateTokenizerOutput.md +18 -0
  24. data/docs/DSProducerDetails.md +6 -0
  25. data/docs/DeleteRoleRule.md +1 -1
  26. data/docs/Detokenize.md +26 -0
  27. data/docs/DetokenizeOutput.md +18 -0
  28. data/docs/DynamicSecretProducerInfo.md +2 -0
  29. data/docs/EmailTokenizerInfo.md +22 -0
  30. data/docs/GatewayCreateMigration.md +50 -0
  31. data/docs/GatewayCreateProducerRabbitMQ.md +2 -0
  32. data/docs/GatewayCreateProducerRedshift.md +2 -0
  33. data/docs/GatewayDeleteMigration.md +22 -0
  34. data/docs/GatewayGetMigration.md +22 -0
  35. data/docs/GatewayMigrationCreateOutput.md +18 -0
  36. data/docs/GatewayMigrationDeleteOutput.md +18 -0
  37. data/docs/GatewayMigrationGetOutput.md +18 -0
  38. data/docs/GatewayMigrationUpdateOutput.md +18 -0
  39. data/docs/GatewayUpdateMigration.md +52 -0
  40. data/docs/GatewayUpdateProducerRabbitMQ.md +2 -0
  41. data/docs/GatewayUpdateProducerRedshift.md +2 -0
  42. data/docs/GetRSAPublicOutput.md +1 -1
  43. data/docs/GetSecretValue.md +2 -0
  44. data/docs/HashiPayload.md +2 -0
  45. data/docs/Item.md +2 -0
  46. data/docs/ItemGeneralInfo.md +5 -1
  47. data/docs/ListItems.md +2 -0
  48. data/docs/ListTargets.md +2 -0
  49. data/docs/LogForwardingConfigPart.md +0 -2
  50. data/docs/Producer.md +2 -0
  51. data/docs/RegexpTokenizerInfo.md +24 -0
  52. data/docs/RotateSecret.md +22 -0
  53. data/docs/RotatedSecretOutput.md +18 -0
  54. data/docs/SetRoleRule.md +1 -1
  55. data/docs/SystemAccessCredentialsReplyObj.md +2 -0
  56. data/docs/Target.md +2 -0
  57. data/docs/TargetTypeDetailsInput.md +18 -0
  58. data/docs/Tokenize.md +26 -0
  59. data/docs/TokenizeOutput.md +20 -0
  60. data/docs/TokenizerInfo.md +18 -0
  61. data/docs/UpdateAuthMethod.md +1 -1
  62. data/docs/UpdateAuthMethodAWSIAM.md +1 -1
  63. data/docs/UpdateAuthMethodAzureAD.md +1 -1
  64. data/docs/UpdateAuthMethodCert.md +1 -1
  65. data/docs/UpdateAuthMethodGCP.md +1 -1
  66. data/docs/UpdateAuthMethodK8S.md +1 -1
  67. data/docs/UpdateAuthMethodLDAP.md +1 -1
  68. data/docs/UpdateAuthMethodOAuth2.md +1 -1
  69. data/docs/UpdateAuthMethodOIDC.md +1 -1
  70. data/docs/UpdateAuthMethodSAML.md +1 -1
  71. data/docs/UpdateAuthMethodUniversalIdentity.md +1 -1
  72. data/docs/UpdateAzureTarget.md +6 -0
  73. data/docs/UpdateLdapTarget.md +42 -0
  74. data/docs/UpdateLdapTargetDetails.md +40 -0
  75. data/docs/UpdateLdapTargetOutput.md +18 -0
  76. data/docs/UpdateRotatedSecret.md +30 -0
  77. data/docs/UpdateSalesforceTarget.md +48 -0
  78. data/docs/UpdateSalesforceTargetOutput.md +18 -0
  79. data/docs/UpdateTokenizer.md +46 -0
  80. data/docs/UpdateTokenizerOutput.md +18 -0
  81. data/docs/V2Api.md +888 -6
  82. data/docs/VaultlessTokenizerInfo.md +28 -0
  83. data/lib/akeyless/api/v2_api.rb +897 -1
  84. data/lib/akeyless/models/aws_s3_log_forwarding_config.rb +10 -1
  85. data/lib/akeyless/models/cert_access_rules.rb +2 -4
  86. data/lib/akeyless/models/create_auth_method.rb +0 -2
  87. data/lib/akeyless/models/create_auth_method_awsiam.rb +0 -2
  88. data/lib/akeyless/models/create_auth_method_azure_ad.rb +0 -2
  89. data/lib/akeyless/models/create_auth_method_cert.rb +0 -2
  90. data/lib/akeyless/models/create_auth_method_gcp.rb +0 -2
  91. data/lib/akeyless/models/create_auth_method_huawei.rb +0 -2
  92. data/lib/akeyless/models/create_auth_method_k8_s.rb +0 -2
  93. data/lib/akeyless/models/create_auth_method_ldap.rb +0 -2
  94. data/lib/akeyless/models/create_auth_method_o_auth2.rb +0 -2
  95. data/lib/akeyless/models/create_auth_method_oidc.rb +0 -2
  96. data/lib/akeyless/models/create_auth_method_saml.rb +0 -2
  97. data/lib/akeyless/models/create_auth_method_universal_identity.rb +0 -2
  98. data/lib/akeyless/models/create_azure_target.rb +31 -1
  99. data/lib/akeyless/models/create_classic_key.rb +61 -1
  100. data/lib/akeyless/models/create_rotated_secret.rb +163 -1
  101. data/lib/akeyless/models/create_salesforce_target.rb +375 -0
  102. data/lib/akeyless/models/create_salesforce_target_output.rb +219 -0
  103. data/lib/akeyless/models/create_tokenizer.rb +358 -0
  104. data/lib/akeyless/models/create_tokenizer_output.rb +219 -0
  105. data/lib/akeyless/models/delete_role_rule.rb +1 -1
  106. data/lib/akeyless/models/detokenize.rb +271 -0
  107. data/lib/akeyless/models/detokenize_output.rb +219 -0
  108. data/lib/akeyless/models/ds_producer_details.rb +28 -1
  109. data/lib/akeyless/models/dynamic_secret_producer_info.rb +10 -1
  110. data/lib/akeyless/models/email_tokenizer_info.rb +241 -0
  111. data/lib/akeyless/models/gateway_create_migration.rb +374 -0
  112. data/lib/akeyless/models/gateway_create_producer_rabbit_mq.rb +13 -1
  113. data/lib/akeyless/models/gateway_create_producer_redshift.rb +11 -1
  114. data/lib/akeyless/models/gateway_delete_migration.rb +246 -0
  115. data/lib/akeyless/models/gateway_get_migration.rb +240 -0
  116. data/lib/akeyless/models/gateway_migration_create_output.rb +219 -0
  117. data/lib/akeyless/models/gateway_migration_delete_output.rb +219 -0
  118. data/lib/akeyless/models/gateway_migration_get_output.rb +219 -0
  119. data/lib/akeyless/models/gateway_migration_update_output.rb +219 -0
  120. data/lib/akeyless/models/gateway_update_migration.rb +383 -0
  121. data/lib/akeyless/models/gateway_update_producer_hana_db.rb +1 -1
  122. data/lib/akeyless/models/gateway_update_producer_rabbit_mq.rb +13 -1
  123. data/lib/akeyless/models/gateway_update_producer_redshift.rb +11 -1
  124. data/lib/akeyless/models/get_rsa_public_output.rb +2 -4
  125. data/lib/akeyless/models/get_secret_value.rb +10 -1
  126. data/lib/akeyless/models/hashi_payload.rb +10 -1
  127. data/lib/akeyless/models/item.rb +10 -1
  128. data/lib/akeyless/models/item_general_info.rb +22 -4
  129. data/lib/akeyless/models/list_items.rb +10 -1
  130. data/lib/akeyless/models/list_targets.rb +13 -1
  131. data/lib/akeyless/models/log_forwarding_config_part.rb +1 -10
  132. data/lib/akeyless/models/producer.rb +10 -1
  133. data/lib/akeyless/models/regexp_tokenizer_info.rb +251 -0
  134. data/lib/akeyless/models/rotate_secret.rb +245 -0
  135. data/lib/akeyless/models/rotated_secret_output.rb +219 -0
  136. data/lib/akeyless/models/set_role_rule.rb +1 -1
  137. data/lib/akeyless/models/system_access_credentials_reply_obj.rb +11 -1
  138. data/lib/akeyless/models/target.rb +13 -1
  139. data/lib/akeyless/models/target_type_details_input.rb +86 -1
  140. data/lib/akeyless/models/tokenize.rb +271 -0
  141. data/lib/akeyless/models/tokenize_output.rb +228 -0
  142. data/lib/akeyless/models/tokenizer_info.rb +219 -0
  143. data/lib/akeyless/models/update_auth_method.rb +0 -2
  144. data/lib/akeyless/models/update_auth_method_awsiam.rb +0 -2
  145. data/lib/akeyless/models/update_auth_method_azure_ad.rb +0 -2
  146. data/lib/akeyless/models/update_auth_method_cert.rb +0 -2
  147. data/lib/akeyless/models/update_auth_method_gcp.rb +0 -2
  148. data/lib/akeyless/models/update_auth_method_k8_s.rb +0 -2
  149. data/lib/akeyless/models/update_auth_method_ldap.rb +0 -2
  150. data/lib/akeyless/models/update_auth_method_o_auth2.rb +0 -2
  151. data/lib/akeyless/models/update_auth_method_oidc.rb +0 -2
  152. data/lib/akeyless/models/update_auth_method_saml.rb +0 -2
  153. data/lib/akeyless/models/update_auth_method_universal_identity.rb +0 -2
  154. data/lib/akeyless/models/update_azure_target.rb +31 -1
  155. data/lib/akeyless/models/update_ldap_target.rb +339 -0
  156. data/lib/akeyless/models/update_ldap_target_details.rb +328 -0
  157. data/lib/akeyless/models/update_ldap_target_output.rb +219 -0
  158. data/lib/akeyless/models/update_rotated_secret.rb +163 -1
  159. data/lib/akeyless/models/update_salesforce_target.rb +404 -0
  160. data/lib/akeyless/models/update_salesforce_target_output.rb +219 -0
  161. data/lib/akeyless/models/update_tokenizer.rb +382 -0
  162. data/lib/akeyless/models/update_tokenizer_output.rb +219 -0
  163. data/lib/akeyless/models/vaultless_tokenizer_info.rb +267 -0
  164. data/lib/akeyless/version.rb +1 -1
  165. data/lib/akeyless.rb +29 -0
  166. data/spec/models/create_salesforce_target_output_spec.rb +34 -0
  167. data/spec/models/create_salesforce_target_spec.rb +106 -0
  168. data/spec/models/create_tokenizer_output_spec.rb +34 -0
  169. data/spec/models/create_tokenizer_spec.rb +106 -0
  170. data/spec/models/detokenize_output_spec.rb +34 -0
  171. data/spec/models/detokenize_spec.rb +58 -0
  172. data/spec/models/email_tokenizer_info_spec.rb +46 -0
  173. data/spec/models/gateway_create_migration_spec.rb +130 -0
  174. data/spec/models/gateway_delete_migration_spec.rb +46 -0
  175. data/spec/models/gateway_get_migration_spec.rb +46 -0
  176. data/spec/models/gateway_migration_create_output_spec.rb +34 -0
  177. data/spec/models/gateway_migration_delete_output_spec.rb +34 -0
  178. data/spec/models/gateway_migration_get_output_spec.rb +34 -0
  179. data/spec/models/gateway_migration_update_output_spec.rb +34 -0
  180. data/spec/models/gateway_update_migration_spec.rb +136 -0
  181. data/spec/models/regexp_tokenizer_info_spec.rb +52 -0
  182. data/spec/models/rotate_secret_spec.rb +46 -0
  183. data/spec/models/rotated_secret_output_spec.rb +34 -0
  184. data/spec/models/tokenize_output_spec.rb +40 -0
  185. data/spec/models/tokenize_spec.rb +58 -0
  186. data/spec/models/tokenizer_info_spec.rb +34 -0
  187. data/spec/models/update_ldap_target_details_spec.rb +100 -0
  188. data/spec/models/update_ldap_target_output_spec.rb +34 -0
  189. data/spec/models/update_ldap_target_spec.rb +106 -0
  190. data/spec/models/update_salesforce_target_output_spec.rb +34 -0
  191. data/spec/models/update_salesforce_target_spec.rb +124 -0
  192. data/spec/models/update_tokenizer_output_spec.rb +34 -0
  193. data/spec/models/update_tokenizer_spec.rb +118 -0
  194. data/spec/models/vaultless_tokenizer_info_spec.rb +64 -0
  195. metadata +575 -459
@@ -47,6 +47,9 @@ module Akeyless
47
47
 
48
48
  attr_accessor :secure_access_host
49
49
 
50
+ # SSL connection mode
51
+ attr_accessor :ssl
52
+
50
53
  # List of the tags attached to this secret
51
54
  attr_accessor :tags
52
55
 
@@ -76,6 +79,7 @@ module Akeyless
76
79
  :'redshift_username' => :'redshift-username',
77
80
  :'secure_access_enable' => :'secure-access-enable',
78
81
  :'secure_access_host' => :'secure-access-host',
82
+ :'ssl' => :'ssl',
79
83
  :'tags' => :'tags',
80
84
  :'target_name' => :'target-name',
81
85
  :'token' => :'token',
@@ -103,6 +107,7 @@ module Akeyless
103
107
  :'redshift_username' => :'String',
104
108
  :'secure_access_enable' => :'String',
105
109
  :'secure_access_host' => :'Array<String>',
110
+ :'ssl' => :'Boolean',
106
111
  :'tags' => :'Array<String>',
107
112
  :'target_name' => :'String',
108
113
  :'token' => :'String',
@@ -182,6 +187,10 @@ module Akeyless
182
187
  end
183
188
  end
184
189
 
190
+ if attributes.key?(:'ssl')
191
+ self.ssl = attributes[:'ssl']
192
+ end
193
+
185
194
  if attributes.key?(:'tags')
186
195
  if (value = attributes[:'tags']).is_a?(Array)
187
196
  self.tags = value
@@ -241,6 +250,7 @@ module Akeyless
241
250
  redshift_username == o.redshift_username &&
242
251
  secure_access_enable == o.secure_access_enable &&
243
252
  secure_access_host == o.secure_access_host &&
253
+ ssl == o.ssl &&
244
254
  tags == o.tags &&
245
255
  target_name == o.target_name &&
246
256
  token == o.token &&
@@ -257,7 +267,7 @@ module Akeyless
257
267
  # Calculates hash code according to all attributes.
258
268
  # @return [Integer] Hash code
259
269
  def hash
260
- [creation_statements, name, new_name, producer_encryption_key, redshift_db_name, redshift_host, redshift_password, redshift_port, redshift_username, secure_access_enable, secure_access_host, tags, target_name, token, uid_token, user_ttl].hash
270
+ [creation_statements, name, new_name, producer_encryption_key, redshift_db_name, redshift_host, redshift_password, redshift_port, redshift_username, secure_access_enable, secure_access_host, ssl, tags, target_name, token, uid_token, user_ttl].hash
261
271
  end
262
272
 
263
273
  # Builds the object from hash
@@ -36,7 +36,7 @@ module Akeyless
36
36
  def self.openapi_types
37
37
  {
38
38
  :'raw' => :'String',
39
- :'ssh' => :'Array<Integer>'
39
+ :'ssh' => :'String'
40
40
  }
41
41
  end
42
42
 
@@ -66,9 +66,7 @@ module Akeyless
66
66
  end
67
67
 
68
68
  if attributes.key?(:'ssh')
69
- if (value = attributes[:'ssh']).is_a?(Array)
70
- self.ssh = value
71
- end
69
+ self.ssh = attributes[:'ssh']
72
70
  end
73
71
  end
74
72
 
@@ -18,6 +18,8 @@ module Akeyless
18
18
  # Secret name
19
19
  attr_accessor :names
20
20
 
21
+ attr_accessor :pretty_print
22
+
21
23
  # Authentication token (see `/auth` and `/configure`)
22
24
  attr_accessor :token
23
25
 
@@ -31,6 +33,7 @@ module Akeyless
31
33
  def self.attribute_map
32
34
  {
33
35
  :'names' => :'names',
36
+ :'pretty_print' => :'pretty-print',
34
37
  :'token' => :'token',
35
38
  :'uid_token' => :'uid-token',
36
39
  :'version' => :'version'
@@ -46,6 +49,7 @@ module Akeyless
46
49
  def self.openapi_types
47
50
  {
48
51
  :'names' => :'Array<String>',
52
+ :'pretty_print' => :'Boolean',
49
53
  :'token' => :'String',
50
54
  :'uid_token' => :'String',
51
55
  :'version' => :'Integer'
@@ -79,6 +83,10 @@ module Akeyless
79
83
  end
80
84
  end
81
85
 
86
+ if attributes.key?(:'pretty_print')
87
+ self.pretty_print = attributes[:'pretty_print']
88
+ end
89
+
82
90
  if attributes.key?(:'token')
83
91
  self.token = attributes[:'token']
84
92
  end
@@ -116,6 +124,7 @@ module Akeyless
116
124
  return true if self.equal?(o)
117
125
  self.class == o.class &&
118
126
  names == o.names &&
127
+ pretty_print == o.pretty_print &&
119
128
  token == o.token &&
120
129
  uid_token == o.uid_token &&
121
130
  version == o.version
@@ -130,7 +139,7 @@ module Akeyless
130
139
  # Calculates hash code according to all attributes.
131
140
  # @return [Integer] Hash code
132
141
  def hash
133
- [names, token, uid_token, version].hash
142
+ [names, pretty_print, token, uid_token, version].hash
134
143
  end
135
144
 
136
145
  # Builds the object from hash
@@ -15,6 +15,8 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class HashiPayload
18
+ attr_accessor :import_as_json
19
+
18
20
  attr_accessor :namespaces
19
21
 
20
22
  attr_accessor :token
@@ -24,6 +26,7 @@ module Akeyless
24
26
  # Attribute mapping from ruby-style variable name to JSON key.
25
27
  def self.attribute_map
26
28
  {
29
+ :'import_as_json' => :'import_as_json',
27
30
  :'namespaces' => :'namespaces',
28
31
  :'token' => :'token',
29
32
  :'url' => :'url'
@@ -38,6 +41,7 @@ module Akeyless
38
41
  # Attribute type mapping.
39
42
  def self.openapi_types
40
43
  {
44
+ :'import_as_json' => :'Boolean',
41
45
  :'namespaces' => :'Array<String>',
42
46
  :'token' => :'String',
43
47
  :'url' => :'String'
@@ -65,6 +69,10 @@ module Akeyless
65
69
  h[k.to_sym] = v
66
70
  }
67
71
 
72
+ if attributes.key?(:'import_as_json')
73
+ self.import_as_json = attributes[:'import_as_json']
74
+ end
75
+
68
76
  if attributes.key?(:'namespaces')
69
77
  if (value = attributes[:'namespaces']).is_a?(Array)
70
78
  self.namespaces = value
@@ -98,6 +106,7 @@ module Akeyless
98
106
  def ==(o)
99
107
  return true if self.equal?(o)
100
108
  self.class == o.class &&
109
+ import_as_json == o.import_as_json &&
101
110
  namespaces == o.namespaces &&
102
111
  token == o.token &&
103
112
  url == o.url
@@ -112,7 +121,7 @@ module Akeyless
112
121
  # Calculates hash code according to all attributes.
113
122
  # @return [Integer] Hash code
114
123
  def hash
115
- [namespaces, token, url].hash
124
+ [import_as_json, namespaces, token, url].hash
116
125
  end
117
126
 
118
127
  # Builds the object from hash
@@ -33,6 +33,8 @@ module Akeyless
33
33
 
34
34
  attr_accessor :is_enabled
35
35
 
36
+ attr_accessor :item_accessibility
37
+
36
38
  attr_accessor :item_general_info
37
39
 
38
40
  attr_accessor :item_id
@@ -82,6 +84,7 @@ module Akeyless
82
84
  :'deletion_date' => :'deletion_date',
83
85
  :'display_id' => :'display_id',
84
86
  :'is_enabled' => :'is_enabled',
87
+ :'item_accessibility' => :'item_accessibility',
85
88
  :'item_general_info' => :'item_general_info',
86
89
  :'item_id' => :'item_id',
87
90
  :'item_metadata' => :'item_metadata',
@@ -120,6 +123,7 @@ module Akeyless
120
123
  :'deletion_date' => :'Time',
121
124
  :'display_id' => :'String',
122
125
  :'is_enabled' => :'Boolean',
126
+ :'item_accessibility' => :'Integer',
123
127
  :'item_general_info' => :'ItemGeneralInfo',
124
128
  :'item_id' => :'Integer',
125
129
  :'item_metadata' => :'String',
@@ -200,6 +204,10 @@ module Akeyless
200
204
  self.is_enabled = attributes[:'is_enabled']
201
205
  end
202
206
 
207
+ if attributes.key?(:'item_accessibility')
208
+ self.item_accessibility = attributes[:'item_accessibility']
209
+ end
210
+
203
211
  if attributes.key?(:'item_general_info')
204
212
  self.item_general_info = attributes[:'item_general_info']
205
213
  end
@@ -308,6 +316,7 @@ module Akeyless
308
316
  deletion_date == o.deletion_date &&
309
317
  display_id == o.display_id &&
310
318
  is_enabled == o.is_enabled &&
319
+ item_accessibility == o.item_accessibility &&
311
320
  item_general_info == o.item_general_info &&
312
321
  item_id == o.item_id &&
313
322
  item_metadata == o.item_metadata &&
@@ -337,7 +346,7 @@ module Akeyless
337
346
  # Calculates hash code according to all attributes.
338
347
  # @return [Integer] Hash code
339
348
  def hash
340
- [auto_rotate, cert_issuer_signer_key_name, certificate_issue_details, certificates, client_permissions, customer_fragment_id, deletion_date, display_id, is_enabled, item_general_info, item_id, item_metadata, item_name, item_size, item_state, item_sub_type, item_tags, item_targets_assoc, item_type, item_versions, last_version, next_rotation_date, protection_key_name, public_value, rotation_interval, target_versions, with_customer_fragment].hash
349
+ [auto_rotate, cert_issuer_signer_key_name, certificate_issue_details, certificates, client_permissions, customer_fragment_id, deletion_date, display_id, is_enabled, item_accessibility, item_general_info, item_id, item_metadata, item_name, item_size, item_state, item_sub_type, item_tags, item_targets_assoc, item_type, item_versions, last_version, next_rotation_date, protection_key_name, public_value, rotation_interval, target_versions, with_customer_fragment].hash
341
350
  end
342
351
 
343
352
  # Builds the object from hash
@@ -19,6 +19,8 @@ module Akeyless
19
19
 
20
20
  attr_accessor :classic_key_details
21
21
 
22
+ attr_accessor :display_metadata
23
+
22
24
  attr_accessor :dynamic_secret_producer_details
23
25
 
24
26
  attr_accessor :password_policy
@@ -29,16 +31,20 @@ module Akeyless
29
31
 
30
32
  attr_accessor :static_secret_info
31
33
 
34
+ attr_accessor :tokenizer_info
35
+
32
36
  # Attribute mapping from ruby-style variable name to JSON key.
33
37
  def self.attribute_map
34
38
  {
35
39
  :'cert_issue_details' => :'cert_issue_details',
36
40
  :'classic_key_details' => :'classic_key_details',
41
+ :'display_metadata' => :'display_metadata',
37
42
  :'dynamic_secret_producer_details' => :'dynamic_secret_producer_details',
38
43
  :'password_policy' => :'password_policy',
39
44
  :'rotated_secret_details' => :'rotated_secret_details',
40
45
  :'secure_remote_access_details' => :'secure_remote_access_details',
41
- :'static_secret_info' => :'static_secret_info'
46
+ :'static_secret_info' => :'static_secret_info',
47
+ :'tokenizer_info' => :'tokenizer_info'
42
48
  }
43
49
  end
44
50
 
@@ -52,11 +58,13 @@ module Akeyless
52
58
  {
53
59
  :'cert_issue_details' => :'CertificateIssueInfo',
54
60
  :'classic_key_details' => :'ClassicKeyDetailsInfo',
61
+ :'display_metadata' => :'String',
55
62
  :'dynamic_secret_producer_details' => :'DynamicSecretProducerInfo',
56
63
  :'password_policy' => :'PasswordPolicyInfo',
57
64
  :'rotated_secret_details' => :'RotatedSecretDetailsInfo',
58
65
  :'secure_remote_access_details' => :'SecureRemoteAccess',
59
- :'static_secret_info' => :'StaticSecretDetailsInfo'
66
+ :'static_secret_info' => :'StaticSecretDetailsInfo',
67
+ :'tokenizer_info' => :'TokenizerInfo'
60
68
  }
61
69
  end
62
70
 
@@ -89,6 +97,10 @@ module Akeyless
89
97
  self.classic_key_details = attributes[:'classic_key_details']
90
98
  end
91
99
 
100
+ if attributes.key?(:'display_metadata')
101
+ self.display_metadata = attributes[:'display_metadata']
102
+ end
103
+
92
104
  if attributes.key?(:'dynamic_secret_producer_details')
93
105
  self.dynamic_secret_producer_details = attributes[:'dynamic_secret_producer_details']
94
106
  end
@@ -108,6 +120,10 @@ module Akeyless
108
120
  if attributes.key?(:'static_secret_info')
109
121
  self.static_secret_info = attributes[:'static_secret_info']
110
122
  end
123
+
124
+ if attributes.key?(:'tokenizer_info')
125
+ self.tokenizer_info = attributes[:'tokenizer_info']
126
+ end
111
127
  end
112
128
 
113
129
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -130,11 +146,13 @@ module Akeyless
130
146
  self.class == o.class &&
131
147
  cert_issue_details == o.cert_issue_details &&
132
148
  classic_key_details == o.classic_key_details &&
149
+ display_metadata == o.display_metadata &&
133
150
  dynamic_secret_producer_details == o.dynamic_secret_producer_details &&
134
151
  password_policy == o.password_policy &&
135
152
  rotated_secret_details == o.rotated_secret_details &&
136
153
  secure_remote_access_details == o.secure_remote_access_details &&
137
- static_secret_info == o.static_secret_info
154
+ static_secret_info == o.static_secret_info &&
155
+ tokenizer_info == o.tokenizer_info
138
156
  end
139
157
 
140
158
  # @see the `==` method
@@ -146,7 +164,7 @@ module Akeyless
146
164
  # Calculates hash code according to all attributes.
147
165
  # @return [Integer] Hash code
148
166
  def hash
149
- [cert_issue_details, classic_key_details, dynamic_secret_producer_details, password_policy, rotated_secret_details, secure_remote_access_details, static_secret_info].hash
167
+ [cert_issue_details, classic_key_details, display_metadata, dynamic_secret_producer_details, password_policy, rotated_secret_details, secure_remote_access_details, static_secret_info, tokenizer_info].hash
150
168
  end
151
169
 
152
170
  # Builds the object from hash
@@ -18,6 +18,8 @@ module Akeyless
18
18
  # Filter by item name or part of it
19
19
  attr_accessor :filter
20
20
 
21
+ attr_accessor :minimal_view
22
+
21
23
  # Next page reference
22
24
  attr_accessor :pagination_token
23
25
 
@@ -40,6 +42,7 @@ module Akeyless
40
42
  def self.attribute_map
41
43
  {
42
44
  :'filter' => :'filter',
45
+ :'minimal_view' => :'minimal-view',
43
46
  :'pagination_token' => :'pagination-token',
44
47
  :'path' => :'path',
45
48
  :'tag' => :'tag',
@@ -58,6 +61,7 @@ module Akeyless
58
61
  def self.openapi_types
59
62
  {
60
63
  :'filter' => :'String',
64
+ :'minimal_view' => :'Boolean',
61
65
  :'pagination_token' => :'String',
62
66
  :'path' => :'String',
63
67
  :'tag' => :'String',
@@ -92,6 +96,10 @@ module Akeyless
92
96
  self.filter = attributes[:'filter']
93
97
  end
94
98
 
99
+ if attributes.key?(:'minimal_view')
100
+ self.minimal_view = attributes[:'minimal_view']
101
+ end
102
+
95
103
  if attributes.key?(:'pagination_token')
96
104
  self.pagination_token = attributes[:'pagination_token']
97
105
  end
@@ -138,6 +146,7 @@ module Akeyless
138
146
  return true if self.equal?(o)
139
147
  self.class == o.class &&
140
148
  filter == o.filter &&
149
+ minimal_view == o.minimal_view &&
141
150
  pagination_token == o.pagination_token &&
142
151
  path == o.path &&
143
152
  tag == o.tag &&
@@ -155,7 +164,7 @@ module Akeyless
155
164
  # Calculates hash code according to all attributes.
156
165
  # @return [Integer] Hash code
157
166
  def hash
158
- [filter, pagination_token, path, tag, token, type, uid_token].hash
167
+ [filter, minimal_view, pagination_token, path, tag, token, type, uid_token].hash
159
168
  end
160
169
 
161
170
  # Builds the object from hash
@@ -24,6 +24,9 @@ module Akeyless
24
24
  # Authentication token (see `/auth` and `/configure`)
25
25
  attr_accessor :token
26
26
 
27
+ # The target types list . In case it is empty, all types of targets will be returned. options: [hanadb cassandra aws ssh gke eks mysql mongodb snowflake mssql redshift artifactory azure rabbitmq k8s venafi gcp oracle dockerhub ldap github chef web salesforce postgres]
28
+ attr_accessor :type
29
+
27
30
  # The universal identity token, Required only for universal_identity authentication
28
31
  attr_accessor :uid_token
29
32
 
@@ -33,6 +36,7 @@ module Akeyless
33
36
  :'filter' => :'filter',
34
37
  :'pagination_token' => :'pagination-token',
35
38
  :'token' => :'token',
39
+ :'type' => :'type',
36
40
  :'uid_token' => :'uid-token'
37
41
  }
38
42
  end
@@ -48,6 +52,7 @@ module Akeyless
48
52
  :'filter' => :'String',
49
53
  :'pagination_token' => :'String',
50
54
  :'token' => :'String',
55
+ :'type' => :'Array<String>',
51
56
  :'uid_token' => :'String'
52
57
  }
53
58
  end
@@ -85,6 +90,12 @@ module Akeyless
85
90
  self.token = attributes[:'token']
86
91
  end
87
92
 
93
+ if attributes.key?(:'type')
94
+ if (value = attributes[:'type']).is_a?(Array)
95
+ self.type = value
96
+ end
97
+ end
98
+
88
99
  if attributes.key?(:'uid_token')
89
100
  self.uid_token = attributes[:'uid_token']
90
101
  end
@@ -111,6 +122,7 @@ module Akeyless
111
122
  filter == o.filter &&
112
123
  pagination_token == o.pagination_token &&
113
124
  token == o.token &&
125
+ type == o.type &&
114
126
  uid_token == o.uid_token
115
127
  end
116
128
 
@@ -123,7 +135,7 @@ module Akeyless
123
135
  # Calculates hash code according to all attributes.
124
136
  # @return [Integer] Hash code
125
137
  def hash
126
- [filter, pagination_token, token, uid_token].hash
138
+ [filter, pagination_token, token, type, uid_token].hash
127
139
  end
128
140
 
129
141
  # Builds the object from hash
@@ -35,8 +35,6 @@ module Akeyless
35
35
 
36
36
  attr_accessor :splunk_config
37
37
 
38
- attr_accessor :std_out
39
-
40
38
  attr_accessor :syslog_config
41
39
 
42
40
  attr_accessor :target_log_type
@@ -54,7 +52,6 @@ module Akeyless
54
52
  :'logz_io_config' => :'logz_io_config',
55
53
  :'pull_interval_sec' => :'pull_interval_sec',
56
54
  :'splunk_config' => :'splunk_config',
57
- :'std_out' => :'std_out',
58
55
  :'syslog_config' => :'syslog_config',
59
56
  :'target_log_type' => :'target_log_type'
60
57
  }
@@ -78,7 +75,6 @@ module Akeyless
78
75
  :'logz_io_config' => :'LogzIoLogForwardingConfig',
79
76
  :'pull_interval_sec' => :'String',
80
77
  :'splunk_config' => :'SplunkLogForwardingConfig',
81
- :'std_out' => :'Boolean',
82
78
  :'syslog_config' => :'SyslogLogForwardingConfig',
83
79
  :'target_log_type' => :'String'
84
80
  }
@@ -145,10 +141,6 @@ module Akeyless
145
141
  self.splunk_config = attributes[:'splunk_config']
146
142
  end
147
143
 
148
- if attributes.key?(:'std_out')
149
- self.std_out = attributes[:'std_out']
150
- end
151
-
152
144
  if attributes.key?(:'syslog_config')
153
145
  self.syslog_config = attributes[:'syslog_config']
154
146
  end
@@ -186,7 +178,6 @@ module Akeyless
186
178
  logz_io_config == o.logz_io_config &&
187
179
  pull_interval_sec == o.pull_interval_sec &&
188
180
  splunk_config == o.splunk_config &&
189
- std_out == o.std_out &&
190
181
  syslog_config == o.syslog_config &&
191
182
  target_log_type == o.target_log_type
192
183
  end
@@ -200,7 +191,7 @@ module Akeyless
200
191
  # Calculates hash code according to all attributes.
201
192
  # @return [Integer] Hash code
202
193
  def hash
203
- [aws_s3_config, azure_analytics_config, datadog_config, elasticsearch_config, logan_enable, logan_url, logstash_config, logz_io_config, pull_interval_sec, splunk_config, std_out, syslog_config, target_log_type].hash
194
+ [aws_s3_config, azure_analytics_config, datadog_config, elasticsearch_config, logan_enable, logan_url, logstash_config, logz_io_config, pull_interval_sec, splunk_config, syslog_config, target_log_type].hash
204
195
  end
205
196
 
206
197
  # Builds the object from hash
@@ -17,6 +17,8 @@ module Akeyless
17
17
  class Producer
18
18
  attr_accessor :active
19
19
 
20
+ attr_accessor :failure_message
21
+
20
22
  attr_accessor :id
21
23
 
22
24
  attr_accessor :init
@@ -29,6 +31,7 @@ module Akeyless
29
31
  def self.attribute_map
30
32
  {
31
33
  :'active' => :'active',
34
+ :'failure_message' => :'failure_message',
32
35
  :'id' => :'id',
33
36
  :'init' => :'init',
34
37
  :'name' => :'name',
@@ -45,6 +48,7 @@ module Akeyless
45
48
  def self.openapi_types
46
49
  {
47
50
  :'active' => :'Boolean',
51
+ :'failure_message' => :'String',
48
52
  :'id' => :'Integer',
49
53
  :'init' => :'Boolean',
50
54
  :'name' => :'String',
@@ -77,6 +81,10 @@ module Akeyless
77
81
  self.active = attributes[:'active']
78
82
  end
79
83
 
84
+ if attributes.key?(:'failure_message')
85
+ self.failure_message = attributes[:'failure_message']
86
+ end
87
+
80
88
  if attributes.key?(:'id')
81
89
  self.id = attributes[:'id']
82
90
  end
@@ -113,6 +121,7 @@ module Akeyless
113
121
  return true if self.equal?(o)
114
122
  self.class == o.class &&
115
123
  active == o.active &&
124
+ failure_message == o.failure_message &&
116
125
  id == o.id &&
117
126
  init == o.init &&
118
127
  name == o.name &&
@@ -128,7 +137,7 @@ module Akeyless
128
137
  # Calculates hash code according to all attributes.
129
138
  # @return [Integer] Hash code
130
139
  def hash
131
- [active, id, init, name, type].hash
140
+ [active, failure_message, id, init, name, type].hash
132
141
  end
133
142
 
134
143
  # Builds the object from hash