akeyless 3.3.5 → 3.3.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 +6 -1
- data/docs/ListItems.md +2 -0
- data/docs/SignDataWithClassicKey.md +34 -0
- data/docs/SignOutput.md +18 -0
- data/docs/Target.md +2 -0
- data/docs/UpdatePKICertIssuer.md +8 -6
- data/docs/UpdateSSHCertIssuer.md +3 -1
- data/docs/V2Api.md +126 -0
- data/docs/VerifyDataWithClassicKey.md +36 -0
- data/lib/akeyless/api/v2_api.rb +128 -0
- data/lib/akeyless/models/list_items.rb +13 -1
- data/lib/akeyless/models/sign_data_with_classic_key.rb +326 -0
- data/lib/akeyless/models/sign_output.rb +219 -0
- data/lib/akeyless/models/target.rb +10 -1
- data/lib/akeyless/models/update_pki_cert_issuer.rb +17 -7
- data/lib/akeyless/models/update_ssh_cert_issuer.rb +12 -2
- data/lib/akeyless/models/verify_data_with_classic_key.rb +336 -0
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +3 -0
- data/spec/models/sign_data_with_classic_key_spec.rb +82 -0
- data/spec/models/sign_output_spec.rb +34 -0
- data/spec/models/verify_data_with_classic_key_spec.rb +88 -0
- metadata +626 -614
@@ -21,6 +21,9 @@ module Akeyless
|
|
21
21
|
# Users allowed to fetch the certificate, e.g root,ubuntu
|
22
22
|
attr_accessor :allowed_users
|
23
23
|
|
24
|
+
# Protection from accidental deletion of this item [true/false]
|
25
|
+
attr_accessor :delete_protection
|
26
|
+
|
24
27
|
# Description of the object
|
25
28
|
attr_accessor :description
|
26
29
|
|
@@ -69,7 +72,7 @@ module Akeyless
|
|
69
72
|
# Authentication token (see `/auth` and `/configure`)
|
70
73
|
attr_accessor :token
|
71
74
|
|
72
|
-
#
|
75
|
+
# The requested Time To Live for the certificate, in seconds
|
73
76
|
attr_accessor :ttl
|
74
77
|
|
75
78
|
# The universal identity token, Required only for universal_identity authentication
|
@@ -80,6 +83,7 @@ module Akeyless
|
|
80
83
|
{
|
81
84
|
:'add_tag' => :'add-tag',
|
82
85
|
:'allowed_users' => :'allowed-users',
|
86
|
+
:'delete_protection' => :'delete_protection',
|
83
87
|
:'description' => :'description',
|
84
88
|
:'extensions' => :'extensions',
|
85
89
|
:'json' => :'json',
|
@@ -111,6 +115,7 @@ module Akeyless
|
|
111
115
|
{
|
112
116
|
:'add_tag' => :'Array<String>',
|
113
117
|
:'allowed_users' => :'String',
|
118
|
+
:'delete_protection' => :'String',
|
114
119
|
:'description' => :'String',
|
115
120
|
:'extensions' => :'Hash<String, String>',
|
116
121
|
:'json' => :'Boolean',
|
@@ -163,6 +168,10 @@ module Akeyless
|
|
163
168
|
self.allowed_users = attributes[:'allowed_users']
|
164
169
|
end
|
165
170
|
|
171
|
+
if attributes.key?(:'delete_protection')
|
172
|
+
self.delete_protection = attributes[:'delete_protection']
|
173
|
+
end
|
174
|
+
|
166
175
|
if attributes.key?(:'description')
|
167
176
|
self.description = attributes[:'description']
|
168
177
|
end
|
@@ -284,6 +293,7 @@ module Akeyless
|
|
284
293
|
self.class == o.class &&
|
285
294
|
add_tag == o.add_tag &&
|
286
295
|
allowed_users == o.allowed_users &&
|
296
|
+
delete_protection == o.delete_protection &&
|
287
297
|
description == o.description &&
|
288
298
|
extensions == o.extensions &&
|
289
299
|
json == o.json &&
|
@@ -313,7 +323,7 @@ module Akeyless
|
|
313
323
|
# Calculates hash code according to all attributes.
|
314
324
|
# @return [Integer] Hash code
|
315
325
|
def hash
|
316
|
-
[add_tag, allowed_users, description, extensions, json, metadata, name, new_name, principals, rm_tag, secure_access_bastion_api, secure_access_bastion_ssh, secure_access_enable, secure_access_host, secure_access_ssh_creds_user, secure_access_use_internal_bastion, signer_key_name, token, ttl, uid_token].hash
|
326
|
+
[add_tag, allowed_users, delete_protection, description, extensions, json, metadata, name, new_name, principals, rm_tag, secure_access_bastion_api, secure_access_bastion_ssh, secure_access_enable, secure_access_host, secure_access_ssh_creds_user, secure_access_use_internal_bastion, signer_key_name, token, ttl, uid_token].hash
|
317
327
|
end
|
318
328
|
|
319
329
|
# Builds the object from hash
|
@@ -0,0 +1,336 @@
|
|
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
|
+
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module Akeyless
|
17
|
+
class VerifyDataWithClassicKey
|
18
|
+
# Data
|
19
|
+
attr_accessor :data
|
20
|
+
|
21
|
+
# The display id of the key to use in the verification process
|
22
|
+
attr_accessor :display_id
|
23
|
+
|
24
|
+
# Defines whether the data should be hashed as part of the signing. If true, the data will not be hashed
|
25
|
+
attr_accessor :hashed
|
26
|
+
|
27
|
+
# HashingMethod
|
28
|
+
attr_accessor :hashing_method
|
29
|
+
|
30
|
+
# Set output format to JSON
|
31
|
+
attr_accessor :json
|
32
|
+
|
33
|
+
# The name of the key to use in the verification process
|
34
|
+
attr_accessor :name
|
35
|
+
|
36
|
+
# The data's signature in a Base64 format.
|
37
|
+
attr_accessor :signature
|
38
|
+
|
39
|
+
# Authentication token (see `/auth` and `/configure`)
|
40
|
+
attr_accessor :token
|
41
|
+
|
42
|
+
# The universal identity token, Required only for universal_identity authentication
|
43
|
+
attr_accessor :uid_token
|
44
|
+
|
45
|
+
# classic key version
|
46
|
+
attr_accessor :version
|
47
|
+
|
48
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
49
|
+
def self.attribute_map
|
50
|
+
{
|
51
|
+
:'data' => :'data',
|
52
|
+
:'display_id' => :'display-id',
|
53
|
+
:'hashed' => :'hashed',
|
54
|
+
:'hashing_method' => :'hashing-method',
|
55
|
+
:'json' => :'json',
|
56
|
+
:'name' => :'name',
|
57
|
+
:'signature' => :'signature',
|
58
|
+
:'token' => :'token',
|
59
|
+
:'uid_token' => :'uid-token',
|
60
|
+
:'version' => :'version'
|
61
|
+
}
|
62
|
+
end
|
63
|
+
|
64
|
+
# Returns all the JSON keys this model knows about
|
65
|
+
def self.acceptable_attributes
|
66
|
+
attribute_map.values
|
67
|
+
end
|
68
|
+
|
69
|
+
# Attribute type mapping.
|
70
|
+
def self.openapi_types
|
71
|
+
{
|
72
|
+
:'data' => :'String',
|
73
|
+
:'display_id' => :'String',
|
74
|
+
:'hashed' => :'Boolean',
|
75
|
+
:'hashing_method' => :'String',
|
76
|
+
:'json' => :'Boolean',
|
77
|
+
:'name' => :'String',
|
78
|
+
:'signature' => :'String',
|
79
|
+
:'token' => :'String',
|
80
|
+
:'uid_token' => :'String',
|
81
|
+
:'version' => :'Integer'
|
82
|
+
}
|
83
|
+
end
|
84
|
+
|
85
|
+
# List of attributes with nullable: true
|
86
|
+
def self.openapi_nullable
|
87
|
+
Set.new([
|
88
|
+
])
|
89
|
+
end
|
90
|
+
|
91
|
+
# Initializes the object
|
92
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
93
|
+
def initialize(attributes = {})
|
94
|
+
if (!attributes.is_a?(Hash))
|
95
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::VerifyDataWithClassicKey` initialize method"
|
96
|
+
end
|
97
|
+
|
98
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
99
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
100
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
101
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::VerifyDataWithClassicKey`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
102
|
+
end
|
103
|
+
h[k.to_sym] = v
|
104
|
+
}
|
105
|
+
|
106
|
+
if attributes.key?(:'data')
|
107
|
+
self.data = attributes[:'data']
|
108
|
+
end
|
109
|
+
|
110
|
+
if attributes.key?(:'display_id')
|
111
|
+
self.display_id = attributes[:'display_id']
|
112
|
+
end
|
113
|
+
|
114
|
+
if attributes.key?(:'hashed')
|
115
|
+
self.hashed = attributes[:'hashed']
|
116
|
+
else
|
117
|
+
self.hashed = false
|
118
|
+
end
|
119
|
+
|
120
|
+
if attributes.key?(:'hashing_method')
|
121
|
+
self.hashing_method = attributes[:'hashing_method']
|
122
|
+
else
|
123
|
+
self.hashing_method = 'SHA256'
|
124
|
+
end
|
125
|
+
|
126
|
+
if attributes.key?(:'json')
|
127
|
+
self.json = attributes[:'json']
|
128
|
+
else
|
129
|
+
self.json = false
|
130
|
+
end
|
131
|
+
|
132
|
+
if attributes.key?(:'name')
|
133
|
+
self.name = attributes[:'name']
|
134
|
+
end
|
135
|
+
|
136
|
+
if attributes.key?(:'signature')
|
137
|
+
self.signature = attributes[:'signature']
|
138
|
+
end
|
139
|
+
|
140
|
+
if attributes.key?(:'token')
|
141
|
+
self.token = attributes[:'token']
|
142
|
+
end
|
143
|
+
|
144
|
+
if attributes.key?(:'uid_token')
|
145
|
+
self.uid_token = attributes[:'uid_token']
|
146
|
+
end
|
147
|
+
|
148
|
+
if attributes.key?(:'version')
|
149
|
+
self.version = attributes[:'version']
|
150
|
+
end
|
151
|
+
end
|
152
|
+
|
153
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
154
|
+
# @return Array for valid properties with the reasons
|
155
|
+
def list_invalid_properties
|
156
|
+
invalid_properties = Array.new
|
157
|
+
if @data.nil?
|
158
|
+
invalid_properties.push('invalid value for "data", data cannot be nil.')
|
159
|
+
end
|
160
|
+
|
161
|
+
if @name.nil?
|
162
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
163
|
+
end
|
164
|
+
|
165
|
+
if @signature.nil?
|
166
|
+
invalid_properties.push('invalid value for "signature", signature cannot be nil.')
|
167
|
+
end
|
168
|
+
|
169
|
+
if @version.nil?
|
170
|
+
invalid_properties.push('invalid value for "version", version cannot be nil.')
|
171
|
+
end
|
172
|
+
|
173
|
+
invalid_properties
|
174
|
+
end
|
175
|
+
|
176
|
+
# Check to see if the all the properties in the model are valid
|
177
|
+
# @return true if the model is valid
|
178
|
+
def valid?
|
179
|
+
return false if @data.nil?
|
180
|
+
return false if @name.nil?
|
181
|
+
return false if @signature.nil?
|
182
|
+
return false if @version.nil?
|
183
|
+
true
|
184
|
+
end
|
185
|
+
|
186
|
+
# Checks equality by comparing each attribute.
|
187
|
+
# @param [Object] Object to be compared
|
188
|
+
def ==(o)
|
189
|
+
return true if self.equal?(o)
|
190
|
+
self.class == o.class &&
|
191
|
+
data == o.data &&
|
192
|
+
display_id == o.display_id &&
|
193
|
+
hashed == o.hashed &&
|
194
|
+
hashing_method == o.hashing_method &&
|
195
|
+
json == o.json &&
|
196
|
+
name == o.name &&
|
197
|
+
signature == o.signature &&
|
198
|
+
token == o.token &&
|
199
|
+
uid_token == o.uid_token &&
|
200
|
+
version == o.version
|
201
|
+
end
|
202
|
+
|
203
|
+
# @see the `==` method
|
204
|
+
# @param [Object] Object to be compared
|
205
|
+
def eql?(o)
|
206
|
+
self == o
|
207
|
+
end
|
208
|
+
|
209
|
+
# Calculates hash code according to all attributes.
|
210
|
+
# @return [Integer] Hash code
|
211
|
+
def hash
|
212
|
+
[data, display_id, hashed, hashing_method, json, name, signature, token, uid_token, version].hash
|
213
|
+
end
|
214
|
+
|
215
|
+
# Builds the object from hash
|
216
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
217
|
+
# @return [Object] Returns the model itself
|
218
|
+
def self.build_from_hash(attributes)
|
219
|
+
new.build_from_hash(attributes)
|
220
|
+
end
|
221
|
+
|
222
|
+
# Builds the object from hash
|
223
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
224
|
+
# @return [Object] Returns the model itself
|
225
|
+
def build_from_hash(attributes)
|
226
|
+
return nil unless attributes.is_a?(Hash)
|
227
|
+
attributes = attributes.transform_keys(&:to_sym)
|
228
|
+
self.class.openapi_types.each_pair do |key, type|
|
229
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
230
|
+
self.send("#{key}=", nil)
|
231
|
+
elsif type =~ /\AArray<(.*)>/i
|
232
|
+
# check to ensure the input is an array given that the attribute
|
233
|
+
# is documented as an array but the input is not
|
234
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
235
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
236
|
+
end
|
237
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
238
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
239
|
+
end
|
240
|
+
end
|
241
|
+
|
242
|
+
self
|
243
|
+
end
|
244
|
+
|
245
|
+
# Deserializes the data based on type
|
246
|
+
# @param string type Data type
|
247
|
+
# @param string value Value to be deserialized
|
248
|
+
# @return [Object] Deserialized data
|
249
|
+
def _deserialize(type, value)
|
250
|
+
case type.to_sym
|
251
|
+
when :Time
|
252
|
+
Time.parse(value)
|
253
|
+
when :Date
|
254
|
+
Date.parse(value)
|
255
|
+
when :String
|
256
|
+
value.to_s
|
257
|
+
when :Integer
|
258
|
+
value.to_i
|
259
|
+
when :Float
|
260
|
+
value.to_f
|
261
|
+
when :Boolean
|
262
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
263
|
+
true
|
264
|
+
else
|
265
|
+
false
|
266
|
+
end
|
267
|
+
when :Object
|
268
|
+
# generic object (usually a Hash), return directly
|
269
|
+
value
|
270
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
271
|
+
inner_type = Regexp.last_match[:inner_type]
|
272
|
+
value.map { |v| _deserialize(inner_type, v) }
|
273
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
274
|
+
k_type = Regexp.last_match[:k_type]
|
275
|
+
v_type = Regexp.last_match[:v_type]
|
276
|
+
{}.tap do |hash|
|
277
|
+
value.each do |k, v|
|
278
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
279
|
+
end
|
280
|
+
end
|
281
|
+
else # model
|
282
|
+
# models (e.g. Pet) or oneOf
|
283
|
+
klass = Akeyless.const_get(type)
|
284
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
285
|
+
end
|
286
|
+
end
|
287
|
+
|
288
|
+
# Returns the string representation of the object
|
289
|
+
# @return [String] String presentation of the object
|
290
|
+
def to_s
|
291
|
+
to_hash.to_s
|
292
|
+
end
|
293
|
+
|
294
|
+
# to_body is an alias to to_hash (backward compatibility)
|
295
|
+
# @return [Hash] Returns the object in the form of hash
|
296
|
+
def to_body
|
297
|
+
to_hash
|
298
|
+
end
|
299
|
+
|
300
|
+
# Returns the object in the form of hash
|
301
|
+
# @return [Hash] Returns the object in the form of hash
|
302
|
+
def to_hash
|
303
|
+
hash = {}
|
304
|
+
self.class.attribute_map.each_pair do |attr, param|
|
305
|
+
value = self.send(attr)
|
306
|
+
if value.nil?
|
307
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
308
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
309
|
+
end
|
310
|
+
|
311
|
+
hash[param] = _to_hash(value)
|
312
|
+
end
|
313
|
+
hash
|
314
|
+
end
|
315
|
+
|
316
|
+
# Outputs non-array value in the form of hash
|
317
|
+
# For object, use to_hash. Otherwise, just return the value
|
318
|
+
# @param [Object] value Any valid value
|
319
|
+
# @return [Hash] Returns the value in the form of hash
|
320
|
+
def _to_hash(value)
|
321
|
+
if value.is_a?(Array)
|
322
|
+
value.compact.map { |v| _to_hash(v) }
|
323
|
+
elsif value.is_a?(Hash)
|
324
|
+
{}.tap do |hash|
|
325
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
326
|
+
end
|
327
|
+
elsif value.respond_to? :to_hash
|
328
|
+
value.to_hash
|
329
|
+
else
|
330
|
+
value
|
331
|
+
end
|
332
|
+
end
|
333
|
+
|
334
|
+
end
|
335
|
+
|
336
|
+
end
|
data/lib/akeyless/version.rb
CHANGED
data/lib/akeyless.rb
CHANGED
@@ -537,10 +537,12 @@ require 'akeyless/models/set_item_state'
|
|
537
537
|
require 'akeyless/models/set_role_rule'
|
538
538
|
require 'akeyless/models/share_item'
|
539
539
|
require 'akeyless/models/sharing_policy_info'
|
540
|
+
require 'akeyless/models/sign_data_with_classic_key'
|
540
541
|
require 'akeyless/models/sign_gpg'
|
541
542
|
require 'akeyless/models/sign_gpg_output'
|
542
543
|
require 'akeyless/models/sign_jwt_output'
|
543
544
|
require 'akeyless/models/sign_jwt_with_classic_key'
|
545
|
+
require 'akeyless/models/sign_output'
|
544
546
|
require 'akeyless/models/sign_pkcs1'
|
545
547
|
require 'akeyless/models/sign_pkcs1_output'
|
546
548
|
require 'akeyless/models/sign_pki_cert_output'
|
@@ -662,6 +664,7 @@ require 'akeyless/models/upload_rsa'
|
|
662
664
|
require 'akeyless/models/validate_token'
|
663
665
|
require 'akeyless/models/validate_token_output'
|
664
666
|
require 'akeyless/models/vaultless_tokenizer_info'
|
667
|
+
require 'akeyless/models/verify_data_with_classic_key'
|
665
668
|
require 'akeyless/models/verify_gpg'
|
666
669
|
require 'akeyless/models/verify_jwt_output'
|
667
670
|
require 'akeyless/models/verify_jwt_with_classic_key'
|
@@ -0,0 +1,82 @@
|
|
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
|
+
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Akeyless::SignDataWithClassicKey
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe Akeyless::SignDataWithClassicKey do
|
21
|
+
let(:instance) { Akeyless::SignDataWithClassicKey.new }
|
22
|
+
|
23
|
+
describe 'test an instance of SignDataWithClassicKey' do
|
24
|
+
it 'should create an instance of SignDataWithClassicKey' do
|
25
|
+
expect(instance).to be_instance_of(Akeyless::SignDataWithClassicKey)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "data"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "display_id"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "hashed"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "hashing_method"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "json"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe 'test attribute "name"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "token"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
describe 'test attribute "uid_token"' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
describe 'test attribute "version"' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
end
|
@@ -0,0 +1,34 @@
|
|
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
|
+
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Akeyless::SignOutput
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe Akeyless::SignOutput do
|
21
|
+
let(:instance) { Akeyless::SignOutput.new }
|
22
|
+
|
23
|
+
describe 'test an instance of SignOutput' do
|
24
|
+
it 'should create an instance of SignOutput' do
|
25
|
+
expect(instance).to be_instance_of(Akeyless::SignOutput)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "result"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
end
|
@@ -0,0 +1,88 @@
|
|
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
|
+
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Akeyless::VerifyDataWithClassicKey
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe Akeyless::VerifyDataWithClassicKey do
|
21
|
+
let(:instance) { Akeyless::VerifyDataWithClassicKey.new }
|
22
|
+
|
23
|
+
describe 'test an instance of VerifyDataWithClassicKey' do
|
24
|
+
it 'should create an instance of VerifyDataWithClassicKey' do
|
25
|
+
expect(instance).to be_instance_of(Akeyless::VerifyDataWithClassicKey)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "data"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "display_id"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "hashed"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "hashing_method"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "json"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe 'test attribute "key_name"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "signature"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
describe 'test attribute "token"' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
describe 'test attribute "uid_token"' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
describe 'test attribute "version"' do
|
83
|
+
it 'should work' do
|
84
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
end
|