akeyless 3.3.5 → 3.3.6
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/SignDataWithClassicKey.md +34 -0
- data/docs/SignOutput.md +18 -0
- 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/sign_data_with_classic_key.rb +326 -0
- data/lib/akeyless/models/sign_output.rb +219 -0
- 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 +14 -2
@@ -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 :key_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
|
+
:'key_name' => :'key-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
|
+
:'key_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?(:'key_name')
|
133
|
+
self.key_name = attributes[:'key_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 @key_name.nil?
|
162
|
+
invalid_properties.push('invalid value for "key_name", key_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 @key_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
|
+
key_name == o.key_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, key_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
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: akeyless
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.
|
4
|
+
version: 3.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-05-
|
11
|
+
date: 2023-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -591,10 +591,12 @@ files:
|
|
591
591
|
- docs/SetRoleRule.md
|
592
592
|
- docs/ShareItem.md
|
593
593
|
- docs/SharingPolicyInfo.md
|
594
|
+
- docs/SignDataWithClassicKey.md
|
594
595
|
- docs/SignGPG.md
|
595
596
|
- docs/SignGPGOutput.md
|
596
597
|
- docs/SignJWTOutput.md
|
597
598
|
- docs/SignJWTWithClassicKey.md
|
599
|
+
- docs/SignOutput.md
|
598
600
|
- docs/SignPKCS1.md
|
599
601
|
- docs/SignPKCS1Output.md
|
600
602
|
- docs/SignPKICertOutput.md
|
@@ -720,6 +722,7 @@ files:
|
|
720
722
|
- docs/ValidateToken.md
|
721
723
|
- docs/ValidateTokenOutput.md
|
722
724
|
- docs/VaultlessTokenizerInfo.md
|
725
|
+
- docs/VerifyDataWithClassicKey.md
|
723
726
|
- docs/VerifyGPG.md
|
724
727
|
- docs/VerifyJWTOutput.md
|
725
728
|
- docs/VerifyJWTWithClassicKey.md
|
@@ -1259,10 +1262,12 @@ files:
|
|
1259
1262
|
- lib/akeyless/models/set_role_rule.rb
|
1260
1263
|
- lib/akeyless/models/share_item.rb
|
1261
1264
|
- lib/akeyless/models/sharing_policy_info.rb
|
1265
|
+
- lib/akeyless/models/sign_data_with_classic_key.rb
|
1262
1266
|
- lib/akeyless/models/sign_gpg.rb
|
1263
1267
|
- lib/akeyless/models/sign_gpg_output.rb
|
1264
1268
|
- lib/akeyless/models/sign_jwt_output.rb
|
1265
1269
|
- lib/akeyless/models/sign_jwt_with_classic_key.rb
|
1270
|
+
- lib/akeyless/models/sign_output.rb
|
1266
1271
|
- lib/akeyless/models/sign_pkcs1.rb
|
1267
1272
|
- lib/akeyless/models/sign_pkcs1_output.rb
|
1268
1273
|
- lib/akeyless/models/sign_pki_cert_output.rb
|
@@ -1388,6 +1393,7 @@ files:
|
|
1388
1393
|
- lib/akeyless/models/validate_token.rb
|
1389
1394
|
- lib/akeyless/models/validate_token_output.rb
|
1390
1395
|
- lib/akeyless/models/vaultless_tokenizer_info.rb
|
1396
|
+
- lib/akeyless/models/verify_data_with_classic_key.rb
|
1391
1397
|
- lib/akeyless/models/verify_gpg.rb
|
1392
1398
|
- lib/akeyless/models/verify_jwt_output.rb
|
1393
1399
|
- lib/akeyless/models/verify_jwt_with_classic_key.rb
|
@@ -2414,10 +2420,12 @@ files:
|
|
2414
2420
|
- spec/models/set_role_rule_spec.rb
|
2415
2421
|
- spec/models/share_item_spec.rb
|
2416
2422
|
- spec/models/sharing_policy_info_spec.rb
|
2423
|
+
- spec/models/sign_data_with_classic_key_spec.rb
|
2417
2424
|
- spec/models/sign_gpg_output_spec.rb
|
2418
2425
|
- spec/models/sign_gpg_spec.rb
|
2419
2426
|
- spec/models/sign_jwt_output_spec.rb
|
2420
2427
|
- spec/models/sign_jwt_with_classic_key_spec.rb
|
2428
|
+
- spec/models/sign_output_spec.rb
|
2421
2429
|
- spec/models/sign_pkcs1_output_spec.rb
|
2422
2430
|
- spec/models/sign_pkcs1_spec.rb
|
2423
2431
|
- spec/models/sign_pki_cert_output_spec.rb
|
@@ -2543,6 +2551,7 @@ files:
|
|
2543
2551
|
- spec/models/validate_token_output_spec.rb
|
2544
2552
|
- spec/models/validate_token_spec.rb
|
2545
2553
|
- spec/models/vaultless_tokenizer_info_spec.rb
|
2554
|
+
- spec/models/verify_data_with_classic_key_spec.rb
|
2546
2555
|
- spec/models/verify_gpg_spec.rb
|
2547
2556
|
- spec/models/verify_jwt_output_spec.rb
|
2548
2557
|
- spec/models/verify_jwt_with_classic_key_spec.rb
|
@@ -2944,6 +2953,7 @@ test_files:
|
|
2944
2953
|
- spec/models/gateway_migration_update_output_spec.rb
|
2945
2954
|
- spec/models/gateway_update_producer_gke_spec.rb
|
2946
2955
|
- spec/models/universal_identity_access_rules_spec.rb
|
2956
|
+
- spec/models/sign_output_spec.rb
|
2947
2957
|
- spec/models/customer_full_address_spec.rb
|
2948
2958
|
- spec/models/rotate_key_spec.rb
|
2949
2959
|
- spec/models/create_esm_spec.rb
|
@@ -2964,7 +2974,9 @@ test_files:
|
|
2964
2974
|
- spec/models/reverse_rbac_output_spec.rb
|
2965
2975
|
- spec/models/allowed_access_args_spec.rb
|
2966
2976
|
- spec/models/json_error_spec.rb
|
2977
|
+
- spec/models/verify_data_with_classic_key_spec.rb
|
2967
2978
|
- spec/models/gateway_update_producer_oracle_db_output_spec.rb
|
2979
|
+
- spec/models/sign_data_with_classic_key_spec.rb
|
2968
2980
|
- spec/models/hashi_migration_spec.rb
|
2969
2981
|
- spec/models/gateway_delete_allowed_management_access_spec.rb
|
2970
2982
|
- spec/models/get_rotated_secret_value_spec.rb
|