akeyless 5.0.17 → 5.0.18
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 +5 -1
- data/docs/AccountGeneralSettings.md +2 -0
- data/docs/ItemUSCSyncAssociation.md +2 -0
- data/docs/ListItems.md +2 -0
- data/docs/RotatedSecretCreateOpenAI.md +56 -0
- data/docs/RotatedSecretCreateSsh.md +1 -1
- data/docs/RotatedSecretDeleteSync.md +2 -0
- data/docs/RotatedSecretSync.md +2 -0
- data/docs/RotatedSecretUpdateOpenAI.md +58 -0
- data/docs/RotatedSecretUpdateSsh.md +1 -1
- data/docs/StaticSecretDeleteSync.md +2 -0
- data/docs/StaticSecretSync.md +2 -0
- data/docs/UscSyncInfo.md +2 -0
- data/docs/V2Api.md +126 -0
- data/lib/akeyless/api/v2_api.rb +128 -0
- data/lib/akeyless/models/account_general_settings.rb +10 -1
- data/lib/akeyless/models/item_usc_sync_association.rb +10 -1
- data/lib/akeyless/models/list_items.rb +13 -1
- data/lib/akeyless/models/rotated_secret_create_open_ai.rb +437 -0
- data/lib/akeyless/models/rotated_secret_create_ssh.rb +1 -1
- data/lib/akeyless/models/rotated_secret_delete_sync.rb +13 -1
- data/lib/akeyless/models/rotated_secret_sync.rb +11 -1
- data/lib/akeyless/models/rotated_secret_update_open_ai.rb +437 -0
- data/lib/akeyless/models/rotated_secret_update_ssh.rb +1 -1
- data/lib/akeyless/models/static_secret_delete_sync.rb +13 -1
- data/lib/akeyless/models/static_secret_sync.rb +11 -1
- data/lib/akeyless/models/usc_sync_info.rb +10 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +2 -0
- data/spec/models/rotated_secret_create_open_ai_spec.rb +150 -0
- data/spec/models/rotated_secret_update_open_ai_spec.rb +156 -0
- metadata +9 -1
|
@@ -0,0 +1,150 @@
|
|
|
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: 3.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::RotatedSecretCreateOpenAI
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::RotatedSecretCreateOpenAI do
|
|
21
|
+
let(:instance) { Akeyless::RotatedSecretCreateOpenAI.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of RotatedSecretCreateOpenAI' do
|
|
24
|
+
it 'should create an instance of RotatedSecretCreateOpenAI' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Akeyless::RotatedSecretCreateOpenAI)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "api_key"' 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 "api_key_id"' 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 "authentication_credentials"' 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 "auto_rotate"' 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 "delete_protection"' 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 "description"' 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
|
+
describe 'test attribute "item_custom_fields"' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
describe 'test attribute "json"' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
describe 'test attribute "key"' do
|
|
79
|
+
it 'should work' do
|
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
describe 'test attribute "max_versions"' do
|
|
85
|
+
it 'should work' do
|
|
86
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
describe 'test attribute "name"' do
|
|
91
|
+
it 'should work' do
|
|
92
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
describe 'test attribute "password_length"' do
|
|
97
|
+
it 'should work' do
|
|
98
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
describe 'test attribute "rotation_event_in"' do
|
|
103
|
+
it 'should work' do
|
|
104
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
105
|
+
end
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
describe 'test attribute "rotation_hour"' do
|
|
109
|
+
it 'should work' do
|
|
110
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
111
|
+
end
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
describe 'test attribute "rotation_interval"' do
|
|
115
|
+
it 'should work' do
|
|
116
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
117
|
+
end
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
describe 'test attribute "rotator_type"' do
|
|
121
|
+
it 'should work' do
|
|
122
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
123
|
+
end
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
describe 'test attribute "tags"' do
|
|
127
|
+
it 'should work' do
|
|
128
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
129
|
+
end
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
describe 'test attribute "target_name"' do
|
|
133
|
+
it 'should work' do
|
|
134
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
135
|
+
end
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
describe 'test attribute "token"' do
|
|
139
|
+
it 'should work' do
|
|
140
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
141
|
+
end
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
describe 'test attribute "uid_token"' do
|
|
145
|
+
it 'should work' do
|
|
146
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
147
|
+
end
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
end
|
|
@@ -0,0 +1,156 @@
|
|
|
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: 3.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::RotatedSecretUpdateOpenAI
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Akeyless::RotatedSecretUpdateOpenAI do
|
|
21
|
+
let(:instance) { Akeyless::RotatedSecretUpdateOpenAI.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of RotatedSecretUpdateOpenAI' do
|
|
24
|
+
it 'should create an instance of RotatedSecretUpdateOpenAI' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Akeyless::RotatedSecretUpdateOpenAI)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "add_tag"' 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 "api_key"' 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 "api_key_id"' 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 "authentication_credentials"' 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 "auto_rotate"' 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 "delete_protection"' 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
|
+
describe 'test attribute "description"' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
describe 'test attribute "item_custom_fields"' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
describe 'test attribute "json"' do
|
|
79
|
+
it 'should work' do
|
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
describe 'test attribute "keep_prev_version"' do
|
|
85
|
+
it 'should work' do
|
|
86
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
describe 'test attribute "key"' do
|
|
91
|
+
it 'should work' do
|
|
92
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
describe 'test attribute "max_versions"' do
|
|
97
|
+
it 'should work' do
|
|
98
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
describe 'test attribute "name"' do
|
|
103
|
+
it 'should work' do
|
|
104
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
105
|
+
end
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
describe 'test attribute "new_name"' do
|
|
109
|
+
it 'should work' do
|
|
110
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
111
|
+
end
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
describe 'test attribute "password_length"' do
|
|
115
|
+
it 'should work' do
|
|
116
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
117
|
+
end
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
describe 'test attribute "rm_tag"' do
|
|
121
|
+
it 'should work' do
|
|
122
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
123
|
+
end
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
describe 'test attribute "rotation_event_in"' do
|
|
127
|
+
it 'should work' do
|
|
128
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
129
|
+
end
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
describe 'test attribute "rotation_hour"' do
|
|
133
|
+
it 'should work' do
|
|
134
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
135
|
+
end
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
describe 'test attribute "rotation_interval"' do
|
|
139
|
+
it 'should work' do
|
|
140
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
141
|
+
end
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
describe 'test attribute "token"' do
|
|
145
|
+
it 'should work' do
|
|
146
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
147
|
+
end
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
describe 'test attribute "uid_token"' do
|
|
151
|
+
it 'should work' do
|
|
152
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
153
|
+
end
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: akeyless
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.0.
|
|
4
|
+
version: 5.0.18
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -908,6 +908,7 @@ files:
|
|
|
908
908
|
- docs/RotatedSecretCreateMongodb.md
|
|
909
909
|
- docs/RotatedSecretCreateMssql.md
|
|
910
910
|
- docs/RotatedSecretCreateMysql.md
|
|
911
|
+
- docs/RotatedSecretCreateOpenAI.md
|
|
911
912
|
- docs/RotatedSecretCreateOracledb.md
|
|
912
913
|
- docs/RotatedSecretCreateOutput.md
|
|
913
914
|
- docs/RotatedSecretCreatePostgresql.md
|
|
@@ -935,6 +936,7 @@ files:
|
|
|
935
936
|
- docs/RotatedSecretUpdateMongodb.md
|
|
936
937
|
- docs/RotatedSecretUpdateMssql.md
|
|
937
938
|
- docs/RotatedSecretUpdateMysql.md
|
|
939
|
+
- docs/RotatedSecretUpdateOpenAI.md
|
|
938
940
|
- docs/RotatedSecretUpdateOracledb.md
|
|
939
941
|
- docs/RotatedSecretUpdateOutput.md
|
|
940
942
|
- docs/RotatedSecretUpdatePostgresql.md
|
|
@@ -2073,6 +2075,7 @@ files:
|
|
|
2073
2075
|
- lib/akeyless/models/rotated_secret_create_mongodb.rb
|
|
2074
2076
|
- lib/akeyless/models/rotated_secret_create_mssql.rb
|
|
2075
2077
|
- lib/akeyless/models/rotated_secret_create_mysql.rb
|
|
2078
|
+
- lib/akeyless/models/rotated_secret_create_open_ai.rb
|
|
2076
2079
|
- lib/akeyless/models/rotated_secret_create_oracledb.rb
|
|
2077
2080
|
- lib/akeyless/models/rotated_secret_create_output.rb
|
|
2078
2081
|
- lib/akeyless/models/rotated_secret_create_postgresql.rb
|
|
@@ -2100,6 +2103,7 @@ files:
|
|
|
2100
2103
|
- lib/akeyless/models/rotated_secret_update_mongodb.rb
|
|
2101
2104
|
- lib/akeyless/models/rotated_secret_update_mssql.rb
|
|
2102
2105
|
- lib/akeyless/models/rotated_secret_update_mysql.rb
|
|
2106
|
+
- lib/akeyless/models/rotated_secret_update_open_ai.rb
|
|
2103
2107
|
- lib/akeyless/models/rotated_secret_update_oracledb.rb
|
|
2104
2108
|
- lib/akeyless/models/rotated_secret_update_output.rb
|
|
2105
2109
|
- lib/akeyless/models/rotated_secret_update_postgresql.rb
|
|
@@ -3724,6 +3728,7 @@ files:
|
|
|
3724
3728
|
- spec/models/rotated_secret_create_mongodb_spec.rb
|
|
3725
3729
|
- spec/models/rotated_secret_create_mssql_spec.rb
|
|
3726
3730
|
- spec/models/rotated_secret_create_mysql_spec.rb
|
|
3731
|
+
- spec/models/rotated_secret_create_open_ai_spec.rb
|
|
3727
3732
|
- spec/models/rotated_secret_create_oracledb_spec.rb
|
|
3728
3733
|
- spec/models/rotated_secret_create_output_spec.rb
|
|
3729
3734
|
- spec/models/rotated_secret_create_postgresql_spec.rb
|
|
@@ -3751,6 +3756,7 @@ files:
|
|
|
3751
3756
|
- spec/models/rotated_secret_update_mongodb_spec.rb
|
|
3752
3757
|
- spec/models/rotated_secret_update_mssql_spec.rb
|
|
3753
3758
|
- spec/models/rotated_secret_update_mysql_spec.rb
|
|
3759
|
+
- spec/models/rotated_secret_update_open_ai_spec.rb
|
|
3754
3760
|
- spec/models/rotated_secret_update_oracledb_spec.rb
|
|
3755
3761
|
- spec/models/rotated_secret_update_output_spec.rb
|
|
3756
3762
|
- spec/models/rotated_secret_update_postgresql_spec.rb
|
|
@@ -4908,6 +4914,7 @@ test_files:
|
|
|
4908
4914
|
- spec/models/rotated_secret_create_mongodb_spec.rb
|
|
4909
4915
|
- spec/models/rotated_secret_create_mssql_spec.rb
|
|
4910
4916
|
- spec/models/rotated_secret_create_mysql_spec.rb
|
|
4917
|
+
- spec/models/rotated_secret_create_open_ai_spec.rb
|
|
4911
4918
|
- spec/models/rotated_secret_create_oracledb_spec.rb
|
|
4912
4919
|
- spec/models/rotated_secret_create_output_spec.rb
|
|
4913
4920
|
- spec/models/rotated_secret_create_postgresql_spec.rb
|
|
@@ -4935,6 +4942,7 @@ test_files:
|
|
|
4935
4942
|
- spec/models/rotated_secret_update_mongodb_spec.rb
|
|
4936
4943
|
- spec/models/rotated_secret_update_mssql_spec.rb
|
|
4937
4944
|
- spec/models/rotated_secret_update_mysql_spec.rb
|
|
4945
|
+
- spec/models/rotated_secret_update_open_ai_spec.rb
|
|
4938
4946
|
- spec/models/rotated_secret_update_oracledb_spec.rb
|
|
4939
4947
|
- spec/models/rotated_secret_update_output_spec.rb
|
|
4940
4948
|
- spec/models/rotated_secret_update_postgresql_spec.rb
|