akeyless 5.0.8 → 5.0.10
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 +9 -1
 - data/docs/CreateESM.md +2 -0
 - data/docs/CreateUSC.md +2 -0
 - data/docs/DSProducerDetails.md +12 -0
 - data/docs/DynamicSecretCreateGcp.md +2 -0
 - data/docs/DynamicSecretCreateOpenAI.md +40 -0
 - data/docs/DynamicSecretUpdateGcp.md +2 -0
 - data/docs/DynamicSecretUpdateOpenAI.md +42 -0
 - data/docs/EsmGetSecretOutput.md +2 -0
 - data/docs/EventForwarderCreateTeams.md +44 -0
 - data/docs/EventForwarderUpdateTeams.md +46 -0
 - data/docs/GatewayCreateMigration.md +1 -11
 - data/docs/GatewayCreateProducerGcp.md +2 -0
 - data/docs/GatewayUpdateMigration.md +0 -10
 - data/docs/GatewayUpdateProducerGcp.md +2 -0
 - data/docs/NotiForwarder.md +2 -0
 - data/docs/OpenAITargetDetails.md +3 -3
 - data/docs/SecretInfo.md +2 -0
 - data/docs/UscCreate.md +2 -0
 - data/docs/UscGetSecretOutput.md +2 -0
 - data/docs/UscUpdate.md +2 -0
 - data/docs/V2Api.md +252 -0
 - data/lib/akeyless/api/v2_api.rb +256 -0
 - data/lib/akeyless/models/create_esm.rb +11 -1
 - data/lib/akeyless/models/create_usc.rb +11 -1
 - data/lib/akeyless/models/ds_producer_details.rb +55 -1
 - data/lib/akeyless/models/dynamic_secret_create_gcp.rb +11 -1
 - data/lib/akeyless/models/dynamic_secret_create_open_ai.rb +339 -0
 - data/lib/akeyless/models/dynamic_secret_update_gcp.rb +11 -1
 - data/lib/akeyless/models/dynamic_secret_update_open_ai.rb +349 -0
 - data/lib/akeyless/models/esm_get_secret_output.rb +10 -1
 - data/lib/akeyless/models/event_forwarder_create_teams.rb +385 -0
 - data/lib/akeyless/models/event_forwarder_update_teams.rb +391 -0
 - data/lib/akeyless/models/gateway_create_migration.rb +2 -54
 - data/lib/akeyless/models/gateway_create_producer_gcp.rb +11 -1
 - data/lib/akeyless/models/gateway_update_migration.rb +1 -53
 - data/lib/akeyless/models/gateway_update_producer_gcp.rb +11 -1
 - data/lib/akeyless/models/noti_forwarder.rb +10 -1
 - data/lib/akeyless/models/open_ai_target_details.rb +13 -13
 - data/lib/akeyless/models/secret_info.rb +10 -1
 - data/lib/akeyless/models/usc_create.rb +11 -1
 - data/lib/akeyless/models/usc_get_secret_output.rb +10 -1
 - data/lib/akeyless/models/usc_update.rb +11 -1
 - data/lib/akeyless/version.rb +1 -1
 - data/lib/akeyless.rb +4 -0
 - data/spec/models/dynamic_secret_create_open_ai_spec.rb +102 -0
 - data/spec/models/dynamic_secret_update_open_ai_spec.rb +108 -0
 - data/spec/models/event_forwarder_create_teams_spec.rb +114 -0
 - data/spec/models/event_forwarder_update_teams_spec.rb +120 -0
 - metadata +17 -1
 
| 
         @@ -30,6 +30,9 @@ module Akeyless 
     | 
|
| 
       30 
30 
     | 
    
         
             
                # Service account key algorithm, e.g. KEY_ALG_RSA_1024
         
     | 
| 
       31 
31 
     | 
    
         
             
                attr_accessor :gcp_key_algo
         
     | 
| 
       32 
32 
     | 
    
         | 
| 
      
 33 
     | 
    
         
            +
                # GCP Project ID override for dynamic secret operations (tmp service accounts)
         
     | 
| 
      
 34 
     | 
    
         
            +
                attr_accessor :gcp_project_id
         
     | 
| 
      
 35 
     | 
    
         
            +
             
     | 
| 
       33 
36 
     | 
    
         
             
                # The email of the fixed service acocunt to generate keys or tokens for. (revelant for service-account-type=fixed)
         
     | 
| 
       34 
37 
     | 
    
         
             
                attr_accessor :gcp_sa_email
         
     | 
| 
       35 
38 
     | 
    
         | 
| 
         @@ -77,6 +80,7 @@ module Akeyless 
     | 
|
| 
       77 
80 
     | 
    
         
             
                    :'gcp_cred_type' => :'gcp-cred-type',
         
     | 
| 
       78 
81 
     | 
    
         
             
                    :'gcp_key' => :'gcp-key',
         
     | 
| 
       79 
82 
     | 
    
         
             
                    :'gcp_key_algo' => :'gcp-key-algo',
         
     | 
| 
      
 83 
     | 
    
         
            +
                    :'gcp_project_id' => :'gcp-project-id',
         
     | 
| 
       80 
84 
     | 
    
         
             
                    :'gcp_sa_email' => :'gcp-sa-email',
         
     | 
| 
       81 
85 
     | 
    
         
             
                    :'gcp_token_scopes' => :'gcp-token-scopes',
         
     | 
| 
       82 
86 
     | 
    
         
             
                    :'json' => :'json',
         
     | 
| 
         @@ -106,6 +110,7 @@ module Akeyless 
     | 
|
| 
       106 
110 
     | 
    
         
             
                    :'gcp_cred_type' => :'String',
         
     | 
| 
       107 
111 
     | 
    
         
             
                    :'gcp_key' => :'String',
         
     | 
| 
       108 
112 
     | 
    
         
             
                    :'gcp_key_algo' => :'String',
         
     | 
| 
      
 113 
     | 
    
         
            +
                    :'gcp_project_id' => :'String',
         
     | 
| 
       109 
114 
     | 
    
         
             
                    :'gcp_sa_email' => :'String',
         
     | 
| 
       110 
115 
     | 
    
         
             
                    :'gcp_token_scopes' => :'String',
         
     | 
| 
       111 
116 
     | 
    
         
             
                    :'json' => :'Boolean',
         
     | 
| 
         @@ -163,6 +168,10 @@ module Akeyless 
     | 
|
| 
       163 
168 
     | 
    
         
             
                    self.gcp_key_algo = attributes[:'gcp_key_algo']
         
     | 
| 
       164 
169 
     | 
    
         
             
                  end
         
     | 
| 
       165 
170 
     | 
    
         | 
| 
      
 171 
     | 
    
         
            +
                  if attributes.key?(:'gcp_project_id')
         
     | 
| 
      
 172 
     | 
    
         
            +
                    self.gcp_project_id = attributes[:'gcp_project_id']
         
     | 
| 
      
 173 
     | 
    
         
            +
                  end
         
     | 
| 
      
 174 
     | 
    
         
            +
             
     | 
| 
       166 
175 
     | 
    
         
             
                  if attributes.key?(:'gcp_sa_email')
         
     | 
| 
       167 
176 
     | 
    
         
             
                    self.gcp_sa_email = attributes[:'gcp_sa_email']
         
     | 
| 
       168 
177 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -261,6 +270,7 @@ module Akeyless 
     | 
|
| 
       261 
270 
     | 
    
         
             
                      gcp_cred_type == o.gcp_cred_type &&
         
     | 
| 
       262 
271 
     | 
    
         
             
                      gcp_key == o.gcp_key &&
         
     | 
| 
       263 
272 
     | 
    
         
             
                      gcp_key_algo == o.gcp_key_algo &&
         
     | 
| 
      
 273 
     | 
    
         
            +
                      gcp_project_id == o.gcp_project_id &&
         
     | 
| 
       264 
274 
     | 
    
         
             
                      gcp_sa_email == o.gcp_sa_email &&
         
     | 
| 
       265 
275 
     | 
    
         
             
                      gcp_token_scopes == o.gcp_token_scopes &&
         
     | 
| 
       266 
276 
     | 
    
         
             
                      json == o.json &&
         
     | 
| 
         @@ -285,7 +295,7 @@ module Akeyless 
     | 
|
| 
       285 
295 
     | 
    
         
             
                # Calculates hash code according to all attributes.
         
     | 
| 
       286 
296 
     | 
    
         
             
                # @return [Integer] Hash code
         
     | 
| 
       287 
297 
     | 
    
         
             
                def hash
         
     | 
| 
       288 
     | 
    
         
            -
                  [custom_username_template, delete_protection, gcp_cred_type, gcp_key, gcp_key_algo, gcp_sa_email, gcp_token_scopes, json, name, new_name, producer_encryption_key_name, role_binding, service_account_type, tags, target_name, token, uid_token, user_ttl].hash
         
     | 
| 
      
 298 
     | 
    
         
            +
                  [custom_username_template, delete_protection, gcp_cred_type, gcp_key, gcp_key_algo, gcp_project_id, gcp_sa_email, gcp_token_scopes, json, name, new_name, producer_encryption_key_name, role_binding, service_account_type, tags, target_name, token, uid_token, user_ttl].hash
         
     | 
| 
       289 
299 
     | 
    
         
             
                end
         
     | 
| 
       290 
300 
     | 
    
         | 
| 
       291 
301 
     | 
    
         
             
                # Builds the object from hash
         
     | 
| 
         @@ -58,6 +58,8 @@ module Akeyless 
     | 
|
| 
       58 
58 
     | 
    
         | 
| 
       59 
59 
     | 
    
         
             
                attr_accessor :slack_noti_forwarder_public_details
         
     | 
| 
       60 
60 
     | 
    
         | 
| 
      
 61 
     | 
    
         
            +
                attr_accessor :teams_noti_forwarder_public_details
         
     | 
| 
      
 62 
     | 
    
         
            +
             
     | 
| 
       61 
63 
     | 
    
         
             
                attr_accessor :timespan_in_seconds
         
     | 
| 
       62 
64 
     | 
    
         | 
| 
       63 
65 
     | 
    
         
             
                attr_accessor :to_emails
         
     | 
| 
         @@ -95,6 +97,7 @@ module Akeyless 
     | 
|
| 
       95 
97 
     | 
    
         
             
                    :'protection_key' => :'protection_key',
         
     | 
| 
       96 
98 
     | 
    
         
             
                    :'runner_type' => :'runner_type',
         
     | 
| 
       97 
99 
     | 
    
         
             
                    :'slack_noti_forwarder_public_details' => :'slack_noti_forwarder_public_details',
         
     | 
| 
      
 100 
     | 
    
         
            +
                    :'teams_noti_forwarder_public_details' => :'teams_noti_forwarder_public_details',
         
     | 
| 
       98 
101 
     | 
    
         
             
                    :'timespan_in_seconds' => :'timespan_in_seconds',
         
     | 
| 
       99 
102 
     | 
    
         
             
                    :'to_emails' => :'to_emails',
         
     | 
| 
       100 
103 
     | 
    
         
             
                    :'user_email' => :'user_email',
         
     | 
| 
         @@ -133,6 +136,7 @@ module Akeyless 
     | 
|
| 
       133 
136 
     | 
    
         
             
                    :'protection_key' => :'String',
         
     | 
| 
       134 
137 
     | 
    
         
             
                    :'runner_type' => :'String',
         
     | 
| 
       135 
138 
     | 
    
         
             
                    :'slack_noti_forwarder_public_details' => :'Object',
         
     | 
| 
      
 139 
     | 
    
         
            +
                    :'teams_noti_forwarder_public_details' => :'Object',
         
     | 
| 
       136 
140 
     | 
    
         
             
                    :'timespan_in_seconds' => :'Integer',
         
     | 
| 
       137 
141 
     | 
    
         
             
                    :'to_emails' => :'Array<EmailEntry>',
         
     | 
| 
       138 
142 
     | 
    
         
             
                    :'user_email' => :'String',
         
     | 
| 
         @@ -255,6 +259,10 @@ module Akeyless 
     | 
|
| 
       255 
259 
     | 
    
         
             
                    self.slack_noti_forwarder_public_details = attributes[:'slack_noti_forwarder_public_details']
         
     | 
| 
       256 
260 
     | 
    
         
             
                  end
         
     | 
| 
       257 
261 
     | 
    
         | 
| 
      
 262 
     | 
    
         
            +
                  if attributes.key?(:'teams_noti_forwarder_public_details')
         
     | 
| 
      
 263 
     | 
    
         
            +
                    self.teams_noti_forwarder_public_details = attributes[:'teams_noti_forwarder_public_details']
         
     | 
| 
      
 264 
     | 
    
         
            +
                  end
         
     | 
| 
      
 265 
     | 
    
         
            +
             
     | 
| 
       258 
266 
     | 
    
         
             
                  if attributes.key?(:'timespan_in_seconds')
         
     | 
| 
       259 
267 
     | 
    
         
             
                    self.timespan_in_seconds = attributes[:'timespan_in_seconds']
         
     | 
| 
       260 
268 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -323,6 +331,7 @@ module Akeyless 
     | 
|
| 
       323 
331 
     | 
    
         
             
                      protection_key == o.protection_key &&
         
     | 
| 
       324 
332 
     | 
    
         
             
                      runner_type == o.runner_type &&
         
     | 
| 
       325 
333 
     | 
    
         
             
                      slack_noti_forwarder_public_details == o.slack_noti_forwarder_public_details &&
         
     | 
| 
      
 334 
     | 
    
         
            +
                      teams_noti_forwarder_public_details == o.teams_noti_forwarder_public_details &&
         
     | 
| 
       326 
335 
     | 
    
         
             
                      timespan_in_seconds == o.timespan_in_seconds &&
         
     | 
| 
       327 
336 
     | 
    
         
             
                      to_emails == o.to_emails &&
         
     | 
| 
       328 
337 
     | 
    
         
             
                      user_email == o.user_email &&
         
     | 
| 
         @@ -340,7 +349,7 @@ module Akeyless 
     | 
|
| 
       340 
349 
     | 
    
         
             
                # Calculates hash code according to all attributes.
         
     | 
| 
       341 
350 
     | 
    
         
             
                # @return [Integer] Hash code
         
     | 
| 
       342 
351 
     | 
    
         
             
                def hash
         
     | 
| 
       343 
     | 
    
         
            -
                  [auth_type, client_id, client_permissions, comment, creation_date, endpoint, event_types, gateway_cluster_id, include_error, is_enabled, last_version, modification_date, noti_forwarder_id, noti_forwarder_name, noti_forwarder_type, noti_forwarder_versions, override_url, paths, protection_key, runner_type, slack_noti_forwarder_public_details, timespan_in_seconds, to_emails, user_email, username, webhook_noti_forwarder_public_details, with_customer_fragment].hash
         
     | 
| 
      
 352 
     | 
    
         
            +
                  [auth_type, client_id, client_permissions, comment, creation_date, endpoint, event_types, gateway_cluster_id, include_error, is_enabled, last_version, modification_date, noti_forwarder_id, noti_forwarder_name, noti_forwarder_type, noti_forwarder_versions, override_url, paths, protection_key, runner_type, slack_noti_forwarder_public_details, teams_noti_forwarder_public_details, timespan_in_seconds, to_emails, user_email, username, webhook_noti_forwarder_public_details, with_customer_fragment].hash
         
     | 
| 
       344 
353 
     | 
    
         
             
                end
         
     | 
| 
       345 
354 
     | 
    
         | 
| 
       346 
355 
     | 
    
         
             
                # Builds the object from hash
         
     | 
| 
         @@ -20,20 +20,20 @@ module Akeyless 
     | 
|
| 
       20 
20 
     | 
    
         | 
| 
       21 
21 
     | 
    
         
             
                attr_accessor :api_key_id
         
     | 
| 
       22 
22 
     | 
    
         | 
| 
       23 
     | 
    
         
            -
                attr_accessor :model
         
     | 
| 
       24 
     | 
    
         
            -
             
     | 
| 
       25 
23 
     | 
    
         
             
                attr_accessor :openai_url
         
     | 
| 
       26 
24 
     | 
    
         | 
| 
       27 
25 
     | 
    
         
             
                attr_accessor :organization_id
         
     | 
| 
       28 
26 
     | 
    
         | 
| 
      
 27 
     | 
    
         
            +
                attr_accessor :project_id
         
     | 
| 
      
 28 
     | 
    
         
            +
             
     | 
| 
       29 
29 
     | 
    
         
             
                # Attribute mapping from ruby-style variable name to JSON key.
         
     | 
| 
       30 
30 
     | 
    
         
             
                def self.attribute_map
         
     | 
| 
       31 
31 
     | 
    
         
             
                  {
         
     | 
| 
       32 
32 
     | 
    
         
             
                    :'api_key' => :'api_key',
         
     | 
| 
       33 
33 
     | 
    
         
             
                    :'api_key_id' => :'api_key_id',
         
     | 
| 
       34 
     | 
    
         
            -
                    :'model' => :'model',
         
     | 
| 
       35 
34 
     | 
    
         
             
                    :'openai_url' => :'openai_url',
         
     | 
| 
       36 
     | 
    
         
            -
                    :'organization_id' => :'organization_id'
         
     | 
| 
      
 35 
     | 
    
         
            +
                    :'organization_id' => :'organization_id',
         
     | 
| 
      
 36 
     | 
    
         
            +
                    :'project_id' => :'project_id'
         
     | 
| 
       37 
37 
     | 
    
         
             
                  }
         
     | 
| 
       38 
38 
     | 
    
         
             
                end
         
     | 
| 
       39 
39 
     | 
    
         | 
| 
         @@ -47,9 +47,9 @@ module Akeyless 
     | 
|
| 
       47 
47 
     | 
    
         
             
                  {
         
     | 
| 
       48 
48 
     | 
    
         
             
                    :'api_key' => :'String',
         
     | 
| 
       49 
49 
     | 
    
         
             
                    :'api_key_id' => :'String',
         
     | 
| 
       50 
     | 
    
         
            -
                    :'model' => :'String',
         
     | 
| 
       51 
50 
     | 
    
         
             
                    :'openai_url' => :'String',
         
     | 
| 
       52 
     | 
    
         
            -
                    :'organization_id' => :'String'
         
     | 
| 
      
 51 
     | 
    
         
            +
                    :'organization_id' => :'String',
         
     | 
| 
      
 52 
     | 
    
         
            +
                    :'project_id' => :'String'
         
     | 
| 
       53 
53 
     | 
    
         
             
                  }
         
     | 
| 
       54 
54 
     | 
    
         
             
                end
         
     | 
| 
       55 
55 
     | 
    
         | 
| 
         @@ -82,10 +82,6 @@ module Akeyless 
     | 
|
| 
       82 
82 
     | 
    
         
             
                    self.api_key_id = attributes[:'api_key_id']
         
     | 
| 
       83 
83 
     | 
    
         
             
                  end
         
     | 
| 
       84 
84 
     | 
    
         | 
| 
       85 
     | 
    
         
            -
                  if attributes.key?(:'model')
         
     | 
| 
       86 
     | 
    
         
            -
                    self.model = attributes[:'model']
         
     | 
| 
       87 
     | 
    
         
            -
                  end
         
     | 
| 
       88 
     | 
    
         
            -
             
     | 
| 
       89 
85 
     | 
    
         
             
                  if attributes.key?(:'openai_url')
         
     | 
| 
       90 
86 
     | 
    
         
             
                    self.openai_url = attributes[:'openai_url']
         
     | 
| 
       91 
87 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -93,6 +89,10 @@ module Akeyless 
     | 
|
| 
       93 
89 
     | 
    
         
             
                  if attributes.key?(:'organization_id')
         
     | 
| 
       94 
90 
     | 
    
         
             
                    self.organization_id = attributes[:'organization_id']
         
     | 
| 
       95 
91 
     | 
    
         
             
                  end
         
     | 
| 
      
 92 
     | 
    
         
            +
             
     | 
| 
      
 93 
     | 
    
         
            +
                  if attributes.key?(:'project_id')
         
     | 
| 
      
 94 
     | 
    
         
            +
                    self.project_id = attributes[:'project_id']
         
     | 
| 
      
 95 
     | 
    
         
            +
                  end
         
     | 
| 
       96 
96 
     | 
    
         
             
                end
         
     | 
| 
       97 
97 
     | 
    
         | 
| 
       98 
98 
     | 
    
         
             
                # Show invalid properties with the reasons. Usually used together with valid?
         
     | 
| 
         @@ -117,9 +117,9 @@ module Akeyless 
     | 
|
| 
       117 
117 
     | 
    
         
             
                  self.class == o.class &&
         
     | 
| 
       118 
118 
     | 
    
         
             
                      api_key == o.api_key &&
         
     | 
| 
       119 
119 
     | 
    
         
             
                      api_key_id == o.api_key_id &&
         
     | 
| 
       120 
     | 
    
         
            -
                      model == o.model &&
         
     | 
| 
       121 
120 
     | 
    
         
             
                      openai_url == o.openai_url &&
         
     | 
| 
       122 
     | 
    
         
            -
                      organization_id == o.organization_id
         
     | 
| 
      
 121 
     | 
    
         
            +
                      organization_id == o.organization_id &&
         
     | 
| 
      
 122 
     | 
    
         
            +
                      project_id == o.project_id
         
     | 
| 
       123 
123 
     | 
    
         
             
                end
         
     | 
| 
       124 
124 
     | 
    
         | 
| 
       125 
125 
     | 
    
         
             
                # @see the `==` method
         
     | 
| 
         @@ -131,7 +131,7 @@ module Akeyless 
     | 
|
| 
       131 
131 
     | 
    
         
             
                # Calculates hash code according to all attributes.
         
     | 
| 
       132 
132 
     | 
    
         
             
                # @return [Integer] Hash code
         
     | 
| 
       133 
133 
     | 
    
         
             
                def hash
         
     | 
| 
       134 
     | 
    
         
            -
                  [api_key, api_key_id,  
     | 
| 
      
 134 
     | 
    
         
            +
                  [api_key, api_key_id, openai_url, organization_id, project_id].hash
         
     | 
| 
       135 
135 
     | 
    
         
             
                end
         
     | 
| 
       136 
136 
     | 
    
         | 
| 
       137 
137 
     | 
    
         
             
                # Builds the object from hash
         
     | 
| 
         @@ -21,6 +21,8 @@ module Akeyless 
     | 
|
| 
       21 
21 
     | 
    
         | 
| 
       22 
22 
     | 
    
         
             
                attr_accessor :expiration
         
     | 
| 
       23 
23 
     | 
    
         | 
| 
      
 24 
     | 
    
         
            +
                attr_accessor :key_id
         
     | 
| 
      
 25 
     | 
    
         
            +
             
     | 
| 
       24 
26 
     | 
    
         
             
                attr_accessor :last_retrieved
         
     | 
| 
       25 
27 
     | 
    
         | 
| 
       26 
28 
     | 
    
         
             
                attr_accessor :location
         
     | 
| 
         @@ -45,6 +47,7 @@ module Akeyless 
     | 
|
| 
       45 
47 
     | 
    
         
             
                    :'created' => :'created',
         
     | 
| 
       46 
48 
     | 
    
         
             
                    :'description' => :'description',
         
     | 
| 
       47 
49 
     | 
    
         
             
                    :'expiration' => :'expiration',
         
     | 
| 
      
 50 
     | 
    
         
            +
                    :'key_id' => :'key_id',
         
     | 
| 
       48 
51 
     | 
    
         
             
                    :'last_retrieved' => :'last_retrieved',
         
     | 
| 
       49 
52 
     | 
    
         
             
                    :'location' => :'location',
         
     | 
| 
       50 
53 
     | 
    
         
             
                    :'name' => :'name',
         
     | 
| 
         @@ -68,6 +71,7 @@ module Akeyless 
     | 
|
| 
       68 
71 
     | 
    
         
             
                    :'created' => :'Time',
         
     | 
| 
       69 
72 
     | 
    
         
             
                    :'description' => :'String',
         
     | 
| 
       70 
73 
     | 
    
         
             
                    :'expiration' => :'Time',
         
     | 
| 
      
 74 
     | 
    
         
            +
                    :'key_id' => :'String',
         
     | 
| 
       71 
75 
     | 
    
         
             
                    :'last_retrieved' => :'Time',
         
     | 
| 
       72 
76 
     | 
    
         
             
                    :'location' => :'Object',
         
     | 
| 
       73 
77 
     | 
    
         
             
                    :'name' => :'String',
         
     | 
| 
         @@ -114,6 +118,10 @@ module Akeyless 
     | 
|
| 
       114 
118 
     | 
    
         
             
                    self.expiration = attributes[:'expiration']
         
     | 
| 
       115 
119 
     | 
    
         
             
                  end
         
     | 
| 
       116 
120 
     | 
    
         | 
| 
      
 121 
     | 
    
         
            +
                  if attributes.key?(:'key_id')
         
     | 
| 
      
 122 
     | 
    
         
            +
                    self.key_id = attributes[:'key_id']
         
     | 
| 
      
 123 
     | 
    
         
            +
                  end
         
     | 
| 
      
 124 
     | 
    
         
            +
             
     | 
| 
       117 
125 
     | 
    
         
             
                  if attributes.key?(:'last_retrieved')
         
     | 
| 
       118 
126 
     | 
    
         
             
                    self.last_retrieved = attributes[:'last_retrieved']
         
     | 
| 
       119 
127 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -176,6 +184,7 @@ module Akeyless 
     | 
|
| 
       176 
184 
     | 
    
         
             
                      created == o.created &&
         
     | 
| 
       177 
185 
     | 
    
         
             
                      description == o.description &&
         
     | 
| 
       178 
186 
     | 
    
         
             
                      expiration == o.expiration &&
         
     | 
| 
      
 187 
     | 
    
         
            +
                      key_id == o.key_id &&
         
     | 
| 
       179 
188 
     | 
    
         
             
                      last_retrieved == o.last_retrieved &&
         
     | 
| 
       180 
189 
     | 
    
         
             
                      location == o.location &&
         
     | 
| 
       181 
190 
     | 
    
         
             
                      name == o.name &&
         
     | 
| 
         @@ -196,7 +205,7 @@ module Akeyless 
     | 
|
| 
       196 
205 
     | 
    
         
             
                # Calculates hash code according to all attributes.
         
     | 
| 
       197 
206 
     | 
    
         
             
                # @return [Integer] Hash code
         
     | 
| 
       198 
207 
     | 
    
         
             
                def hash
         
     | 
| 
       199 
     | 
    
         
            -
                  [created, description, expiration, last_retrieved, location, name, secret_id, status, tags, thumbprint, type, version].hash
         
     | 
| 
      
 208 
     | 
    
         
            +
                  [created, description, expiration, key_id, last_retrieved, location, name, secret_id, status, tags, thumbprint, type, version].hash
         
     | 
| 
       200 
209 
     | 
    
         
             
                end
         
     | 
| 
       201 
210 
     | 
    
         | 
| 
       202 
211 
     | 
    
         
             
                # Builds the object from hash
         
     | 
| 
         @@ -45,6 +45,9 @@ module Akeyless 
     | 
|
| 
       45 
45 
     | 
    
         
             
                # The universal identity token, Required only for universal_identity authentication
         
     | 
| 
       46 
46 
     | 
    
         
             
                attr_accessor :uid_token
         
     | 
| 
       47 
47 
     | 
    
         | 
| 
      
 48 
     | 
    
         
            +
                # Optional, The name of the remote key that used to encrypt the secret value (if empty, the default key will be used)
         
     | 
| 
      
 49 
     | 
    
         
            +
                attr_accessor :usc_encryption_key
         
     | 
| 
      
 50 
     | 
    
         
            +
             
     | 
| 
       48 
51 
     | 
    
         
             
                # Name of the Universal Secrets Connector item
         
     | 
| 
       49 
52 
     | 
    
         
             
                attr_accessor :usc_name
         
     | 
| 
       50 
53 
     | 
    
         | 
| 
         @@ -64,6 +67,7 @@ module Akeyless 
     | 
|
| 
       64 
67 
     | 
    
         
             
                    :'tags' => :'tags',
         
     | 
| 
       65 
68 
     | 
    
         
             
                    :'token' => :'token',
         
     | 
| 
       66 
69 
     | 
    
         
             
                    :'uid_token' => :'uid-token',
         
     | 
| 
      
 70 
     | 
    
         
            +
                    :'usc_encryption_key' => :'usc-encryption-key',
         
     | 
| 
       67 
71 
     | 
    
         
             
                    :'usc_name' => :'usc-name',
         
     | 
| 
       68 
72 
     | 
    
         
             
                    :'value' => :'value'
         
     | 
| 
       69 
73 
     | 
    
         
             
                  }
         
     | 
| 
         @@ -87,6 +91,7 @@ module Akeyless 
     | 
|
| 
       87 
91 
     | 
    
         
             
                    :'tags' => :'Hash<String, String>',
         
     | 
| 
       88 
92 
     | 
    
         
             
                    :'token' => :'String',
         
     | 
| 
       89 
93 
     | 
    
         
             
                    :'uid_token' => :'String',
         
     | 
| 
      
 94 
     | 
    
         
            +
                    :'usc_encryption_key' => :'String',
         
     | 
| 
       90 
95 
     | 
    
         
             
                    :'usc_name' => :'String',
         
     | 
| 
       91 
96 
     | 
    
         
             
                    :'value' => :'String'
         
     | 
| 
       92 
97 
     | 
    
         
             
                  }
         
     | 
| 
         @@ -159,6 +164,10 @@ module Akeyless 
     | 
|
| 
       159 
164 
     | 
    
         
             
                    self.uid_token = attributes[:'uid_token']
         
     | 
| 
       160 
165 
     | 
    
         
             
                  end
         
     | 
| 
       161 
166 
     | 
    
         | 
| 
      
 167 
     | 
    
         
            +
                  if attributes.key?(:'usc_encryption_key')
         
     | 
| 
      
 168 
     | 
    
         
            +
                    self.usc_encryption_key = attributes[:'usc_encryption_key']
         
     | 
| 
      
 169 
     | 
    
         
            +
                  end
         
     | 
| 
      
 170 
     | 
    
         
            +
             
     | 
| 
       162 
171 
     | 
    
         
             
                  if attributes.key?(:'usc_name')
         
     | 
| 
       163 
172 
     | 
    
         
             
                    self.usc_name = attributes[:'usc_name']
         
     | 
| 
       164 
173 
     | 
    
         
             
                  else
         
     | 
| 
         @@ -217,6 +226,7 @@ module Akeyless 
     | 
|
| 
       217 
226 
     | 
    
         
             
                      tags == o.tags &&
         
     | 
| 
       218 
227 
     | 
    
         
             
                      token == o.token &&
         
     | 
| 
       219 
228 
     | 
    
         
             
                      uid_token == o.uid_token &&
         
     | 
| 
      
 229 
     | 
    
         
            +
                      usc_encryption_key == o.usc_encryption_key &&
         
     | 
| 
       220 
230 
     | 
    
         
             
                      usc_name == o.usc_name &&
         
     | 
| 
       221 
231 
     | 
    
         
             
                      value == o.value
         
     | 
| 
       222 
232 
     | 
    
         
             
                end
         
     | 
| 
         @@ -230,7 +240,7 @@ module Akeyless 
     | 
|
| 
       230 
240 
     | 
    
         
             
                # Calculates hash code according to all attributes.
         
     | 
| 
       231 
241 
     | 
    
         
             
                # @return [Integer] Hash code
         
     | 
| 
       232 
242 
     | 
    
         
             
                def hash
         
     | 
| 
       233 
     | 
    
         
            -
                  [binary_value, description, json, namespace, object_type, pfx_password, secret_name, tags, token, uid_token, usc_name, value].hash
         
     | 
| 
      
 243 
     | 
    
         
            +
                  [binary_value, description, json, namespace, object_type, pfx_password, secret_name, tags, token, uid_token, usc_encryption_key, usc_name, value].hash
         
     | 
| 
       234 
244 
     | 
    
         
             
                end
         
     | 
| 
       235 
245 
     | 
    
         | 
| 
       236 
246 
     | 
    
         
             
                # Builds the object from hash
         
     | 
| 
         @@ -17,6 +17,8 @@ module Akeyless 
     | 
|
| 
       17 
17 
     | 
    
         
             
              class UscGetSecretOutput
         
     | 
| 
       18 
18 
     | 
    
         
             
                attr_accessor :binary_value
         
     | 
| 
       19 
19 
     | 
    
         | 
| 
      
 20 
     | 
    
         
            +
                attr_accessor :encryption_key
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
       20 
22 
     | 
    
         
             
                attr_accessor :id
         
     | 
| 
       21 
23 
     | 
    
         | 
| 
       22 
24 
     | 
    
         
             
                attr_accessor :metadata
         
     | 
| 
         @@ -29,6 +31,7 @@ module Akeyless 
     | 
|
| 
       29 
31 
     | 
    
         
             
                def self.attribute_map
         
     | 
| 
       30 
32 
     | 
    
         
             
                  {
         
     | 
| 
       31 
33 
     | 
    
         
             
                    :'binary_value' => :'binary_value',
         
     | 
| 
      
 34 
     | 
    
         
            +
                    :'encryption_key' => :'encryption_key',
         
     | 
| 
       32 
35 
     | 
    
         
             
                    :'id' => :'id',
         
     | 
| 
       33 
36 
     | 
    
         
             
                    :'metadata' => :'metadata',
         
     | 
| 
       34 
37 
     | 
    
         
             
                    :'name' => :'name',
         
     | 
| 
         @@ -45,6 +48,7 @@ module Akeyless 
     | 
|
| 
       45 
48 
     | 
    
         
             
                def self.openapi_types
         
     | 
| 
       46 
49 
     | 
    
         
             
                  {
         
     | 
| 
       47 
50 
     | 
    
         
             
                    :'binary_value' => :'Boolean',
         
     | 
| 
      
 51 
     | 
    
         
            +
                    :'encryption_key' => :'String',
         
     | 
| 
       48 
52 
     | 
    
         
             
                    :'id' => :'String',
         
     | 
| 
       49 
53 
     | 
    
         
             
                    :'metadata' => :'Object',
         
     | 
| 
       50 
54 
     | 
    
         
             
                    :'name' => :'String',
         
     | 
| 
         @@ -78,6 +82,10 @@ module Akeyless 
     | 
|
| 
       78 
82 
     | 
    
         
             
                    self.binary_value = attributes[:'binary_value']
         
     | 
| 
       79 
83 
     | 
    
         
             
                  end
         
     | 
| 
       80 
84 
     | 
    
         | 
| 
      
 85 
     | 
    
         
            +
                  if attributes.key?(:'encryption_key')
         
     | 
| 
      
 86 
     | 
    
         
            +
                    self.encryption_key = attributes[:'encryption_key']
         
     | 
| 
      
 87 
     | 
    
         
            +
                  end
         
     | 
| 
      
 88 
     | 
    
         
            +
             
     | 
| 
       81 
89 
     | 
    
         
             
                  if attributes.key?(:'id')
         
     | 
| 
       82 
90 
     | 
    
         
             
                    self.id = attributes[:'id']
         
     | 
| 
       83 
91 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -116,6 +124,7 @@ module Akeyless 
     | 
|
| 
       116 
124 
     | 
    
         
             
                  return true if self.equal?(o)
         
     | 
| 
       117 
125 
     | 
    
         
             
                  self.class == o.class &&
         
     | 
| 
       118 
126 
     | 
    
         
             
                      binary_value == o.binary_value &&
         
     | 
| 
      
 127 
     | 
    
         
            +
                      encryption_key == o.encryption_key &&
         
     | 
| 
       119 
128 
     | 
    
         
             
                      id == o.id &&
         
     | 
| 
       120 
129 
     | 
    
         
             
                      metadata == o.metadata &&
         
     | 
| 
       121 
130 
     | 
    
         
             
                      name == o.name &&
         
     | 
| 
         @@ -131,7 +140,7 @@ module Akeyless 
     | 
|
| 
       131 
140 
     | 
    
         
             
                # Calculates hash code according to all attributes.
         
     | 
| 
       132 
141 
     | 
    
         
             
                # @return [Integer] Hash code
         
     | 
| 
       133 
142 
     | 
    
         
             
                def hash
         
     | 
| 
       134 
     | 
    
         
            -
                  [binary_value, id, metadata, name, value].hash
         
     | 
| 
      
 143 
     | 
    
         
            +
                  [binary_value, encryption_key, id, metadata, name, value].hash
         
     | 
| 
       135 
144 
     | 
    
         
             
                end
         
     | 
| 
       136 
145 
     | 
    
         | 
| 
       137 
146 
     | 
    
         
             
                # Builds the object from hash
         
     | 
| 
         @@ -43,6 +43,9 @@ module Akeyless 
     | 
|
| 
       43 
43 
     | 
    
         
             
                # The universal identity token, Required only for universal_identity authentication
         
     | 
| 
       44 
44 
     | 
    
         
             
                attr_accessor :uid_token
         
     | 
| 
       45 
45 
     | 
    
         | 
| 
      
 46 
     | 
    
         
            +
                # Optional, The name of the remote key that used to encrypt the secret value (if empty, the default key will be used)
         
     | 
| 
      
 47 
     | 
    
         
            +
                attr_accessor :usc_encryption_key
         
     | 
| 
      
 48 
     | 
    
         
            +
             
     | 
| 
       46 
49 
     | 
    
         
             
                # Name of the Universal Secrets Connector item
         
     | 
| 
       47 
50 
     | 
    
         
             
                attr_accessor :usc_name
         
     | 
| 
       48 
51 
     | 
    
         | 
| 
         @@ -61,6 +64,7 @@ module Akeyless 
     | 
|
| 
       61 
64 
     | 
    
         
             
                    :'tags' => :'tags',
         
     | 
| 
       62 
65 
     | 
    
         
             
                    :'token' => :'token',
         
     | 
| 
       63 
66 
     | 
    
         
             
                    :'uid_token' => :'uid-token',
         
     | 
| 
      
 67 
     | 
    
         
            +
                    :'usc_encryption_key' => :'usc-encryption-key',
         
     | 
| 
       64 
68 
     | 
    
         
             
                    :'usc_name' => :'usc-name',
         
     | 
| 
       65 
69 
     | 
    
         
             
                    :'value' => :'value'
         
     | 
| 
       66 
70 
     | 
    
         
             
                  }
         
     | 
| 
         @@ -83,6 +87,7 @@ module Akeyless 
     | 
|
| 
       83 
87 
     | 
    
         
             
                    :'tags' => :'Hash<String, String>',
         
     | 
| 
       84 
88 
     | 
    
         
             
                    :'token' => :'String',
         
     | 
| 
       85 
89 
     | 
    
         
             
                    :'uid_token' => :'String',
         
     | 
| 
      
 90 
     | 
    
         
            +
                    :'usc_encryption_key' => :'String',
         
     | 
| 
       86 
91 
     | 
    
         
             
                    :'usc_name' => :'String',
         
     | 
| 
       87 
92 
     | 
    
         
             
                    :'value' => :'String'
         
     | 
| 
       88 
93 
     | 
    
         
             
                  }
         
     | 
| 
         @@ -151,6 +156,10 @@ module Akeyless 
     | 
|
| 
       151 
156 
     | 
    
         
             
                    self.uid_token = attributes[:'uid_token']
         
     | 
| 
       152 
157 
     | 
    
         
             
                  end
         
     | 
| 
       153 
158 
     | 
    
         | 
| 
      
 159 
     | 
    
         
            +
                  if attributes.key?(:'usc_encryption_key')
         
     | 
| 
      
 160 
     | 
    
         
            +
                    self.usc_encryption_key = attributes[:'usc_encryption_key']
         
     | 
| 
      
 161 
     | 
    
         
            +
                  end
         
     | 
| 
      
 162 
     | 
    
         
            +
             
     | 
| 
       154 
163 
     | 
    
         
             
                  if attributes.key?(:'usc_name')
         
     | 
| 
       155 
164 
     | 
    
         
             
                    self.usc_name = attributes[:'usc_name']
         
     | 
| 
       156 
165 
     | 
    
         
             
                  else
         
     | 
| 
         @@ -208,6 +217,7 @@ module Akeyless 
     | 
|
| 
       208 
217 
     | 
    
         
             
                      tags == o.tags &&
         
     | 
| 
       209 
218 
     | 
    
         
             
                      token == o.token &&
         
     | 
| 
       210 
219 
     | 
    
         
             
                      uid_token == o.uid_token &&
         
     | 
| 
      
 220 
     | 
    
         
            +
                      usc_encryption_key == o.usc_encryption_key &&
         
     | 
| 
       211 
221 
     | 
    
         
             
                      usc_name == o.usc_name &&
         
     | 
| 
       212 
222 
     | 
    
         
             
                      value == o.value
         
     | 
| 
       213 
223 
     | 
    
         
             
                end
         
     | 
| 
         @@ -221,7 +231,7 @@ module Akeyless 
     | 
|
| 
       221 
231 
     | 
    
         
             
                # Calculates hash code according to all attributes.
         
     | 
| 
       222 
232 
     | 
    
         
             
                # @return [Integer] Hash code
         
     | 
| 
       223 
233 
     | 
    
         
             
                def hash
         
     | 
| 
       224 
     | 
    
         
            -
                  [binary_value, description, json, namespace, pfx_password, secret_id, tags, token, uid_token, usc_name, value].hash
         
     | 
| 
      
 234 
     | 
    
         
            +
                  [binary_value, description, json, namespace, pfx_password, secret_id, tags, token, uid_token, usc_encryption_key, usc_name, value].hash
         
     | 
| 
       225 
235 
     | 
    
         
             
                end
         
     | 
| 
       226 
236 
     | 
    
         | 
| 
       227 
237 
     | 
    
         
             
                # Builds the object from hash
         
     | 
    
        data/lib/akeyless/version.rb
    CHANGED
    
    
    
        data/lib/akeyless.rb
    CHANGED
    
    | 
         @@ -313,6 +313,7 @@ require 'akeyless/models/dynamic_secret_create_ldap' 
     | 
|
| 
       313 
313 
     | 
    
         
             
            require 'akeyless/models/dynamic_secret_create_mongo_db'
         
     | 
| 
       314 
314 
     | 
    
         
             
            require 'akeyless/models/dynamic_secret_create_ms_sql'
         
     | 
| 
       315 
315 
     | 
    
         
             
            require 'akeyless/models/dynamic_secret_create_my_sql'
         
     | 
| 
      
 316 
     | 
    
         
            +
            require 'akeyless/models/dynamic_secret_create_open_ai'
         
     | 
| 
       316 
317 
     | 
    
         
             
            require 'akeyless/models/dynamic_secret_create_oracle_db'
         
     | 
| 
       317 
318 
     | 
    
         
             
            require 'akeyless/models/dynamic_secret_create_output'
         
     | 
| 
       318 
319 
     | 
    
         
             
            require 'akeyless/models/dynamic_secret_create_ping'
         
     | 
| 
         @@ -352,6 +353,7 @@ require 'akeyless/models/dynamic_secret_update_ldap' 
     | 
|
| 
       352 
353 
     | 
    
         
             
            require 'akeyless/models/dynamic_secret_update_mongo_db'
         
     | 
| 
       353 
354 
     | 
    
         
             
            require 'akeyless/models/dynamic_secret_update_ms_sql'
         
     | 
| 
       354 
355 
     | 
    
         
             
            require 'akeyless/models/dynamic_secret_update_my_sql'
         
     | 
| 
      
 356 
     | 
    
         
            +
            require 'akeyless/models/dynamic_secret_update_open_ai'
         
     | 
| 
       355 
357 
     | 
    
         
             
            require 'akeyless/models/dynamic_secret_update_oracle_db'
         
     | 
| 
       356 
358 
     | 
    
         
             
            require 'akeyless/models/dynamic_secret_update_output'
         
     | 
| 
       357 
359 
     | 
    
         
             
            require 'akeyless/models/dynamic_secret_update_ping'
         
     | 
| 
         @@ -390,6 +392,7 @@ require 'akeyless/models/event_action' 
     | 
|
| 
       390 
392 
     | 
    
         
             
            require 'akeyless/models/event_forwarder_create_email'
         
     | 
| 
       391 
393 
     | 
    
         
             
            require 'akeyless/models/event_forwarder_create_service_now'
         
     | 
| 
       392 
394 
     | 
    
         
             
            require 'akeyless/models/event_forwarder_create_slack'
         
     | 
| 
      
 395 
     | 
    
         
            +
            require 'akeyless/models/event_forwarder_create_teams'
         
     | 
| 
       393 
396 
     | 
    
         
             
            require 'akeyless/models/event_forwarder_create_update_output'
         
     | 
| 
       394 
397 
     | 
    
         
             
            require 'akeyless/models/event_forwarder_create_webhook'
         
     | 
| 
       395 
398 
     | 
    
         
             
            require 'akeyless/models/event_forwarder_delete'
         
     | 
| 
         @@ -399,6 +402,7 @@ require 'akeyless/models/event_forwarder_get_output' 
     | 
|
| 
       399 
402 
     | 
    
         
             
            require 'akeyless/models/event_forwarder_update_email'
         
     | 
| 
       400 
403 
     | 
    
         
             
            require 'akeyless/models/event_forwarder_update_service_now'
         
     | 
| 
       401 
404 
     | 
    
         
             
            require 'akeyless/models/event_forwarder_update_slack'
         
     | 
| 
      
 405 
     | 
    
         
            +
            require 'akeyless/models/event_forwarder_update_teams'
         
     | 
| 
       402 
406 
     | 
    
         
             
            require 'akeyless/models/event_forwarder_update_webhook'
         
     | 
| 
       403 
407 
     | 
    
         
             
            require 'akeyless/models/export_classic_key'
         
     | 
| 
       404 
408 
     | 
    
         
             
            require 'akeyless/models/export_classic_key_output'
         
     | 
| 
         @@ -0,0 +1,102 @@ 
     | 
|
| 
      
 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::DynamicSecretCreateOpenAI
         
     | 
| 
      
 18 
     | 
    
         
            +
            # Automatically generated by openapi-generator (https://openapi-generator.tech)
         
     | 
| 
      
 19 
     | 
    
         
            +
            # Please update as you see appropriate
         
     | 
| 
      
 20 
     | 
    
         
            +
            describe Akeyless::DynamicSecretCreateOpenAI do
         
     | 
| 
      
 21 
     | 
    
         
            +
              let(:instance) { Akeyless::DynamicSecretCreateOpenAI.new }
         
     | 
| 
      
 22 
     | 
    
         
            +
             
     | 
| 
      
 23 
     | 
    
         
            +
              describe 'test an instance of DynamicSecretCreateOpenAI' do
         
     | 
| 
      
 24 
     | 
    
         
            +
                it 'should create an instance of DynamicSecretCreateOpenAI' do
         
     | 
| 
      
 25 
     | 
    
         
            +
                  # uncomment below to test the instance creation
         
     | 
| 
      
 26 
     | 
    
         
            +
                  #expect(instance).to be_instance_of(Akeyless::DynamicSecretCreateOpenAI)
         
     | 
| 
      
 27 
     | 
    
         
            +
                end
         
     | 
| 
      
 28 
     | 
    
         
            +
              end
         
     | 
| 
      
 29 
     | 
    
         
            +
             
     | 
| 
      
 30 
     | 
    
         
            +
              describe 'test attribute "custom_username_template"' 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 "delete_protection"' 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 "description"' 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 "json"' 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 "name"' 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 "producer_encryption_key_name"' 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 "project_id"' 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 "tags"' 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 "target_name"' 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 "token"' 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 "uid_token"' 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 "user_ttl"' 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 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -0,0 +1,108 @@ 
     | 
|
| 
      
 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::DynamicSecretUpdateOpenAI
         
     | 
| 
      
 18 
     | 
    
         
            +
            # Automatically generated by openapi-generator (https://openapi-generator.tech)
         
     | 
| 
      
 19 
     | 
    
         
            +
            # Please update as you see appropriate
         
     | 
| 
      
 20 
     | 
    
         
            +
            describe Akeyless::DynamicSecretUpdateOpenAI do
         
     | 
| 
      
 21 
     | 
    
         
            +
              let(:instance) { Akeyless::DynamicSecretUpdateOpenAI.new }
         
     | 
| 
      
 22 
     | 
    
         
            +
             
     | 
| 
      
 23 
     | 
    
         
            +
              describe 'test an instance of DynamicSecretUpdateOpenAI' do
         
     | 
| 
      
 24 
     | 
    
         
            +
                it 'should create an instance of DynamicSecretUpdateOpenAI' do
         
     | 
| 
      
 25 
     | 
    
         
            +
                  # uncomment below to test the instance creation
         
     | 
| 
      
 26 
     | 
    
         
            +
                  #expect(instance).to be_instance_of(Akeyless::DynamicSecretUpdateOpenAI)
         
     | 
| 
      
 27 
     | 
    
         
            +
                end
         
     | 
| 
      
 28 
     | 
    
         
            +
              end
         
     | 
| 
      
 29 
     | 
    
         
            +
             
     | 
| 
      
 30 
     | 
    
         
            +
              describe 'test attribute "custom_username_template"' 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 "delete_protection"' 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 "description"' 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 "json"' 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 "name"' 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 "new_name"' 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 "producer_encryption_key_name"' 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 "project_id"' 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 "tags"' 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 "target_name"' 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 "token"' 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 "uid_token"' 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 "user_ttl"' 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 
     | 
    
         
            +
            end
         
     |