akeyless 2.15.32 → 2.16.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 (72) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +13 -1
  3. data/docs/Auth.md +5 -1
  4. data/docs/AuthMethodAccessInfo.md +2 -0
  5. data/docs/CertAccessRules.md +34 -0
  6. data/docs/CreateAuthMethodCert.md +48 -0
  7. data/docs/CreateAuthMethodCertOutput.md +18 -0
  8. data/docs/CreateAuthMethodLDAP.md +3 -1
  9. data/docs/CreateAuthMethodOIDC.md +4 -0
  10. data/docs/CreateClassicKey.md +5 -1
  11. data/docs/GatewayCreateProducerCustom.md +4 -0
  12. data/docs/GatewayCreateProducerOracleDb.md +8 -0
  13. data/docs/GatewayMessageQueueInfo.md +1 -3
  14. data/docs/GatewayUpdateProducerCustom.md +4 -0
  15. data/docs/GatewayUpdateProducerOracleDb.md +8 -0
  16. data/docs/KMIPClient.md +2 -0
  17. data/docs/KMIPServer.md +4 -0
  18. data/docs/KmipDeleteServer.md +20 -0
  19. data/docs/KmipDescribeServerOutput.md +4 -0
  20. data/docs/KmipMoveServer.md +22 -0
  21. data/docs/KmipMoveServerOutput.md +20 -0
  22. data/docs/ListAuthMethods.md +3 -1
  23. data/docs/ListRoles.md +2 -0
  24. data/docs/ListTargets.md +2 -0
  25. data/docs/OIDCAccessRules.md +4 -0
  26. data/docs/UpdateAuthMethodCert.md +50 -0
  27. data/docs/UpdateAuthMethodCertOutput.md +18 -0
  28. data/docs/UpdateAuthMethodLDAP.md +3 -1
  29. data/docs/UpdateAuthMethodOIDC.md +4 -0
  30. data/docs/UpdateOutput.md +2 -0
  31. data/docs/V2Api.md +256 -0
  32. data/lib/akeyless/api/v2_api.rb +248 -0
  33. data/lib/akeyless/api_client.rb +3 -1
  34. data/lib/akeyless/models/auth.rb +22 -2
  35. data/lib/akeyless/models/auth_method_access_info.rb +10 -1
  36. data/lib/akeyless/models/cert_access_rules.rb +316 -0
  37. data/lib/akeyless/models/create_auth_method_cert.rb +401 -0
  38. data/lib/akeyless/models/create_auth_method_cert_output.rb +219 -0
  39. data/lib/akeyless/models/create_auth_method_ldap.rb +14 -4
  40. data/lib/akeyless/models/create_auth_method_oidc.rb +23 -1
  41. data/lib/akeyless/models/create_classic_key.rb +26 -4
  42. data/lib/akeyless/models/gateway_create_producer_custom.rb +23 -1
  43. data/lib/akeyless/models/gateway_create_producer_oracle_db.rb +39 -1
  44. data/lib/akeyless/models/gateway_message_queue_info.rb +4 -13
  45. data/lib/akeyless/models/gateway_update_producer_custom.rb +23 -1
  46. data/lib/akeyless/models/gateway_update_producer_oracle_db.rb +39 -1
  47. data/lib/akeyless/models/kmip_client.rb +10 -1
  48. data/lib/akeyless/models/kmip_delete_server.rb +231 -0
  49. data/lib/akeyless/models/kmip_describe_server_output.rb +19 -1
  50. data/lib/akeyless/models/kmip_move_server.rb +240 -0
  51. data/lib/akeyless/models/kmip_move_server_output.rb +228 -0
  52. data/lib/akeyless/models/kmip_server.rb +19 -1
  53. data/lib/akeyless/models/list_auth_methods.rb +12 -2
  54. data/lib/akeyless/models/list_roles.rb +11 -1
  55. data/lib/akeyless/models/list_targets.rb +11 -1
  56. data/lib/akeyless/models/oidc_access_rules.rb +23 -1
  57. data/lib/akeyless/models/update_auth_method_cert.rb +411 -0
  58. data/lib/akeyless/models/update_auth_method_cert_output.rb +219 -0
  59. data/lib/akeyless/models/update_auth_method_ldap.rb +14 -4
  60. data/lib/akeyless/models/update_auth_method_oidc.rb +23 -1
  61. data/lib/akeyless/models/update_output.rb +10 -1
  62. data/lib/akeyless/version.rb +1 -1
  63. data/lib/akeyless.rb +8 -0
  64. data/spec/models/cert_access_rules_spec.rb +82 -0
  65. data/spec/models/create_auth_method_cert_output_spec.rb +34 -0
  66. data/spec/models/create_auth_method_cert_spec.rb +124 -0
  67. data/spec/models/kmip_delete_server_spec.rb +40 -0
  68. data/spec/models/kmip_move_server_output_spec.rb +40 -0
  69. data/spec/models/kmip_move_server_spec.rb +46 -0
  70. data/spec/models/update_auth_method_cert_output_spec.rb +34 -0
  71. data/spec/models/update_auth_method_cert_spec.rb +130 -0
  72. metadata +34 -2
@@ -595,6 +595,70 @@ module Akeyless
595
595
  return data, status_code, headers
596
596
  end
597
597
 
598
+ # @param body [CreateAuthMethodCert]
599
+ # @param [Hash] opts the optional parameters
600
+ # @return [CreateAuthMethodCertOutput]
601
+ def create_auth_method_cert(body, opts = {})
602
+ data, _status_code, _headers = create_auth_method_cert_with_http_info(body, opts)
603
+ data
604
+ end
605
+
606
+ # @param body [CreateAuthMethodCert]
607
+ # @param [Hash] opts the optional parameters
608
+ # @return [Array<(CreateAuthMethodCertOutput, Integer, Hash)>] CreateAuthMethodCertOutput data, response status code and response headers
609
+ def create_auth_method_cert_with_http_info(body, opts = {})
610
+ if @api_client.config.debugging
611
+ @api_client.config.logger.debug 'Calling API: V2Api.create_auth_method_cert ...'
612
+ end
613
+ # verify the required parameter 'body' is set
614
+ if @api_client.config.client_side_validation && body.nil?
615
+ fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.create_auth_method_cert"
616
+ end
617
+ # resource path
618
+ local_var_path = '/create-auth-method-cert'
619
+
620
+ # query parameters
621
+ query_params = opts[:query_params] || {}
622
+
623
+ # header parameters
624
+ header_params = opts[:header_params] || {}
625
+ # HTTP header 'Accept' (if needed)
626
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
627
+ # HTTP header 'Content-Type'
628
+ content_type = @api_client.select_header_content_type(['application/json'])
629
+ if !content_type.nil?
630
+ header_params['Content-Type'] = content_type
631
+ end
632
+
633
+ # form parameters
634
+ form_params = opts[:form_params] || {}
635
+
636
+ # http body (model)
637
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
638
+
639
+ # return_type
640
+ return_type = opts[:debug_return_type] || 'CreateAuthMethodCertOutput'
641
+
642
+ # auth_names
643
+ auth_names = opts[:debug_auth_names] || []
644
+
645
+ new_options = opts.merge(
646
+ :operation => :"V2Api.create_auth_method_cert",
647
+ :header_params => header_params,
648
+ :query_params => query_params,
649
+ :form_params => form_params,
650
+ :body => post_body,
651
+ :auth_names => auth_names,
652
+ :return_type => return_type
653
+ )
654
+
655
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
656
+ if @api_client.config.debugging
657
+ @api_client.config.logger.debug "API called: V2Api#create_auth_method_cert\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
658
+ end
659
+ return data, status_code, headers
660
+ end
661
+
598
662
  # @param body [CreateAuthMethodGCP]
599
663
  # @param [Hash] opts the optional parameters
600
664
  # @return [CreateAuthMethodGCPOutput]
@@ -8880,6 +8944,66 @@ module Akeyless
8880
8944
  return data, status_code, headers
8881
8945
  end
8882
8946
 
8947
+ # @param [Hash] opts the optional parameters
8948
+ # @option opts [KmipDeleteServer] :body
8949
+ # @return [Object]
8950
+ def kmip_delete_server(opts = {})
8951
+ data, _status_code, _headers = kmip_delete_server_with_http_info(opts)
8952
+ data
8953
+ end
8954
+
8955
+ # @param [Hash] opts the optional parameters
8956
+ # @option opts [KmipDeleteServer] :body
8957
+ # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
8958
+ def kmip_delete_server_with_http_info(opts = {})
8959
+ if @api_client.config.debugging
8960
+ @api_client.config.logger.debug 'Calling API: V2Api.kmip_delete_server ...'
8961
+ end
8962
+ # resource path
8963
+ local_var_path = '/kmip-delete-environment'
8964
+
8965
+ # query parameters
8966
+ query_params = opts[:query_params] || {}
8967
+
8968
+ # header parameters
8969
+ header_params = opts[:header_params] || {}
8970
+ # HTTP header 'Accept' (if needed)
8971
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
8972
+ # HTTP header 'Content-Type'
8973
+ content_type = @api_client.select_header_content_type(['application/json'])
8974
+ if !content_type.nil?
8975
+ header_params['Content-Type'] = content_type
8976
+ end
8977
+
8978
+ # form parameters
8979
+ form_params = opts[:form_params] || {}
8980
+
8981
+ # http body (model)
8982
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'body'])
8983
+
8984
+ # return_type
8985
+ return_type = opts[:debug_return_type] || 'Object'
8986
+
8987
+ # auth_names
8988
+ auth_names = opts[:debug_auth_names] || []
8989
+
8990
+ new_options = opts.merge(
8991
+ :operation => :"V2Api.kmip_delete_server",
8992
+ :header_params => header_params,
8993
+ :query_params => query_params,
8994
+ :form_params => form_params,
8995
+ :body => post_body,
8996
+ :auth_names => auth_names,
8997
+ :return_type => return_type
8998
+ )
8999
+
9000
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
9001
+ if @api_client.config.debugging
9002
+ @api_client.config.logger.debug "API called: V2Api#kmip_delete_server\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
9003
+ end
9004
+ return data, status_code, headers
9005
+ end
9006
+
8883
9007
  # @param [Hash] opts the optional parameters
8884
9008
  # @option opts [KmipDescribeClient] :body
8885
9009
  # @return [KMIPClientGetResponse]
@@ -9060,6 +9184,66 @@ module Akeyless
9060
9184
  return data, status_code, headers
9061
9185
  end
9062
9186
 
9187
+ # @param [Hash] opts the optional parameters
9188
+ # @option opts [KmipMoveServer] :body
9189
+ # @return [KmipMoveServerOutput]
9190
+ def kmip_move_server(opts = {})
9191
+ data, _status_code, _headers = kmip_move_server_with_http_info(opts)
9192
+ data
9193
+ end
9194
+
9195
+ # @param [Hash] opts the optional parameters
9196
+ # @option opts [KmipMoveServer] :body
9197
+ # @return [Array<(KmipMoveServerOutput, Integer, Hash)>] KmipMoveServerOutput data, response status code and response headers
9198
+ def kmip_move_server_with_http_info(opts = {})
9199
+ if @api_client.config.debugging
9200
+ @api_client.config.logger.debug 'Calling API: V2Api.kmip_move_server ...'
9201
+ end
9202
+ # resource path
9203
+ local_var_path = '/kmip-move-environment'
9204
+
9205
+ # query parameters
9206
+ query_params = opts[:query_params] || {}
9207
+
9208
+ # header parameters
9209
+ header_params = opts[:header_params] || {}
9210
+ # HTTP header 'Accept' (if needed)
9211
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
9212
+ # HTTP header 'Content-Type'
9213
+ content_type = @api_client.select_header_content_type(['application/json'])
9214
+ if !content_type.nil?
9215
+ header_params['Content-Type'] = content_type
9216
+ end
9217
+
9218
+ # form parameters
9219
+ form_params = opts[:form_params] || {}
9220
+
9221
+ # http body (model)
9222
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'body'])
9223
+
9224
+ # return_type
9225
+ return_type = opts[:debug_return_type] || 'KmipMoveServerOutput'
9226
+
9227
+ # auth_names
9228
+ auth_names = opts[:debug_auth_names] || []
9229
+
9230
+ new_options = opts.merge(
9231
+ :operation => :"V2Api.kmip_move_server",
9232
+ :header_params => header_params,
9233
+ :query_params => query_params,
9234
+ :form_params => form_params,
9235
+ :body => post_body,
9236
+ :auth_names => auth_names,
9237
+ :return_type => return_type
9238
+ )
9239
+
9240
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
9241
+ if @api_client.config.debugging
9242
+ @api_client.config.logger.debug "API called: V2Api#kmip_move_server\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
9243
+ end
9244
+ return data, status_code, headers
9245
+ end
9246
+
9063
9247
  # @param [Hash] opts the optional parameters
9064
9248
  # @option opts [KmipRenewClientCertificate] :body
9065
9249
  # @return [KmipRenewClientCertificateOutput]
@@ -11077,6 +11261,70 @@ module Akeyless
11077
11261
  return data, status_code, headers
11078
11262
  end
11079
11263
 
11264
+ # @param body [UpdateAuthMethodCert]
11265
+ # @param [Hash] opts the optional parameters
11266
+ # @return [UpdateAuthMethodCertOutput]
11267
+ def update_auth_method_cert(body, opts = {})
11268
+ data, _status_code, _headers = update_auth_method_cert_with_http_info(body, opts)
11269
+ data
11270
+ end
11271
+
11272
+ # @param body [UpdateAuthMethodCert]
11273
+ # @param [Hash] opts the optional parameters
11274
+ # @return [Array<(UpdateAuthMethodCertOutput, Integer, Hash)>] UpdateAuthMethodCertOutput data, response status code and response headers
11275
+ def update_auth_method_cert_with_http_info(body, opts = {})
11276
+ if @api_client.config.debugging
11277
+ @api_client.config.logger.debug 'Calling API: V2Api.update_auth_method_cert ...'
11278
+ end
11279
+ # verify the required parameter 'body' is set
11280
+ if @api_client.config.client_side_validation && body.nil?
11281
+ fail ArgumentError, "Missing the required parameter 'body' when calling V2Api.update_auth_method_cert"
11282
+ end
11283
+ # resource path
11284
+ local_var_path = '/update-auth-method-cert'
11285
+
11286
+ # query parameters
11287
+ query_params = opts[:query_params] || {}
11288
+
11289
+ # header parameters
11290
+ header_params = opts[:header_params] || {}
11291
+ # HTTP header 'Accept' (if needed)
11292
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
11293
+ # HTTP header 'Content-Type'
11294
+ content_type = @api_client.select_header_content_type(['application/json'])
11295
+ if !content_type.nil?
11296
+ header_params['Content-Type'] = content_type
11297
+ end
11298
+
11299
+ # form parameters
11300
+ form_params = opts[:form_params] || {}
11301
+
11302
+ # http body (model)
11303
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
11304
+
11305
+ # return_type
11306
+ return_type = opts[:debug_return_type] || 'UpdateAuthMethodCertOutput'
11307
+
11308
+ # auth_names
11309
+ auth_names = opts[:debug_auth_names] || []
11310
+
11311
+ new_options = opts.merge(
11312
+ :operation => :"V2Api.update_auth_method_cert",
11313
+ :header_params => header_params,
11314
+ :query_params => query_params,
11315
+ :form_params => form_params,
11316
+ :body => post_body,
11317
+ :auth_names => auth_names,
11318
+ :return_type => return_type
11319
+ )
11320
+
11321
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
11322
+ if @api_client.config.debugging
11323
+ @api_client.config.logger.debug "API called: V2Api#update_auth_method_cert\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
11324
+ end
11325
+ return data, status_code, headers
11326
+ end
11327
+
11080
11328
  # @param body [UpdateAuthMethodGCP]
11081
11329
  # @param [Hash] opts the optional parameters
11082
11330
  # @return [Object]
@@ -93,6 +93,7 @@ module Akeyless
93
93
  header_params = @default_headers.merge(opts[:header_params] || {})
94
94
  query_params = opts[:query_params] || {}
95
95
  form_params = opts[:form_params] || {}
96
+ follow_location = opts[:follow_location] || true
96
97
 
97
98
 
98
99
  # set ssl_verifyhosts option based on @config.verify_ssl_host (true/false)
@@ -108,7 +109,8 @@ module Akeyless
108
109
  :ssl_verifyhost => _verify_ssl_host,
109
110
  :sslcert => @config.cert_file,
110
111
  :sslkey => @config.key_file,
111
- :verbose => @config.debugging
112
+ :verbose => @config.debugging,
113
+ :followlocation => follow_location
112
114
  }
113
115
 
114
116
  # set custom cert, if provided
@@ -21,7 +21,7 @@ module Akeyless
21
21
  # Access key (relevant only for access-type=access_key)
22
22
  attr_accessor :access_key
23
23
 
24
- # Access Type (access_key/password/saml/ldap/k8s/azure_ad/oidc/aws_iam/universal_identity/jwt/gcp/k8s)
24
+ # Access Type (access_key/password/saml/ldap/k8s/azure_ad/oidc/aws_iam/universal_identity/jwt/gcp/cert)
25
25
  attr_accessor :access_type
26
26
 
27
27
  # Email (relevant only for access-type=password)
@@ -30,6 +30,9 @@ module Akeyless
30
30
  # Password (relevant only for access-type=password)
31
31
  attr_accessor :admin_password
32
32
 
33
+ # Certificate data encoded in base64. Used if file was not provided. (relevant only for access-type=cert)
34
+ attr_accessor :cert_data
35
+
33
36
  # The cloud identity (relevant only for access-type=azure_ad,aws_iam,gcp)
34
37
  attr_accessor :cloud_id
35
38
 
@@ -47,6 +50,9 @@ module Akeyless
47
50
  # The K8S service account token. (relevant only for access-type=k8s)
48
51
  attr_accessor :k8s_service_account_token
49
52
 
53
+ # Private key data encoded in base64. Used if file was not provided.(relevant only for access-type=cert)
54
+ attr_accessor :key_data
55
+
50
56
  # LDAP password (relevant only for access-type=ldap)
51
57
  attr_accessor :ldap_password
52
58
 
@@ -64,12 +70,14 @@ module Akeyless
64
70
  :'access_type' => :'access-type',
65
71
  :'admin_email' => :'admin-email',
66
72
  :'admin_password' => :'admin-password',
73
+ :'cert_data' => :'cert-data',
67
74
  :'cloud_id' => :'cloud-id',
68
75
  :'debug' => :'debug',
69
76
  :'gcp_audience' => :'gcp-audience',
70
77
  :'jwt' => :'jwt',
71
78
  :'k8s_auth_config_name' => :'k8s-auth-config-name',
72
79
  :'k8s_service_account_token' => :'k8s-service-account-token',
80
+ :'key_data' => :'key-data',
73
81
  :'ldap_password' => :'ldap_password',
74
82
  :'ldap_username' => :'ldap_username',
75
83
  :'uid_token' => :'uid_token'
@@ -89,12 +97,14 @@ module Akeyless
89
97
  :'access_type' => :'String',
90
98
  :'admin_email' => :'String',
91
99
  :'admin_password' => :'String',
100
+ :'cert_data' => :'String',
92
101
  :'cloud_id' => :'String',
93
102
  :'debug' => :'Boolean',
94
103
  :'gcp_audience' => :'String',
95
104
  :'jwt' => :'String',
96
105
  :'k8s_auth_config_name' => :'String',
97
106
  :'k8s_service_account_token' => :'String',
107
+ :'key_data' => :'String',
98
108
  :'ldap_password' => :'String',
99
109
  :'ldap_username' => :'String',
100
110
  :'uid_token' => :'String'
@@ -144,6 +154,10 @@ module Akeyless
144
154
  self.admin_password = attributes[:'admin_password']
145
155
  end
146
156
 
157
+ if attributes.key?(:'cert_data')
158
+ self.cert_data = attributes[:'cert_data']
159
+ end
160
+
147
161
  if attributes.key?(:'cloud_id')
148
162
  self.cloud_id = attributes[:'cloud_id']
149
163
  end
@@ -168,6 +182,10 @@ module Akeyless
168
182
  self.k8s_service_account_token = attributes[:'k8s_service_account_token']
169
183
  end
170
184
 
185
+ if attributes.key?(:'key_data')
186
+ self.key_data = attributes[:'key_data']
187
+ end
188
+
171
189
  if attributes.key?(:'ldap_password')
172
190
  self.ldap_password = attributes[:'ldap_password']
173
191
  end
@@ -204,12 +222,14 @@ module Akeyless
204
222
  access_type == o.access_type &&
205
223
  admin_email == o.admin_email &&
206
224
  admin_password == o.admin_password &&
225
+ cert_data == o.cert_data &&
207
226
  cloud_id == o.cloud_id &&
208
227
  debug == o.debug &&
209
228
  gcp_audience == o.gcp_audience &&
210
229
  jwt == o.jwt &&
211
230
  k8s_auth_config_name == o.k8s_auth_config_name &&
212
231
  k8s_service_account_token == o.k8s_service_account_token &&
232
+ key_data == o.key_data &&
213
233
  ldap_password == o.ldap_password &&
214
234
  ldap_username == o.ldap_username &&
215
235
  uid_token == o.uid_token
@@ -224,7 +244,7 @@ module Akeyless
224
244
  # Calculates hash code according to all attributes.
225
245
  # @return [Integer] Hash code
226
246
  def hash
227
- [access_id, access_key, access_type, admin_email, admin_password, cloud_id, debug, gcp_audience, jwt, k8s_auth_config_name, k8s_service_account_token, ldap_password, ldap_username, uid_token].hash
247
+ [access_id, access_key, access_type, admin_email, admin_password, cert_data, cloud_id, debug, gcp_audience, jwt, k8s_auth_config_name, k8s_service_account_token, key_data, ldap_password, ldap_username, uid_token].hash
228
248
  end
229
249
 
230
250
  # Builds the object from hash
@@ -26,6 +26,8 @@ module Akeyless
26
26
 
27
27
  attr_accessor :azure_ad_access_rules
28
28
 
29
+ attr_accessor :cert_access_rules
30
+
29
31
  attr_accessor :cidr_whitelist
30
32
 
31
33
  attr_accessor :email_pass_access_rules
@@ -61,6 +63,7 @@ module Akeyless
61
63
  :'api_key_access_rules' => :'api_key_access_rules',
62
64
  :'aws_iam_access_rules' => :'aws_iam_access_rules',
63
65
  :'azure_ad_access_rules' => :'azure_ad_access_rules',
66
+ :'cert_access_rules' => :'cert_access_rules',
64
67
  :'cidr_whitelist' => :'cidr_whitelist',
65
68
  :'email_pass_access_rules' => :'email_pass_access_rules',
66
69
  :'force_sub_claims' => :'force_sub_claims',
@@ -90,6 +93,7 @@ module Akeyless
90
93
  :'api_key_access_rules' => :'APIKeyAccessRules',
91
94
  :'aws_iam_access_rules' => :'AWSIAMAccessRules',
92
95
  :'azure_ad_access_rules' => :'AzureADAccessRules',
96
+ :'cert_access_rules' => :'CertAccessRules',
93
97
  :'cidr_whitelist' => :'String',
94
98
  :'email_pass_access_rules' => :'EmailPassAccessRules',
95
99
  :'force_sub_claims' => :'Boolean',
@@ -147,6 +151,10 @@ module Akeyless
147
151
  self.azure_ad_access_rules = attributes[:'azure_ad_access_rules']
148
152
  end
149
153
 
154
+ if attributes.key?(:'cert_access_rules')
155
+ self.cert_access_rules = attributes[:'cert_access_rules']
156
+ end
157
+
150
158
  if attributes.key?(:'cidr_whitelist')
151
159
  self.cidr_whitelist = attributes[:'cidr_whitelist']
152
160
  end
@@ -223,6 +231,7 @@ module Akeyless
223
231
  api_key_access_rules == o.api_key_access_rules &&
224
232
  aws_iam_access_rules == o.aws_iam_access_rules &&
225
233
  azure_ad_access_rules == o.azure_ad_access_rules &&
234
+ cert_access_rules == o.cert_access_rules &&
226
235
  cidr_whitelist == o.cidr_whitelist &&
227
236
  email_pass_access_rules == o.email_pass_access_rules &&
228
237
  force_sub_claims == o.force_sub_claims &&
@@ -247,7 +256,7 @@ module Akeyless
247
256
  # Calculates hash code according to all attributes.
248
257
  # @return [Integer] Hash code
249
258
  def hash
250
- [access_expires, access_id_alias, api_key_access_rules, aws_iam_access_rules, azure_ad_access_rules, cidr_whitelist, email_pass_access_rules, force_sub_claims, gcp_access_rules, huawei_access_rules, jwt_ttl, k8s_access_rules, ldap_access_rules, oauth2_access_rules, oidc_access_rules, rules_type, saml_access_rules, universal_identity_access_rules].hash
259
+ [access_expires, access_id_alias, api_key_access_rules, aws_iam_access_rules, azure_ad_access_rules, cert_access_rules, cidr_whitelist, email_pass_access_rules, force_sub_claims, gcp_access_rules, huawei_access_rules, jwt_ttl, k8s_access_rules, ldap_access_rules, oauth2_access_rules, oidc_access_rules, rules_type, saml_access_rules, universal_identity_access_rules].hash
251
260
  end
252
261
 
253
262
  # Builds the object from hash