akeyless 3.5.4 → 3.6.0
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 -2
- data/docs/AssocTargetItem.md +8 -0
- data/docs/AuthMethod.md +2 -0
- data/docs/CertificateChainInfo.md +4 -0
- data/docs/CertificateVersionInfo.md +22 -0
- data/docs/Connect.md +1 -1
- data/docs/CreateAuthMethod.md +2 -0
- data/docs/CreateAuthMethodAWSIAM.md +2 -0
- data/docs/CreateAuthMethodAzureAD.md +3 -1
- data/docs/CreateAuthMethodCert.md +2 -0
- data/docs/CreateAuthMethodEmail.md +2 -0
- data/docs/CreateAuthMethodGCP.md +2 -0
- data/docs/CreateAuthMethodHuawei.md +2 -0
- data/docs/CreateAuthMethodK8S.md +2 -0
- data/docs/CreateAuthMethodLDAP.md +2 -0
- data/docs/CreateAuthMethodOAuth2.md +2 -0
- data/docs/CreateAuthMethodOIDC.md +2 -0
- data/docs/CreateAuthMethodSAML.md +2 -0
- data/docs/CreateAuthMethodUniversalIdentity.md +2 -0
- data/docs/CreateEventForwarder.md +1 -1
- data/docs/CreateLinkedTarget.md +2 -0
- data/docs/CreateRole.md +4 -0
- data/docs/CreateRotatedSecret.md +7 -1
- data/docs/CreateSSHCertIssuer.md +4 -4
- data/docs/CreateSecret.md +2 -0
- data/docs/GatewayCreateMigration.md +2 -0
- data/docs/GatewayCreateProducerCassandra.md +4 -0
- data/docs/GatewayUpdateItem.md +2 -0
- data/docs/GatewayUpdateMigration.md +2 -0
- data/docs/GatewayUpdateProducerCassandra.md +4 -0
- data/docs/GenerateCsr.md +1 -1
- data/docs/GwClusterIdentity.md +2 -0
- data/docs/ImportPasswords.md +3 -1
- data/docs/ImportPasswordsOutput.md +3 -1
- data/docs/ItemVersion.md +2 -0
- data/docs/ProvisionCertificate.md +28 -0
- data/docs/ProvisionCertificateOutput.md +24 -0
- data/docs/RenewCertificate.md +28 -0
- data/docs/RenewCertificateOutput.md +28 -0
- data/docs/SecureRemoteAccess.md +2 -0
- data/docs/ServerInventoryPayload.md +2 -0
- data/docs/SetRoleRule.md +1 -1
- data/docs/SignDataWithClassicKey.md +2 -0
- data/docs/SignEcDsa.md +5 -1
- data/docs/SignPKCS1.md +9 -1
- data/docs/SignPKCS1Output.md +1 -1
- data/docs/SignRsaSsaPss.md +5 -1
- data/docs/StaticSecretDetailsInfo.md +2 -0
- data/docs/TargetItemVersion.md +2 -0
- data/docs/UpdateAuthMethod.md +2 -0
- data/docs/UpdateAuthMethodAWSIAM.md +2 -0
- data/docs/UpdateAuthMethodAzureAD.md +3 -1
- data/docs/UpdateAuthMethodCert.md +2 -0
- data/docs/UpdateAuthMethodGCP.md +2 -0
- data/docs/UpdateAuthMethodK8S.md +2 -0
- data/docs/UpdateAuthMethodLDAP.md +2 -0
- data/docs/UpdateAuthMethodOAuth2.md +2 -0
- data/docs/UpdateAuthMethodOIDC.md +2 -0
- data/docs/UpdateAuthMethodSAML.md +2 -0
- data/docs/UpdateAuthMethodUniversalIdentity.md +2 -0
- data/docs/UpdateCertificateValue.md +2 -0
- data/docs/UpdateItem.md +6 -0
- data/docs/UpdateLinkedTarget.md +2 -0
- data/docs/UpdateRole.md +4 -0
- data/docs/UpdateSSHCertIssuer.md +3 -3
- data/docs/UpdateSecretVal.md +2 -0
- data/docs/V2Api.md +138 -9
- data/docs/VerifyEcDsa.md +5 -1
- data/docs/VerifyPKCS1.md +9 -1
- data/docs/VerifyRsaSsaPss.md +5 -1
- data/lib/akeyless/api/v2_api.rb +146 -7
- data/lib/akeyless/models/assoc_target_item.rb +43 -1
- data/lib/akeyless/models/auth_method.rb +10 -1
- data/lib/akeyless/models/certificate_chain_info.rb +19 -1
- data/lib/akeyless/models/certificate_version_info.rb +232 -0
- data/lib/akeyless/models/connect.rb +1 -1
- data/lib/akeyless/models/create_auth_method.rb +11 -1
- data/lib/akeyless/models/create_auth_method_awsiam.rb +11 -1
- data/lib/akeyless/models/create_auth_method_azure_ad.rb +12 -2
- data/lib/akeyless/models/create_auth_method_cert.rb +11 -1
- data/lib/akeyless/models/create_auth_method_email.rb +11 -1
- data/lib/akeyless/models/create_auth_method_gcp.rb +11 -1
- data/lib/akeyless/models/create_auth_method_huawei.rb +11 -1
- data/lib/akeyless/models/create_auth_method_k8_s.rb +11 -1
- data/lib/akeyless/models/create_auth_method_ldap.rb +11 -1
- data/lib/akeyless/models/create_auth_method_o_auth2.rb +11 -1
- data/lib/akeyless/models/create_auth_method_oidc.rb +11 -1
- data/lib/akeyless/models/create_auth_method_saml.rb +11 -1
- data/lib/akeyless/models/create_auth_method_universal_identity.rb +11 -1
- data/lib/akeyless/models/create_event_forwarder.rb +1 -1
- data/lib/akeyless/models/create_linked_target.rb +11 -1
- data/lib/akeyless/models/create_role.rb +21 -1
- data/lib/akeyless/models/create_rotated_secret.rb +35 -2
- data/lib/akeyless/models/create_secret.rb +11 -1
- data/lib/akeyless/models/create_ssh_cert_issuer.rb +9 -9
- data/lib/akeyless/models/gateway_create_migration.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_cassandra.rb +23 -1
- data/lib/akeyless/models/gateway_update_item.rb +11 -1
- data/lib/akeyless/models/gateway_update_migration.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_cassandra.rb +23 -1
- data/lib/akeyless/models/generate_csr.rb +1 -1
- data/lib/akeyless/models/gw_cluster_identity.rb +10 -1
- data/lib/akeyless/models/import_passwords.rb +13 -4
- data/lib/akeyless/models/import_passwords_output.rb +13 -4
- data/lib/akeyless/models/item_version.rb +10 -1
- data/lib/akeyless/models/provision_certificate.rb +275 -0
- data/lib/akeyless/models/provision_certificate_output.rb +243 -0
- data/lib/akeyless/models/renew_certificate.rb +267 -0
- data/lib/akeyless/models/renew_certificate_output.rb +259 -0
- data/lib/akeyless/models/secure_remote_access.rb +12 -1
- data/lib/akeyless/models/server_inventory_payload.rb +12 -1
- data/lib/akeyless/models/set_role_rule.rb +1 -1
- data/lib/akeyless/models/sign_data_with_classic_key.rb +13 -1
- data/lib/akeyless/models/sign_ec_dsa.rb +24 -4
- data/lib/akeyless/models/sign_pkcs1.rb +44 -4
- data/lib/akeyless/models/sign_pkcs1_output.rb +2 -4
- data/lib/akeyless/models/sign_rsa_ssa_pss.rb +24 -4
- data/lib/akeyless/models/static_secret_details_info.rb +10 -1
- data/lib/akeyless/models/target_item_version.rb +10 -1
- data/lib/akeyless/models/update_auth_method.rb +11 -1
- data/lib/akeyless/models/update_auth_method_awsiam.rb +11 -1
- data/lib/akeyless/models/update_auth_method_azure_ad.rb +12 -2
- data/lib/akeyless/models/update_auth_method_cert.rb +11 -1
- data/lib/akeyless/models/update_auth_method_gcp.rb +11 -1
- data/lib/akeyless/models/update_auth_method_k8_s.rb +11 -1
- data/lib/akeyless/models/update_auth_method_ldap.rb +11 -1
- data/lib/akeyless/models/update_auth_method_o_auth2.rb +11 -1
- data/lib/akeyless/models/update_auth_method_oidc.rb +11 -1
- data/lib/akeyless/models/update_auth_method_saml.rb +11 -1
- data/lib/akeyless/models/update_auth_method_universal_identity.rb +11 -1
- data/lib/akeyless/models/update_certificate_value.rb +11 -1
- data/lib/akeyless/models/update_item.rb +32 -1
- data/lib/akeyless/models/update_linked_target.rb +11 -1
- data/lib/akeyless/models/update_role.rb +21 -1
- data/lib/akeyless/models/update_secret_val.rb +11 -1
- data/lib/akeyless/models/update_ssh_cert_issuer.rb +8 -8
- data/lib/akeyless/models/verify_ec_dsa.rb +24 -4
- data/lib/akeyless/models/verify_pkcs1.rb +44 -4
- data/lib/akeyless/models/verify_rsa_ssa_pss.rb +24 -4
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +5 -0
- data/spec/models/certificate_version_info_spec.rb +48 -0
- data/spec/models/provision_certificate_output_spec.rb +54 -0
- data/spec/models/provision_certificate_spec.rb +66 -0
- data/spec/models/renew_certificate_output_spec.rb +66 -0
- data/spec/models/renew_certificate_spec.rb +66 -0
- metadata +23 -3
|
@@ -15,6 +15,8 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
class CreateRotatedSecret
|
|
18
|
+
attr_accessor :provider_type
|
|
19
|
+
|
|
18
20
|
# API ID to rotate (relevant only for rotator-type=api-key)
|
|
19
21
|
attr_accessor :api_id
|
|
20
22
|
|
|
@@ -51,6 +53,9 @@ module Akeyless
|
|
|
51
53
|
# The key id of the gcp service account to rotate
|
|
52
54
|
attr_accessor :gcp_service_account_key_id
|
|
53
55
|
|
|
56
|
+
# Host provider type [explicit/target], Relevant only for Secure Remote Access of ssh cert issuer and ldap rotated secret
|
|
57
|
+
attr_accessor :host_provider
|
|
58
|
+
|
|
54
59
|
# Set output format to JSON
|
|
55
60
|
attr_accessor :json
|
|
56
61
|
|
|
@@ -72,7 +77,7 @@ module Akeyless
|
|
|
72
77
|
# username to be rotated, if selected use-self-creds at rotator-creds-type, this username will try to rotate it's own password, if use-target-creds is selected, target credentials will be use to rotate the rotated-password (relevant only for rotator-type=password)
|
|
73
78
|
attr_accessor :rotated_username
|
|
74
79
|
|
|
75
|
-
# The Hour of the rotation in UTC
|
|
80
|
+
# The Hour of the rotation in UTC. Default rotation-hour is 14:00
|
|
76
81
|
attr_accessor :rotation_hour
|
|
77
82
|
|
|
78
83
|
# The number of days to wait between every automatic key rotation (1-365)
|
|
@@ -140,6 +145,9 @@ module Akeyless
|
|
|
140
145
|
# Add tags attached to this object
|
|
141
146
|
attr_accessor :tags
|
|
142
147
|
|
|
148
|
+
# A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer and ldap rotated secret, To specify multiple targets use argument multiple times
|
|
149
|
+
attr_accessor :target
|
|
150
|
+
|
|
143
151
|
# Target name
|
|
144
152
|
attr_accessor :target_name
|
|
145
153
|
|
|
@@ -158,6 +166,7 @@ module Akeyless
|
|
|
158
166
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
159
167
|
def self.attribute_map
|
|
160
168
|
{
|
|
169
|
+
:'provider_type' => :'ProviderType',
|
|
161
170
|
:'api_id' => :'api-id',
|
|
162
171
|
:'api_key' => :'api-key',
|
|
163
172
|
:'application_id' => :'application-id',
|
|
@@ -170,6 +179,7 @@ module Akeyless
|
|
|
170
179
|
:'gcp_key' => :'gcp-key',
|
|
171
180
|
:'gcp_service_account_email' => :'gcp-service-account-email',
|
|
172
181
|
:'gcp_service_account_key_id' => :'gcp-service-account-key-id',
|
|
182
|
+
:'host_provider' => :'host-provider',
|
|
173
183
|
:'json' => :'json',
|
|
174
184
|
:'key' => :'key',
|
|
175
185
|
:'metadata' => :'metadata',
|
|
@@ -200,6 +210,7 @@ module Akeyless
|
|
|
200
210
|
:'ssh_username' => :'ssh-username',
|
|
201
211
|
:'storage_account_key_name' => :'storage-account-key-name',
|
|
202
212
|
:'tags' => :'tags',
|
|
213
|
+
:'target' => :'target',
|
|
203
214
|
:'target_name' => :'target-name',
|
|
204
215
|
:'token' => :'token',
|
|
205
216
|
:'uid_token' => :'uid-token',
|
|
@@ -216,6 +227,7 @@ module Akeyless
|
|
|
216
227
|
# Attribute type mapping.
|
|
217
228
|
def self.openapi_types
|
|
218
229
|
{
|
|
230
|
+
:'provider_type' => :'String',
|
|
219
231
|
:'api_id' => :'String',
|
|
220
232
|
:'api_key' => :'String',
|
|
221
233
|
:'application_id' => :'String',
|
|
@@ -228,6 +240,7 @@ module Akeyless
|
|
|
228
240
|
:'gcp_key' => :'String',
|
|
229
241
|
:'gcp_service_account_email' => :'String',
|
|
230
242
|
:'gcp_service_account_key_id' => :'String',
|
|
243
|
+
:'host_provider' => :'String',
|
|
231
244
|
:'json' => :'Boolean',
|
|
232
245
|
:'key' => :'String',
|
|
233
246
|
:'metadata' => :'String',
|
|
@@ -258,6 +271,7 @@ module Akeyless
|
|
|
258
271
|
:'ssh_username' => :'String',
|
|
259
272
|
:'storage_account_key_name' => :'String',
|
|
260
273
|
:'tags' => :'Array<String>',
|
|
274
|
+
:'target' => :'Array<String>',
|
|
261
275
|
:'target_name' => :'String',
|
|
262
276
|
:'token' => :'String',
|
|
263
277
|
:'uid_token' => :'String',
|
|
@@ -287,6 +301,10 @@ module Akeyless
|
|
|
287
301
|
h[k.to_sym] = v
|
|
288
302
|
}
|
|
289
303
|
|
|
304
|
+
if attributes.key?(:'provider_type')
|
|
305
|
+
self.provider_type = attributes[:'provider_type']
|
|
306
|
+
end
|
|
307
|
+
|
|
290
308
|
if attributes.key?(:'api_id')
|
|
291
309
|
self.api_id = attributes[:'api_id']
|
|
292
310
|
end
|
|
@@ -339,6 +357,12 @@ module Akeyless
|
|
|
339
357
|
self.gcp_service_account_key_id = attributes[:'gcp_service_account_key_id']
|
|
340
358
|
end
|
|
341
359
|
|
|
360
|
+
if attributes.key?(:'host_provider')
|
|
361
|
+
self.host_provider = attributes[:'host_provider']
|
|
362
|
+
else
|
|
363
|
+
self.host_provider = 'explicit'
|
|
364
|
+
end
|
|
365
|
+
|
|
342
366
|
if attributes.key?(:'json')
|
|
343
367
|
self.json = attributes[:'json']
|
|
344
368
|
else
|
|
@@ -479,6 +503,12 @@ module Akeyless
|
|
|
479
503
|
end
|
|
480
504
|
end
|
|
481
505
|
|
|
506
|
+
if attributes.key?(:'target')
|
|
507
|
+
if (value = attributes[:'target']).is_a?(Array)
|
|
508
|
+
self.target = value
|
|
509
|
+
end
|
|
510
|
+
end
|
|
511
|
+
|
|
482
512
|
if attributes.key?(:'target_name')
|
|
483
513
|
self.target_name = attributes[:'target_name']
|
|
484
514
|
else
|
|
@@ -537,6 +567,7 @@ module Akeyless
|
|
|
537
567
|
def ==(o)
|
|
538
568
|
return true if self.equal?(o)
|
|
539
569
|
self.class == o.class &&
|
|
570
|
+
provider_type == o.provider_type &&
|
|
540
571
|
api_id == o.api_id &&
|
|
541
572
|
api_key == o.api_key &&
|
|
542
573
|
application_id == o.application_id &&
|
|
@@ -549,6 +580,7 @@ module Akeyless
|
|
|
549
580
|
gcp_key == o.gcp_key &&
|
|
550
581
|
gcp_service_account_email == o.gcp_service_account_email &&
|
|
551
582
|
gcp_service_account_key_id == o.gcp_service_account_key_id &&
|
|
583
|
+
host_provider == o.host_provider &&
|
|
552
584
|
json == o.json &&
|
|
553
585
|
key == o.key &&
|
|
554
586
|
metadata == o.metadata &&
|
|
@@ -579,6 +611,7 @@ module Akeyless
|
|
|
579
611
|
ssh_username == o.ssh_username &&
|
|
580
612
|
storage_account_key_name == o.storage_account_key_name &&
|
|
581
613
|
tags == o.tags &&
|
|
614
|
+
target == o.target &&
|
|
582
615
|
target_name == o.target_name &&
|
|
583
616
|
token == o.token &&
|
|
584
617
|
uid_token == o.uid_token &&
|
|
@@ -595,7 +628,7 @@ module Akeyless
|
|
|
595
628
|
# Calculates hash code according to all attributes.
|
|
596
629
|
# @return [Integer] Hash code
|
|
597
630
|
def hash
|
|
598
|
-
[api_id, api_key, application_id, authentication_credentials, auto_rotate, aws_region, custom_payload, delete_protection, description, gcp_key, gcp_service_account_email, gcp_service_account_key_id, json, key, metadata, name, rotate_after_disconnect, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_creds_type, rotator_custom_cmd, rotator_type, same_password, secure_access_allow_external_user, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_bastion_issuer, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, ssh_password, ssh_username, storage_account_key_name, tags, target_name, token, uid_token, user_attribute, user_dn].hash
|
|
631
|
+
[provider_type, api_id, api_key, application_id, authentication_credentials, auto_rotate, aws_region, custom_payload, delete_protection, description, gcp_key, gcp_service_account_email, gcp_service_account_key_id, host_provider, json, key, metadata, name, rotate_after_disconnect, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_creds_type, rotator_custom_cmd, rotator_type, same_password, secure_access_allow_external_user, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_bastion_issuer, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, ssh_password, ssh_username, storage_account_key_name, tags, target, target_name, token, uid_token, user_attribute, user_dn].hash
|
|
599
632
|
end
|
|
600
633
|
|
|
601
634
|
# Builds the object from hash
|
|
@@ -18,6 +18,9 @@ module Akeyless
|
|
|
18
18
|
# for personal password manager
|
|
19
19
|
attr_accessor :accessibility
|
|
20
20
|
|
|
21
|
+
# Trigger an event when a secret value changed [true/false] (Relevant only for Static Secret)
|
|
22
|
+
attr_accessor :change_event
|
|
23
|
+
|
|
21
24
|
# For Password Management use, additional fields
|
|
22
25
|
attr_accessor :custom_field
|
|
23
26
|
|
|
@@ -97,6 +100,7 @@ module Akeyless
|
|
|
97
100
|
def self.attribute_map
|
|
98
101
|
{
|
|
99
102
|
:'accessibility' => :'accessibility',
|
|
103
|
+
:'change_event' => :'change-event',
|
|
100
104
|
:'custom_field' => :'custom-field',
|
|
101
105
|
:'delete_protection' => :'delete_protection',
|
|
102
106
|
:'description' => :'description',
|
|
@@ -134,6 +138,7 @@ module Akeyless
|
|
|
134
138
|
def self.openapi_types
|
|
135
139
|
{
|
|
136
140
|
:'accessibility' => :'String',
|
|
141
|
+
:'change_event' => :'String',
|
|
137
142
|
:'custom_field' => :'Hash<String, String>',
|
|
138
143
|
:'delete_protection' => :'String',
|
|
139
144
|
:'description' => :'String',
|
|
@@ -189,6 +194,10 @@ module Akeyless
|
|
|
189
194
|
self.accessibility = 'regular'
|
|
190
195
|
end
|
|
191
196
|
|
|
197
|
+
if attributes.key?(:'change_event')
|
|
198
|
+
self.change_event = attributes[:'change_event']
|
|
199
|
+
end
|
|
200
|
+
|
|
192
201
|
if attributes.key?(:'custom_field')
|
|
193
202
|
if (value = attributes[:'custom_field']).is_a?(Hash)
|
|
194
203
|
self.custom_field = value
|
|
@@ -341,6 +350,7 @@ module Akeyless
|
|
|
341
350
|
return true if self.equal?(o)
|
|
342
351
|
self.class == o.class &&
|
|
343
352
|
accessibility == o.accessibility &&
|
|
353
|
+
change_event == o.change_event &&
|
|
344
354
|
custom_field == o.custom_field &&
|
|
345
355
|
delete_protection == o.delete_protection &&
|
|
346
356
|
description == o.description &&
|
|
@@ -377,7 +387,7 @@ module Akeyless
|
|
|
377
387
|
# Calculates hash code according to all attributes.
|
|
378
388
|
# @return [Integer] Hash code
|
|
379
389
|
def hash
|
|
380
|
-
[accessibility, custom_field, delete_protection, description, inject_url, json, metadata, multiline_value, name, password, protection_key, secure_access_bastion_issuer, secure_access_enable, secure_access_host, secure_access_rdp_user, secure_access_ssh_creds, secure_access_ssh_user, secure_access_url, secure_access_web_browsing, secure_access_web_proxy, tags, token, type, uid_token, username, value].hash
|
|
390
|
+
[accessibility, change_event, custom_field, delete_protection, description, inject_url, json, metadata, multiline_value, name, password, protection_key, secure_access_bastion_issuer, secure_access_enable, secure_access_host, secure_access_rdp_user, secure_access_ssh_creds, secure_access_ssh_user, secure_access_url, secure_access_web_browsing, secure_access_web_proxy, tags, token, type, uid_token, username, value].hash
|
|
381
391
|
end
|
|
382
392
|
|
|
383
393
|
# Builds the object from hash
|
|
@@ -15,7 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
class CreateSSHCertIssuer
|
|
18
|
-
attr_accessor :
|
|
18
|
+
attr_accessor :provider_type
|
|
19
19
|
|
|
20
20
|
# Users allowed to fetch the certificate, e.g root,ubuntu
|
|
21
21
|
attr_accessor :allowed_users
|
|
@@ -29,7 +29,7 @@ module Akeyless
|
|
|
29
29
|
# Signed certificates with extensions, e.g permit-port-forwarding=\\\"\\\"
|
|
30
30
|
attr_accessor :extensions
|
|
31
31
|
|
|
32
|
-
# Host provider type [explicit/target]
|
|
32
|
+
# Host provider type [explicit/target], Relevant only for Secure Remote Access of ssh cert issuer and ldap rotated secret
|
|
33
33
|
attr_accessor :host_provider
|
|
34
34
|
|
|
35
35
|
# Set output format to JSON
|
|
@@ -68,7 +68,7 @@ module Akeyless
|
|
|
68
68
|
# List of the tags attached to this key
|
|
69
69
|
attr_accessor :tag
|
|
70
70
|
|
|
71
|
-
# A list of
|
|
71
|
+
# A list of linked targets to be associated, Relevant only for Secure Remote Access for ssh cert issuer and ldap rotated secret, To specify multiple targets use argument multiple times
|
|
72
72
|
attr_accessor :target
|
|
73
73
|
|
|
74
74
|
# Authentication token (see `/auth` and `/configure`)
|
|
@@ -83,7 +83,7 @@ module Akeyless
|
|
|
83
83
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
84
84
|
def self.attribute_map
|
|
85
85
|
{
|
|
86
|
-
:'
|
|
86
|
+
:'provider_type' => :'ProviderType',
|
|
87
87
|
:'allowed_users' => :'allowed-users',
|
|
88
88
|
:'delete_protection' => :'delete_protection',
|
|
89
89
|
:'description' => :'description',
|
|
@@ -116,7 +116,7 @@ module Akeyless
|
|
|
116
116
|
# Attribute type mapping.
|
|
117
117
|
def self.openapi_types
|
|
118
118
|
{
|
|
119
|
-
:'
|
|
119
|
+
:'provider_type' => :'String',
|
|
120
120
|
:'allowed_users' => :'String',
|
|
121
121
|
:'delete_protection' => :'String',
|
|
122
122
|
:'description' => :'String',
|
|
@@ -162,8 +162,8 @@ module Akeyless
|
|
|
162
162
|
h[k.to_sym] = v
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
-
if attributes.key?(:'
|
|
166
|
-
self.
|
|
165
|
+
if attributes.key?(:'provider_type')
|
|
166
|
+
self.provider_type = attributes[:'provider_type']
|
|
167
167
|
end
|
|
168
168
|
|
|
169
169
|
if attributes.key?(:'allowed_users')
|
|
@@ -311,7 +311,7 @@ module Akeyless
|
|
|
311
311
|
def ==(o)
|
|
312
312
|
return true if self.equal?(o)
|
|
313
313
|
self.class == o.class &&
|
|
314
|
-
|
|
314
|
+
provider_type == o.provider_type &&
|
|
315
315
|
allowed_users == o.allowed_users &&
|
|
316
316
|
delete_protection == o.delete_protection &&
|
|
317
317
|
description == o.description &&
|
|
@@ -344,7 +344,7 @@ module Akeyless
|
|
|
344
344
|
# Calculates hash code according to all attributes.
|
|
345
345
|
# @return [Integer] Hash code
|
|
346
346
|
def hash
|
|
347
|
-
[
|
|
347
|
+
[provider_type, allowed_users, delete_protection, description, extensions, host_provider, json, metadata, name, principals, secure_access_bastion_api, secure_access_bastion_ssh, secure_access_enable, secure_access_host, secure_access_ssh_creds_user, secure_access_use_internal_bastion, signer_key_name, tag, target, token, ttl, uid_token].hash
|
|
348
348
|
end
|
|
349
349
|
|
|
350
350
|
# Builds the object from hash
|
|
@@ -181,6 +181,9 @@ module Akeyless
|
|
|
181
181
|
# SSH, Windows or Linked Target Name. (Relevant only for Server Inventory migration)
|
|
182
182
|
attr_accessor :si_target_name
|
|
183
183
|
|
|
184
|
+
# Comma-separated list of groups to migrate users from. If empty, all users from all groups will be migrated (Relevant only for Server Inventory migration)
|
|
185
|
+
attr_accessor :si_user_groups
|
|
186
|
+
|
|
184
187
|
# Comma-separated list of Local Users which should not be migrated (Relevant only for Server Inventory migration)
|
|
185
188
|
attr_accessor :si_users_ignore
|
|
186
189
|
|
|
@@ -257,6 +260,7 @@ module Akeyless
|
|
|
257
260
|
:'si_rotation_interval' => :'si-rotation-interval',
|
|
258
261
|
:'si_sra_enable_rdp' => :'si-sra-enable-rdp',
|
|
259
262
|
:'si_target_name' => :'si-target-name',
|
|
263
|
+
:'si_user_groups' => :'si-user-groups',
|
|
260
264
|
:'si_users_ignore' => :'si-users-ignore',
|
|
261
265
|
:'si_users_path_template' => :'si-users-path-template',
|
|
262
266
|
:'target_location' => :'target-location',
|
|
@@ -329,6 +333,7 @@ module Akeyless
|
|
|
329
333
|
:'si_rotation_interval' => :'Integer',
|
|
330
334
|
:'si_sra_enable_rdp' => :'String',
|
|
331
335
|
:'si_target_name' => :'String',
|
|
336
|
+
:'si_user_groups' => :'String',
|
|
332
337
|
:'si_users_ignore' => :'String',
|
|
333
338
|
:'si_users_path_template' => :'String',
|
|
334
339
|
:'target_location' => :'String',
|
|
@@ -613,6 +618,10 @@ module Akeyless
|
|
|
613
618
|
self.si_target_name = nil
|
|
614
619
|
end
|
|
615
620
|
|
|
621
|
+
if attributes.key?(:'si_user_groups')
|
|
622
|
+
self.si_user_groups = attributes[:'si_user_groups']
|
|
623
|
+
end
|
|
624
|
+
|
|
616
625
|
if attributes.key?(:'si_users_ignore')
|
|
617
626
|
self.si_users_ignore = attributes[:'si_users_ignore']
|
|
618
627
|
end
|
|
@@ -737,6 +746,7 @@ module Akeyless
|
|
|
737
746
|
si_rotation_interval == o.si_rotation_interval &&
|
|
738
747
|
si_sra_enable_rdp == o.si_sra_enable_rdp &&
|
|
739
748
|
si_target_name == o.si_target_name &&
|
|
749
|
+
si_user_groups == o.si_user_groups &&
|
|
740
750
|
si_users_ignore == o.si_users_ignore &&
|
|
741
751
|
si_users_path_template == o.si_users_path_template &&
|
|
742
752
|
target_location == o.target_location &&
|
|
@@ -754,7 +764,7 @@ module Akeyless
|
|
|
754
764
|
# Calculates hash code according to all attributes.
|
|
755
765
|
# @return [Integer] Hash code
|
|
756
766
|
def hash
|
|
757
|
-
[_1password_email, _1password_password, _1password_secret_key, _1password_url, _1password_vaults, ad_discover_services, ad_discovery_types, ad_os_filter, ad_ssh_port, ad_targets_type, ad_winrm_over_http, ad_winrm_port, ad_auto_rotate, ad_computer_base_dn, ad_discover_local_users, ad_domain_name, ad_domain_users_path_template, ad_local_users_ignore, ad_local_users_path_template, ad_rotation_hour, ad_rotation_interval, ad_sra_enable_rdp, ad_target_name, ad_targets_path_template, ad_user_base_dn, ad_user_groups, aws_key, aws_key_id, aws_region, azure_client_id, azure_kv_name, azure_secret, azure_tenant_id, gcp_key, hashi_json, hashi_ns, hashi_token, hashi_url, json, k8s_ca_certificate, k8s_client_certificate, k8s_client_key, k8s_namespace, k8s_password, k8s_skip_system, k8s_token, k8s_url, k8s_username, name, protection_key, si_auto_rotate, si_rotation_hour, si_rotation_interval, si_sra_enable_rdp, si_target_name, si_users_ignore, si_users_path_template, target_location, token, type, uid_token].hash
|
|
767
|
+
[_1password_email, _1password_password, _1password_secret_key, _1password_url, _1password_vaults, ad_discover_services, ad_discovery_types, ad_os_filter, ad_ssh_port, ad_targets_type, ad_winrm_over_http, ad_winrm_port, ad_auto_rotate, ad_computer_base_dn, ad_discover_local_users, ad_domain_name, ad_domain_users_path_template, ad_local_users_ignore, ad_local_users_path_template, ad_rotation_hour, ad_rotation_interval, ad_sra_enable_rdp, ad_target_name, ad_targets_path_template, ad_user_base_dn, ad_user_groups, aws_key, aws_key_id, aws_region, azure_client_id, azure_kv_name, azure_secret, azure_tenant_id, gcp_key, hashi_json, hashi_ns, hashi_token, hashi_url, json, k8s_ca_certificate, k8s_client_certificate, k8s_client_key, k8s_namespace, k8s_password, k8s_skip_system, k8s_token, k8s_url, k8s_username, name, protection_key, si_auto_rotate, si_rotation_hour, si_rotation_interval, si_sra_enable_rdp, si_target_name, si_user_groups, si_users_ignore, si_users_path_template, target_location, token, type, uid_token].hash
|
|
758
768
|
end
|
|
759
769
|
|
|
760
770
|
# Builds the object from hash
|
|
@@ -43,6 +43,12 @@ module Akeyless
|
|
|
43
43
|
# Dynamic producer encryption key
|
|
44
44
|
attr_accessor :producer_encryption_key_name
|
|
45
45
|
|
|
46
|
+
# Enable/Disable SSL [true/false]
|
|
47
|
+
attr_accessor :ssl
|
|
48
|
+
|
|
49
|
+
# SSL CA certificate in base64 encoding generated from a trusted Certificate Authority (CA)
|
|
50
|
+
attr_accessor :ssl_certificate
|
|
51
|
+
|
|
46
52
|
# Add tags attached to this object
|
|
47
53
|
attr_accessor :tags
|
|
48
54
|
|
|
@@ -70,6 +76,8 @@ module Akeyless
|
|
|
70
76
|
:'json' => :'json',
|
|
71
77
|
:'name' => :'name',
|
|
72
78
|
:'producer_encryption_key_name' => :'producer-encryption-key-name',
|
|
79
|
+
:'ssl' => :'ssl',
|
|
80
|
+
:'ssl_certificate' => :'ssl-certificate',
|
|
73
81
|
:'tags' => :'tags',
|
|
74
82
|
:'target_name' => :'target-name',
|
|
75
83
|
:'token' => :'token',
|
|
@@ -95,6 +103,8 @@ module Akeyless
|
|
|
95
103
|
:'json' => :'Boolean',
|
|
96
104
|
:'name' => :'String',
|
|
97
105
|
:'producer_encryption_key_name' => :'String',
|
|
106
|
+
:'ssl' => :'Boolean',
|
|
107
|
+
:'ssl_certificate' => :'String',
|
|
98
108
|
:'tags' => :'Array<String>',
|
|
99
109
|
:'target_name' => :'String',
|
|
100
110
|
:'token' => :'String',
|
|
@@ -166,6 +176,16 @@ module Akeyless
|
|
|
166
176
|
self.producer_encryption_key_name = attributes[:'producer_encryption_key_name']
|
|
167
177
|
end
|
|
168
178
|
|
|
179
|
+
if attributes.key?(:'ssl')
|
|
180
|
+
self.ssl = attributes[:'ssl']
|
|
181
|
+
else
|
|
182
|
+
self.ssl = false
|
|
183
|
+
end
|
|
184
|
+
|
|
185
|
+
if attributes.key?(:'ssl_certificate')
|
|
186
|
+
self.ssl_certificate = attributes[:'ssl_certificate']
|
|
187
|
+
end
|
|
188
|
+
|
|
169
189
|
if attributes.key?(:'tags')
|
|
170
190
|
if (value = attributes[:'tags']).is_a?(Array)
|
|
171
191
|
self.tags = value
|
|
@@ -225,6 +245,8 @@ module Akeyless
|
|
|
225
245
|
json == o.json &&
|
|
226
246
|
name == o.name &&
|
|
227
247
|
producer_encryption_key_name == o.producer_encryption_key_name &&
|
|
248
|
+
ssl == o.ssl &&
|
|
249
|
+
ssl_certificate == o.ssl_certificate &&
|
|
228
250
|
tags == o.tags &&
|
|
229
251
|
target_name == o.target_name &&
|
|
230
252
|
token == o.token &&
|
|
@@ -241,7 +263,7 @@ module Akeyless
|
|
|
241
263
|
# Calculates hash code according to all attributes.
|
|
242
264
|
# @return [Integer] Hash code
|
|
243
265
|
def hash
|
|
244
|
-
[cassandra_creation_statements, cassandra_hosts, cassandra_password, cassandra_port, cassandra_username, delete_protection, json, name, producer_encryption_key_name, tags, target_name, token, uid_token, user_ttl].hash
|
|
266
|
+
[cassandra_creation_statements, cassandra_hosts, cassandra_password, cassandra_port, cassandra_username, delete_protection, json, name, producer_encryption_key_name, ssl, ssl_certificate, tags, target_name, token, uid_token, user_ttl].hash
|
|
245
267
|
end
|
|
246
268
|
|
|
247
269
|
# Builds the object from hash
|
|
@@ -25,6 +25,9 @@ module Akeyless
|
|
|
25
25
|
# API key to rotate (relevant only for rotator-type=api-key)
|
|
26
26
|
attr_accessor :api_key
|
|
27
27
|
|
|
28
|
+
# ApplicationId (used in azure)
|
|
29
|
+
attr_accessor :app_id
|
|
30
|
+
|
|
28
31
|
# Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
|
|
29
32
|
attr_accessor :auto_rotate
|
|
30
33
|
|
|
@@ -100,6 +103,7 @@ module Akeyless
|
|
|
100
103
|
:'add_tag' => :'add-tag',
|
|
101
104
|
:'api_id' => :'api-id',
|
|
102
105
|
:'api_key' => :'api-key',
|
|
106
|
+
:'app_id' => :'app-id',
|
|
103
107
|
:'auto_rotate' => :'auto-rotate',
|
|
104
108
|
:'custom_payload' => :'custom-payload',
|
|
105
109
|
:'delete_protection' => :'delete_protection',
|
|
@@ -137,6 +141,7 @@ module Akeyless
|
|
|
137
141
|
:'add_tag' => :'Array<String>',
|
|
138
142
|
:'api_id' => :'String',
|
|
139
143
|
:'api_key' => :'String',
|
|
144
|
+
:'app_id' => :'String',
|
|
140
145
|
:'auto_rotate' => :'String',
|
|
141
146
|
:'custom_payload' => :'String',
|
|
142
147
|
:'delete_protection' => :'String',
|
|
@@ -198,6 +203,10 @@ module Akeyless
|
|
|
198
203
|
self.api_key = attributes[:'api_key']
|
|
199
204
|
end
|
|
200
205
|
|
|
206
|
+
if attributes.key?(:'app_id')
|
|
207
|
+
self.app_id = attributes[:'app_id']
|
|
208
|
+
end
|
|
209
|
+
|
|
201
210
|
if attributes.key?(:'auto_rotate')
|
|
202
211
|
self.auto_rotate = attributes[:'auto_rotate']
|
|
203
212
|
end
|
|
@@ -340,6 +349,7 @@ module Akeyless
|
|
|
340
349
|
add_tag == o.add_tag &&
|
|
341
350
|
api_id == o.api_id &&
|
|
342
351
|
api_key == o.api_key &&
|
|
352
|
+
app_id == o.app_id &&
|
|
343
353
|
auto_rotate == o.auto_rotate &&
|
|
344
354
|
custom_payload == o.custom_payload &&
|
|
345
355
|
delete_protection == o.delete_protection &&
|
|
@@ -374,7 +384,7 @@ module Akeyless
|
|
|
374
384
|
# Calculates hash code according to all attributes.
|
|
375
385
|
# @return [Integer] Hash code
|
|
376
386
|
def hash
|
|
377
|
-
[add_tag, api_id, api_key, auto_rotate, custom_payload, delete_protection, description, gcp_key, gcp_service_account_email, gcp_service_account_key_id, json, keep_prev_version, key, name, new_metadata, new_name, new_version, rm_tag, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_creds_type, token, type, uid_token].hash
|
|
387
|
+
[add_tag, api_id, api_key, app_id, auto_rotate, custom_payload, delete_protection, description, gcp_key, gcp_service_account_email, gcp_service_account_key_id, json, keep_prev_version, key, name, new_metadata, new_name, new_version, rm_tag, rotated_password, rotated_username, rotation_hour, rotation_interval, rotator_creds_type, token, type, uid_token].hash
|
|
378
388
|
end
|
|
379
389
|
|
|
380
390
|
# Builds the object from hash
|
|
@@ -187,6 +187,9 @@ module Akeyless
|
|
|
187
187
|
# SSH, Windows or Linked Target Name. (Relevant only for Server Inventory migration)
|
|
188
188
|
attr_accessor :si_target_name
|
|
189
189
|
|
|
190
|
+
# Comma-separated list of groups to migrate users from. If empty, all users from all groups will be migrated (Relevant only for Server Inventory migration)
|
|
191
|
+
attr_accessor :si_user_groups
|
|
192
|
+
|
|
190
193
|
# Comma-separated list of Local Users which should not be migrated (Relevant only for Server Inventory migration)
|
|
191
194
|
attr_accessor :si_users_ignore
|
|
192
195
|
|
|
@@ -262,6 +265,7 @@ module Akeyless
|
|
|
262
265
|
:'si_rotation_interval' => :'si-rotation-interval',
|
|
263
266
|
:'si_sra_enable_rdp' => :'si-sra-enable-rdp',
|
|
264
267
|
:'si_target_name' => :'si-target-name',
|
|
268
|
+
:'si_user_groups' => :'si-user-groups',
|
|
265
269
|
:'si_users_ignore' => :'si-users-ignore',
|
|
266
270
|
:'si_users_path_template' => :'si-users-path-template',
|
|
267
271
|
:'target_location' => :'target-location',
|
|
@@ -335,6 +339,7 @@ module Akeyless
|
|
|
335
339
|
:'si_rotation_interval' => :'Integer',
|
|
336
340
|
:'si_sra_enable_rdp' => :'String',
|
|
337
341
|
:'si_target_name' => :'String',
|
|
342
|
+
:'si_user_groups' => :'String',
|
|
338
343
|
:'si_users_ignore' => :'String',
|
|
339
344
|
:'si_users_path_template' => :'String',
|
|
340
345
|
:'target_location' => :'String',
|
|
@@ -624,6 +629,10 @@ module Akeyless
|
|
|
624
629
|
self.si_target_name = nil
|
|
625
630
|
end
|
|
626
631
|
|
|
632
|
+
if attributes.key?(:'si_user_groups')
|
|
633
|
+
self.si_user_groups = attributes[:'si_user_groups']
|
|
634
|
+
end
|
|
635
|
+
|
|
627
636
|
if attributes.key?(:'si_users_ignore')
|
|
628
637
|
self.si_users_ignore = attributes[:'si_users_ignore']
|
|
629
638
|
end
|
|
@@ -741,6 +750,7 @@ module Akeyless
|
|
|
741
750
|
si_rotation_interval == o.si_rotation_interval &&
|
|
742
751
|
si_sra_enable_rdp == o.si_sra_enable_rdp &&
|
|
743
752
|
si_target_name == o.si_target_name &&
|
|
753
|
+
si_user_groups == o.si_user_groups &&
|
|
744
754
|
si_users_ignore == o.si_users_ignore &&
|
|
745
755
|
si_users_path_template == o.si_users_path_template &&
|
|
746
756
|
target_location == o.target_location &&
|
|
@@ -757,7 +767,7 @@ module Akeyless
|
|
|
757
767
|
# Calculates hash code according to all attributes.
|
|
758
768
|
# @return [Integer] Hash code
|
|
759
769
|
def hash
|
|
760
|
-
[_1password_email, _1password_password, _1password_secret_key, _1password_url, _1password_vaults, ad_discover_services, ad_discovery_types, ad_os_filter, ad_ssh_port, ad_targets_type, ad_winrm_over_http, ad_winrm_port, ad_auto_rotate, ad_computer_base_dn, ad_discover_local_users, ad_domain_name, ad_domain_users_path_template, ad_local_users_ignore, ad_local_users_path_template, ad_rotation_hour, ad_rotation_interval, ad_sra_enable_rdp, ad_target_name, ad_targets_path_template, ad_user_base_dn, ad_user_groups, aws_key, aws_key_id, aws_region, azure_client_id, azure_kv_name, azure_secret, azure_tenant_id, gcp_key, hashi_json, hashi_ns, hashi_token, hashi_url, id, json, k8s_ca_certificate, k8s_client_certificate, k8s_client_key, k8s_namespace, k8s_password, k8s_skip_system, k8s_token, k8s_url, k8s_username, name, new_name, protection_key, si_auto_rotate, si_rotation_hour, si_rotation_interval, si_sra_enable_rdp, si_target_name, si_users_ignore, si_users_path_template, target_location, token, uid_token].hash
|
|
770
|
+
[_1password_email, _1password_password, _1password_secret_key, _1password_url, _1password_vaults, ad_discover_services, ad_discovery_types, ad_os_filter, ad_ssh_port, ad_targets_type, ad_winrm_over_http, ad_winrm_port, ad_auto_rotate, ad_computer_base_dn, ad_discover_local_users, ad_domain_name, ad_domain_users_path_template, ad_local_users_ignore, ad_local_users_path_template, ad_rotation_hour, ad_rotation_interval, ad_sra_enable_rdp, ad_target_name, ad_targets_path_template, ad_user_base_dn, ad_user_groups, aws_key, aws_key_id, aws_region, azure_client_id, azure_kv_name, azure_secret, azure_tenant_id, gcp_key, hashi_json, hashi_ns, hashi_token, hashi_url, id, json, k8s_ca_certificate, k8s_client_certificate, k8s_client_key, k8s_namespace, k8s_password, k8s_skip_system, k8s_token, k8s_url, k8s_username, name, new_name, protection_key, si_auto_rotate, si_rotation_hour, si_rotation_interval, si_sra_enable_rdp, si_target_name, si_user_groups, si_users_ignore, si_users_path_template, target_location, token, uid_token].hash
|
|
761
771
|
end
|
|
762
772
|
|
|
763
773
|
# Builds the object from hash
|
|
@@ -46,6 +46,12 @@ module Akeyless
|
|
|
46
46
|
# Dynamic producer encryption key
|
|
47
47
|
attr_accessor :producer_encryption_key_name
|
|
48
48
|
|
|
49
|
+
# Enable/Disable SSL [true/false]
|
|
50
|
+
attr_accessor :ssl
|
|
51
|
+
|
|
52
|
+
# SSL CA certificate in base64 encoding generated from a trusted Certificate Authority (CA)
|
|
53
|
+
attr_accessor :ssl_certificate
|
|
54
|
+
|
|
49
55
|
# Add tags attached to this object
|
|
50
56
|
attr_accessor :tags
|
|
51
57
|
|
|
@@ -74,6 +80,8 @@ module Akeyless
|
|
|
74
80
|
:'name' => :'name',
|
|
75
81
|
:'new_name' => :'new-name',
|
|
76
82
|
:'producer_encryption_key_name' => :'producer-encryption-key-name',
|
|
83
|
+
:'ssl' => :'ssl',
|
|
84
|
+
:'ssl_certificate' => :'ssl-certificate',
|
|
77
85
|
:'tags' => :'tags',
|
|
78
86
|
:'target_name' => :'target-name',
|
|
79
87
|
:'token' => :'token',
|
|
@@ -100,6 +108,8 @@ module Akeyless
|
|
|
100
108
|
:'name' => :'String',
|
|
101
109
|
:'new_name' => :'String',
|
|
102
110
|
:'producer_encryption_key_name' => :'String',
|
|
111
|
+
:'ssl' => :'Boolean',
|
|
112
|
+
:'ssl_certificate' => :'String',
|
|
103
113
|
:'tags' => :'Array<String>',
|
|
104
114
|
:'target_name' => :'String',
|
|
105
115
|
:'token' => :'String',
|
|
@@ -175,6 +185,16 @@ module Akeyless
|
|
|
175
185
|
self.producer_encryption_key_name = attributes[:'producer_encryption_key_name']
|
|
176
186
|
end
|
|
177
187
|
|
|
188
|
+
if attributes.key?(:'ssl')
|
|
189
|
+
self.ssl = attributes[:'ssl']
|
|
190
|
+
else
|
|
191
|
+
self.ssl = false
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
if attributes.key?(:'ssl_certificate')
|
|
195
|
+
self.ssl_certificate = attributes[:'ssl_certificate']
|
|
196
|
+
end
|
|
197
|
+
|
|
178
198
|
if attributes.key?(:'tags')
|
|
179
199
|
if (value = attributes[:'tags']).is_a?(Array)
|
|
180
200
|
self.tags = value
|
|
@@ -235,6 +255,8 @@ module Akeyless
|
|
|
235
255
|
name == o.name &&
|
|
236
256
|
new_name == o.new_name &&
|
|
237
257
|
producer_encryption_key_name == o.producer_encryption_key_name &&
|
|
258
|
+
ssl == o.ssl &&
|
|
259
|
+
ssl_certificate == o.ssl_certificate &&
|
|
238
260
|
tags == o.tags &&
|
|
239
261
|
target_name == o.target_name &&
|
|
240
262
|
token == o.token &&
|
|
@@ -251,7 +273,7 @@ module Akeyless
|
|
|
251
273
|
# Calculates hash code according to all attributes.
|
|
252
274
|
# @return [Integer] Hash code
|
|
253
275
|
def hash
|
|
254
|
-
[cassandra_creation_statements, cassandra_hosts, cassandra_password, cassandra_port, cassandra_username, delete_protection, json, name, new_name, producer_encryption_key_name, tags, target_name, token, uid_token, user_ttl].hash
|
|
276
|
+
[cassandra_creation_statements, cassandra_hosts, cassandra_password, cassandra_port, cassandra_username, delete_protection, json, name, new_name, producer_encryption_key_name, ssl, ssl_certificate, tags, target_name, token, uid_token, user_ttl].hash
|
|
255
277
|
end
|
|
256
278
|
|
|
257
279
|
# Builds the object from hash
|
|
@@ -40,6 +40,8 @@ module Akeyless
|
|
|
40
40
|
|
|
41
41
|
attr_accessor :id
|
|
42
42
|
|
|
43
|
+
attr_accessor :serverless_type
|
|
44
|
+
|
|
43
45
|
attr_accessor :status
|
|
44
46
|
|
|
45
47
|
attr_accessor :status_description
|
|
@@ -59,6 +61,7 @@ module Akeyless
|
|
|
59
61
|
:'default_secret_location' => :'default_secret_location',
|
|
60
62
|
:'display_name' => :'display_name',
|
|
61
63
|
:'id' => :'id',
|
|
64
|
+
:'serverless_type' => :'serverless_type',
|
|
62
65
|
:'status' => :'status',
|
|
63
66
|
:'status_description' => :'status_description'
|
|
64
67
|
}
|
|
@@ -84,6 +87,7 @@ module Akeyless
|
|
|
84
87
|
:'default_secret_location' => :'String',
|
|
85
88
|
:'display_name' => :'String',
|
|
86
89
|
:'id' => :'Integer',
|
|
90
|
+
:'serverless_type' => :'String',
|
|
87
91
|
:'status' => :'String',
|
|
88
92
|
:'status_description' => :'String'
|
|
89
93
|
}
|
|
@@ -164,6 +168,10 @@ module Akeyless
|
|
|
164
168
|
self.id = attributes[:'id']
|
|
165
169
|
end
|
|
166
170
|
|
|
171
|
+
if attributes.key?(:'serverless_type')
|
|
172
|
+
self.serverless_type = attributes[:'serverless_type']
|
|
173
|
+
end
|
|
174
|
+
|
|
167
175
|
if attributes.key?(:'status')
|
|
168
176
|
self.status = attributes[:'status']
|
|
169
177
|
end
|
|
@@ -205,6 +213,7 @@ module Akeyless
|
|
|
205
213
|
default_secret_location == o.default_secret_location &&
|
|
206
214
|
display_name == o.display_name &&
|
|
207
215
|
id == o.id &&
|
|
216
|
+
serverless_type == o.serverless_type &&
|
|
208
217
|
status == o.status &&
|
|
209
218
|
status_description == o.status_description
|
|
210
219
|
end
|
|
@@ -218,7 +227,7 @@ module Akeyless
|
|
|
218
227
|
# Calculates hash code according to all attributes.
|
|
219
228
|
# @return [Integer] Hash code
|
|
220
229
|
def hash
|
|
221
|
-
[action_allowed, allowed, allowed_access_ids, cluster_name, cluster_url, current_gw, customer_fragment_ids, customer_fragments, default_protection_key_id, default_secret_location, display_name, id, status, status_description].hash
|
|
230
|
+
[action_allowed, allowed, allowed_access_ids, cluster_name, cluster_url, current_gw, customer_fragment_ids, customer_fragments, default_protection_key_id, default_secret_location, display_name, id, serverless_type, status, status_description].hash
|
|
222
231
|
end
|
|
223
232
|
|
|
224
233
|
# Builds the object from hash
|