akeyless 2.20.1 → 2.20.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -3
  3. data/docs/AuthMethodRoleAssociation.md +2 -0
  4. data/docs/CreateAuthMethodOIDC.md +2 -0
  5. data/docs/CreateSecret.md +1 -1
  6. data/docs/DeleteItem.md +1 -1
  7. data/docs/ExportClassicKey.md +28 -0
  8. data/docs/ExportClassicKeyOutput.md +20 -0
  9. data/docs/GatewayCreateMigration.md +0 -8
  10. data/docs/GatewayUpdateMigration.md +0 -8
  11. data/docs/GetRotatedSecretValue.md +2 -0
  12. data/docs/GetSecretValue.md +2 -4
  13. data/docs/ListItems.md +2 -2
  14. data/docs/MigrationGeneral.md +3 -1
  15. data/docs/OIDCAccessRules.md +2 -0
  16. data/docs/ReverseRBACClient.md +0 -2
  17. data/docs/RotateSecret.md +1 -1
  18. data/docs/ShareItem.md +34 -0
  19. data/docs/SmInfo.md +3 -3
  20. data/docs/SraInfo.md +3 -3
  21. data/docs/UpdateAuthMethodOIDC.md +2 -0
  22. data/docs/UpdateItem.md +1 -1
  23. data/docs/UpdateSecretVal.md +1 -1
  24. data/docs/V2Api.md +125 -0
  25. data/docs/VaultlessTokenizerInfo.md +1 -1
  26. data/lib/akeyless/api/v2_api.rb +128 -0
  27. data/lib/akeyless/models/auth_method_role_association.rb +12 -1
  28. data/lib/akeyless/models/create_auth_method_oidc.rb +11 -1
  29. data/lib/akeyless/models/create_secret.rb +2 -0
  30. data/lib/akeyless/models/delete_item.rb +2 -0
  31. data/lib/akeyless/models/export_classic_key.rb +278 -0
  32. data/lib/akeyless/models/export_classic_key_output.rb +228 -0
  33. data/lib/akeyless/models/gateway_create_migration.rb +1 -39
  34. data/lib/akeyless/models/gateway_update_migration.rb +1 -39
  35. data/lib/akeyless/models/get_rotated_secret_value.rb +11 -1
  36. data/lib/akeyless/models/get_secret_value.rb +4 -11
  37. data/lib/akeyless/models/list_items.rb +3 -1
  38. data/lib/akeyless/models/migration_general.rb +13 -4
  39. data/lib/akeyless/models/oidc_access_rules.rb +11 -1
  40. data/lib/akeyless/models/reverse_rbac_client.rb +1 -12
  41. data/lib/akeyless/models/rotate_secret.rb +1 -1
  42. data/lib/akeyless/models/share_item.rb +316 -0
  43. data/lib/akeyless/models/sm_info.rb +8 -7
  44. data/lib/akeyless/models/sra_info.rb +8 -7
  45. data/lib/akeyless/models/update_auth_method_oidc.rb +11 -1
  46. data/lib/akeyless/models/update_item.rb +2 -0
  47. data/lib/akeyless/models/update_secret_val.rb +2 -0
  48. data/lib/akeyless/models/vaultless_tokenizer_info.rb +2 -4
  49. data/lib/akeyless/version.rb +1 -1
  50. data/lib/akeyless.rb +3 -2
  51. data/spec/models/export_classic_key_output_spec.rb +40 -0
  52. data/spec/models/export_classic_key_spec.rb +58 -0
  53. data/spec/models/share_item_spec.rb +82 -0
  54. metadata +531 -519
@@ -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