akeyless 5.0.7 → 5.0.9

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 (65) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -1
  3. data/docs/Auth.md +4 -0
  4. data/docs/AuthOutput.md +2 -0
  5. data/docs/CreateRole.md +2 -0
  6. data/docs/DSProducerDetails.md +10 -0
  7. data/docs/DynamicSecretCreateOpenAI.md +40 -0
  8. data/docs/DynamicSecretUpdateOpenAI.md +42 -0
  9. data/docs/EsmGetSecretOutput.md +2 -0
  10. data/docs/EventForwarderCreateTeams.md +44 -0
  11. data/docs/EventForwarderUpdateTeams.md +46 -0
  12. data/docs/GatewayCreateAllowedAccess.md +1 -1
  13. data/docs/GatewayUpdateAllowedAccess.md +1 -1
  14. data/docs/GeminiTargetDetails.md +2 -2
  15. data/docs/GetCertChallenge.md +22 -0
  16. data/docs/GetCertChallengeOutput.md +18 -0
  17. data/docs/NotiForwarder.md +2 -0
  18. data/docs/OpenAITargetDetails.md +5 -5
  19. data/docs/PathRule.md +2 -0
  20. data/docs/ReverseRBACClient.md +2 -0
  21. data/docs/RoleAuthMethodAssociation.md +2 -0
  22. data/docs/SecretInfo.md +2 -0
  23. data/docs/SharingItemFullInfo.md +2 -0
  24. data/docs/TargetItemAssociation.md +2 -0
  25. data/docs/UpdateRole.md +2 -0
  26. data/docs/UscCreate.md +2 -0
  27. data/docs/UscGetSecretOutput.md +2 -0
  28. data/docs/UscUpdate.md +2 -0
  29. data/docs/V2Api.md +315 -0
  30. data/lib/akeyless/api/v2_api.rb +320 -0
  31. data/lib/akeyless/models/auth.rb +21 -1
  32. data/lib/akeyless/models/auth_output.rb +10 -1
  33. data/lib/akeyless/models/create_role.rb +11 -1
  34. data/lib/akeyless/models/ds_producer_details.rb +46 -1
  35. data/lib/akeyless/models/dynamic_secret_create_open_ai.rb +339 -0
  36. data/lib/akeyless/models/dynamic_secret_update_open_ai.rb +349 -0
  37. data/lib/akeyless/models/esm_get_secret_output.rb +10 -1
  38. data/lib/akeyless/models/event_forwarder_create_teams.rb +385 -0
  39. data/lib/akeyless/models/event_forwarder_update_teams.rb +391 -0
  40. data/lib/akeyless/models/gateway_create_allowed_access.rb +1 -1
  41. data/lib/akeyless/models/gateway_update_allowed_access.rb +1 -1
  42. data/lib/akeyless/models/gemini_target_details.rb +7 -7
  43. data/lib/akeyless/models/get_cert_challenge.rb +238 -0
  44. data/lib/akeyless/models/get_cert_challenge_output.rb +214 -0
  45. data/lib/akeyless/models/noti_forwarder.rb +10 -1
  46. data/lib/akeyless/models/open_ai_target_details.rb +19 -19
  47. data/lib/akeyless/models/path_rule.rb +11 -1
  48. data/lib/akeyless/models/reverse_rbac_client.rb +10 -1
  49. data/lib/akeyless/models/role_auth_method_association.rb +10 -1
  50. data/lib/akeyless/models/secret_info.rb +10 -1
  51. data/lib/akeyless/models/sharing_item_full_info.rb +11 -1
  52. data/lib/akeyless/models/target_item_association.rb +10 -1
  53. data/lib/akeyless/models/update_role.rb +11 -1
  54. data/lib/akeyless/models/usc_create.rb +11 -1
  55. data/lib/akeyless/models/usc_get_secret_output.rb +10 -1
  56. data/lib/akeyless/models/usc_update.rb +11 -1
  57. data/lib/akeyless/version.rb +1 -1
  58. data/lib/akeyless.rb +6 -0
  59. data/spec/models/dynamic_secret_create_open_ai_spec.rb +102 -0
  60. data/spec/models/dynamic_secret_update_open_ai_spec.rb +108 -0
  61. data/spec/models/event_forwarder_create_teams_spec.rb +114 -0
  62. data/spec/models/event_forwarder_update_teams_spec.rb +120 -0
  63. data/spec/models/get_cert_challenge_output_spec.rb +36 -0
  64. data/spec/models/get_cert_challenge_spec.rb +48 -0
  65. metadata +25 -1
@@ -9039,6 +9039,70 @@ module Akeyless
9039
9039
  return data, status_code, headers
9040
9040
  end
9041
9041
 
9042
+ # @param dynamic_secret_create_open_ai [DynamicSecretCreateOpenAI]
9043
+ # @param [Hash] opts the optional parameters
9044
+ # @return [DynamicSecretCreateOutput]
9045
+ def dynamic_secret_create_open_ai(dynamic_secret_create_open_ai, opts = {})
9046
+ data, _status_code, _headers = dynamic_secret_create_open_ai_with_http_info(dynamic_secret_create_open_ai, opts)
9047
+ data
9048
+ end
9049
+
9050
+ # @param dynamic_secret_create_open_ai [DynamicSecretCreateOpenAI]
9051
+ # @param [Hash] opts the optional parameters
9052
+ # @return [Array<(DynamicSecretCreateOutput, Integer, Hash)>] DynamicSecretCreateOutput data, response status code and response headers
9053
+ def dynamic_secret_create_open_ai_with_http_info(dynamic_secret_create_open_ai, opts = {})
9054
+ if @api_client.config.debugging
9055
+ @api_client.config.logger.debug 'Calling API: V2Api.dynamic_secret_create_open_ai ...'
9056
+ end
9057
+ # verify the required parameter 'dynamic_secret_create_open_ai' is set
9058
+ if @api_client.config.client_side_validation && dynamic_secret_create_open_ai.nil?
9059
+ fail ArgumentError, "Missing the required parameter 'dynamic_secret_create_open_ai' when calling V2Api.dynamic_secret_create_open_ai"
9060
+ end
9061
+ # resource path
9062
+ local_var_path = '/dynamic-secret-create-openai'
9063
+
9064
+ # query parameters
9065
+ query_params = opts[:query_params] || {}
9066
+
9067
+ # header parameters
9068
+ header_params = opts[:header_params] || {}
9069
+ # HTTP header 'Accept' (if needed)
9070
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
9071
+ # HTTP header 'Content-Type'
9072
+ content_type = @api_client.select_header_content_type(['application/json'])
9073
+ if !content_type.nil?
9074
+ header_params['Content-Type'] = content_type
9075
+ end
9076
+
9077
+ # form parameters
9078
+ form_params = opts[:form_params] || {}
9079
+
9080
+ # http body (model)
9081
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(dynamic_secret_create_open_ai)
9082
+
9083
+ # return_type
9084
+ return_type = opts[:debug_return_type] || 'DynamicSecretCreateOutput'
9085
+
9086
+ # auth_names
9087
+ auth_names = opts[:debug_auth_names] || []
9088
+
9089
+ new_options = opts.merge(
9090
+ :operation => :"V2Api.dynamic_secret_create_open_ai",
9091
+ :header_params => header_params,
9092
+ :query_params => query_params,
9093
+ :form_params => form_params,
9094
+ :body => post_body,
9095
+ :auth_names => auth_names,
9096
+ :return_type => return_type
9097
+ )
9098
+
9099
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
9100
+ if @api_client.config.debugging
9101
+ @api_client.config.logger.debug "API called: V2Api#dynamic_secret_create_open_ai\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
9102
+ end
9103
+ return data, status_code, headers
9104
+ end
9105
+
9042
9106
  # @param dynamic_secret_create_oracle_db [DynamicSecretCreateOracleDb]
9043
9107
  # @param [Hash] opts the optional parameters
9044
9108
  # @return [DynamicSecretCreateOutput]
@@ -11211,6 +11275,70 @@ module Akeyless
11211
11275
  return data, status_code, headers
11212
11276
  end
11213
11277
 
11278
+ # @param dynamic_secret_update_open_ai [DynamicSecretUpdateOpenAI]
11279
+ # @param [Hash] opts the optional parameters
11280
+ # @return [DynamicSecretUpdateOutput]
11281
+ def dynamic_secret_update_open_ai(dynamic_secret_update_open_ai, opts = {})
11282
+ data, _status_code, _headers = dynamic_secret_update_open_ai_with_http_info(dynamic_secret_update_open_ai, opts)
11283
+ data
11284
+ end
11285
+
11286
+ # @param dynamic_secret_update_open_ai [DynamicSecretUpdateOpenAI]
11287
+ # @param [Hash] opts the optional parameters
11288
+ # @return [Array<(DynamicSecretUpdateOutput, Integer, Hash)>] DynamicSecretUpdateOutput data, response status code and response headers
11289
+ def dynamic_secret_update_open_ai_with_http_info(dynamic_secret_update_open_ai, opts = {})
11290
+ if @api_client.config.debugging
11291
+ @api_client.config.logger.debug 'Calling API: V2Api.dynamic_secret_update_open_ai ...'
11292
+ end
11293
+ # verify the required parameter 'dynamic_secret_update_open_ai' is set
11294
+ if @api_client.config.client_side_validation && dynamic_secret_update_open_ai.nil?
11295
+ fail ArgumentError, "Missing the required parameter 'dynamic_secret_update_open_ai' when calling V2Api.dynamic_secret_update_open_ai"
11296
+ end
11297
+ # resource path
11298
+ local_var_path = '/dynamic-secret-update-openai'
11299
+
11300
+ # query parameters
11301
+ query_params = opts[:query_params] || {}
11302
+
11303
+ # header parameters
11304
+ header_params = opts[:header_params] || {}
11305
+ # HTTP header 'Accept' (if needed)
11306
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
11307
+ # HTTP header 'Content-Type'
11308
+ content_type = @api_client.select_header_content_type(['application/json'])
11309
+ if !content_type.nil?
11310
+ header_params['Content-Type'] = content_type
11311
+ end
11312
+
11313
+ # form parameters
11314
+ form_params = opts[:form_params] || {}
11315
+
11316
+ # http body (model)
11317
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(dynamic_secret_update_open_ai)
11318
+
11319
+ # return_type
11320
+ return_type = opts[:debug_return_type] || 'DynamicSecretUpdateOutput'
11321
+
11322
+ # auth_names
11323
+ auth_names = opts[:debug_auth_names] || []
11324
+
11325
+ new_options = opts.merge(
11326
+ :operation => :"V2Api.dynamic_secret_update_open_ai",
11327
+ :header_params => header_params,
11328
+ :query_params => query_params,
11329
+ :form_params => form_params,
11330
+ :body => post_body,
11331
+ :auth_names => auth_names,
11332
+ :return_type => return_type
11333
+ )
11334
+
11335
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
11336
+ if @api_client.config.debugging
11337
+ @api_client.config.logger.debug "API called: V2Api#dynamic_secret_update_open_ai\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
11338
+ end
11339
+ return data, status_code, headers
11340
+ end
11341
+
11214
11342
  # @param dynamic_secret_update_oracle_db [DynamicSecretUpdateOracleDb]
11215
11343
  # @param [Hash] opts the optional parameters
11216
11344
  # @return [DynamicSecretUpdateOutput]
@@ -12619,6 +12747,70 @@ module Akeyless
12619
12747
  return data, status_code, headers
12620
12748
  end
12621
12749
 
12750
+ # @param event_forwarder_create_teams [EventForwarderCreateTeams]
12751
+ # @param [Hash] opts the optional parameters
12752
+ # @return [EventForwarderCreateUpdateOutput]
12753
+ def event_forwarder_create_teams(event_forwarder_create_teams, opts = {})
12754
+ data, _status_code, _headers = event_forwarder_create_teams_with_http_info(event_forwarder_create_teams, opts)
12755
+ data
12756
+ end
12757
+
12758
+ # @param event_forwarder_create_teams [EventForwarderCreateTeams]
12759
+ # @param [Hash] opts the optional parameters
12760
+ # @return [Array<(EventForwarderCreateUpdateOutput, Integer, Hash)>] EventForwarderCreateUpdateOutput data, response status code and response headers
12761
+ def event_forwarder_create_teams_with_http_info(event_forwarder_create_teams, opts = {})
12762
+ if @api_client.config.debugging
12763
+ @api_client.config.logger.debug 'Calling API: V2Api.event_forwarder_create_teams ...'
12764
+ end
12765
+ # verify the required parameter 'event_forwarder_create_teams' is set
12766
+ if @api_client.config.client_side_validation && event_forwarder_create_teams.nil?
12767
+ fail ArgumentError, "Missing the required parameter 'event_forwarder_create_teams' when calling V2Api.event_forwarder_create_teams"
12768
+ end
12769
+ # resource path
12770
+ local_var_path = '/event-forwarder-create-teams'
12771
+
12772
+ # query parameters
12773
+ query_params = opts[:query_params] || {}
12774
+
12775
+ # header parameters
12776
+ header_params = opts[:header_params] || {}
12777
+ # HTTP header 'Accept' (if needed)
12778
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
12779
+ # HTTP header 'Content-Type'
12780
+ content_type = @api_client.select_header_content_type(['application/json'])
12781
+ if !content_type.nil?
12782
+ header_params['Content-Type'] = content_type
12783
+ end
12784
+
12785
+ # form parameters
12786
+ form_params = opts[:form_params] || {}
12787
+
12788
+ # http body (model)
12789
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(event_forwarder_create_teams)
12790
+
12791
+ # return_type
12792
+ return_type = opts[:debug_return_type] || 'EventForwarderCreateUpdateOutput'
12793
+
12794
+ # auth_names
12795
+ auth_names = opts[:debug_auth_names] || []
12796
+
12797
+ new_options = opts.merge(
12798
+ :operation => :"V2Api.event_forwarder_create_teams",
12799
+ :header_params => header_params,
12800
+ :query_params => query_params,
12801
+ :form_params => form_params,
12802
+ :body => post_body,
12803
+ :auth_names => auth_names,
12804
+ :return_type => return_type
12805
+ )
12806
+
12807
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
12808
+ if @api_client.config.debugging
12809
+ @api_client.config.logger.debug "API called: V2Api#event_forwarder_create_teams\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
12810
+ end
12811
+ return data, status_code, headers
12812
+ end
12813
+
12622
12814
  # @param event_forwarder_create_webhook [EventForwarderCreateWebhook]
12623
12815
  # @param [Hash] opts the optional parameters
12624
12816
  # @return [EventForwarderCreateUpdateOutput]
@@ -13003,6 +13195,70 @@ module Akeyless
13003
13195
  return data, status_code, headers
13004
13196
  end
13005
13197
 
13198
+ # @param event_forwarder_update_teams [EventForwarderUpdateTeams]
13199
+ # @param [Hash] opts the optional parameters
13200
+ # @return [EventForwarderCreateUpdateOutput]
13201
+ def event_forwarder_update_teams(event_forwarder_update_teams, opts = {})
13202
+ data, _status_code, _headers = event_forwarder_update_teams_with_http_info(event_forwarder_update_teams, opts)
13203
+ data
13204
+ end
13205
+
13206
+ # @param event_forwarder_update_teams [EventForwarderUpdateTeams]
13207
+ # @param [Hash] opts the optional parameters
13208
+ # @return [Array<(EventForwarderCreateUpdateOutput, Integer, Hash)>] EventForwarderCreateUpdateOutput data, response status code and response headers
13209
+ def event_forwarder_update_teams_with_http_info(event_forwarder_update_teams, opts = {})
13210
+ if @api_client.config.debugging
13211
+ @api_client.config.logger.debug 'Calling API: V2Api.event_forwarder_update_teams ...'
13212
+ end
13213
+ # verify the required parameter 'event_forwarder_update_teams' is set
13214
+ if @api_client.config.client_side_validation && event_forwarder_update_teams.nil?
13215
+ fail ArgumentError, "Missing the required parameter 'event_forwarder_update_teams' when calling V2Api.event_forwarder_update_teams"
13216
+ end
13217
+ # resource path
13218
+ local_var_path = '/event-forwarder-update-teams'
13219
+
13220
+ # query parameters
13221
+ query_params = opts[:query_params] || {}
13222
+
13223
+ # header parameters
13224
+ header_params = opts[:header_params] || {}
13225
+ # HTTP header 'Accept' (if needed)
13226
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
13227
+ # HTTP header 'Content-Type'
13228
+ content_type = @api_client.select_header_content_type(['application/json'])
13229
+ if !content_type.nil?
13230
+ header_params['Content-Type'] = content_type
13231
+ end
13232
+
13233
+ # form parameters
13234
+ form_params = opts[:form_params] || {}
13235
+
13236
+ # http body (model)
13237
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(event_forwarder_update_teams)
13238
+
13239
+ # return_type
13240
+ return_type = opts[:debug_return_type] || 'EventForwarderCreateUpdateOutput'
13241
+
13242
+ # auth_names
13243
+ auth_names = opts[:debug_auth_names] || []
13244
+
13245
+ new_options = opts.merge(
13246
+ :operation => :"V2Api.event_forwarder_update_teams",
13247
+ :header_params => header_params,
13248
+ :query_params => query_params,
13249
+ :form_params => form_params,
13250
+ :body => post_body,
13251
+ :auth_names => auth_names,
13252
+ :return_type => return_type
13253
+ )
13254
+
13255
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
13256
+ if @api_client.config.debugging
13257
+ @api_client.config.logger.debug "API called: V2Api#event_forwarder_update_teams\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
13258
+ end
13259
+ return data, status_code, headers
13260
+ end
13261
+
13006
13262
  # @param event_forwarder_update_webhook [EventForwarderUpdateWebhook]
13007
13263
  # @param [Hash] opts the optional parameters
13008
13264
  # @return [EventForwarderCreateUpdateOutput]
@@ -20212,6 +20468,70 @@ module Akeyless
20212
20468
  return data, status_code, headers
20213
20469
  end
20214
20470
 
20471
+ # @param get_cert_challenge [GetCertChallenge]
20472
+ # @param [Hash] opts the optional parameters
20473
+ # @return [GetCertChallengeOutput]
20474
+ def get_cert_challenge(get_cert_challenge, opts = {})
20475
+ data, _status_code, _headers = get_cert_challenge_with_http_info(get_cert_challenge, opts)
20476
+ data
20477
+ end
20478
+
20479
+ # @param get_cert_challenge [GetCertChallenge]
20480
+ # @param [Hash] opts the optional parameters
20481
+ # @return [Array<(GetCertChallengeOutput, Integer, Hash)>] GetCertChallengeOutput data, response status code and response headers
20482
+ def get_cert_challenge_with_http_info(get_cert_challenge, opts = {})
20483
+ if @api_client.config.debugging
20484
+ @api_client.config.logger.debug 'Calling API: V2Api.get_cert_challenge ...'
20485
+ end
20486
+ # verify the required parameter 'get_cert_challenge' is set
20487
+ if @api_client.config.client_side_validation && get_cert_challenge.nil?
20488
+ fail ArgumentError, "Missing the required parameter 'get_cert_challenge' when calling V2Api.get_cert_challenge"
20489
+ end
20490
+ # resource path
20491
+ local_var_path = '/get-cert-challenge'
20492
+
20493
+ # query parameters
20494
+ query_params = opts[:query_params] || {}
20495
+
20496
+ # header parameters
20497
+ header_params = opts[:header_params] || {}
20498
+ # HTTP header 'Accept' (if needed)
20499
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
20500
+ # HTTP header 'Content-Type'
20501
+ content_type = @api_client.select_header_content_type(['application/json'])
20502
+ if !content_type.nil?
20503
+ header_params['Content-Type'] = content_type
20504
+ end
20505
+
20506
+ # form parameters
20507
+ form_params = opts[:form_params] || {}
20508
+
20509
+ # http body (model)
20510
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(get_cert_challenge)
20511
+
20512
+ # return_type
20513
+ return_type = opts[:debug_return_type] || 'GetCertChallengeOutput'
20514
+
20515
+ # auth_names
20516
+ auth_names = opts[:debug_auth_names] || []
20517
+
20518
+ new_options = opts.merge(
20519
+ :operation => :"V2Api.get_cert_challenge",
20520
+ :header_params => header_params,
20521
+ :query_params => query_params,
20522
+ :form_params => form_params,
20523
+ :body => post_body,
20524
+ :auth_names => auth_names,
20525
+ :return_type => return_type
20526
+ )
20527
+
20528
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
20529
+ if @api_client.config.debugging
20530
+ @api_client.config.logger.debug "API called: V2Api#get_cert_challenge\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
20531
+ end
20532
+ return data, status_code, headers
20533
+ end
20534
+
20215
20535
  # @param get_certificate_value [GetCertificateValue]
20216
20536
  # @param [Hash] opts the optional parameters
20217
20537
  # @return [GetCertificateValueOutput]
@@ -33,6 +33,9 @@ module Akeyless
33
33
  # Password (relevant only for access-type=password)
34
34
  attr_accessor :admin_password
35
35
 
36
+ # Certificate challenge encoded in base64. (relevant only for access-type=cert)
37
+ attr_accessor :cert_challenge
38
+
36
39
  # Certificate data encoded in base64. Used if file was not provided. (relevant only for access-type=cert)
37
40
  attr_accessor :cert_data
38
41
 
@@ -91,6 +94,9 @@ module Akeyless
91
94
 
92
95
  attr_accessor :otp
93
96
 
97
+ # Signed certificate challenge encoded in base64. (relevant only for access-type=cert)
98
+ attr_accessor :signed_cert_challenge
99
+
94
100
  # The universal_identity token (relevant only for access-type=universal_identity)
95
101
  attr_accessor :uid_token
96
102
 
@@ -109,6 +115,7 @@ module Akeyless
109
115
  :'account_id' => :'account-id',
110
116
  :'admin_email' => :'admin-email',
111
117
  :'admin_password' => :'admin-password',
118
+ :'cert_challenge' => :'cert-challenge',
112
119
  :'cert_data' => :'cert-data',
113
120
  :'cloud_id' => :'cloud-id',
114
121
  :'debug' => :'debug',
@@ -129,6 +136,7 @@ module Akeyless
129
136
  :'oci_auth_type' => :'oci-auth-type',
130
137
  :'oci_group_ocid' => :'oci-group-ocid',
131
138
  :'otp' => :'otp',
139
+ :'signed_cert_challenge' => :'signed-cert-challenge',
132
140
  :'uid_token' => :'uid-token',
133
141
  :'use_remote_browser' => :'use-remote-browser',
134
142
  :'username' => :'username'
@@ -149,6 +157,7 @@ module Akeyless
149
157
  :'account_id' => :'String',
150
158
  :'admin_email' => :'String',
151
159
  :'admin_password' => :'String',
160
+ :'cert_challenge' => :'String',
152
161
  :'cert_data' => :'String',
153
162
  :'cloud_id' => :'String',
154
163
  :'debug' => :'Boolean',
@@ -169,6 +178,7 @@ module Akeyless
169
178
  :'oci_auth_type' => :'String',
170
179
  :'oci_group_ocid' => :'Array<String>',
171
180
  :'otp' => :'String',
181
+ :'signed_cert_challenge' => :'String',
172
182
  :'uid_token' => :'String',
173
183
  :'use_remote_browser' => :'Boolean',
174
184
  :'username' => :'String'
@@ -222,6 +232,10 @@ module Akeyless
222
232
  self.admin_password = attributes[:'admin_password']
223
233
  end
224
234
 
235
+ if attributes.key?(:'cert_challenge')
236
+ self.cert_challenge = attributes[:'cert_challenge']
237
+ end
238
+
225
239
  if attributes.key?(:'cert_data')
226
240
  self.cert_data = attributes[:'cert_data']
227
241
  end
@@ -310,6 +324,10 @@ module Akeyless
310
324
  self.otp = attributes[:'otp']
311
325
  end
312
326
 
327
+ if attributes.key?(:'signed_cert_challenge')
328
+ self.signed_cert_challenge = attributes[:'signed_cert_challenge']
329
+ end
330
+
313
331
  if attributes.key?(:'uid_token')
314
332
  self.uid_token = attributes[:'uid_token']
315
333
  end
@@ -349,6 +367,7 @@ module Akeyless
349
367
  account_id == o.account_id &&
350
368
  admin_email == o.admin_email &&
351
369
  admin_password == o.admin_password &&
370
+ cert_challenge == o.cert_challenge &&
352
371
  cert_data == o.cert_data &&
353
372
  cloud_id == o.cloud_id &&
354
373
  debug == o.debug &&
@@ -369,6 +388,7 @@ module Akeyless
369
388
  oci_auth_type == o.oci_auth_type &&
370
389
  oci_group_ocid == o.oci_group_ocid &&
371
390
  otp == o.otp &&
391
+ signed_cert_challenge == o.signed_cert_challenge &&
372
392
  uid_token == o.uid_token &&
373
393
  use_remote_browser == o.use_remote_browser &&
374
394
  username == o.username
@@ -383,7 +403,7 @@ module Akeyless
383
403
  # Calculates hash code according to all attributes.
384
404
  # @return [Integer] Hash code
385
405
  def hash
386
- [access_id, access_key, access_type, account_id, admin_email, admin_password, cert_data, cloud_id, debug, disable_pafxfast, gateway_spn, gateway_url, gcp_audience, json, jwt, k8s_auth_config_name, k8s_service_account_token, kerberos_token, kerberos_username, key_data, keytab_data, krb5_conf_data, ldap_password, oci_auth_type, oci_group_ocid, otp, uid_token, use_remote_browser, username].hash
406
+ [access_id, access_key, access_type, account_id, admin_email, admin_password, cert_challenge, cert_data, cloud_id, debug, disable_pafxfast, gateway_spn, gateway_url, gcp_audience, json, jwt, k8s_auth_config_name, k8s_service_account_token, kerberos_token, kerberos_username, key_data, keytab_data, krb5_conf_data, ldap_password, oci_auth_type, oci_group_ocid, otp, signed_cert_challenge, uid_token, use_remote_browser, username].hash
387
407
  end
388
408
 
389
409
  # Builds the object from hash
@@ -19,6 +19,8 @@ module Akeyless
19
19
 
20
20
  attr_accessor :creds
21
21
 
22
+ attr_accessor :expiration
23
+
22
24
  attr_accessor :token
23
25
 
24
26
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -26,6 +28,7 @@ module Akeyless
26
28
  {
27
29
  :'complete_auth_link' => :'complete_auth_link',
28
30
  :'creds' => :'creds',
31
+ :'expiration' => :'expiration',
29
32
  :'token' => :'token'
30
33
  }
31
34
  end
@@ -40,6 +43,7 @@ module Akeyless
40
43
  {
41
44
  :'complete_auth_link' => :'String',
42
45
  :'creds' => :'SystemAccessCredentialsReplyObj',
46
+ :'expiration' => :'String',
43
47
  :'token' => :'String'
44
48
  }
45
49
  end
@@ -73,6 +77,10 @@ module Akeyless
73
77
  self.creds = attributes[:'creds']
74
78
  end
75
79
 
80
+ if attributes.key?(:'expiration')
81
+ self.expiration = attributes[:'expiration']
82
+ end
83
+
76
84
  if attributes.key?(:'token')
77
85
  self.token = attributes[:'token']
78
86
  end
@@ -100,6 +108,7 @@ module Akeyless
100
108
  self.class == o.class &&
101
109
  complete_auth_link == o.complete_auth_link &&
102
110
  creds == o.creds &&
111
+ expiration == o.expiration &&
103
112
  token == o.token
104
113
  end
105
114
 
@@ -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
- [complete_auth_link, creds, token].hash
124
+ [complete_auth_link, creds, expiration, token].hash
116
125
  end
117
126
 
118
127
  # Builds the object from hash
@@ -45,6 +45,9 @@ module Akeyless
45
45
  # Role name
46
46
  attr_accessor :name
47
47
 
48
+ # Allow this role to view Reverse RBAC. Supported values: 'own', 'all'.
49
+ attr_accessor :reverse_rbac_access
50
+
48
51
  # Allow this role to view SRA Clusters. Currently only 'none', 'own', 'all' values are supported.
49
52
  attr_accessor :sra_reports_access
50
53
 
@@ -70,6 +73,7 @@ module Akeyless
70
73
  :'gw_analytics_access' => :'gw-analytics-access',
71
74
  :'json' => :'json',
72
75
  :'name' => :'name',
76
+ :'reverse_rbac_access' => :'reverse-rbac-access',
73
77
  :'sra_reports_access' => :'sra-reports-access',
74
78
  :'token' => :'token',
75
79
  :'uid_token' => :'uid-token',
@@ -95,6 +99,7 @@ module Akeyless
95
99
  :'gw_analytics_access' => :'String',
96
100
  :'json' => :'Boolean',
97
101
  :'name' => :'String',
102
+ :'reverse_rbac_access' => :'String',
98
103
  :'sra_reports_access' => :'String',
99
104
  :'token' => :'String',
100
105
  :'uid_token' => :'String',
@@ -167,6 +172,10 @@ module Akeyless
167
172
  self.name = nil
168
173
  end
169
174
 
175
+ if attributes.key?(:'reverse_rbac_access')
176
+ self.reverse_rbac_access = attributes[:'reverse_rbac_access']
177
+ end
178
+
170
179
  if attributes.key?(:'sra_reports_access')
171
180
  self.sra_reports_access = attributes[:'sra_reports_access']
172
181
  end
@@ -219,6 +228,7 @@ module Akeyless
219
228
  gw_analytics_access == o.gw_analytics_access &&
220
229
  json == o.json &&
221
230
  name == o.name &&
231
+ reverse_rbac_access == o.reverse_rbac_access &&
222
232
  sra_reports_access == o.sra_reports_access &&
223
233
  token == o.token &&
224
234
  uid_token == o.uid_token &&
@@ -234,7 +244,7 @@ module Akeyless
234
244
  # Calculates hash code according to all attributes.
235
245
  # @return [Integer] Hash code
236
246
  def hash
237
- [analytics_access, audit_access, comment, delete_protection, description, event_center_access, event_forwarders_access, gw_analytics_access, json, name, sra_reports_access, token, uid_token, usage_reports_access].hash
247
+ [analytics_access, audit_access, comment, delete_protection, description, event_center_access, event_forwarders_access, gw_analytics_access, json, name, reverse_rbac_access, sra_reports_access, token, uid_token, usage_reports_access].hash
238
248
  end
239
249
 
240
250
  # Builds the object from hash