akeyless 3.5.1 → 3.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -1
- data/docs/ActiveDirectoryPayload.md +5 -1
- data/docs/CertificateTemplateInfo.md +2 -0
- data/docs/CreateClassicKey.md +2 -0
- data/docs/CreateDFCKey.md +2 -0
- data/docs/CreateKey.md +2 -0
- data/docs/CreateRotatedSecret.md +4 -0
- data/docs/DSProducerDetails.md +2 -0
- data/docs/GatewayCreateMigration.md +5 -1
- data/docs/GatewayUpdateItem.md +4 -0
- data/docs/GatewayUpdateMigration.md +5 -1
- data/docs/GcpTargetDetails.md +3 -1
- data/docs/GeneralConfigPart.md +2 -0
- data/docs/GenerateCsr.md +4 -0
- data/docs/UpdateClassicKeyCertificate.md +26 -0
- data/docs/V2Api.md +64 -1
- data/lib/akeyless/api/v2_api.rb +64 -0
- data/lib/akeyless/api_client.rb +10 -8
- data/lib/akeyless/models/active_directory_payload.rb +22 -1
- data/lib/akeyless/models/certificate_template_info.rb +10 -1
- data/lib/akeyless/models/create_classic_key.rb +11 -1
- data/lib/akeyless/models/create_dfc_key.rb +11 -1
- data/lib/akeyless/models/create_key.rb +11 -1
- data/lib/akeyless/models/create_rotated_secret.rb +21 -1
- data/lib/akeyless/models/ds_producer_details.rb +10 -1
- data/lib/akeyless/models/gateway_create_migration.rb +24 -2
- data/lib/akeyless/models/gateway_update_item.rb +21 -1
- data/lib/akeyless/models/gateway_update_migration.rb +24 -2
- data/lib/akeyless/models/gcp_target_details.rb +10 -2
- data/lib/akeyless/models/general_config_part.rb +10 -1
- data/lib/akeyless/models/generate_csr.rb +30 -1
- data/lib/akeyless/models/update_classic_key_certificate.rb +265 -0
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +1 -0
- data/spec/models/update_classic_key_certificate_spec.rb +60 -0
- metadata +699 -695
@@ -19,6 +19,8 @@ module Akeyless
|
|
19
19
|
|
20
20
|
attr_accessor :country
|
21
21
|
|
22
|
+
attr_accessor :csr_cnf_base_64
|
23
|
+
|
22
24
|
attr_accessor :digest_algo
|
23
25
|
|
24
26
|
attr_accessor :locality
|
@@ -36,6 +38,7 @@ module Akeyless
|
|
36
38
|
{
|
37
39
|
:'common_name' => :'common_name',
|
38
40
|
:'country' => :'country',
|
41
|
+
:'csr_cnf_base_64' => :'csr_cnf_base_64',
|
39
42
|
:'digest_algo' => :'digest_algo',
|
40
43
|
:'locality' => :'locality',
|
41
44
|
:'organization' => :'organization',
|
@@ -55,6 +58,7 @@ module Akeyless
|
|
55
58
|
{
|
56
59
|
:'common_name' => :'String',
|
57
60
|
:'country' => :'String',
|
61
|
+
:'csr_cnf_base_64' => :'String',
|
58
62
|
:'digest_algo' => :'String',
|
59
63
|
:'locality' => :'String',
|
60
64
|
:'organization' => :'String',
|
@@ -93,6 +97,10 @@ module Akeyless
|
|
93
97
|
self.country = attributes[:'country']
|
94
98
|
end
|
95
99
|
|
100
|
+
if attributes.key?(:'csr_cnf_base_64')
|
101
|
+
self.csr_cnf_base_64 = attributes[:'csr_cnf_base_64']
|
102
|
+
end
|
103
|
+
|
96
104
|
if attributes.key?(:'digest_algo')
|
97
105
|
self.digest_algo = attributes[:'digest_algo']
|
98
106
|
end
|
@@ -140,6 +148,7 @@ module Akeyless
|
|
140
148
|
self.class == o.class &&
|
141
149
|
common_name == o.common_name &&
|
142
150
|
country == o.country &&
|
151
|
+
csr_cnf_base_64 == o.csr_cnf_base_64 &&
|
143
152
|
digest_algo == o.digest_algo &&
|
144
153
|
locality == o.locality &&
|
145
154
|
organization == o.organization &&
|
@@ -157,7 +166,7 @@ module Akeyless
|
|
157
166
|
# Calculates hash code according to all attributes.
|
158
167
|
# @return [Integer] Hash code
|
159
168
|
def hash
|
160
|
-
[common_name, country, digest_algo, locality, organization, province, self_signed_enabled, ttl].hash
|
169
|
+
[common_name, country, csr_cnf_base_64, digest_algo, locality, organization, province, self_signed_enabled, ttl].hash
|
161
170
|
end
|
162
171
|
|
163
172
|
# Builds the object from hash
|
@@ -43,6 +43,9 @@ module Akeyless
|
|
43
43
|
# TTL in days for the generated certificate. Required only for generate-self-signed-certificate.
|
44
44
|
attr_accessor :certificate_ttl
|
45
45
|
|
46
|
+
# The csr config data in base64 encoding
|
47
|
+
attr_accessor :conf_file_data
|
48
|
+
|
46
49
|
# Protection from accidental deletion of this item [true/false]
|
47
50
|
attr_accessor :delete_protection
|
48
51
|
|
@@ -91,6 +94,7 @@ module Akeyless
|
|
91
94
|
:'certificate_organization' => :'certificate-organization',
|
92
95
|
:'certificate_province' => :'certificate-province',
|
93
96
|
:'certificate_ttl' => :'certificate-ttl',
|
97
|
+
:'conf_file_data' => :'conf-file-data',
|
94
98
|
:'delete_protection' => :'delete_protection',
|
95
99
|
:'description' => :'description',
|
96
100
|
:'generate_self_signed_certificate' => :'generate-self-signed-certificate',
|
@@ -123,6 +127,7 @@ module Akeyless
|
|
123
127
|
:'certificate_organization' => :'String',
|
124
128
|
:'certificate_province' => :'String',
|
125
129
|
:'certificate_ttl' => :'Integer',
|
130
|
+
:'conf_file_data' => :'String',
|
126
131
|
:'delete_protection' => :'String',
|
127
132
|
:'description' => :'String',
|
128
133
|
:'generate_self_signed_certificate' => :'Boolean',
|
@@ -197,6 +202,10 @@ module Akeyless
|
|
197
202
|
self.certificate_ttl = attributes[:'certificate_ttl']
|
198
203
|
end
|
199
204
|
|
205
|
+
if attributes.key?(:'conf_file_data')
|
206
|
+
self.conf_file_data = attributes[:'conf_file_data']
|
207
|
+
end
|
208
|
+
|
200
209
|
if attributes.key?(:'delete_protection')
|
201
210
|
self.delete_protection = attributes[:'delete_protection']
|
202
211
|
end
|
@@ -291,6 +300,7 @@ module Akeyless
|
|
291
300
|
certificate_organization == o.certificate_organization &&
|
292
301
|
certificate_province == o.certificate_province &&
|
293
302
|
certificate_ttl == o.certificate_ttl &&
|
303
|
+
conf_file_data == o.conf_file_data &&
|
294
304
|
delete_protection == o.delete_protection &&
|
295
305
|
description == o.description &&
|
296
306
|
generate_self_signed_certificate == o.generate_self_signed_certificate &&
|
@@ -314,7 +324,7 @@ module Akeyless
|
|
314
324
|
# Calculates hash code according to all attributes.
|
315
325
|
# @return [Integer] Hash code
|
316
326
|
def hash
|
317
|
-
[alg, cert_file_data, certificate_common_name, certificate_country, certificate_digest_algo, certificate_locality, certificate_organization, certificate_province, certificate_ttl, delete_protection, description, generate_self_signed_certificate, gpg_alg, json, key_data, metadata, name, protection_key_name, tags, token, uid_token].hash
|
327
|
+
[alg, cert_file_data, certificate_common_name, certificate_country, certificate_digest_algo, certificate_locality, certificate_organization, certificate_province, certificate_ttl, conf_file_data, delete_protection, description, generate_self_signed_certificate, gpg_alg, json, key_data, metadata, name, protection_key_name, tags, token, uid_token].hash
|
318
328
|
end
|
319
329
|
|
320
330
|
# Builds the object from hash
|
@@ -39,6 +39,9 @@ module Akeyless
|
|
39
39
|
# TTL in days for the generated certificate. Required only for generate-self-signed-certificate.
|
40
40
|
attr_accessor :certificate_ttl
|
41
41
|
|
42
|
+
# The csr config data in base64 encoding
|
43
|
+
attr_accessor :conf_file_data
|
44
|
+
|
42
45
|
# The customer fragment ID that will be used to create the DFC key (if empty, the key will be created independently of a customer fragment)
|
43
46
|
attr_accessor :customer_frg_id
|
44
47
|
|
@@ -83,6 +86,7 @@ module Akeyless
|
|
83
86
|
:'certificate_organization' => :'certificate-organization',
|
84
87
|
:'certificate_province' => :'certificate-province',
|
85
88
|
:'certificate_ttl' => :'certificate-ttl',
|
89
|
+
:'conf_file_data' => :'conf-file-data',
|
86
90
|
:'customer_frg_id' => :'customer-frg-id',
|
87
91
|
:'delete_protection' => :'delete_protection',
|
88
92
|
:'description' => :'description',
|
@@ -113,6 +117,7 @@ module Akeyless
|
|
113
117
|
:'certificate_organization' => :'String',
|
114
118
|
:'certificate_province' => :'String',
|
115
119
|
:'certificate_ttl' => :'Integer',
|
120
|
+
:'conf_file_data' => :'String',
|
116
121
|
:'customer_frg_id' => :'String',
|
117
122
|
:'delete_protection' => :'String',
|
118
123
|
:'description' => :'String',
|
@@ -182,6 +187,10 @@ module Akeyless
|
|
182
187
|
self.certificate_ttl = attributes[:'certificate_ttl']
|
183
188
|
end
|
184
189
|
|
190
|
+
if attributes.key?(:'conf_file_data')
|
191
|
+
self.conf_file_data = attributes[:'conf_file_data']
|
192
|
+
end
|
193
|
+
|
185
194
|
if attributes.key?(:'customer_frg_id')
|
186
195
|
self.customer_frg_id = attributes[:'customer_frg_id']
|
187
196
|
end
|
@@ -273,6 +282,7 @@ module Akeyless
|
|
273
282
|
certificate_organization == o.certificate_organization &&
|
274
283
|
certificate_province == o.certificate_province &&
|
275
284
|
certificate_ttl == o.certificate_ttl &&
|
285
|
+
conf_file_data == o.conf_file_data &&
|
276
286
|
customer_frg_id == o.customer_frg_id &&
|
277
287
|
delete_protection == o.delete_protection &&
|
278
288
|
description == o.description &&
|
@@ -295,7 +305,7 @@ module Akeyless
|
|
295
305
|
# Calculates hash code according to all attributes.
|
296
306
|
# @return [Integer] Hash code
|
297
307
|
def hash
|
298
|
-
[alg, certificate_common_name, certificate_country, certificate_digest_algo, certificate_locality, certificate_organization, certificate_province, certificate_ttl, customer_frg_id, delete_protection, description, generate_self_signed_certificate, json, metadata, name, split_level, tag, token, uid_token].hash
|
308
|
+
[alg, certificate_common_name, certificate_country, certificate_digest_algo, certificate_locality, certificate_organization, certificate_province, certificate_ttl, conf_file_data, customer_frg_id, delete_protection, description, generate_self_signed_certificate, json, metadata, name, split_level, tag, token, uid_token].hash
|
299
309
|
end
|
300
310
|
|
301
311
|
# Builds the object from hash
|
@@ -40,6 +40,9 @@ module Akeyless
|
|
40
40
|
# TTL in days for the generated certificate. Required only for generate-self-signed-certificate.
|
41
41
|
attr_accessor :certificate_ttl
|
42
42
|
|
43
|
+
# The csr config data in base64 encoding
|
44
|
+
attr_accessor :conf_file_data
|
45
|
+
|
43
46
|
# The customer fragment ID that will be used to create the key (if empty, the key will be created independently of a customer fragment)
|
44
47
|
attr_accessor :customer_frg_id
|
45
48
|
|
@@ -84,6 +87,7 @@ module Akeyless
|
|
84
87
|
:'certificate_organization' => :'certificate-organization',
|
85
88
|
:'certificate_province' => :'certificate-province',
|
86
89
|
:'certificate_ttl' => :'certificate-ttl',
|
90
|
+
:'conf_file_data' => :'conf-file-data',
|
87
91
|
:'customer_frg_id' => :'customer-frg-id',
|
88
92
|
:'delete_protection' => :'delete_protection',
|
89
93
|
:'description' => :'description',
|
@@ -114,6 +118,7 @@ module Akeyless
|
|
114
118
|
:'certificate_organization' => :'String',
|
115
119
|
:'certificate_province' => :'String',
|
116
120
|
:'certificate_ttl' => :'Integer',
|
121
|
+
:'conf_file_data' => :'String',
|
117
122
|
:'customer_frg_id' => :'String',
|
118
123
|
:'delete_protection' => :'String',
|
119
124
|
:'description' => :'String',
|
@@ -183,6 +188,10 @@ module Akeyless
|
|
183
188
|
self.certificate_ttl = attributes[:'certificate_ttl']
|
184
189
|
end
|
185
190
|
|
191
|
+
if attributes.key?(:'conf_file_data')
|
192
|
+
self.conf_file_data = attributes[:'conf_file_data']
|
193
|
+
end
|
194
|
+
|
186
195
|
if attributes.key?(:'customer_frg_id')
|
187
196
|
self.customer_frg_id = attributes[:'customer_frg_id']
|
188
197
|
end
|
@@ -274,6 +283,7 @@ module Akeyless
|
|
274
283
|
certificate_organization == o.certificate_organization &&
|
275
284
|
certificate_province == o.certificate_province &&
|
276
285
|
certificate_ttl == o.certificate_ttl &&
|
286
|
+
conf_file_data == o.conf_file_data &&
|
277
287
|
customer_frg_id == o.customer_frg_id &&
|
278
288
|
delete_protection == o.delete_protection &&
|
279
289
|
description == o.description &&
|
@@ -296,7 +306,7 @@ module Akeyless
|
|
296
306
|
# Calculates hash code according to all attributes.
|
297
307
|
# @return [Integer] Hash code
|
298
308
|
def hash
|
299
|
-
[alg, certificate_common_name, certificate_country, certificate_digest_algo, certificate_locality, certificate_organization, certificate_province, certificate_ttl, customer_frg_id, delete_protection, description, generate_self_signed_certificate, json, metadata, name, split_level, tag, token, uid_token].hash
|
309
|
+
[alg, certificate_common_name, certificate_country, certificate_digest_algo, certificate_locality, certificate_organization, certificate_province, certificate_ttl, conf_file_data, customer_frg_id, delete_protection, description, generate_self_signed_certificate, json, metadata, name, split_level, tag, token, uid_token].hash
|
300
310
|
end
|
301
311
|
|
302
312
|
# Builds the object from hash
|
@@ -45,6 +45,12 @@ module Akeyless
|
|
45
45
|
# Base64-encoded service account private key text
|
46
46
|
attr_accessor :gcp_key
|
47
47
|
|
48
|
+
# The email of the gcp service account to rotate
|
49
|
+
attr_accessor :gcp_service_account_email
|
50
|
+
|
51
|
+
# The key id of the gcp service account to rotate
|
52
|
+
attr_accessor :gcp_service_account_key_id
|
53
|
+
|
48
54
|
# Set output format to JSON
|
49
55
|
attr_accessor :json
|
50
56
|
|
@@ -162,6 +168,8 @@ module Akeyless
|
|
162
168
|
:'delete_protection' => :'delete_protection',
|
163
169
|
:'description' => :'description',
|
164
170
|
:'gcp_key' => :'gcp-key',
|
171
|
+
:'gcp_service_account_email' => :'gcp-service-account-email',
|
172
|
+
:'gcp_service_account_key_id' => :'gcp-service-account-key-id',
|
165
173
|
:'json' => :'json',
|
166
174
|
:'key' => :'key',
|
167
175
|
:'metadata' => :'metadata',
|
@@ -218,6 +226,8 @@ module Akeyless
|
|
218
226
|
:'delete_protection' => :'String',
|
219
227
|
:'description' => :'String',
|
220
228
|
:'gcp_key' => :'String',
|
229
|
+
:'gcp_service_account_email' => :'String',
|
230
|
+
:'gcp_service_account_key_id' => :'String',
|
221
231
|
:'json' => :'Boolean',
|
222
232
|
:'key' => :'String',
|
223
233
|
:'metadata' => :'String',
|
@@ -321,6 +331,14 @@ module Akeyless
|
|
321
331
|
self.gcp_key = attributes[:'gcp_key']
|
322
332
|
end
|
323
333
|
|
334
|
+
if attributes.key?(:'gcp_service_account_email')
|
335
|
+
self.gcp_service_account_email = attributes[:'gcp_service_account_email']
|
336
|
+
end
|
337
|
+
|
338
|
+
if attributes.key?(:'gcp_service_account_key_id')
|
339
|
+
self.gcp_service_account_key_id = attributes[:'gcp_service_account_key_id']
|
340
|
+
end
|
341
|
+
|
324
342
|
if attributes.key?(:'json')
|
325
343
|
self.json = attributes[:'json']
|
326
344
|
else
|
@@ -529,6 +547,8 @@ module Akeyless
|
|
529
547
|
delete_protection == o.delete_protection &&
|
530
548
|
description == o.description &&
|
531
549
|
gcp_key == o.gcp_key &&
|
550
|
+
gcp_service_account_email == o.gcp_service_account_email &&
|
551
|
+
gcp_service_account_key_id == o.gcp_service_account_key_id &&
|
532
552
|
json == o.json &&
|
533
553
|
key == o.key &&
|
534
554
|
metadata == o.metadata &&
|
@@ -575,7 +595,7 @@ module Akeyless
|
|
575
595
|
# Calculates hash code according to all attributes.
|
576
596
|
# @return [Integer] Hash code
|
577
597
|
def hash
|
578
|
-
[api_id, api_key, application_id, authentication_credentials, auto_rotate, aws_region, custom_payload, delete_protection, description, gcp_key, 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
|
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
|
579
599
|
end
|
580
600
|
|
581
601
|
# Builds the object from hash
|
@@ -192,6 +192,8 @@ module Akeyless
|
|
192
192
|
|
193
193
|
attr_accessor :gcp_service_account_key_base64
|
194
194
|
|
195
|
+
attr_accessor :gcp_service_account_key_id
|
196
|
+
|
195
197
|
attr_accessor :gcp_service_account_type
|
196
198
|
|
197
199
|
attr_accessor :gcp_tmp_service_account_name
|
@@ -559,6 +561,7 @@ module Akeyless
|
|
559
561
|
:'gcp_service_account_email' => :'gcp_service_account_email',
|
560
562
|
:'gcp_service_account_key' => :'gcp_service_account_key',
|
561
563
|
:'gcp_service_account_key_base64' => :'gcp_service_account_key_base64',
|
564
|
+
:'gcp_service_account_key_id' => :'gcp_service_account_key_id',
|
562
565
|
:'gcp_service_account_type' => :'gcp_service_account_type',
|
563
566
|
:'gcp_tmp_service_account_name' => :'gcp_tmp_service_account_name',
|
564
567
|
:'gcp_token_lifetime' => :'gcp_token_lifetime',
|
@@ -787,6 +790,7 @@ module Akeyless
|
|
787
790
|
:'gcp_service_account_email' => :'String',
|
788
791
|
:'gcp_service_account_key' => :'String',
|
789
792
|
:'gcp_service_account_key_base64' => :'String',
|
793
|
+
:'gcp_service_account_key_id' => :'String',
|
790
794
|
:'gcp_service_account_type' => :'String',
|
791
795
|
:'gcp_tmp_service_account_name' => :'String',
|
792
796
|
:'gcp_token_lifetime' => :'String',
|
@@ -1290,6 +1294,10 @@ module Akeyless
|
|
1290
1294
|
self.gcp_service_account_key_base64 = attributes[:'gcp_service_account_key_base64']
|
1291
1295
|
end
|
1292
1296
|
|
1297
|
+
if attributes.key?(:'gcp_service_account_key_id')
|
1298
|
+
self.gcp_service_account_key_id = attributes[:'gcp_service_account_key_id']
|
1299
|
+
end
|
1300
|
+
|
1293
1301
|
if attributes.key?(:'gcp_service_account_type')
|
1294
1302
|
self.gcp_service_account_type = attributes[:'gcp_service_account_type']
|
1295
1303
|
end
|
@@ -1943,6 +1951,7 @@ module Akeyless
|
|
1943
1951
|
gcp_service_account_email == o.gcp_service_account_email &&
|
1944
1952
|
gcp_service_account_key == o.gcp_service_account_key &&
|
1945
1953
|
gcp_service_account_key_base64 == o.gcp_service_account_key_base64 &&
|
1954
|
+
gcp_service_account_key_id == o.gcp_service_account_key_id &&
|
1946
1955
|
gcp_service_account_type == o.gcp_service_account_type &&
|
1947
1956
|
gcp_tmp_service_account_name == o.gcp_tmp_service_account_name &&
|
1948
1957
|
gcp_token_lifetime == o.gcp_token_lifetime &&
|
@@ -2085,7 +2094,7 @@ module Akeyless
|
|
2085
2094
|
# Calculates hash code according to all attributes.
|
2086
2095
|
# @return [Integer] Hash code
|
2087
2096
|
def hash
|
2088
|
-
[access_token_manager_id, acl_rules, active, admin_name, admin_pwd, admin_rotation_interval_days, administrative_port, artifactory_admin_apikey, artifactory_admin_username, artifactory_base_url, artifactory_token_audience, artifactory_token_scope, authorization_port, aws_access_key_id, aws_access_mode, aws_region, aws_role_arns, aws_secret_access_key, aws_session_token, aws_user_console_access, aws_user_groups, aws_user_policies, aws_user_programmatic_access, azure_app_object_id, azure_client_id, azure_client_secret, azure_fixed_user_name_sub_claim_key, azure_fixed_user_only, azure_resource_group_name, azure_resource_name, azure_subscription_id, azure_tenant_id, azure_user_groups_obj_id, azure_user_portal_access, azure_user_programmatic_access, azure_user_roles_template_id, cassandra_creation_statements, chef_organizations, chef_server_access_mode, chef_server_host_name, chef_server_key, chef_server_port, chef_server_url, chef_server_username, chef_skip_ssl, client_authentication_type, cloud_service_provider, connection_type, create_sync_url, db_client_id, db_client_secret, db_host_name, db_isolation_level, db_max_idle_conns, db_max_open_conns, db_name, db_port, db_private_key, db_private_key_passphrase, db_pwd, db_server_certificates, db_server_name, db_tenant_id, db_user_name, delete_protection, dynamic_secret_id, dynamic_secret_key, dynamic_secret_name, dynamic_secret_type, eks_access_key_id, eks_assume_role, eks_cluster_ca_certificate, eks_cluster_endpoint, eks_cluster_name, eks_region, eks_secret_access_key, enable_admin_rotation, enforce_replay_prevention, externally_provided_user, failure_message, fixed_user_only, gcp_key_algo, gcp_role_bindings, gcp_service_account_email, gcp_service_account_key, gcp_service_account_key_base64, gcp_service_account_type, gcp_tmp_service_account_name, gcp_token_lifetime, gcp_token_scope, gcp_token_type, github_app_id, github_app_private_key, github_base_url, github_installation_id, github_installation_token_permissions, github_installation_token_repositories, github_installation_token_repositories_ids, github_repository_path, gke_cluster_ca_certificate, gke_cluster_endpoint, gke_cluster_name, gke_service_account_key, gke_service_account_name, grant_types, groups, hanadb_creation_statements, hanadb_revocation_statements, host_name, host_port, implementation_type, is_fixed_user, issuer, item_targets_assoc, jwks, jwks_url, k8s_allowed_namespaces, k8s_auth_type, k8s_bearer_token, k8s_client_cert_data, k8s_client_key_data, k8s_cluster_ca_certificate, k8s_cluster_endpoint, k8s_dynamic_mode, k8s_multiple_doc_yaml_temp_definition, k8s_namespace, k8s_role_name, k8s_role_type, k8s_service_account, last_admin_rotation, ldap_audience, ldap_bind_dn, ldap_bind_password, ldap_certificate, ldap_group_dn, ldap_token_expiration, ldap_url, ldap_user_attr, ldap_user_dn, metadata, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_custom_data, mongodb_db_name, mongodb_default_auth_db, mongodb_host_port, mongodb_is_atlas, mongodb_password, mongodb_roles, mongodb_uri_connection, mongodb_uri_options, mongodb_username, mssql_creation_statements, mssql_revocation_statements, mysql_creation_statements, mysql_revocation_statements, oracle_creation_statements, password, password_length, password_policy, payload, ping_url, postgres_creation_statements, postgres_revocation_statements, privileged_user, rabbitmq_server_password, rabbitmq_server_uri, rabbitmq_server_user, rabbitmq_user_conf_permission, rabbitmq_user_read_permission, rabbitmq_user_tags, rabbitmq_user_vhost, rabbitmq_user_write_permission, redirect_uris, redshift_creation_statements, restricted_scopes, revoke_sync_url, rotate_sync_url, scopes, secure_remote_access_details, session_extension_warn_interval_min, sf_account, sf_user_role, sf_warehouse_name, should_stop, signing_algorithm, ssl_connection_certificate, ssl_connection_mode, subject_dn, tags, timeout_seconds, use_gw_cloud_identity, use_gw_service_account, user_name, user_password, user_principal_name, user_ttl, username_length, username_policy, venafi_allow_subdomains, venafi_allowed_domains, venafi_api_key, venafi_auto_generated_folder, venafi_base_url, venafi_root_first_in_chain, venafi_sign_using_akeyless_pki, venafi_signer_key_name, venafi_store_private_key, venafi_tpp_access_token, venafi_tpp_client_id, venafi_tpp_password, venafi_tpp_refresh_token, venafi_tpp_username, venafi_use_tpp, venafi_zone, warn_before_user_expiration_min].hash
|
2097
|
+
[access_token_manager_id, acl_rules, active, admin_name, admin_pwd, admin_rotation_interval_days, administrative_port, artifactory_admin_apikey, artifactory_admin_username, artifactory_base_url, artifactory_token_audience, artifactory_token_scope, authorization_port, aws_access_key_id, aws_access_mode, aws_region, aws_role_arns, aws_secret_access_key, aws_session_token, aws_user_console_access, aws_user_groups, aws_user_policies, aws_user_programmatic_access, azure_app_object_id, azure_client_id, azure_client_secret, azure_fixed_user_name_sub_claim_key, azure_fixed_user_only, azure_resource_group_name, azure_resource_name, azure_subscription_id, azure_tenant_id, azure_user_groups_obj_id, azure_user_portal_access, azure_user_programmatic_access, azure_user_roles_template_id, cassandra_creation_statements, chef_organizations, chef_server_access_mode, chef_server_host_name, chef_server_key, chef_server_port, chef_server_url, chef_server_username, chef_skip_ssl, client_authentication_type, cloud_service_provider, connection_type, create_sync_url, db_client_id, db_client_secret, db_host_name, db_isolation_level, db_max_idle_conns, db_max_open_conns, db_name, db_port, db_private_key, db_private_key_passphrase, db_pwd, db_server_certificates, db_server_name, db_tenant_id, db_user_name, delete_protection, dynamic_secret_id, dynamic_secret_key, dynamic_secret_name, dynamic_secret_type, eks_access_key_id, eks_assume_role, eks_cluster_ca_certificate, eks_cluster_endpoint, eks_cluster_name, eks_region, eks_secret_access_key, enable_admin_rotation, enforce_replay_prevention, externally_provided_user, failure_message, fixed_user_only, gcp_key_algo, gcp_role_bindings, gcp_service_account_email, gcp_service_account_key, gcp_service_account_key_base64, gcp_service_account_key_id, gcp_service_account_type, gcp_tmp_service_account_name, gcp_token_lifetime, gcp_token_scope, gcp_token_type, github_app_id, github_app_private_key, github_base_url, github_installation_id, github_installation_token_permissions, github_installation_token_repositories, github_installation_token_repositories_ids, github_repository_path, gke_cluster_ca_certificate, gke_cluster_endpoint, gke_cluster_name, gke_service_account_key, gke_service_account_name, grant_types, groups, hanadb_creation_statements, hanadb_revocation_statements, host_name, host_port, implementation_type, is_fixed_user, issuer, item_targets_assoc, jwks, jwks_url, k8s_allowed_namespaces, k8s_auth_type, k8s_bearer_token, k8s_client_cert_data, k8s_client_key_data, k8s_cluster_ca_certificate, k8s_cluster_endpoint, k8s_dynamic_mode, k8s_multiple_doc_yaml_temp_definition, k8s_namespace, k8s_role_name, k8s_role_type, k8s_service_account, last_admin_rotation, ldap_audience, ldap_bind_dn, ldap_bind_password, ldap_certificate, ldap_group_dn, ldap_token_expiration, ldap_url, ldap_user_attr, ldap_user_dn, metadata, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_custom_data, mongodb_db_name, mongodb_default_auth_db, mongodb_host_port, mongodb_is_atlas, mongodb_password, mongodb_roles, mongodb_uri_connection, mongodb_uri_options, mongodb_username, mssql_creation_statements, mssql_revocation_statements, mysql_creation_statements, mysql_revocation_statements, oracle_creation_statements, password, password_length, password_policy, payload, ping_url, postgres_creation_statements, postgres_revocation_statements, privileged_user, rabbitmq_server_password, rabbitmq_server_uri, rabbitmq_server_user, rabbitmq_user_conf_permission, rabbitmq_user_read_permission, rabbitmq_user_tags, rabbitmq_user_vhost, rabbitmq_user_write_permission, redirect_uris, redshift_creation_statements, restricted_scopes, revoke_sync_url, rotate_sync_url, scopes, secure_remote_access_details, session_extension_warn_interval_min, sf_account, sf_user_role, sf_warehouse_name, should_stop, signing_algorithm, ssl_connection_certificate, ssl_connection_mode, subject_dn, tags, timeout_seconds, use_gw_cloud_identity, use_gw_service_account, user_name, user_password, user_principal_name, user_ttl, username_length, username_policy, venafi_allow_subdomains, venafi_allowed_domains, venafi_api_key, venafi_auto_generated_folder, venafi_base_url, venafi_root_first_in_chain, venafi_sign_using_akeyless_pki, venafi_signer_key_name, venafi_store_private_key, venafi_tpp_access_token, venafi_tpp_client_id, venafi_tpp_password, venafi_tpp_refresh_token, venafi_tpp_username, venafi_use_tpp, venafi_zone, warn_before_user_expiration_min].hash
|
2089
2098
|
end
|
2090
2099
|
|
2091
2100
|
# Builds the object from hash
|
@@ -34,6 +34,12 @@ module Akeyless
|
|
34
34
|
# Enable/Disable discovery of Windows services from each domain server as part of the SSH/Windows Rotated Secrets. Default is false. (Relevant only for Active Directory migration)
|
35
35
|
attr_accessor :ad_discover_services
|
36
36
|
|
37
|
+
# Set migration discovery types (domain-users, computers, local-users). (Relevant only for Active Directory migration)
|
38
|
+
attr_accessor :ad_discovery_types
|
39
|
+
|
40
|
+
# Filter by Operating System to run the migration, can be used with wildcards, e.g. SRV20* (Relevant only for Active Directory migration)
|
41
|
+
attr_accessor :ad_os_filter
|
42
|
+
|
37
43
|
# Set the SSH Port for further connection to the domain servers. Default is port 22 (Relevant only for Active Directory migration)
|
38
44
|
attr_accessor :ad_ssh_port
|
39
45
|
|
@@ -52,7 +58,7 @@ module Akeyless
|
|
52
58
|
# Distinguished Name of Computer objects (servers) to search in Active Directory e.g.: CN=Computers,DC=example,DC=com (Relevant only for Active Directory migration)
|
53
59
|
attr_accessor :ad_computer_base_dn
|
54
60
|
|
55
|
-
# Enable/Disable discovery of local users from each domain server and migrate them as SSH/Windows Rotated Secrets. Default is false: only domain users will be migrated. Discovery of local users might require further installation of SSH on the servers, based on the supplied computer base DN. This will be implemented automatically as part of the migration process (Relevant only for Active Directory migration)
|
61
|
+
# Enable/Disable discovery of local users from each domain server and migrate them as SSH/Windows Rotated Secrets. Default is false: only domain users will be migrated. Discovery of local users might require further installation of SSH on the servers, based on the supplied computer base DN. This will be implemented automatically as part of the migration process (Relevant only for Active Directory migration) Deprecated: use AdDiscoverTypes
|
56
62
|
attr_accessor :ad_discover_local_users
|
57
63
|
|
58
64
|
# Active Directory Domain Name (Relevant only for Active Directory migration)
|
@@ -202,6 +208,8 @@ module Akeyless
|
|
202
208
|
:'_1password_url' => :'1password-url',
|
203
209
|
:'_1password_vaults' => :'1password-vaults',
|
204
210
|
:'ad_discover_services' => :'ad-discover-services',
|
211
|
+
:'ad_discovery_types' => :'ad-discovery-types',
|
212
|
+
:'ad_os_filter' => :'ad-os-filter',
|
205
213
|
:'ad_ssh_port' => :'ad-ssh-port',
|
206
214
|
:'ad_targets_type' => :'ad-targets-type',
|
207
215
|
:'ad_winrm_over_http' => :'ad-winrm-over-http',
|
@@ -272,6 +280,8 @@ module Akeyless
|
|
272
280
|
:'_1password_url' => :'String',
|
273
281
|
:'_1password_vaults' => :'Array<String>',
|
274
282
|
:'ad_discover_services' => :'String',
|
283
|
+
:'ad_discovery_types' => :'Array<String>',
|
284
|
+
:'ad_os_filter' => :'String',
|
275
285
|
:'ad_ssh_port' => :'String',
|
276
286
|
:'ad_targets_type' => :'String',
|
277
287
|
:'ad_winrm_over_http' => :'String',
|
@@ -377,6 +387,16 @@ module Akeyless
|
|
377
387
|
self.ad_discover_services = 'false'
|
378
388
|
end
|
379
389
|
|
390
|
+
if attributes.key?(:'ad_discovery_types')
|
391
|
+
if (value = attributes[:'ad_discovery_types']).is_a?(Array)
|
392
|
+
self.ad_discovery_types = value
|
393
|
+
end
|
394
|
+
end
|
395
|
+
|
396
|
+
if attributes.key?(:'ad_os_filter')
|
397
|
+
self.ad_os_filter = attributes[:'ad_os_filter']
|
398
|
+
end
|
399
|
+
|
380
400
|
if attributes.key?(:'ad_ssh_port')
|
381
401
|
self.ad_ssh_port = attributes[:'ad_ssh_port']
|
382
402
|
else
|
@@ -668,6 +688,8 @@ module Akeyless
|
|
668
688
|
_1password_url == o._1password_url &&
|
669
689
|
_1password_vaults == o._1password_vaults &&
|
670
690
|
ad_discover_services == o.ad_discover_services &&
|
691
|
+
ad_discovery_types == o.ad_discovery_types &&
|
692
|
+
ad_os_filter == o.ad_os_filter &&
|
671
693
|
ad_ssh_port == o.ad_ssh_port &&
|
672
694
|
ad_targets_type == o.ad_targets_type &&
|
673
695
|
ad_winrm_over_http == o.ad_winrm_over_http &&
|
@@ -732,7 +754,7 @@ module Akeyless
|
|
732
754
|
# Calculates hash code according to all attributes.
|
733
755
|
# @return [Integer] Hash code
|
734
756
|
def hash
|
735
|
-
[_1password_email, _1password_password, _1password_secret_key, _1password_url, _1password_vaults, ad_discover_services, 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
|
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
|
736
758
|
end
|
737
759
|
|
738
760
|
# Builds the object from hash
|
@@ -40,6 +40,12 @@ module Akeyless
|
|
40
40
|
# Base64-encoded service account private key text
|
41
41
|
attr_accessor :gcp_key
|
42
42
|
|
43
|
+
# The email of the gcp service account to rotate
|
44
|
+
attr_accessor :gcp_service_account_email
|
45
|
+
|
46
|
+
# The key id of the gcp service account to rotate
|
47
|
+
attr_accessor :gcp_service_account_key_id
|
48
|
+
|
43
49
|
# Set output format to JSON
|
44
50
|
attr_accessor :json
|
45
51
|
|
@@ -99,6 +105,8 @@ module Akeyless
|
|
99
105
|
:'delete_protection' => :'delete_protection',
|
100
106
|
:'description' => :'description',
|
101
107
|
:'gcp_key' => :'gcp-key',
|
108
|
+
:'gcp_service_account_email' => :'gcp-service-account-email',
|
109
|
+
:'gcp_service_account_key_id' => :'gcp-service-account-key-id',
|
102
110
|
:'json' => :'json',
|
103
111
|
:'keep_prev_version' => :'keep-prev-version',
|
104
112
|
:'key' => :'key',
|
@@ -134,6 +142,8 @@ module Akeyless
|
|
134
142
|
:'delete_protection' => :'String',
|
135
143
|
:'description' => :'String',
|
136
144
|
:'gcp_key' => :'String',
|
145
|
+
:'gcp_service_account_email' => :'String',
|
146
|
+
:'gcp_service_account_key_id' => :'String',
|
137
147
|
:'json' => :'Boolean',
|
138
148
|
:'keep_prev_version' => :'String',
|
139
149
|
:'key' => :'String',
|
@@ -210,6 +220,14 @@ module Akeyless
|
|
210
220
|
self.gcp_key = attributes[:'gcp_key']
|
211
221
|
end
|
212
222
|
|
223
|
+
if attributes.key?(:'gcp_service_account_email')
|
224
|
+
self.gcp_service_account_email = attributes[:'gcp_service_account_email']
|
225
|
+
end
|
226
|
+
|
227
|
+
if attributes.key?(:'gcp_service_account_key_id')
|
228
|
+
self.gcp_service_account_key_id = attributes[:'gcp_service_account_key_id']
|
229
|
+
end
|
230
|
+
|
213
231
|
if attributes.key?(:'json')
|
214
232
|
self.json = attributes[:'json']
|
215
233
|
else
|
@@ -327,6 +345,8 @@ module Akeyless
|
|
327
345
|
delete_protection == o.delete_protection &&
|
328
346
|
description == o.description &&
|
329
347
|
gcp_key == o.gcp_key &&
|
348
|
+
gcp_service_account_email == o.gcp_service_account_email &&
|
349
|
+
gcp_service_account_key_id == o.gcp_service_account_key_id &&
|
330
350
|
json == o.json &&
|
331
351
|
keep_prev_version == o.keep_prev_version &&
|
332
352
|
key == o.key &&
|
@@ -354,7 +374,7 @@ module Akeyless
|
|
354
374
|
# Calculates hash code according to all attributes.
|
355
375
|
# @return [Integer] Hash code
|
356
376
|
def hash
|
357
|
-
[add_tag, api_id, api_key, auto_rotate, custom_payload, delete_protection, description, gcp_key, 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
|
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
|
358
378
|
end
|
359
379
|
|
360
380
|
# Builds the object from hash
|
@@ -34,6 +34,12 @@ module Akeyless
|
|
34
34
|
# Enable/Disable discovery of Windows services from each domain server as part of the SSH/Windows Rotated Secrets. Default is false. (Relevant only for Active Directory migration)
|
35
35
|
attr_accessor :ad_discover_services
|
36
36
|
|
37
|
+
# Set migration discovery types (domain-users, computers, local-users). (Relevant only for Active Directory migration)
|
38
|
+
attr_accessor :ad_discovery_types
|
39
|
+
|
40
|
+
# Filter by Operating System to run the migration, can be used with wildcards, e.g. SRV20* (Relevant only for Active Directory migration)
|
41
|
+
attr_accessor :ad_os_filter
|
42
|
+
|
37
43
|
# Set the SSH Port for further connection to the domain servers. Default is port 22 (Relevant only for Active Directory migration)
|
38
44
|
attr_accessor :ad_ssh_port
|
39
45
|
|
@@ -52,7 +58,7 @@ module Akeyless
|
|
52
58
|
# Distinguished Name of Computer objects (servers) to search in Active Directory e.g.: CN=Computers,DC=example,DC=com (Relevant only for Active Directory migration)
|
53
59
|
attr_accessor :ad_computer_base_dn
|
54
60
|
|
55
|
-
# Enable/Disable discovery of local users from each domain server and migrate them as SSH/Windows Rotated Secrets. Default is false: only domain users will be migrated. Discovery of local users might require further installation of SSH on the servers, based on the supplied computer base DN. This will be implemented automatically as part of the migration process (Relevant only for Active Directory migration)
|
61
|
+
# Enable/Disable discovery of local users from each domain server and migrate them as SSH/Windows Rotated Secrets. Default is false: only domain users will be migrated. Discovery of local users might require further installation of SSH on the servers, based on the supplied computer base DN. This will be implemented automatically as part of the migration process (Relevant only for Active Directory migration) Deprecated: use AdDiscoverTypes
|
56
62
|
attr_accessor :ad_discover_local_users
|
57
63
|
|
58
64
|
# Active Directory Domain Name (Relevant only for Active Directory migration)
|
@@ -205,6 +211,8 @@ module Akeyless
|
|
205
211
|
:'_1password_url' => :'1password-url',
|
206
212
|
:'_1password_vaults' => :'1password-vaults',
|
207
213
|
:'ad_discover_services' => :'ad-discover-services',
|
214
|
+
:'ad_discovery_types' => :'ad-discovery-types',
|
215
|
+
:'ad_os_filter' => :'ad-os-filter',
|
208
216
|
:'ad_ssh_port' => :'ad-ssh-port',
|
209
217
|
:'ad_targets_type' => :'ad-targets-type',
|
210
218
|
:'ad_winrm_over_http' => :'ad-winrm-over-http',
|
@@ -276,6 +284,8 @@ module Akeyless
|
|
276
284
|
:'_1password_url' => :'String',
|
277
285
|
:'_1password_vaults' => :'Array<String>',
|
278
286
|
:'ad_discover_services' => :'String',
|
287
|
+
:'ad_discovery_types' => :'Array<String>',
|
288
|
+
:'ad_os_filter' => :'String',
|
279
289
|
:'ad_ssh_port' => :'String',
|
280
290
|
:'ad_targets_type' => :'String',
|
281
291
|
:'ad_winrm_over_http' => :'String',
|
@@ -382,6 +392,16 @@ module Akeyless
|
|
382
392
|
self.ad_discover_services = 'false'
|
383
393
|
end
|
384
394
|
|
395
|
+
if attributes.key?(:'ad_discovery_types')
|
396
|
+
if (value = attributes[:'ad_discovery_types']).is_a?(Array)
|
397
|
+
self.ad_discovery_types = value
|
398
|
+
end
|
399
|
+
end
|
400
|
+
|
401
|
+
if attributes.key?(:'ad_os_filter')
|
402
|
+
self.ad_os_filter = attributes[:'ad_os_filter']
|
403
|
+
end
|
404
|
+
|
385
405
|
if attributes.key?(:'ad_ssh_port')
|
386
406
|
self.ad_ssh_port = attributes[:'ad_ssh_port']
|
387
407
|
else
|
@@ -670,6 +690,8 @@ module Akeyless
|
|
670
690
|
_1password_url == o._1password_url &&
|
671
691
|
_1password_vaults == o._1password_vaults &&
|
672
692
|
ad_discover_services == o.ad_discover_services &&
|
693
|
+
ad_discovery_types == o.ad_discovery_types &&
|
694
|
+
ad_os_filter == o.ad_os_filter &&
|
673
695
|
ad_ssh_port == o.ad_ssh_port &&
|
674
696
|
ad_targets_type == o.ad_targets_type &&
|
675
697
|
ad_winrm_over_http == o.ad_winrm_over_http &&
|
@@ -735,7 +757,7 @@ module Akeyless
|
|
735
757
|
# Calculates hash code according to all attributes.
|
736
758
|
# @return [Integer] Hash code
|
737
759
|
def hash
|
738
|
-
[_1password_email, _1password_password, _1password_secret_key, _1password_url, _1password_vaults, ad_discover_services, 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
|
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
|
739
761
|
end
|
740
762
|
|
741
763
|
# Builds the object from hash
|
@@ -15,13 +15,14 @@ require 'time'
|
|
15
15
|
|
16
16
|
module Akeyless
|
17
17
|
class GcpTargetDetails
|
18
|
-
# deprecated
|
19
18
|
attr_accessor :gcp_service_account_email
|
20
19
|
|
21
20
|
attr_accessor :gcp_service_account_key
|
22
21
|
|
23
22
|
attr_accessor :gcp_service_account_key_base64
|
24
23
|
|
24
|
+
attr_accessor :gcp_service_account_key_id
|
25
|
+
|
25
26
|
attr_accessor :use_gw_cloud_identity
|
26
27
|
|
27
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -30,6 +31,7 @@ module Akeyless
|
|
30
31
|
:'gcp_service_account_email' => :'gcp_service_account_email',
|
31
32
|
:'gcp_service_account_key' => :'gcp_service_account_key',
|
32
33
|
:'gcp_service_account_key_base64' => :'gcp_service_account_key_base64',
|
34
|
+
:'gcp_service_account_key_id' => :'gcp_service_account_key_id',
|
33
35
|
:'use_gw_cloud_identity' => :'use_gw_cloud_identity'
|
34
36
|
}
|
35
37
|
end
|
@@ -45,6 +47,7 @@ module Akeyless
|
|
45
47
|
:'gcp_service_account_email' => :'String',
|
46
48
|
:'gcp_service_account_key' => :'String',
|
47
49
|
:'gcp_service_account_key_base64' => :'String',
|
50
|
+
:'gcp_service_account_key_id' => :'String',
|
48
51
|
:'use_gw_cloud_identity' => :'Boolean'
|
49
52
|
}
|
50
53
|
end
|
@@ -82,6 +85,10 @@ module Akeyless
|
|
82
85
|
self.gcp_service_account_key_base64 = attributes[:'gcp_service_account_key_base64']
|
83
86
|
end
|
84
87
|
|
88
|
+
if attributes.key?(:'gcp_service_account_key_id')
|
89
|
+
self.gcp_service_account_key_id = attributes[:'gcp_service_account_key_id']
|
90
|
+
end
|
91
|
+
|
85
92
|
if attributes.key?(:'use_gw_cloud_identity')
|
86
93
|
self.use_gw_cloud_identity = attributes[:'use_gw_cloud_identity']
|
87
94
|
end
|
@@ -110,6 +117,7 @@ module Akeyless
|
|
110
117
|
gcp_service_account_email == o.gcp_service_account_email &&
|
111
118
|
gcp_service_account_key == o.gcp_service_account_key &&
|
112
119
|
gcp_service_account_key_base64 == o.gcp_service_account_key_base64 &&
|
120
|
+
gcp_service_account_key_id == o.gcp_service_account_key_id &&
|
113
121
|
use_gw_cloud_identity == o.use_gw_cloud_identity
|
114
122
|
end
|
115
123
|
|
@@ -122,7 +130,7 @@ module Akeyless
|
|
122
130
|
# Calculates hash code according to all attributes.
|
123
131
|
# @return [Integer] Hash code
|
124
132
|
def hash
|
125
|
-
[gcp_service_account_email, gcp_service_account_key, gcp_service_account_key_base64, use_gw_cloud_identity].hash
|
133
|
+
[gcp_service_account_email, gcp_service_account_key, gcp_service_account_key_base64, gcp_service_account_key_id, use_gw_cloud_identity].hash
|
126
134
|
end
|
127
135
|
|
128
136
|
# Builds the object from hash
|