akeyless 5.0.1 → 5.0.2
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 +6 -2
- data/docs/BastionConfigReplyObj.md +2 -2
- data/docs/Connect.md +1 -1
- data/docs/CreateUSC.md +5 -1
- data/docs/DesktopAppConf.md +24 -0
- data/docs/DynamicSecretCreateLdap.md +4 -0
- data/docs/DynamicSecretCreateRdp.md +4 -0
- data/docs/DynamicSecretUpdateLdap.md +4 -0
- data/docs/DynamicSecretUpdateRdp.md +4 -0
- data/docs/GatewayCreateProducerLdap.md +4 -0
- data/docs/GatewayCreateProducerRdp.md +4 -0
- data/docs/GatewayDetailsForItemReplyObj.md +24 -0
- data/docs/GatewayUpdateProducerLdap.md +4 -0
- data/docs/GatewayUpdateProducerRdp.md +4 -0
- data/docs/GatewayUpdateRemoteAccessDesktopApp.md +28 -0
- data/docs/Item.md +1 -1
- data/docs/RotatedSecretCreateLdap.md +4 -0
- data/docs/RotatedSecretCreateSsh.md +2 -0
- data/docs/RotatedSecretCreateWindows.md +4 -0
- data/docs/RotatedSecretUpdateLdap.md +4 -0
- data/docs/RotatedSecretUpdateSsh.md +2 -0
- data/docs/RotatedSecretUpdateWindows.md +4 -0
- data/docs/SecretInfo.md +2 -0
- data/docs/SecureRemoteAccess.md +2 -0
- data/docs/SraDesktopAppConf.md +22 -0
- data/docs/UscCreate.md +2 -0
- data/docs/UscList.md +2 -0
- data/docs/V2Api.md +63 -0
- data/lib/akeyless/api/v2_api.rb +64 -0
- data/lib/akeyless/models/bastion_config_reply_obj.rb +10 -10
- data/lib/akeyless/models/connect.rb +1 -1
- data/lib/akeyless/models/create_usc.rb +26 -4
- data/lib/akeyless/models/desktop_app_conf.rb +241 -0
- data/lib/akeyless/models/dynamic_secret_create_ldap.rb +21 -1
- data/lib/akeyless/models/dynamic_secret_create_rdp.rb +21 -1
- data/lib/akeyless/models/dynamic_secret_update_ldap.rb +21 -1
- data/lib/akeyless/models/dynamic_secret_update_rdp.rb +21 -1
- data/lib/akeyless/models/gateway_create_producer_ldap.rb +21 -1
- data/lib/akeyless/models/gateway_create_producer_rdp.rb +21 -1
- data/lib/akeyless/models/gateway_details_for_item_reply_obj.rb +241 -0
- data/lib/akeyless/models/gateway_update_producer_ldap.rb +21 -1
- data/lib/akeyless/models/gateway_update_producer_rdp.rb +21 -1
- data/lib/akeyless/models/gateway_update_remote_access_desktop_app.rb +265 -0
- data/lib/akeyless/models/item.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_ldap.rb +21 -1
- data/lib/akeyless/models/rotated_secret_create_ssh.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_windows.rb +21 -1
- data/lib/akeyless/models/rotated_secret_update_ldap.rb +21 -1
- data/lib/akeyless/models/rotated_secret_update_ssh.rb +13 -1
- data/lib/akeyless/models/rotated_secret_update_windows.rb +21 -1
- data/lib/akeyless/models/secret_info.rb +10 -1
- data/lib/akeyless/models/secure_remote_access.rb +10 -1
- data/lib/akeyless/models/sra_desktop_app_conf.rb +232 -0
- data/lib/akeyless/models/usc_create.rb +10 -1
- data/lib/akeyless/models/usc_list.rb +10 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +4 -1
- data/spec/models/desktop_app_conf_spec.rb +54 -0
- data/spec/models/gateway_details_for_item_reply_obj_spec.rb +54 -0
- data/spec/models/gateway_update_remote_access_desktop_app_spec.rb +66 -0
- data/spec/models/sra_desktop_app_conf_spec.rb +48 -0
- metadata +1070 -1054
@@ -33,6 +33,8 @@ module Akeyless
|
|
33
33
|
|
34
34
|
attr_accessor :tags
|
35
35
|
|
36
|
+
attr_accessor :thumbprint
|
37
|
+
|
36
38
|
attr_accessor :type
|
37
39
|
|
38
40
|
attr_accessor :version
|
@@ -49,6 +51,7 @@ module Akeyless
|
|
49
51
|
:'secret_id' => :'secret_id',
|
50
52
|
:'status' => :'status',
|
51
53
|
:'tags' => :'tags',
|
54
|
+
:'thumbprint' => :'thumbprint',
|
52
55
|
:'type' => :'type',
|
53
56
|
:'version' => :'version'
|
54
57
|
}
|
@@ -71,6 +74,7 @@ module Akeyless
|
|
71
74
|
:'secret_id' => :'String',
|
72
75
|
:'status' => :'Boolean',
|
73
76
|
:'tags' => :'Hash<String, String>',
|
77
|
+
:'thumbprint' => :'String',
|
74
78
|
:'type' => :'String',
|
75
79
|
:'version' => :'Integer'
|
76
80
|
}
|
@@ -136,6 +140,10 @@ module Akeyless
|
|
136
140
|
end
|
137
141
|
end
|
138
142
|
|
143
|
+
if attributes.key?(:'thumbprint')
|
144
|
+
self.thumbprint = attributes[:'thumbprint']
|
145
|
+
end
|
146
|
+
|
139
147
|
if attributes.key?(:'type')
|
140
148
|
self.type = attributes[:'type']
|
141
149
|
end
|
@@ -174,6 +182,7 @@ module Akeyless
|
|
174
182
|
secret_id == o.secret_id &&
|
175
183
|
status == o.status &&
|
176
184
|
tags == o.tags &&
|
185
|
+
thumbprint == o.thumbprint &&
|
177
186
|
type == o.type &&
|
178
187
|
version == o.version
|
179
188
|
end
|
@@ -187,7 +196,7 @@ module Akeyless
|
|
187
196
|
# Calculates hash code according to all attributes.
|
188
197
|
# @return [Integer] Hash code
|
189
198
|
def hash
|
190
|
-
[created, description, expiration, last_retrieved, location, name, secret_id, status, tags, type, version].hash
|
199
|
+
[created, description, expiration, last_retrieved, location, name, secret_id, status, tags, thumbprint, type, version].hash
|
191
200
|
end
|
192
201
|
|
193
202
|
# Builds the object from hash
|
@@ -57,6 +57,8 @@ module Akeyless
|
|
57
57
|
|
58
58
|
attr_accessor :is_cli
|
59
59
|
|
60
|
+
attr_accessor :is_desktop_app
|
61
|
+
|
60
62
|
attr_accessor :is_web
|
61
63
|
|
62
64
|
attr_accessor :isolated
|
@@ -115,6 +117,7 @@ module Akeyless
|
|
115
117
|
:'host' => :'host',
|
116
118
|
:'host_provider_type' => :'host_provider_type',
|
117
119
|
:'is_cli' => :'is_cli',
|
120
|
+
:'is_desktop_app' => :'is_desktop_app',
|
118
121
|
:'is_web' => :'is_web',
|
119
122
|
:'isolated' => :'isolated',
|
120
123
|
:'native' => :'native',
|
@@ -164,6 +167,7 @@ module Akeyless
|
|
164
167
|
:'host' => :'Array<String>',
|
165
168
|
:'host_provider_type' => :'String',
|
166
169
|
:'is_cli' => :'Boolean',
|
170
|
+
:'is_desktop_app' => :'Boolean',
|
167
171
|
:'is_web' => :'Boolean',
|
168
172
|
:'isolated' => :'Boolean',
|
169
173
|
:'native' => :'Boolean',
|
@@ -291,6 +295,10 @@ module Akeyless
|
|
291
295
|
self.is_cli = attributes[:'is_cli']
|
292
296
|
end
|
293
297
|
|
298
|
+
if attributes.key?(:'is_desktop_app')
|
299
|
+
self.is_desktop_app = attributes[:'is_desktop_app']
|
300
|
+
end
|
301
|
+
|
294
302
|
if attributes.key?(:'is_web')
|
295
303
|
self.is_web = attributes[:'is_web']
|
296
304
|
end
|
@@ -405,6 +413,7 @@ module Akeyless
|
|
405
413
|
host == o.host &&
|
406
414
|
host_provider_type == o.host_provider_type &&
|
407
415
|
is_cli == o.is_cli &&
|
416
|
+
is_desktop_app == o.is_desktop_app &&
|
408
417
|
is_web == o.is_web &&
|
409
418
|
isolated == o.isolated &&
|
410
419
|
native == o.native &&
|
@@ -433,7 +442,7 @@ module Akeyless
|
|
433
442
|
# Calculates hash code according to all attributes.
|
434
443
|
# @return [Integer] Hash code
|
435
444
|
def hash
|
436
|
-
[account_id, allow_port_forwarding, allow_providing_external_username, bastion_api, bastion_issuer, bastion_issuer_id, bastion_ssh, block_concurrent_connections, block_concurrent_connections_level, category, connection_delay_seconds, dashboard_url, db_name, domain, enable, endpoint, enforce_hosts_restriction, gw_cluster_id, host, host_provider_type, is_cli, is_web, isolated, native, rd_gateway_server, rdp_user, region, rotate_after_disconnect, schema, ssh_password, ssh_private_key, ssh_user, status_info, target_hosts, targets, url, use_internal_bastion, web_proxy].hash
|
445
|
+
[account_id, allow_port_forwarding, allow_providing_external_username, bastion_api, bastion_issuer, bastion_issuer_id, bastion_ssh, block_concurrent_connections, block_concurrent_connections_level, category, connection_delay_seconds, dashboard_url, db_name, domain, enable, endpoint, enforce_hosts_restriction, gw_cluster_id, host, host_provider_type, is_cli, is_desktop_app, is_web, isolated, native, rd_gateway_server, rdp_user, region, rotate_after_disconnect, schema, ssh_password, ssh_private_key, ssh_user, status_info, target_hosts, targets, url, use_internal_bastion, web_proxy].hash
|
437
446
|
end
|
438
447
|
|
439
448
|
# Builds the object from hash
|
@@ -0,0 +1,232 @@
|
|
1
|
+
=begin
|
2
|
+
#Akeyless API
|
3
|
+
|
4
|
+
#The purpose of this application is to provide access to Akeyless API.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 2.0
|
7
|
+
Contact: support@akeyless.io
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.10.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module Akeyless
|
17
|
+
class SraDesktopAppConf
|
18
|
+
attr_accessor :default_cert_issuer_id
|
19
|
+
|
20
|
+
attr_accessor :secure_web_access_url
|
21
|
+
|
22
|
+
attr_accessor :secure_web_proxy_url
|
23
|
+
|
24
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
25
|
+
def self.attribute_map
|
26
|
+
{
|
27
|
+
:'default_cert_issuer_id' => :'default_cert_issuer_id',
|
28
|
+
:'secure_web_access_url' => :'secure_web_access_url',
|
29
|
+
:'secure_web_proxy_url' => :'secure_web_proxy_url'
|
30
|
+
}
|
31
|
+
end
|
32
|
+
|
33
|
+
# Returns all the JSON keys this model knows about
|
34
|
+
def self.acceptable_attributes
|
35
|
+
attribute_map.values
|
36
|
+
end
|
37
|
+
|
38
|
+
# Attribute type mapping.
|
39
|
+
def self.openapi_types
|
40
|
+
{
|
41
|
+
:'default_cert_issuer_id' => :'Integer',
|
42
|
+
:'secure_web_access_url' => :'String',
|
43
|
+
:'secure_web_proxy_url' => :'String'
|
44
|
+
}
|
45
|
+
end
|
46
|
+
|
47
|
+
# List of attributes with nullable: true
|
48
|
+
def self.openapi_nullable
|
49
|
+
Set.new([
|
50
|
+
])
|
51
|
+
end
|
52
|
+
|
53
|
+
# Initializes the object
|
54
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
55
|
+
def initialize(attributes = {})
|
56
|
+
if (!attributes.is_a?(Hash))
|
57
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::SraDesktopAppConf` initialize method"
|
58
|
+
end
|
59
|
+
|
60
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
61
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
62
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::SraDesktopAppConf`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
64
|
+
end
|
65
|
+
h[k.to_sym] = v
|
66
|
+
}
|
67
|
+
|
68
|
+
if attributes.key?(:'default_cert_issuer_id')
|
69
|
+
self.default_cert_issuer_id = attributes[:'default_cert_issuer_id']
|
70
|
+
end
|
71
|
+
|
72
|
+
if attributes.key?(:'secure_web_access_url')
|
73
|
+
self.secure_web_access_url = attributes[:'secure_web_access_url']
|
74
|
+
end
|
75
|
+
|
76
|
+
if attributes.key?(:'secure_web_proxy_url')
|
77
|
+
self.secure_web_proxy_url = attributes[:'secure_web_proxy_url']
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
82
|
+
# @return Array for valid properties with the reasons
|
83
|
+
def list_invalid_properties
|
84
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
85
|
+
invalid_properties = Array.new
|
86
|
+
invalid_properties
|
87
|
+
end
|
88
|
+
|
89
|
+
# Check to see if the all the properties in the model are valid
|
90
|
+
# @return true if the model is valid
|
91
|
+
def valid?
|
92
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
93
|
+
true
|
94
|
+
end
|
95
|
+
|
96
|
+
# Checks equality by comparing each attribute.
|
97
|
+
# @param [Object] Object to be compared
|
98
|
+
def ==(o)
|
99
|
+
return true if self.equal?(o)
|
100
|
+
self.class == o.class &&
|
101
|
+
default_cert_issuer_id == o.default_cert_issuer_id &&
|
102
|
+
secure_web_access_url == o.secure_web_access_url &&
|
103
|
+
secure_web_proxy_url == o.secure_web_proxy_url
|
104
|
+
end
|
105
|
+
|
106
|
+
# @see the `==` method
|
107
|
+
# @param [Object] Object to be compared
|
108
|
+
def eql?(o)
|
109
|
+
self == o
|
110
|
+
end
|
111
|
+
|
112
|
+
# Calculates hash code according to all attributes.
|
113
|
+
# @return [Integer] Hash code
|
114
|
+
def hash
|
115
|
+
[default_cert_issuer_id, secure_web_access_url, secure_web_proxy_url].hash
|
116
|
+
end
|
117
|
+
|
118
|
+
# Builds the object from hash
|
119
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
120
|
+
# @return [Object] Returns the model itself
|
121
|
+
def self.build_from_hash(attributes)
|
122
|
+
return nil unless attributes.is_a?(Hash)
|
123
|
+
attributes = attributes.transform_keys(&:to_sym)
|
124
|
+
transformed_hash = {}
|
125
|
+
openapi_types.each_pair do |key, type|
|
126
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
127
|
+
transformed_hash["#{key}"] = nil
|
128
|
+
elsif type =~ /\AArray<(.*)>/i
|
129
|
+
# check to ensure the input is an array given that the attribute
|
130
|
+
# is documented as an array but the input is not
|
131
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
132
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
133
|
+
end
|
134
|
+
elsif !attributes[attribute_map[key]].nil?
|
135
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
136
|
+
end
|
137
|
+
end
|
138
|
+
new(transformed_hash)
|
139
|
+
end
|
140
|
+
|
141
|
+
# Deserializes the data based on type
|
142
|
+
# @param string type Data type
|
143
|
+
# @param string value Value to be deserialized
|
144
|
+
# @return [Object] Deserialized data
|
145
|
+
def self._deserialize(type, value)
|
146
|
+
case type.to_sym
|
147
|
+
when :Time
|
148
|
+
Time.parse(value)
|
149
|
+
when :Date
|
150
|
+
Date.parse(value)
|
151
|
+
when :String
|
152
|
+
value.to_s
|
153
|
+
when :Integer
|
154
|
+
value.to_i
|
155
|
+
when :Float
|
156
|
+
value.to_f
|
157
|
+
when :Boolean
|
158
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
159
|
+
true
|
160
|
+
else
|
161
|
+
false
|
162
|
+
end
|
163
|
+
when :Object
|
164
|
+
# generic object (usually a Hash), return directly
|
165
|
+
value
|
166
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
167
|
+
inner_type = Regexp.last_match[:inner_type]
|
168
|
+
value.map { |v| _deserialize(inner_type, v) }
|
169
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
170
|
+
k_type = Regexp.last_match[:k_type]
|
171
|
+
v_type = Regexp.last_match[:v_type]
|
172
|
+
{}.tap do |hash|
|
173
|
+
value.each do |k, v|
|
174
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
175
|
+
end
|
176
|
+
end
|
177
|
+
else # model
|
178
|
+
# models (e.g. Pet) or oneOf
|
179
|
+
klass = Akeyless.const_get(type)
|
180
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
181
|
+
end
|
182
|
+
end
|
183
|
+
|
184
|
+
# Returns the string representation of the object
|
185
|
+
# @return [String] String presentation of the object
|
186
|
+
def to_s
|
187
|
+
to_hash.to_s
|
188
|
+
end
|
189
|
+
|
190
|
+
# to_body is an alias to to_hash (backward compatibility)
|
191
|
+
# @return [Hash] Returns the object in the form of hash
|
192
|
+
def to_body
|
193
|
+
to_hash
|
194
|
+
end
|
195
|
+
|
196
|
+
# Returns the object in the form of hash
|
197
|
+
# @return [Hash] Returns the object in the form of hash
|
198
|
+
def to_hash
|
199
|
+
hash = {}
|
200
|
+
self.class.attribute_map.each_pair do |attr, param|
|
201
|
+
value = self.send(attr)
|
202
|
+
if value.nil?
|
203
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
204
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
205
|
+
end
|
206
|
+
|
207
|
+
hash[param] = _to_hash(value)
|
208
|
+
end
|
209
|
+
hash
|
210
|
+
end
|
211
|
+
|
212
|
+
# Outputs non-array value in the form of hash
|
213
|
+
# For object, use to_hash. Otherwise, just return the value
|
214
|
+
# @param [Object] value Any valid value
|
215
|
+
# @return [Hash] Returns the value in the form of hash
|
216
|
+
def _to_hash(value)
|
217
|
+
if value.is_a?(Array)
|
218
|
+
value.compact.map { |v| _to_hash(v) }
|
219
|
+
elsif value.is_a?(Hash)
|
220
|
+
{}.tap do |hash|
|
221
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
222
|
+
end
|
223
|
+
elsif value.respond_to? :to_hash
|
224
|
+
value.to_hash
|
225
|
+
else
|
226
|
+
value
|
227
|
+
end
|
228
|
+
end
|
229
|
+
|
230
|
+
end
|
231
|
+
|
232
|
+
end
|
@@ -28,6 +28,8 @@ module Akeyless
|
|
28
28
|
# The namespace (relevant for Hashi vault target)
|
29
29
|
attr_accessor :namespace
|
30
30
|
|
31
|
+
attr_accessor :object_type
|
32
|
+
|
31
33
|
# Name for the new universal secrets
|
32
34
|
attr_accessor :secret_name
|
33
35
|
|
@@ -53,6 +55,7 @@ module Akeyless
|
|
53
55
|
:'description' => :'description',
|
54
56
|
:'json' => :'json',
|
55
57
|
:'namespace' => :'namespace',
|
58
|
+
:'object_type' => :'object-type',
|
56
59
|
:'secret_name' => :'secret-name',
|
57
60
|
:'tags' => :'tags',
|
58
61
|
:'token' => :'token',
|
@@ -74,6 +77,7 @@ module Akeyless
|
|
74
77
|
:'description' => :'String',
|
75
78
|
:'json' => :'Boolean',
|
76
79
|
:'namespace' => :'String',
|
80
|
+
:'object_type' => :'String',
|
77
81
|
:'secret_name' => :'String',
|
78
82
|
:'tags' => :'Hash<String, String>',
|
79
83
|
:'token' => :'String',
|
@@ -122,6 +126,10 @@ module Akeyless
|
|
122
126
|
self.namespace = attributes[:'namespace']
|
123
127
|
end
|
124
128
|
|
129
|
+
if attributes.key?(:'object_type')
|
130
|
+
self.object_type = attributes[:'object_type']
|
131
|
+
end
|
132
|
+
|
125
133
|
if attributes.key?(:'secret_name')
|
126
134
|
self.secret_name = attributes[:'secret_name']
|
127
135
|
else
|
@@ -194,6 +202,7 @@ module Akeyless
|
|
194
202
|
description == o.description &&
|
195
203
|
json == o.json &&
|
196
204
|
namespace == o.namespace &&
|
205
|
+
object_type == o.object_type &&
|
197
206
|
secret_name == o.secret_name &&
|
198
207
|
tags == o.tags &&
|
199
208
|
token == o.token &&
|
@@ -211,7 +220,7 @@ module Akeyless
|
|
211
220
|
# Calculates hash code according to all attributes.
|
212
221
|
# @return [Integer] Hash code
|
213
222
|
def hash
|
214
|
-
[binary_value, description, json, namespace, secret_name, tags, token, uid_token, usc_name, value].hash
|
223
|
+
[binary_value, description, json, namespace, object_type, secret_name, tags, token, uid_token, usc_name, value].hash
|
215
224
|
end
|
216
225
|
|
217
226
|
# Builds the object from hash
|
@@ -19,6 +19,8 @@ module Akeyless
|
|
19
19
|
# Set output format to JSON
|
20
20
|
attr_accessor :json
|
21
21
|
|
22
|
+
attr_accessor :object_type
|
23
|
+
|
22
24
|
# Authentication token (see `/auth` and `/configure`)
|
23
25
|
attr_accessor :token
|
24
26
|
|
@@ -32,6 +34,7 @@ module Akeyless
|
|
32
34
|
def self.attribute_map
|
33
35
|
{
|
34
36
|
:'json' => :'json',
|
37
|
+
:'object_type' => :'object-type',
|
35
38
|
:'token' => :'token',
|
36
39
|
:'uid_token' => :'uid-token',
|
37
40
|
:'usc_name' => :'usc-name'
|
@@ -47,6 +50,7 @@ module Akeyless
|
|
47
50
|
def self.openapi_types
|
48
51
|
{
|
49
52
|
:'json' => :'Boolean',
|
53
|
+
:'object_type' => :'String',
|
50
54
|
:'token' => :'String',
|
51
55
|
:'uid_token' => :'String',
|
52
56
|
:'usc_name' => :'String'
|
@@ -80,6 +84,10 @@ module Akeyless
|
|
80
84
|
self.json = false
|
81
85
|
end
|
82
86
|
|
87
|
+
if attributes.key?(:'object_type')
|
88
|
+
self.object_type = attributes[:'object_type']
|
89
|
+
end
|
90
|
+
|
83
91
|
if attributes.key?(:'token')
|
84
92
|
self.token = attributes[:'token']
|
85
93
|
end
|
@@ -121,6 +129,7 @@ module Akeyless
|
|
121
129
|
return true if self.equal?(o)
|
122
130
|
self.class == o.class &&
|
123
131
|
json == o.json &&
|
132
|
+
object_type == o.object_type &&
|
124
133
|
token == o.token &&
|
125
134
|
uid_token == o.uid_token &&
|
126
135
|
usc_name == o.usc_name
|
@@ -135,7 +144,7 @@ module Akeyless
|
|
135
144
|
# Calculates hash code according to all attributes.
|
136
145
|
# @return [Integer] Hash code
|
137
146
|
def hash
|
138
|
-
[json, token, uid_token, usc_name].hash
|
147
|
+
[json, object_type, token, uid_token, usc_name].hash
|
139
148
|
end
|
140
149
|
|
141
150
|
# Builds the object from hash
|
data/lib/akeyless/version.rb
CHANGED
data/lib/akeyless.rb
CHANGED
@@ -288,6 +288,7 @@ require 'akeyless/models/describe_permissions'
|
|
288
288
|
require 'akeyless/models/describe_permissions_output'
|
289
289
|
require 'akeyless/models/describe_sub_claims'
|
290
290
|
require 'akeyless/models/describe_sub_claims_output'
|
291
|
+
require 'akeyless/models/desktop_app_conf'
|
291
292
|
require 'akeyless/models/detokenize'
|
292
293
|
require 'akeyless/models/detokenize_output'
|
293
294
|
require 'akeyless/models/dockerhub_target_details'
|
@@ -405,7 +406,6 @@ require 'akeyless/models/gcp_access_rules'
|
|
405
406
|
require 'akeyless/models/gcp_payload'
|
406
407
|
require 'akeyless/models/gcp_secrets_migration'
|
407
408
|
require 'akeyless/models/gke_target_details'
|
408
|
-
require 'akeyless/models/gateway_basic_info'
|
409
409
|
require 'akeyless/models/gateway_create_allowed_access'
|
410
410
|
require 'akeyless/models/gateway_create_k8_s_auth_config'
|
411
411
|
require 'akeyless/models/gateway_create_k8_s_auth_config_output'
|
@@ -470,6 +470,7 @@ require 'akeyless/models/gateway_delete_k8_s_auth_config_output'
|
|
470
470
|
require 'akeyless/models/gateway_delete_migration'
|
471
471
|
require 'akeyless/models/gateway_delete_producer'
|
472
472
|
require 'akeyless/models/gateway_delete_producer_output'
|
473
|
+
require 'akeyless/models/gateway_details_for_item_reply_obj'
|
473
474
|
require 'akeyless/models/gateway_download_customer_fragments'
|
474
475
|
require 'akeyless/models/gateway_download_customer_fragments_output'
|
475
476
|
require 'akeyless/models/gateway_get_allowed_access'
|
@@ -585,6 +586,7 @@ require 'akeyless/models/gateway_update_producer_snowflake_output'
|
|
585
586
|
require 'akeyless/models/gateway_update_producer_venafi'
|
586
587
|
require 'akeyless/models/gateway_update_producer_venafi_output'
|
587
588
|
require 'akeyless/models/gateway_update_remote_access'
|
589
|
+
require 'akeyless/models/gateway_update_remote_access_desktop_app'
|
588
590
|
require 'akeyless/models/gateway_update_remote_access_rdp_recordings'
|
589
591
|
require 'akeyless/models/gateway_update_tls_cert'
|
590
592
|
require 'akeyless/models/gateway_update_tls_cert_output'
|
@@ -883,6 +885,7 @@ require 'akeyless/models/sign_rsa_ssa_pss'
|
|
883
885
|
require 'akeyless/models/sign_rsa_ssa_pss_output'
|
884
886
|
require 'akeyless/models/sm_info'
|
885
887
|
require 'akeyless/models/splunk_log_forwarding_config'
|
888
|
+
require 'akeyless/models/sra_desktop_app_conf'
|
886
889
|
require 'akeyless/models/sra_info'
|
887
890
|
require 'akeyless/models/sra_session_entry_out'
|
888
891
|
require 'akeyless/models/ssh_bastion_conf'
|
@@ -0,0 +1,54 @@
|
|
1
|
+
=begin
|
2
|
+
#Akeyless API
|
3
|
+
|
4
|
+
#The purpose of this application is to provide access to Akeyless API.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 2.0
|
7
|
+
Contact: support@akeyless.io
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.10.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Akeyless::DesktopAppConf
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe Akeyless::DesktopAppConf do
|
21
|
+
let(:instance) { Akeyless::DesktopAppConf.new }
|
22
|
+
|
23
|
+
describe 'test an instance of DesktopAppConf' do
|
24
|
+
it 'should create an instance of DesktopAppConf' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(Akeyless::DesktopAppConf)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "default_cert_issuer_id"' do
|
31
|
+
it 'should work' do
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
describe 'test attribute "default_cert_issuer_name"' do
|
37
|
+
it 'should work' do
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
describe 'test attribute "secure_web_access_url"' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
describe 'test attribute "secure_web_proxy_url"' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
=begin
|
2
|
+
#Akeyless API
|
3
|
+
|
4
|
+
#The purpose of this application is to provide access to Akeyless API.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 2.0
|
7
|
+
Contact: support@akeyless.io
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.10.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Akeyless::GatewayDetailsForItemReplyObj
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe Akeyless::GatewayDetailsForItemReplyObj do
|
21
|
+
let(:instance) { Akeyless::GatewayDetailsForItemReplyObj.new }
|
22
|
+
|
23
|
+
describe 'test an instance of GatewayDetailsForItemReplyObj' do
|
24
|
+
it 'should create an instance of GatewayDetailsForItemReplyObj' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(Akeyless::GatewayDetailsForItemReplyObj)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "cluster_name"' do
|
31
|
+
it 'should work' do
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
describe 'test attribute "cluster_url"' do
|
37
|
+
it 'should work' do
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
describe 'test attribute "desktop_app"' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
describe 'test attribute "is_cluster_available"' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
end
|
@@ -0,0 +1,66 @@
|
|
1
|
+
=begin
|
2
|
+
#Akeyless API
|
3
|
+
|
4
|
+
#The purpose of this application is to provide access to Akeyless API.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 2.0
|
7
|
+
Contact: support@akeyless.io
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.10.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Akeyless::GatewayUpdateRemoteAccessDesktopApp
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe Akeyless::GatewayUpdateRemoteAccessDesktopApp do
|
21
|
+
let(:instance) { Akeyless::GatewayUpdateRemoteAccessDesktopApp.new }
|
22
|
+
|
23
|
+
describe 'test an instance of GatewayUpdateRemoteAccessDesktopApp' do
|
24
|
+
it 'should create an instance of GatewayUpdateRemoteAccessDesktopApp' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(Akeyless::GatewayUpdateRemoteAccessDesktopApp)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "desktop_app_secure_web_access_url"' do
|
31
|
+
it 'should work' do
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
describe 'test attribute "desktop_app_secure_web_proxy"' do
|
37
|
+
it 'should work' do
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
describe 'test attribute "desktop_app_ssh_cert_issuer"' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
describe 'test attribute "json"' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
describe 'test attribute "token"' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
describe 'test attribute "uid_token"' do
|
61
|
+
it 'should work' do
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
end
|