akeyless 5.0.16 → 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/AuthMethodCreateApiKey.md +1 -1
- data/docs/AuthMethodCreateAwsIam.md +1 -1
- data/docs/AuthMethodCreateAzureAD.md +1 -1
- data/docs/AuthMethodCreateCert.md +1 -1
- data/docs/AuthMethodCreateEmail.md +1 -1
- data/docs/AuthMethodCreateGcp.md +1 -1
- data/docs/AuthMethodCreateK8s.md +1 -1
- data/docs/AuthMethodCreateKerberos.md +1 -1
- data/docs/AuthMethodCreateLdap.md +1 -1
- data/docs/AuthMethodCreateOCI.md +1 -1
- data/docs/AuthMethodCreateOIDC.md +1 -1
- data/docs/AuthMethodCreateOauth2.md +1 -1
- data/docs/AuthMethodCreateSAML.md +1 -1
- data/docs/AuthMethodCreateUniversalIdentity.md +1 -1
- data/docs/AuthMethodUpdateApiKey.md +1 -1
- data/docs/AuthMethodUpdateAwsIam.md +1 -1
- data/docs/AuthMethodUpdateAzureAD.md +1 -1
- data/docs/AuthMethodUpdateCert.md +1 -1
- data/docs/AuthMethodUpdateEmail.md +1 -1
- data/docs/AuthMethodUpdateGcp.md +1 -1
- data/docs/AuthMethodUpdateK8s.md +1 -1
- data/docs/AuthMethodUpdateKerberos.md +1 -1
- data/docs/AuthMethodUpdateLdap.md +1 -1
- data/docs/AuthMethodUpdateOCI.md +1 -1
- data/docs/AuthMethodUpdateOIDC.md +1 -1
- data/docs/AuthMethodUpdateOauth2.md +1 -1
- data/docs/AuthMethodUpdateSAML.md +1 -1
- data/docs/AuthMethodUpdateUniversalIdentity.md +1 -1
- data/docs/CreateAuthMethod.md +1 -1
- data/docs/CreateAuthMethodAWSIAM.md +1 -1
- data/docs/CreateAuthMethodAzureAD.md +1 -1
- data/docs/CreateAuthMethodCert.md +1 -1
- data/docs/CreateAuthMethodEmail.md +1 -1
- data/docs/CreateAuthMethodGCP.md +1 -1
- data/docs/CreateAuthMethodHuawei.md +1 -1
- data/docs/CreateAuthMethodK8S.md +1 -1
- data/docs/CreateAuthMethodLDAP.md +1 -1
- data/docs/CreateAuthMethodOAuth2.md +1 -1
- data/docs/CreateAuthMethodOCI.md +1 -1
- data/docs/CreateAuthMethodOIDC.md +1 -1
- data/docs/CreateAuthMethodSAML.md +1 -1
- data/docs/CreateAuthMethodUniversalIdentity.md +1 -1
- data/docs/CreatePKICertIssuer.md +3 -3
- 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/UpdateAccountSettings.md +2 -2
- data/docs/UpdateAuthMethod.md +1 -1
- data/docs/UpdateAuthMethodAWSIAM.md +1 -1
- data/docs/UpdateAuthMethodAzureAD.md +1 -1
- data/docs/UpdateAuthMethodCert.md +1 -1
- data/docs/UpdateAuthMethodGCP.md +1 -1
- data/docs/UpdateAuthMethodK8S.md +1 -1
- data/docs/UpdateAuthMethodLDAP.md +1 -1
- data/docs/UpdateAuthMethodOAuth2.md +1 -1
- data/docs/UpdateAuthMethodOCI.md +1 -1
- data/docs/UpdateAuthMethodOIDC.md +1 -1
- data/docs/UpdateAuthMethodSAML.md +1 -1
- data/docs/UpdateAuthMethodUniversalIdentity.md +1 -1
- data/docs/UpdatePKICertIssuer.md +3 -3
- 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/auth_method_create_api_key.rb +1 -0
- data/lib/akeyless/models/auth_method_create_aws_iam.rb +1 -0
- data/lib/akeyless/models/auth_method_create_azure_ad.rb +1 -0
- data/lib/akeyless/models/auth_method_create_cert.rb +1 -0
- data/lib/akeyless/models/auth_method_create_email.rb +1 -0
- data/lib/akeyless/models/auth_method_create_gcp.rb +1 -0
- data/lib/akeyless/models/auth_method_create_k8s.rb +1 -0
- data/lib/akeyless/models/auth_method_create_kerberos.rb +1 -0
- data/lib/akeyless/models/auth_method_create_ldap.rb +1 -0
- data/lib/akeyless/models/auth_method_create_oauth2.rb +1 -0
- data/lib/akeyless/models/auth_method_create_oci.rb +1 -0
- data/lib/akeyless/models/auth_method_create_oidc.rb +1 -0
- data/lib/akeyless/models/auth_method_create_saml.rb +1 -0
- data/lib/akeyless/models/auth_method_create_universal_identity.rb +1 -0
- data/lib/akeyless/models/auth_method_update_api_key.rb +1 -0
- data/lib/akeyless/models/auth_method_update_aws_iam.rb +1 -0
- data/lib/akeyless/models/auth_method_update_azure_ad.rb +1 -0
- data/lib/akeyless/models/auth_method_update_cert.rb +1 -0
- data/lib/akeyless/models/auth_method_update_email.rb +1 -0
- data/lib/akeyless/models/auth_method_update_gcp.rb +1 -0
- data/lib/akeyless/models/auth_method_update_k8s.rb +1 -0
- data/lib/akeyless/models/auth_method_update_kerberos.rb +1 -0
- data/lib/akeyless/models/auth_method_update_ldap.rb +1 -0
- data/lib/akeyless/models/auth_method_update_oauth2.rb +1 -0
- data/lib/akeyless/models/auth_method_update_oci.rb +1 -0
- data/lib/akeyless/models/auth_method_update_oidc.rb +1 -0
- data/lib/akeyless/models/auth_method_update_saml.rb +1 -0
- data/lib/akeyless/models/auth_method_update_universal_identity.rb +1 -0
- data/lib/akeyless/models/create_auth_method.rb +1 -0
- data/lib/akeyless/models/create_auth_method_awsiam.rb +1 -0
- data/lib/akeyless/models/create_auth_method_azure_ad.rb +1 -0
- data/lib/akeyless/models/create_auth_method_cert.rb +1 -0
- data/lib/akeyless/models/create_auth_method_email.rb +1 -0
- data/lib/akeyless/models/create_auth_method_gcp.rb +1 -0
- data/lib/akeyless/models/create_auth_method_huawei.rb +1 -0
- data/lib/akeyless/models/create_auth_method_k8_s.rb +1 -0
- data/lib/akeyless/models/create_auth_method_ldap.rb +1 -0
- data/lib/akeyless/models/create_auth_method_o_auth2.rb +1 -0
- data/lib/akeyless/models/create_auth_method_oci.rb +1 -0
- data/lib/akeyless/models/create_auth_method_oidc.rb +1 -0
- data/lib/akeyless/models/create_auth_method_saml.rb +1 -0
- data/lib/akeyless/models/create_auth_method_universal_identity.rb +1 -0
- data/lib/akeyless/models/create_pki_cert_issuer.rb +3 -0
- 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/update_account_settings.rb +2 -0
- data/lib/akeyless/models/update_auth_method.rb +1 -0
- data/lib/akeyless/models/update_auth_method_awsiam.rb +1 -0
- data/lib/akeyless/models/update_auth_method_azure_ad.rb +1 -0
- data/lib/akeyless/models/update_auth_method_cert.rb +1 -0
- data/lib/akeyless/models/update_auth_method_gcp.rb +1 -0
- data/lib/akeyless/models/update_auth_method_k8_s.rb +1 -0
- data/lib/akeyless/models/update_auth_method_ldap.rb +1 -0
- data/lib/akeyless/models/update_auth_method_o_auth2.rb +1 -0
- data/lib/akeyless/models/update_auth_method_oci.rb +1 -0
- data/lib/akeyless/models/update_auth_method_oidc.rb +1 -0
- data/lib/akeyless/models/update_auth_method_saml.rb +1 -0
- data/lib/akeyless/models/update_auth_method_universal_identity.rb +1 -0
- data/lib/akeyless/models/update_pki_cert_issuer.rb +3 -0
- 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
|
@@ -54,11 +54,13 @@ module Akeyless
|
|
|
54
54
|
# Set this to allow the issuer will expose a CRL endpoint in the Gateway
|
|
55
55
|
attr_accessor :create_private_crl
|
|
56
56
|
|
|
57
|
+
# Set this to enable an OCSP endpoint in the Gateway and include its URL in AIA
|
|
57
58
|
attr_accessor :create_private_ocsp
|
|
58
59
|
|
|
59
60
|
# Set this to allow the cert issuer will expose a public CRL endpoint
|
|
60
61
|
attr_accessor :create_public_crl
|
|
61
62
|
|
|
63
|
+
# Set this to enable a public OCSP endpoint and include its URL in AIA (served by UAM and includes account id)
|
|
62
64
|
attr_accessor :create_public_ocsp
|
|
63
65
|
|
|
64
66
|
# Mark key usage as critical [true/false]
|
|
@@ -118,6 +120,7 @@ module Akeyless
|
|
|
118
120
|
# If set, clients can request certificates without a CN
|
|
119
121
|
attr_accessor :not_require_cn
|
|
120
122
|
|
|
123
|
+
# OCSP NextUpdate window for OCSP responses (min 10m). Supports s,m,h,d suffix.
|
|
121
124
|
attr_accessor :ocsp_ttl
|
|
122
125
|
|
|
123
126
|
# A comma-separated list of organizational units (OU) that will be set in the issued certificate
|
|
@@ -15,6 +15,8 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
class UscSyncInfo
|
|
18
|
+
attr_accessor :delete_remote
|
|
19
|
+
|
|
18
20
|
attr_accessor :jq_secret_filter
|
|
19
21
|
|
|
20
22
|
attr_accessor :last_error
|
|
@@ -28,6 +30,7 @@ module Akeyless
|
|
|
28
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
29
31
|
def self.attribute_map
|
|
30
32
|
{
|
|
33
|
+
:'delete_remote' => :'delete_remote',
|
|
31
34
|
:'jq_secret_filter' => :'jq_secret_filter',
|
|
32
35
|
:'last_error' => :'last_error',
|
|
33
36
|
:'namespace' => :'namespace',
|
|
@@ -44,6 +47,7 @@ module Akeyless
|
|
|
44
47
|
# Attribute type mapping.
|
|
45
48
|
def self.openapi_types
|
|
46
49
|
{
|
|
50
|
+
:'delete_remote' => :'Boolean',
|
|
47
51
|
:'jq_secret_filter' => :'String',
|
|
48
52
|
:'last_error' => :'String',
|
|
49
53
|
:'namespace' => :'String',
|
|
@@ -73,6 +77,10 @@ module Akeyless
|
|
|
73
77
|
h[k.to_sym] = v
|
|
74
78
|
}
|
|
75
79
|
|
|
80
|
+
if attributes.key?(:'delete_remote')
|
|
81
|
+
self.delete_remote = attributes[:'delete_remote']
|
|
82
|
+
end
|
|
83
|
+
|
|
76
84
|
if attributes.key?(:'jq_secret_filter')
|
|
77
85
|
self.jq_secret_filter = attributes[:'jq_secret_filter']
|
|
78
86
|
end
|
|
@@ -114,6 +122,7 @@ module Akeyless
|
|
|
114
122
|
def ==(o)
|
|
115
123
|
return true if self.equal?(o)
|
|
116
124
|
self.class == o.class &&
|
|
125
|
+
delete_remote == o.delete_remote &&
|
|
117
126
|
jq_secret_filter == o.jq_secret_filter &&
|
|
118
127
|
last_error == o.last_error &&
|
|
119
128
|
namespace == o.namespace &&
|
|
@@ -130,7 +139,7 @@ module Akeyless
|
|
|
130
139
|
# Calculates hash code according to all attributes.
|
|
131
140
|
# @return [Integer] Hash code
|
|
132
141
|
def hash
|
|
133
|
-
[jq_secret_filter, last_error, namespace, secret_id, secret_name].hash
|
|
142
|
+
[delete_remote, jq_secret_filter, last_error, namespace, secret_id, secret_name].hash
|
|
134
143
|
end
|
|
135
144
|
|
|
136
145
|
# Builds the object from hash
|
data/lib/akeyless/version.rb
CHANGED
data/lib/akeyless.rb
CHANGED
|
@@ -844,6 +844,7 @@ require 'akeyless/models/rotated_secret_create_ldap'
|
|
|
844
844
|
require 'akeyless/models/rotated_secret_create_mongodb'
|
|
845
845
|
require 'akeyless/models/rotated_secret_create_mssql'
|
|
846
846
|
require 'akeyless/models/rotated_secret_create_mysql'
|
|
847
|
+
require 'akeyless/models/rotated_secret_create_open_ai'
|
|
847
848
|
require 'akeyless/models/rotated_secret_create_oracledb'
|
|
848
849
|
require 'akeyless/models/rotated_secret_create_output'
|
|
849
850
|
require 'akeyless/models/rotated_secret_create_postgresql'
|
|
@@ -871,6 +872,7 @@ require 'akeyless/models/rotated_secret_update_ldap'
|
|
|
871
872
|
require 'akeyless/models/rotated_secret_update_mongodb'
|
|
872
873
|
require 'akeyless/models/rotated_secret_update_mssql'
|
|
873
874
|
require 'akeyless/models/rotated_secret_update_mysql'
|
|
875
|
+
require 'akeyless/models/rotated_secret_update_open_ai'
|
|
874
876
|
require 'akeyless/models/rotated_secret_update_oracledb'
|
|
875
877
|
require 'akeyless/models/rotated_secret_update_output'
|
|
876
878
|
require 'akeyless/models/rotated_secret_update_postgresql'
|
|
@@ -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
|