akeyless 2.20.1 → 2.20.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 -3
- data/docs/AuthMethodRoleAssociation.md +2 -0
- data/docs/CreateAuthMethodOIDC.md +2 -0
- data/docs/CreateSecret.md +1 -1
- data/docs/DeleteItem.md +1 -1
- data/docs/ExportClassicKey.md +26 -0
- data/docs/ExportClassicKeyOutput.md +20 -0
- data/docs/GatewayCreateMigration.md +0 -8
- data/docs/GatewayUpdateMigration.md +0 -8
- data/docs/GetSecretValue.md +1 -3
- data/docs/ListItems.md +1 -1
- data/docs/MigrationGeneral.md +3 -1
- data/docs/OIDCAccessRules.md +2 -0
- data/docs/ReverseRBACClient.md +0 -2
- data/docs/RotateSecret.md +1 -1
- data/docs/ShareItem.md +34 -0
- data/docs/SmInfo.md +3 -3
- data/docs/SraInfo.md +3 -3
- data/docs/UpdateAuthMethodOIDC.md +2 -0
- data/docs/UpdateItem.md +1 -1
- data/docs/UpdateSecretVal.md +1 -1
- data/docs/V2Api.md +125 -0
- data/docs/VaultlessTokenizerInfo.md +1 -1
- data/lib/akeyless/api/v2_api.rb +128 -0
- data/lib/akeyless/models/auth_method_role_association.rb +12 -1
- data/lib/akeyless/models/create_auth_method_oidc.rb +11 -1
- data/lib/akeyless/models/create_secret.rb +2 -0
- data/lib/akeyless/models/delete_item.rb +2 -0
- data/lib/akeyless/models/export_classic_key.rb +266 -0
- data/lib/akeyless/models/export_classic_key_output.rb +228 -0
- data/lib/akeyless/models/gateway_create_migration.rb +1 -39
- data/lib/akeyless/models/gateway_update_migration.rb +1 -39
- data/lib/akeyless/models/get_secret_value.rb +3 -10
- data/lib/akeyless/models/list_items.rb +2 -0
- data/lib/akeyless/models/migration_general.rb +13 -4
- data/lib/akeyless/models/oidc_access_rules.rb +11 -1
- data/lib/akeyless/models/reverse_rbac_client.rb +1 -12
- data/lib/akeyless/models/rotate_secret.rb +1 -1
- data/lib/akeyless/models/share_item.rb +316 -0
- data/lib/akeyless/models/sm_info.rb +8 -7
- data/lib/akeyless/models/sra_info.rb +8 -7
- data/lib/akeyless/models/update_auth_method_oidc.rb +11 -1
- data/lib/akeyless/models/update_item.rb +2 -0
- data/lib/akeyless/models/update_secret_val.rb +2 -0
- data/lib/akeyless/models/vaultless_tokenizer_info.rb +2 -4
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +3 -2
- data/spec/models/export_classic_key_output_spec.rb +40 -0
- data/spec/models/export_classic_key_spec.rb +58 -0
- data/spec/models/share_item_spec.rb +82 -0
- metadata +530 -518
@@ -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: 6.3.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Akeyless::ShareItem
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe Akeyless::ShareItem do
|
21
|
+
let(:instance) { Akeyless::ShareItem.new }
|
22
|
+
|
23
|
+
describe 'test an instance of ShareItem' do
|
24
|
+
it 'should create an instance of ShareItem' do
|
25
|
+
expect(instance).to be_instance_of(Akeyless::ShareItem)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "accessibility"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "action"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "emails"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "item_name"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "json"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe 'test attribute "token"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "ttl"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/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://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
describe 'test attribute "view_once"' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
end
|