akeyless 5.0.5 → 5.0.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.
- checksums.yaml +4 -4
- data/README.md +11 -1
- data/docs/AzureLogAnalyticsForwardingConfig.md +2 -0
- data/docs/CertificateTemplateInfo.md +2 -0
- data/docs/CreateClassicKey.md +3 -1
- data/docs/CreateDFCKey.md +3 -1
- data/docs/CreateGodaddyTarget.md +2 -0
- data/docs/CreateKey.md +3 -1
- data/docs/DynamicSecretCreateK8s.md +2 -0
- data/docs/DynamicSecretUpdateK8s.md +2 -0
- data/docs/GatewayCreateProducerNativeK8S.md +2 -0
- data/docs/GatewayUpdateLogForwardingAzureAnalytics.md +2 -0
- data/docs/GatewayUpdateLogForwardingSplunk.md +2 -0
- data/docs/GatewayUpdateProducerNativeK8S.md +2 -0
- data/docs/GatewayUpdateRemoteAccessRdpRecordings.md +6 -0
- data/docs/GeminiTargetDetails.md +22 -0
- data/docs/GenerateCsr.md +2 -0
- data/docs/GodaddyTargetDetails.md +2 -0
- data/docs/GwUpdateRemoteAccessSessionLogsAzureAnalytics.md +2 -0
- data/docs/GwUpdateRemoteAccessSessionLogsSplunk.md +2 -0
- data/docs/OpenAITargetDetails.md +26 -0
- data/docs/SplunkLogForwardingConfig.md +2 -0
- data/docs/StaticSecretSync.md +2 -0
- data/docs/TargetCreateGemini.md +36 -0
- data/docs/TargetCreateGodaddy.md +2 -0
- data/docs/TargetCreateOpenAI.md +40 -0
- data/docs/TargetTypeDetailsInput.md +4 -0
- data/docs/TargetUpdateGemini.md +42 -0
- data/docs/TargetUpdateGodaddy.md +2 -0
- data/docs/TargetUpdateOpenAI.md +46 -0
- data/docs/UpdateGodaddyTarget.md +2 -0
- data/docs/V2Api.md +252 -0
- data/docs/WebBastionRdpRecord.md +6 -0
- data/lib/akeyless/api/v2_api.rb +256 -0
- data/lib/akeyless/models/azure_log_analytics_forwarding_config.rb +10 -1
- data/lib/akeyless/models/certificate_template_info.rb +10 -1
- data/lib/akeyless/models/create_classic_key.rb +14 -2
- data/lib/akeyless/models/create_dfc_key.rb +14 -2
- data/lib/akeyless/models/create_godaddy_target.rb +11 -1
- data/lib/akeyless/models/create_key.rb +14 -2
- data/lib/akeyless/models/dynamic_secret_create_k8s.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_k8s.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_native_k8_s.rb +11 -1
- data/lib/akeyless/models/gateway_update_log_forwarding_azure_analytics.rb +13 -1
- data/lib/akeyless/models/gateway_update_log_forwarding_splunk.rb +13 -1
- data/lib/akeyless/models/gateway_update_producer_native_k8_s.rb +11 -1
- data/lib/akeyless/models/gateway_update_remote_access_rdp_recordings.rb +31 -1
- data/lib/akeyless/models/gemini_target_details.rb +233 -0
- data/lib/akeyless/models/generate_csr.rb +13 -1
- data/lib/akeyless/models/godaddy_target_details.rb +11 -1
- data/lib/akeyless/models/gw_update_remote_access_session_logs_azure_analytics.rb +13 -1
- data/lib/akeyless/models/gw_update_remote_access_session_logs_splunk.rb +13 -1
- data/lib/akeyless/models/open_ai_target_details.rb +251 -0
- data/lib/akeyless/models/splunk_log_forwarding_config.rb +10 -1
- data/lib/akeyless/models/static_secret_sync.rb +11 -1
- data/lib/akeyless/models/target_create_gemini.rb +317 -0
- data/lib/akeyless/models/target_create_godaddy.rb +11 -1
- data/lib/akeyless/models/target_create_open_ai.rb +337 -0
- data/lib/akeyless/models/target_type_details_input.rb +19 -1
- data/lib/akeyless/models/target_update_gemini.rb +351 -0
- data/lib/akeyless/models/target_update_godaddy.rb +11 -1
- data/lib/akeyless/models/target_update_open_ai.rb +371 -0
- data/lib/akeyless/models/update_godaddy_target.rb +11 -1
- data/lib/akeyless/models/web_bastion_rdp_record.rb +28 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +6 -0
- data/spec/models/gemini_target_details_spec.rb +48 -0
- data/spec/models/open_ai_target_details_spec.rb +60 -0
- data/spec/models/target_create_gemini_spec.rb +90 -0
- data/spec/models/target_create_open_ai_spec.rb +102 -0
- data/spec/models/target_update_gemini_spec.rb +108 -0
- data/spec/models/target_update_open_ai_spec.rb +120 -0
- metadata +26 -2
data/lib/akeyless/api/v2_api.rb
CHANGED
@@ -28262,6 +28262,70 @@ module Akeyless
|
|
28262
28262
|
return data, status_code, headers
|
28263
28263
|
end
|
28264
28264
|
|
28265
|
+
# @param target_create_gemini [TargetCreateGemini]
|
28266
|
+
# @param [Hash] opts the optional parameters
|
28267
|
+
# @return [TargetCreateOutput]
|
28268
|
+
def target_create_gemini(target_create_gemini, opts = {})
|
28269
|
+
data, _status_code, _headers = target_create_gemini_with_http_info(target_create_gemini, opts)
|
28270
|
+
data
|
28271
|
+
end
|
28272
|
+
|
28273
|
+
# @param target_create_gemini [TargetCreateGemini]
|
28274
|
+
# @param [Hash] opts the optional parameters
|
28275
|
+
# @return [Array<(TargetCreateOutput, Integer, Hash)>] TargetCreateOutput data, response status code and response headers
|
28276
|
+
def target_create_gemini_with_http_info(target_create_gemini, opts = {})
|
28277
|
+
if @api_client.config.debugging
|
28278
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_create_gemini ...'
|
28279
|
+
end
|
28280
|
+
# verify the required parameter 'target_create_gemini' is set
|
28281
|
+
if @api_client.config.client_side_validation && target_create_gemini.nil?
|
28282
|
+
fail ArgumentError, "Missing the required parameter 'target_create_gemini' when calling V2Api.target_create_gemini"
|
28283
|
+
end
|
28284
|
+
# resource path
|
28285
|
+
local_var_path = '/target-create-gemini'
|
28286
|
+
|
28287
|
+
# query parameters
|
28288
|
+
query_params = opts[:query_params] || {}
|
28289
|
+
|
28290
|
+
# header parameters
|
28291
|
+
header_params = opts[:header_params] || {}
|
28292
|
+
# HTTP header 'Accept' (if needed)
|
28293
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
28294
|
+
# HTTP header 'Content-Type'
|
28295
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
28296
|
+
if !content_type.nil?
|
28297
|
+
header_params['Content-Type'] = content_type
|
28298
|
+
end
|
28299
|
+
|
28300
|
+
# form parameters
|
28301
|
+
form_params = opts[:form_params] || {}
|
28302
|
+
|
28303
|
+
# http body (model)
|
28304
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_create_gemini)
|
28305
|
+
|
28306
|
+
# return_type
|
28307
|
+
return_type = opts[:debug_return_type] || 'TargetCreateOutput'
|
28308
|
+
|
28309
|
+
# auth_names
|
28310
|
+
auth_names = opts[:debug_auth_names] || []
|
28311
|
+
|
28312
|
+
new_options = opts.merge(
|
28313
|
+
:operation => :"V2Api.target_create_gemini",
|
28314
|
+
:header_params => header_params,
|
28315
|
+
:query_params => query_params,
|
28316
|
+
:form_params => form_params,
|
28317
|
+
:body => post_body,
|
28318
|
+
:auth_names => auth_names,
|
28319
|
+
:return_type => return_type
|
28320
|
+
)
|
28321
|
+
|
28322
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
28323
|
+
if @api_client.config.debugging
|
28324
|
+
@api_client.config.logger.debug "API called: V2Api#target_create_gemini\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
28325
|
+
end
|
28326
|
+
return data, status_code, headers
|
28327
|
+
end
|
28328
|
+
|
28265
28329
|
# @param target_create_github [TargetCreateGithub]
|
28266
28330
|
# @param [Hash] opts the optional parameters
|
28267
28331
|
# @return [TargetCreateOutput]
|
@@ -28902,6 +28966,70 @@ module Akeyless
|
|
28902
28966
|
return data, status_code, headers
|
28903
28967
|
end
|
28904
28968
|
|
28969
|
+
# @param target_create_open_ai [TargetCreateOpenAI]
|
28970
|
+
# @param [Hash] opts the optional parameters
|
28971
|
+
# @return [TargetCreateOutput]
|
28972
|
+
def target_create_open_ai(target_create_open_ai, opts = {})
|
28973
|
+
data, _status_code, _headers = target_create_open_ai_with_http_info(target_create_open_ai, opts)
|
28974
|
+
data
|
28975
|
+
end
|
28976
|
+
|
28977
|
+
# @param target_create_open_ai [TargetCreateOpenAI]
|
28978
|
+
# @param [Hash] opts the optional parameters
|
28979
|
+
# @return [Array<(TargetCreateOutput, Integer, Hash)>] TargetCreateOutput data, response status code and response headers
|
28980
|
+
def target_create_open_ai_with_http_info(target_create_open_ai, opts = {})
|
28981
|
+
if @api_client.config.debugging
|
28982
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_create_open_ai ...'
|
28983
|
+
end
|
28984
|
+
# verify the required parameter 'target_create_open_ai' is set
|
28985
|
+
if @api_client.config.client_side_validation && target_create_open_ai.nil?
|
28986
|
+
fail ArgumentError, "Missing the required parameter 'target_create_open_ai' when calling V2Api.target_create_open_ai"
|
28987
|
+
end
|
28988
|
+
# resource path
|
28989
|
+
local_var_path = '/target-create-openai'
|
28990
|
+
|
28991
|
+
# query parameters
|
28992
|
+
query_params = opts[:query_params] || {}
|
28993
|
+
|
28994
|
+
# header parameters
|
28995
|
+
header_params = opts[:header_params] || {}
|
28996
|
+
# HTTP header 'Accept' (if needed)
|
28997
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
28998
|
+
# HTTP header 'Content-Type'
|
28999
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
29000
|
+
if !content_type.nil?
|
29001
|
+
header_params['Content-Type'] = content_type
|
29002
|
+
end
|
29003
|
+
|
29004
|
+
# form parameters
|
29005
|
+
form_params = opts[:form_params] || {}
|
29006
|
+
|
29007
|
+
# http body (model)
|
29008
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_create_open_ai)
|
29009
|
+
|
29010
|
+
# return_type
|
29011
|
+
return_type = opts[:debug_return_type] || 'TargetCreateOutput'
|
29012
|
+
|
29013
|
+
# auth_names
|
29014
|
+
auth_names = opts[:debug_auth_names] || []
|
29015
|
+
|
29016
|
+
new_options = opts.merge(
|
29017
|
+
:operation => :"V2Api.target_create_open_ai",
|
29018
|
+
:header_params => header_params,
|
29019
|
+
:query_params => query_params,
|
29020
|
+
:form_params => form_params,
|
29021
|
+
:body => post_body,
|
29022
|
+
:auth_names => auth_names,
|
29023
|
+
:return_type => return_type
|
29024
|
+
)
|
29025
|
+
|
29026
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
29027
|
+
if @api_client.config.debugging
|
29028
|
+
@api_client.config.logger.debug "API called: V2Api#target_create_open_ai\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
29029
|
+
end
|
29030
|
+
return data, status_code, headers
|
29031
|
+
end
|
29032
|
+
|
28905
29033
|
# @param target_create_ping [TargetCreatePing]
|
28906
29034
|
# @param [Hash] opts the optional parameters
|
28907
29035
|
# @return [TargetCreateOutput]
|
@@ -30118,6 +30246,70 @@ module Akeyless
|
|
30118
30246
|
return data, status_code, headers
|
30119
30247
|
end
|
30120
30248
|
|
30249
|
+
# @param target_update_gemini [TargetUpdateGemini]
|
30250
|
+
# @param [Hash] opts the optional parameters
|
30251
|
+
# @return [TargetUpdateOutput]
|
30252
|
+
def target_update_gemini(target_update_gemini, opts = {})
|
30253
|
+
data, _status_code, _headers = target_update_gemini_with_http_info(target_update_gemini, opts)
|
30254
|
+
data
|
30255
|
+
end
|
30256
|
+
|
30257
|
+
# @param target_update_gemini [TargetUpdateGemini]
|
30258
|
+
# @param [Hash] opts the optional parameters
|
30259
|
+
# @return [Array<(TargetUpdateOutput, Integer, Hash)>] TargetUpdateOutput data, response status code and response headers
|
30260
|
+
def target_update_gemini_with_http_info(target_update_gemini, opts = {})
|
30261
|
+
if @api_client.config.debugging
|
30262
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_update_gemini ...'
|
30263
|
+
end
|
30264
|
+
# verify the required parameter 'target_update_gemini' is set
|
30265
|
+
if @api_client.config.client_side_validation && target_update_gemini.nil?
|
30266
|
+
fail ArgumentError, "Missing the required parameter 'target_update_gemini' when calling V2Api.target_update_gemini"
|
30267
|
+
end
|
30268
|
+
# resource path
|
30269
|
+
local_var_path = '/target-update-gemini'
|
30270
|
+
|
30271
|
+
# query parameters
|
30272
|
+
query_params = opts[:query_params] || {}
|
30273
|
+
|
30274
|
+
# header parameters
|
30275
|
+
header_params = opts[:header_params] || {}
|
30276
|
+
# HTTP header 'Accept' (if needed)
|
30277
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
30278
|
+
# HTTP header 'Content-Type'
|
30279
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
30280
|
+
if !content_type.nil?
|
30281
|
+
header_params['Content-Type'] = content_type
|
30282
|
+
end
|
30283
|
+
|
30284
|
+
# form parameters
|
30285
|
+
form_params = opts[:form_params] || {}
|
30286
|
+
|
30287
|
+
# http body (model)
|
30288
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_update_gemini)
|
30289
|
+
|
30290
|
+
# return_type
|
30291
|
+
return_type = opts[:debug_return_type] || 'TargetUpdateOutput'
|
30292
|
+
|
30293
|
+
# auth_names
|
30294
|
+
auth_names = opts[:debug_auth_names] || []
|
30295
|
+
|
30296
|
+
new_options = opts.merge(
|
30297
|
+
:operation => :"V2Api.target_update_gemini",
|
30298
|
+
:header_params => header_params,
|
30299
|
+
:query_params => query_params,
|
30300
|
+
:form_params => form_params,
|
30301
|
+
:body => post_body,
|
30302
|
+
:auth_names => auth_names,
|
30303
|
+
:return_type => return_type
|
30304
|
+
)
|
30305
|
+
|
30306
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
30307
|
+
if @api_client.config.debugging
|
30308
|
+
@api_client.config.logger.debug "API called: V2Api#target_update_gemini\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
30309
|
+
end
|
30310
|
+
return data, status_code, headers
|
30311
|
+
end
|
30312
|
+
|
30121
30313
|
# @param target_update_github [TargetUpdateGithub]
|
30122
30314
|
# @param [Hash] opts the optional parameters
|
30123
30315
|
# @return [TargetUpdateOutput]
|
@@ -30758,6 +30950,70 @@ module Akeyless
|
|
30758
30950
|
return data, status_code, headers
|
30759
30951
|
end
|
30760
30952
|
|
30953
|
+
# @param target_update_open_ai [TargetUpdateOpenAI]
|
30954
|
+
# @param [Hash] opts the optional parameters
|
30955
|
+
# @return [TargetUpdateOutput]
|
30956
|
+
def target_update_open_ai(target_update_open_ai, opts = {})
|
30957
|
+
data, _status_code, _headers = target_update_open_ai_with_http_info(target_update_open_ai, opts)
|
30958
|
+
data
|
30959
|
+
end
|
30960
|
+
|
30961
|
+
# @param target_update_open_ai [TargetUpdateOpenAI]
|
30962
|
+
# @param [Hash] opts the optional parameters
|
30963
|
+
# @return [Array<(TargetUpdateOutput, Integer, Hash)>] TargetUpdateOutput data, response status code and response headers
|
30964
|
+
def target_update_open_ai_with_http_info(target_update_open_ai, opts = {})
|
30965
|
+
if @api_client.config.debugging
|
30966
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_update_open_ai ...'
|
30967
|
+
end
|
30968
|
+
# verify the required parameter 'target_update_open_ai' is set
|
30969
|
+
if @api_client.config.client_side_validation && target_update_open_ai.nil?
|
30970
|
+
fail ArgumentError, "Missing the required parameter 'target_update_open_ai' when calling V2Api.target_update_open_ai"
|
30971
|
+
end
|
30972
|
+
# resource path
|
30973
|
+
local_var_path = '/target-update-openai'
|
30974
|
+
|
30975
|
+
# query parameters
|
30976
|
+
query_params = opts[:query_params] || {}
|
30977
|
+
|
30978
|
+
# header parameters
|
30979
|
+
header_params = opts[:header_params] || {}
|
30980
|
+
# HTTP header 'Accept' (if needed)
|
30981
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
30982
|
+
# HTTP header 'Content-Type'
|
30983
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
30984
|
+
if !content_type.nil?
|
30985
|
+
header_params['Content-Type'] = content_type
|
30986
|
+
end
|
30987
|
+
|
30988
|
+
# form parameters
|
30989
|
+
form_params = opts[:form_params] || {}
|
30990
|
+
|
30991
|
+
# http body (model)
|
30992
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_update_open_ai)
|
30993
|
+
|
30994
|
+
# return_type
|
30995
|
+
return_type = opts[:debug_return_type] || 'TargetUpdateOutput'
|
30996
|
+
|
30997
|
+
# auth_names
|
30998
|
+
auth_names = opts[:debug_auth_names] || []
|
30999
|
+
|
31000
|
+
new_options = opts.merge(
|
31001
|
+
:operation => :"V2Api.target_update_open_ai",
|
31002
|
+
:header_params => header_params,
|
31003
|
+
:query_params => query_params,
|
31004
|
+
:form_params => form_params,
|
31005
|
+
:body => post_body,
|
31006
|
+
:auth_names => auth_names,
|
31007
|
+
:return_type => return_type
|
31008
|
+
)
|
31009
|
+
|
31010
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
31011
|
+
if @api_client.config.debugging
|
31012
|
+
@api_client.config.logger.debug "API called: V2Api#target_update_open_ai\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
31013
|
+
end
|
31014
|
+
return data, status_code, headers
|
31015
|
+
end
|
31016
|
+
|
30761
31017
|
# @param target_update_ping [TargetUpdatePing]
|
30762
31018
|
# @param [Hash] opts the optional parameters
|
30763
31019
|
# @return [TargetUpdateOutput]
|
@@ -15,6 +15,8 @@ require 'time'
|
|
15
15
|
|
16
16
|
module Akeyless
|
17
17
|
class AzureLogAnalyticsForwardingConfig
|
18
|
+
attr_accessor :azure_enable_batch
|
19
|
+
|
18
20
|
attr_accessor :azure_workspace_id
|
19
21
|
|
20
22
|
attr_accessor :azure_workspace_key
|
@@ -22,6 +24,7 @@ module Akeyless
|
|
22
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
23
25
|
def self.attribute_map
|
24
26
|
{
|
27
|
+
:'azure_enable_batch' => :'azure_enable_batch',
|
25
28
|
:'azure_workspace_id' => :'azure_workspace_id',
|
26
29
|
:'azure_workspace_key' => :'azure_workspace_key'
|
27
30
|
}
|
@@ -35,6 +38,7 @@ module Akeyless
|
|
35
38
|
# Attribute type mapping.
|
36
39
|
def self.openapi_types
|
37
40
|
{
|
41
|
+
:'azure_enable_batch' => :'String',
|
38
42
|
:'azure_workspace_id' => :'String',
|
39
43
|
:'azure_workspace_key' => :'String'
|
40
44
|
}
|
@@ -61,6 +65,10 @@ module Akeyless
|
|
61
65
|
h[k.to_sym] = v
|
62
66
|
}
|
63
67
|
|
68
|
+
if attributes.key?(:'azure_enable_batch')
|
69
|
+
self.azure_enable_batch = attributes[:'azure_enable_batch']
|
70
|
+
end
|
71
|
+
|
64
72
|
if attributes.key?(:'azure_workspace_id')
|
65
73
|
self.azure_workspace_id = attributes[:'azure_workspace_id']
|
66
74
|
end
|
@@ -90,6 +98,7 @@ module Akeyless
|
|
90
98
|
def ==(o)
|
91
99
|
return true if self.equal?(o)
|
92
100
|
self.class == o.class &&
|
101
|
+
azure_enable_batch == o.azure_enable_batch &&
|
93
102
|
azure_workspace_id == o.azure_workspace_id &&
|
94
103
|
azure_workspace_key == o.azure_workspace_key
|
95
104
|
end
|
@@ -103,7 +112,7 @@ module Akeyless
|
|
103
112
|
# Calculates hash code according to all attributes.
|
104
113
|
# @return [Integer] Hash code
|
105
114
|
def hash
|
106
|
-
[azure_workspace_id, azure_workspace_key].hash
|
115
|
+
[azure_enable_batch, azure_workspace_id, azure_workspace_key].hash
|
107
116
|
end
|
108
117
|
|
109
118
|
# Builds the object from hash
|
@@ -23,6 +23,8 @@ module Akeyless
|
|
23
23
|
|
24
24
|
attr_accessor :digest_algo
|
25
25
|
|
26
|
+
attr_accessor :hash_algorithm
|
27
|
+
|
26
28
|
attr_accessor :locality
|
27
29
|
|
28
30
|
attr_accessor :organization
|
@@ -40,6 +42,7 @@ module Akeyless
|
|
40
42
|
:'country' => :'country',
|
41
43
|
:'csr_cnf_base_64' => :'csr_cnf_base_64',
|
42
44
|
:'digest_algo' => :'digest_algo',
|
45
|
+
:'hash_algorithm' => :'hash_algorithm',
|
43
46
|
:'locality' => :'locality',
|
44
47
|
:'organization' => :'organization',
|
45
48
|
:'province' => :'province',
|
@@ -60,6 +63,7 @@ module Akeyless
|
|
60
63
|
:'country' => :'String',
|
61
64
|
:'csr_cnf_base_64' => :'String',
|
62
65
|
:'digest_algo' => :'String',
|
66
|
+
:'hash_algorithm' => :'String',
|
63
67
|
:'locality' => :'String',
|
64
68
|
:'organization' => :'String',
|
65
69
|
:'province' => :'String',
|
@@ -105,6 +109,10 @@ module Akeyless
|
|
105
109
|
self.digest_algo = attributes[:'digest_algo']
|
106
110
|
end
|
107
111
|
|
112
|
+
if attributes.key?(:'hash_algorithm')
|
113
|
+
self.hash_algorithm = attributes[:'hash_algorithm']
|
114
|
+
end
|
115
|
+
|
108
116
|
if attributes.key?(:'locality')
|
109
117
|
self.locality = attributes[:'locality']
|
110
118
|
end
|
@@ -150,6 +158,7 @@ module Akeyless
|
|
150
158
|
country == o.country &&
|
151
159
|
csr_cnf_base_64 == o.csr_cnf_base_64 &&
|
152
160
|
digest_algo == o.digest_algo &&
|
161
|
+
hash_algorithm == o.hash_algorithm &&
|
153
162
|
locality == o.locality &&
|
154
163
|
organization == o.organization &&
|
155
164
|
province == o.province &&
|
@@ -166,7 +175,7 @@ module Akeyless
|
|
166
175
|
# Calculates hash code according to all attributes.
|
167
176
|
# @return [Integer] Hash code
|
168
177
|
def hash
|
169
|
-
[common_name, country, csr_cnf_base_64, digest_algo, locality, organization, province, self_signed_enabled, ttl].hash
|
178
|
+
[common_name, country, csr_cnf_base_64, digest_algo, hash_algorithm, locality, organization, province, self_signed_enabled, ttl].hash
|
170
179
|
end
|
171
180
|
|
172
181
|
# Builds the object from hash
|
@@ -31,7 +31,7 @@ module Akeyless
|
|
31
31
|
# Country name for the generated certificate. Relevant only for generate-self-signed-certificate.
|
32
32
|
attr_accessor :certificate_country
|
33
33
|
|
34
|
-
# Digest algorithm to be used for the certificate key signing.
|
34
|
+
# Digest algorithm to be used for the certificate key signing.
|
35
35
|
attr_accessor :certificate_digest_algo
|
36
36
|
|
37
37
|
attr_accessor :certificate_format
|
@@ -66,6 +66,9 @@ module Akeyless
|
|
66
66
|
# gpg alg: Relevant only if GPG key type selected; options: [RSA1024, RSA2048, RSA3072, RSA4096, Ed25519]
|
67
67
|
attr_accessor :gpg_alg
|
68
68
|
|
69
|
+
# Specifies the hash algorithm used for the encryption key's operations, available options: [SHA256, SHA384, SHA512]
|
70
|
+
attr_accessor :hash_algorithm
|
71
|
+
|
69
72
|
# Set output format to JSON
|
70
73
|
attr_accessor :json
|
71
74
|
|
@@ -116,6 +119,7 @@ module Akeyless
|
|
116
119
|
:'expiration_event_in' => :'expiration-event-in',
|
117
120
|
:'generate_self_signed_certificate' => :'generate-self-signed-certificate',
|
118
121
|
:'gpg_alg' => :'gpg-alg',
|
122
|
+
:'hash_algorithm' => :'hash-algorithm',
|
119
123
|
:'json' => :'json',
|
120
124
|
:'key_data' => :'key-data',
|
121
125
|
:'metadata' => :'metadata',
|
@@ -154,6 +158,7 @@ module Akeyless
|
|
154
158
|
:'expiration_event_in' => :'Array<String>',
|
155
159
|
:'generate_self_signed_certificate' => :'Boolean',
|
156
160
|
:'gpg_alg' => :'String',
|
161
|
+
:'hash_algorithm' => :'String',
|
157
162
|
:'json' => :'Boolean',
|
158
163
|
:'key_data' => :'String',
|
159
164
|
:'metadata' => :'String',
|
@@ -260,6 +265,12 @@ module Akeyless
|
|
260
265
|
self.gpg_alg = attributes[:'gpg_alg']
|
261
266
|
end
|
262
267
|
|
268
|
+
if attributes.key?(:'hash_algorithm')
|
269
|
+
self.hash_algorithm = attributes[:'hash_algorithm']
|
270
|
+
else
|
271
|
+
self.hash_algorithm = 'SHA256'
|
272
|
+
end
|
273
|
+
|
263
274
|
if attributes.key?(:'json')
|
264
275
|
self.json = attributes[:'json']
|
265
276
|
else
|
@@ -356,6 +367,7 @@ module Akeyless
|
|
356
367
|
expiration_event_in == o.expiration_event_in &&
|
357
368
|
generate_self_signed_certificate == o.generate_self_signed_certificate &&
|
358
369
|
gpg_alg == o.gpg_alg &&
|
370
|
+
hash_algorithm == o.hash_algorithm &&
|
359
371
|
json == o.json &&
|
360
372
|
key_data == o.key_data &&
|
361
373
|
metadata == o.metadata &&
|
@@ -377,7 +389,7 @@ module Akeyless
|
|
377
389
|
# Calculates hash code according to all attributes.
|
378
390
|
# @return [Integer] Hash code
|
379
391
|
def hash
|
380
|
-
[alg, auto_rotate, cert_file_data, certificate_common_name, certificate_country, certificate_digest_algo, certificate_format, certificate_locality, certificate_organization, certificate_province, certificate_ttl, conf_file_data, delete_protection, description, expiration_event_in, generate_self_signed_certificate, gpg_alg, json, key_data, metadata, name, protection_key_name, rotation_event_in, rotation_interval, tags, token, uid_token].hash
|
392
|
+
[alg, auto_rotate, cert_file_data, certificate_common_name, certificate_country, certificate_digest_algo, certificate_format, certificate_locality, certificate_organization, certificate_province, certificate_ttl, conf_file_data, delete_protection, description, expiration_event_in, generate_self_signed_certificate, gpg_alg, hash_algorithm, json, key_data, metadata, name, protection_key_name, rotation_event_in, rotation_interval, tags, token, uid_token].hash
|
381
393
|
end
|
382
394
|
|
383
395
|
# Builds the object from hash
|
@@ -27,7 +27,7 @@ module Akeyless
|
|
27
27
|
# Country name for the generated certificate. Relevant only for generate-self-signed-certificate.
|
28
28
|
attr_accessor :certificate_country
|
29
29
|
|
30
|
-
# Digest algorithm to be used for the certificate key signing.
|
30
|
+
# Digest algorithm to be used for the certificate key signing.
|
31
31
|
attr_accessor :certificate_digest_algo
|
32
32
|
|
33
33
|
attr_accessor :certificate_format
|
@@ -62,6 +62,9 @@ module Akeyless
|
|
62
62
|
# Whether to generate a self signed certificate with the key. If set, --certificate-ttl must be provided.
|
63
63
|
attr_accessor :generate_self_signed_certificate
|
64
64
|
|
65
|
+
# Specifies the hash algorithm used for the encryption key's operations, available options: [SHA256, SHA384, SHA512]
|
66
|
+
attr_accessor :hash_algorithm
|
67
|
+
|
65
68
|
# Set output format to JSON
|
66
69
|
attr_accessor :json
|
67
70
|
|
@@ -108,6 +111,7 @@ module Akeyless
|
|
108
111
|
:'description' => :'description',
|
109
112
|
:'expiration_event_in' => :'expiration-event-in',
|
110
113
|
:'generate_self_signed_certificate' => :'generate-self-signed-certificate',
|
114
|
+
:'hash_algorithm' => :'hash-algorithm',
|
111
115
|
:'json' => :'json',
|
112
116
|
:'metadata' => :'metadata',
|
113
117
|
:'name' => :'name',
|
@@ -144,6 +148,7 @@ module Akeyless
|
|
144
148
|
:'description' => :'String',
|
145
149
|
:'expiration_event_in' => :'Array<String>',
|
146
150
|
:'generate_self_signed_certificate' => :'Boolean',
|
151
|
+
:'hash_algorithm' => :'String',
|
147
152
|
:'json' => :'Boolean',
|
148
153
|
:'metadata' => :'String',
|
149
154
|
:'name' => :'String',
|
@@ -245,6 +250,12 @@ module Akeyless
|
|
245
250
|
self.generate_self_signed_certificate = attributes[:'generate_self_signed_certificate']
|
246
251
|
end
|
247
252
|
|
253
|
+
if attributes.key?(:'hash_algorithm')
|
254
|
+
self.hash_algorithm = attributes[:'hash_algorithm']
|
255
|
+
else
|
256
|
+
self.hash_algorithm = 'SHA256'
|
257
|
+
end
|
258
|
+
|
248
259
|
if attributes.key?(:'json')
|
249
260
|
self.json = attributes[:'json']
|
250
261
|
else
|
@@ -338,6 +349,7 @@ module Akeyless
|
|
338
349
|
description == o.description &&
|
339
350
|
expiration_event_in == o.expiration_event_in &&
|
340
351
|
generate_self_signed_certificate == o.generate_self_signed_certificate &&
|
352
|
+
hash_algorithm == o.hash_algorithm &&
|
341
353
|
json == o.json &&
|
342
354
|
metadata == o.metadata &&
|
343
355
|
name == o.name &&
|
@@ -358,7 +370,7 @@ module Akeyless
|
|
358
370
|
# Calculates hash code according to all attributes.
|
359
371
|
# @return [Integer] Hash code
|
360
372
|
def hash
|
361
|
-
[alg, auto_rotate, certificate_common_name, certificate_country, certificate_digest_algo, certificate_format, certificate_locality, certificate_organization, certificate_province, certificate_ttl, conf_file_data, customer_frg_id, delete_protection, description, expiration_event_in, generate_self_signed_certificate, json, metadata, name, rotation_event_in, rotation_interval, split_level, tag, token, uid_token].hash
|
373
|
+
[alg, auto_rotate, certificate_common_name, certificate_country, certificate_digest_algo, certificate_format, certificate_locality, certificate_organization, certificate_province, certificate_ttl, conf_file_data, customer_frg_id, delete_protection, description, expiration_event_in, generate_self_signed_certificate, hash_algorithm, json, metadata, name, rotation_event_in, rotation_interval, split_level, tag, token, uid_token].hash
|
362
374
|
end
|
363
375
|
|
364
376
|
# Builds the object from hash
|
@@ -19,6 +19,9 @@ module Akeyless
|
|
19
19
|
# Key of the api credentials to the Godaddy account
|
20
20
|
attr_accessor :api_key
|
21
21
|
|
22
|
+
# Customer ID (ShopperId) required for renewal of imported certificates
|
23
|
+
attr_accessor :customer_id
|
24
|
+
|
22
25
|
# Description of the object
|
23
26
|
attr_accessor :description
|
24
27
|
|
@@ -62,6 +65,7 @@ module Akeyless
|
|
62
65
|
def self.attribute_map
|
63
66
|
{
|
64
67
|
:'api_key' => :'api-key',
|
68
|
+
:'customer_id' => :'customer_id',
|
65
69
|
:'description' => :'description',
|
66
70
|
:'imap_fqdn' => :'imap-fqdn',
|
67
71
|
:'imap_password' => :'imap-password',
|
@@ -87,6 +91,7 @@ module Akeyless
|
|
87
91
|
def self.openapi_types
|
88
92
|
{
|
89
93
|
:'api_key' => :'String',
|
94
|
+
:'customer_id' => :'String',
|
90
95
|
:'description' => :'String',
|
91
96
|
:'imap_fqdn' => :'String',
|
92
97
|
:'imap_password' => :'String',
|
@@ -130,6 +135,10 @@ module Akeyless
|
|
130
135
|
self.api_key = nil
|
131
136
|
end
|
132
137
|
|
138
|
+
if attributes.key?(:'customer_id')
|
139
|
+
self.customer_id = attributes[:'customer_id']
|
140
|
+
end
|
141
|
+
|
133
142
|
if attributes.key?(:'description')
|
134
143
|
self.description = attributes[:'description']
|
135
144
|
end
|
@@ -250,6 +259,7 @@ module Akeyless
|
|
250
259
|
return true if self.equal?(o)
|
251
260
|
self.class == o.class &&
|
252
261
|
api_key == o.api_key &&
|
262
|
+
customer_id == o.customer_id &&
|
253
263
|
description == o.description &&
|
254
264
|
imap_fqdn == o.imap_fqdn &&
|
255
265
|
imap_password == o.imap_password &&
|
@@ -274,7 +284,7 @@ module Akeyless
|
|
274
284
|
# Calculates hash code according to all attributes.
|
275
285
|
# @return [Integer] Hash code
|
276
286
|
def hash
|
277
|
-
[api_key, description, imap_fqdn, imap_password, imap_port, imap_username, json, key, max_versions, name, secret, timeout, token, uid_token].hash
|
287
|
+
[api_key, customer_id, description, imap_fqdn, imap_password, imap_port, imap_username, json, key, max_versions, name, secret, timeout, token, uid_token].hash
|
278
288
|
end
|
279
289
|
|
280
290
|
# Builds the object from hash
|
@@ -25,7 +25,7 @@ module Akeyless
|
|
25
25
|
# Country name for the generated certificate. Relevant only for generate-self-signed-certificate.
|
26
26
|
attr_accessor :certificate_country
|
27
27
|
|
28
|
-
# Digest algorithm to be used for the certificate key signing.
|
28
|
+
# Digest algorithm to be used for the certificate key signing.
|
29
29
|
attr_accessor :certificate_digest_algo
|
30
30
|
|
31
31
|
# Locality for the generated certificate. Relevant only for generate-self-signed-certificate.
|
@@ -55,6 +55,9 @@ module Akeyless
|
|
55
55
|
# Whether to generate a self signed certificate with the key. If set, --certificate-ttl must be provided.
|
56
56
|
attr_accessor :generate_self_signed_certificate
|
57
57
|
|
58
|
+
# Specifies the hash algorithm used for the encryption key's operations, available options: [SHA256, SHA384, SHA512]
|
59
|
+
attr_accessor :hash_algorithm
|
60
|
+
|
58
61
|
# Set output format to JSON
|
59
62
|
attr_accessor :json
|
60
63
|
|
@@ -92,6 +95,7 @@ module Akeyless
|
|
92
95
|
:'delete_protection' => :'delete_protection',
|
93
96
|
:'description' => :'description',
|
94
97
|
:'generate_self_signed_certificate' => :'generate-self-signed-certificate',
|
98
|
+
:'hash_algorithm' => :'hash-algorithm',
|
95
99
|
:'json' => :'json',
|
96
100
|
:'metadata' => :'metadata',
|
97
101
|
:'name' => :'name',
|
@@ -123,6 +127,7 @@ module Akeyless
|
|
123
127
|
:'delete_protection' => :'String',
|
124
128
|
:'description' => :'String',
|
125
129
|
:'generate_self_signed_certificate' => :'Boolean',
|
130
|
+
:'hash_algorithm' => :'String',
|
126
131
|
:'json' => :'Boolean',
|
127
132
|
:'metadata' => :'String',
|
128
133
|
:'name' => :'String',
|
@@ -208,6 +213,12 @@ module Akeyless
|
|
208
213
|
self.generate_self_signed_certificate = attributes[:'generate_self_signed_certificate']
|
209
214
|
end
|
210
215
|
|
216
|
+
if attributes.key?(:'hash_algorithm')
|
217
|
+
self.hash_algorithm = attributes[:'hash_algorithm']
|
218
|
+
else
|
219
|
+
self.hash_algorithm = 'SHA256'
|
220
|
+
end
|
221
|
+
|
211
222
|
if attributes.key?(:'json')
|
212
223
|
self.json = attributes[:'json']
|
213
224
|
else
|
@@ -288,6 +299,7 @@ module Akeyless
|
|
288
299
|
delete_protection == o.delete_protection &&
|
289
300
|
description == o.description &&
|
290
301
|
generate_self_signed_certificate == o.generate_self_signed_certificate &&
|
302
|
+
hash_algorithm == o.hash_algorithm &&
|
291
303
|
json == o.json &&
|
292
304
|
metadata == o.metadata &&
|
293
305
|
name == o.name &&
|
@@ -306,7 +318,7 @@ module Akeyless
|
|
306
318
|
# Calculates hash code according to all attributes.
|
307
319
|
# @return [Integer] Hash code
|
308
320
|
def hash
|
309
|
-
[alg, certificate_common_name, certificate_country, certificate_digest_algo, certificate_locality, certificate_organization, certificate_province, certificate_ttl, conf_file_data, customer_frg_id, delete_protection, description, generate_self_signed_certificate, json, metadata, name, split_level, tag, token, uid_token].hash
|
321
|
+
[alg, certificate_common_name, certificate_country, certificate_digest_algo, certificate_locality, certificate_organization, certificate_province, certificate_ttl, conf_file_data, customer_frg_id, delete_protection, description, generate_self_signed_certificate, hash_algorithm, json, metadata, name, split_level, tag, token, uid_token].hash
|
310
322
|
end
|
311
323
|
|
312
324
|
# Builds the object from hash
|