akeyless 3.1.2 → 3.2.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 +12 -1
- data/docs/CreatePingTarget.md +38 -0
- data/docs/CreatePingTargetOutput.md +18 -0
- data/docs/CreateRotatedSecret.md +2 -0
- data/docs/DSProducerDetails.md +40 -0
- data/docs/GatewayCreateProducerPing.md +66 -0
- data/docs/GatewayCreateProducerPingOutput.md +18 -0
- data/docs/GatewayUpdateProducerPing.md +68 -0
- data/docs/GatewayUpdateProducerPingOutput.md +18 -0
- data/docs/GetKubeExecCreds.md +5 -3
- data/docs/GetPKICertificate.md +5 -3
- data/docs/SecureRemoteAccess.md +2 -0
- data/docs/TargetTypeDetailsInput.md +10 -0
- data/docs/UpdatePingTarget.md +44 -0
- data/docs/UpdateRotatedSecret.md +2 -0
- data/docs/V2Api.md +252 -0
- data/lib/akeyless/api/v2_api.rb +256 -0
- data/lib/akeyless/models/create_ping_target.rb +329 -0
- data/lib/akeyless/models/create_ping_target_output.rb +219 -0
- data/lib/akeyless/models/create_rotated_secret.rb +13 -1
- data/lib/akeyless/models/ds_producer_details.rb +196 -1
- data/lib/akeyless/models/gateway_create_producer_ping.rb +482 -0
- data/lib/akeyless/models/gateway_create_producer_ping_output.rb +219 -0
- data/lib/akeyless/models/gateway_update_producer_ping.rb +492 -0
- data/lib/akeyless/models/gateway_update_producer_ping_output.rb +219 -0
- data/lib/akeyless/models/get_kube_exec_creds.rb +14 -4
- data/lib/akeyless/models/get_pki_certificate.rb +14 -4
- data/lib/akeyless/models/secure_remote_access.rb +10 -1
- data/lib/akeyless/models/target_type_details_input.rb +46 -1
- data/lib/akeyless/models/update_ping_target.rb +358 -0
- data/lib/akeyless/models/update_rotated_secret.rb +13 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +7 -0
- data/spec/models/create_ping_target_output_spec.rb +34 -0
- data/spec/models/create_ping_target_spec.rb +94 -0
- data/spec/models/gateway_create_producer_ping_output_spec.rb +34 -0
- data/spec/models/gateway_create_producer_ping_spec.rb +178 -0
- data/spec/models/gateway_update_producer_ping_output_spec.rb +34 -0
- data/spec/models/gateway_update_producer_ping_spec.rb +184 -0
- data/spec/models/update_ping_target_spec.rb +112 -0
- metadata +590 -562
@@ -15,6 +15,8 @@ require 'time'
|
|
15
15
|
|
16
16
|
module Akeyless
|
17
17
|
class DSProducerDetails
|
18
|
+
attr_accessor :access_token_manager_id
|
19
|
+
|
18
20
|
attr_accessor :active
|
19
21
|
|
20
22
|
attr_accessor :admin_name
|
@@ -23,6 +25,8 @@ module Akeyless
|
|
23
25
|
|
24
26
|
attr_accessor :admin_rotation_interval_days
|
25
27
|
|
28
|
+
attr_accessor :administrative_port
|
29
|
+
|
26
30
|
attr_accessor :artifactory_admin_apikey
|
27
31
|
|
28
32
|
attr_accessor :artifactory_admin_username
|
@@ -33,6 +37,8 @@ module Akeyless
|
|
33
37
|
|
34
38
|
attr_accessor :artifactory_token_scope
|
35
39
|
|
40
|
+
attr_accessor :authorization_port
|
41
|
+
|
36
42
|
attr_accessor :aws_access_key_id
|
37
43
|
|
38
44
|
attr_accessor :aws_access_mode
|
@@ -97,6 +103,8 @@ module Akeyless
|
|
97
103
|
|
98
104
|
attr_accessor :chef_skip_ssl
|
99
105
|
|
106
|
+
attr_accessor :client_authentication_type
|
107
|
+
|
100
108
|
attr_accessor :create_sync_url
|
101
109
|
|
102
110
|
attr_accessor :db_host_name
|
@@ -152,6 +160,9 @@ module Akeyless
|
|
152
160
|
|
153
161
|
attr_accessor :enable_admin_rotation
|
154
162
|
|
163
|
+
# relevant for PRIVATE_KEY_JWT client authentication type
|
164
|
+
attr_accessor :enforce_replay_prevention
|
165
|
+
|
155
166
|
attr_accessor :externally_provided_user
|
156
167
|
|
157
168
|
attr_accessor :failure_message
|
@@ -203,6 +214,8 @@ module Akeyless
|
|
203
214
|
|
204
215
|
attr_accessor :gke_service_account_name
|
205
216
|
|
217
|
+
attr_accessor :grant_types
|
218
|
+
|
206
219
|
attr_accessor :groups
|
207
220
|
|
208
221
|
attr_accessor :hanadb_creation_statements
|
@@ -217,8 +230,15 @@ module Akeyless
|
|
217
230
|
|
218
231
|
attr_accessor :is_fixed_user
|
219
232
|
|
233
|
+
# relevant for CLIENT_TLS_CERTIFICATE client authentication type
|
234
|
+
attr_accessor :issuer
|
235
|
+
|
220
236
|
attr_accessor :item_targets_assoc
|
221
237
|
|
238
|
+
attr_accessor :jwks
|
239
|
+
|
240
|
+
attr_accessor :jwks_url
|
241
|
+
|
222
242
|
# comma-separated list of allowed namespaces. Can hold just * which signifies that any namespace is allowed
|
223
243
|
attr_accessor :k8s_allowed_namespaces
|
224
244
|
|
@@ -233,8 +253,19 @@ module Akeyless
|
|
233
253
|
|
234
254
|
attr_accessor :k8s_namespace
|
235
255
|
|
256
|
+
# Name of the pre-existing Role or ClusterRole to bind a generated service account to.
|
257
|
+
attr_accessor :k8s_role_name
|
258
|
+
|
259
|
+
attr_accessor :k8s_role_type
|
260
|
+
|
236
261
|
attr_accessor :k8s_service_account
|
237
262
|
|
263
|
+
# Yaml/Json definition of temporary role binding that will be created and deleted when TTL is due. Must have as subject name of Service Account specified in K8sServiceAccount field
|
264
|
+
attr_accessor :k8s_temp_role_binding_definition
|
265
|
+
|
266
|
+
# Yaml/Json definition of temporary role that will be created and deleted when TTL is due
|
267
|
+
attr_accessor :k8s_temp_role_definition
|
268
|
+
|
238
269
|
attr_accessor :last_admin_rotation
|
239
270
|
|
240
271
|
attr_accessor :ldap_audience
|
@@ -301,10 +332,14 @@ module Akeyless
|
|
301
332
|
|
302
333
|
attr_accessor :payload
|
303
334
|
|
335
|
+
attr_accessor :ping_url
|
336
|
+
|
304
337
|
attr_accessor :postgres_creation_statements
|
305
338
|
|
306
339
|
attr_accessor :postgres_revocation_statements
|
307
340
|
|
341
|
+
attr_accessor :privileged_user
|
342
|
+
|
308
343
|
attr_accessor :rabbitmq_server_password
|
309
344
|
|
310
345
|
attr_accessor :rabbitmq_server_uri
|
@@ -321,8 +356,12 @@ module Akeyless
|
|
321
356
|
|
322
357
|
attr_accessor :rabbitmq_user_write_permission
|
323
358
|
|
359
|
+
attr_accessor :redirect_uris
|
360
|
+
|
324
361
|
attr_accessor :redshift_creation_statements
|
325
362
|
|
363
|
+
attr_accessor :restricted_scopes
|
364
|
+
|
326
365
|
attr_accessor :revoke_sync_url
|
327
366
|
|
328
367
|
attr_accessor :rotate_sync_url
|
@@ -343,12 +382,16 @@ module Akeyless
|
|
343
382
|
# TODO delete this after migration
|
344
383
|
attr_accessor :should_stop
|
345
384
|
|
385
|
+
attr_accessor :signing_algorithm
|
386
|
+
|
346
387
|
# (Optional) SSLConnectionCertificate defines the certificate for SSL connection. Must be base64 certificate loaded by UI using file loader field
|
347
388
|
attr_accessor :ssl_connection_certificate
|
348
389
|
|
349
390
|
# (Optional) SSLConnectionMode defines if SSL mode will be used to connect to DB
|
350
391
|
attr_accessor :ssl_connection_mode
|
351
392
|
|
393
|
+
attr_accessor :subject_dn
|
394
|
+
|
352
395
|
attr_accessor :tags
|
353
396
|
|
354
397
|
attr_accessor :timeout_seconds
|
@@ -357,6 +400,8 @@ module Akeyless
|
|
357
400
|
|
358
401
|
attr_accessor :user_name
|
359
402
|
|
403
|
+
attr_accessor :user_password
|
404
|
+
|
360
405
|
attr_accessor :user_principal_name
|
361
406
|
|
362
407
|
attr_accessor :user_ttl
|
@@ -396,15 +441,18 @@ module Akeyless
|
|
396
441
|
# Attribute mapping from ruby-style variable name to JSON key.
|
397
442
|
def self.attribute_map
|
398
443
|
{
|
444
|
+
:'access_token_manager_id' => :'access_token_manager_id',
|
399
445
|
:'active' => :'active',
|
400
446
|
:'admin_name' => :'admin_name',
|
401
447
|
:'admin_pwd' => :'admin_pwd',
|
402
448
|
:'admin_rotation_interval_days' => :'admin_rotation_interval_days',
|
449
|
+
:'administrative_port' => :'administrative_port',
|
403
450
|
:'artifactory_admin_apikey' => :'artifactory_admin_apikey',
|
404
451
|
:'artifactory_admin_username' => :'artifactory_admin_username',
|
405
452
|
:'artifactory_base_url' => :'artifactory_base_url',
|
406
453
|
:'artifactory_token_audience' => :'artifactory_token_audience',
|
407
454
|
:'artifactory_token_scope' => :'artifactory_token_scope',
|
455
|
+
:'authorization_port' => :'authorization_port',
|
408
456
|
:'aws_access_key_id' => :'aws_access_key_id',
|
409
457
|
:'aws_access_mode' => :'aws_access_mode',
|
410
458
|
:'aws_region' => :'aws_region',
|
@@ -437,6 +485,7 @@ module Akeyless
|
|
437
485
|
:'chef_server_url' => :'chef_server_url',
|
438
486
|
:'chef_server_username' => :'chef_server_username',
|
439
487
|
:'chef_skip_ssl' => :'chef_skip_ssl',
|
488
|
+
:'client_authentication_type' => :'client_authentication_type',
|
440
489
|
:'create_sync_url' => :'create_sync_url',
|
441
490
|
:'db_host_name' => :'db_host_name',
|
442
491
|
:'db_isolation_level' => :'db_isolation_level',
|
@@ -463,6 +512,7 @@ module Akeyless
|
|
463
512
|
:'eks_region' => :'eks_region',
|
464
513
|
:'eks_secret_access_key' => :'eks_secret_access_key',
|
465
514
|
:'enable_admin_rotation' => :'enable_admin_rotation',
|
515
|
+
:'enforce_replay_prevention' => :'enforce_replay_prevention',
|
466
516
|
:'externally_provided_user' => :'externally_provided_user',
|
467
517
|
:'failure_message' => :'failure_message',
|
468
518
|
:'fixed_user_only' => :'fixed_user_only',
|
@@ -488,6 +538,7 @@ module Akeyless
|
|
488
538
|
:'gke_cluster_name' => :'gke_cluster_name',
|
489
539
|
:'gke_service_account_key' => :'gke_service_account_key',
|
490
540
|
:'gke_service_account_name' => :'gke_service_account_name',
|
541
|
+
:'grant_types' => :'grant_types',
|
491
542
|
:'groups' => :'groups',
|
492
543
|
:'hanadb_creation_statements' => :'hanadb_creation_statements',
|
493
544
|
:'hanadb_revocation_statements' => :'hanadb_revocation_statements',
|
@@ -495,14 +546,21 @@ module Akeyless
|
|
495
546
|
:'host_port' => :'host_port',
|
496
547
|
:'implementation_type' => :'implementation_type',
|
497
548
|
:'is_fixed_user' => :'is_fixed_user',
|
549
|
+
:'issuer' => :'issuer',
|
498
550
|
:'item_targets_assoc' => :'item_targets_assoc',
|
551
|
+
:'jwks' => :'jwks',
|
552
|
+
:'jwks_url' => :'jwks_url',
|
499
553
|
:'k8s_allowed_namespaces' => :'k8s_allowed_namespaces',
|
500
554
|
:'k8s_bearer_token' => :'k8s_bearer_token',
|
501
555
|
:'k8s_cluster_ca_certificate' => :'k8s_cluster_ca_certificate',
|
502
556
|
:'k8s_cluster_endpoint' => :'k8s_cluster_endpoint',
|
503
557
|
:'k8s_dynamic_mode' => :'k8s_dynamic_mode',
|
504
558
|
:'k8s_namespace' => :'k8s_namespace',
|
559
|
+
:'k8s_role_name' => :'k8s_role_name',
|
560
|
+
:'k8s_role_type' => :'k8s_role_type',
|
505
561
|
:'k8s_service_account' => :'k8s_service_account',
|
562
|
+
:'k8s_temp_role_binding_definition' => :'k8s_temp_role_binding_definition',
|
563
|
+
:'k8s_temp_role_definition' => :'k8s_temp_role_definition',
|
506
564
|
:'last_admin_rotation' => :'last_admin_rotation',
|
507
565
|
:'ldap_audience' => :'ldap_audience',
|
508
566
|
:'ldap_bind_dn' => :'ldap_bind_dn',
|
@@ -534,8 +592,10 @@ module Akeyless
|
|
534
592
|
:'password_length' => :'password_length',
|
535
593
|
:'password_policy' => :'password_policy',
|
536
594
|
:'payload' => :'payload',
|
595
|
+
:'ping_url' => :'ping_url',
|
537
596
|
:'postgres_creation_statements' => :'postgres_creation_statements',
|
538
597
|
:'postgres_revocation_statements' => :'postgres_revocation_statements',
|
598
|
+
:'privileged_user' => :'privileged_user',
|
539
599
|
:'rabbitmq_server_password' => :'rabbitmq_server_password',
|
540
600
|
:'rabbitmq_server_uri' => :'rabbitmq_server_uri',
|
541
601
|
:'rabbitmq_server_user' => :'rabbitmq_server_user',
|
@@ -544,7 +604,9 @@ module Akeyless
|
|
544
604
|
:'rabbitmq_user_tags' => :'rabbitmq_user_tags',
|
545
605
|
:'rabbitmq_user_vhost' => :'rabbitmq_user_vhost',
|
546
606
|
:'rabbitmq_user_write_permission' => :'rabbitmq_user_write_permission',
|
607
|
+
:'redirect_uris' => :'redirect_uris',
|
547
608
|
:'redshift_creation_statements' => :'redshift_creation_statements',
|
609
|
+
:'restricted_scopes' => :'restricted_scopes',
|
548
610
|
:'revoke_sync_url' => :'revoke_sync_url',
|
549
611
|
:'rotate_sync_url' => :'rotate_sync_url',
|
550
612
|
:'scopes' => :'scopes',
|
@@ -554,12 +616,15 @@ module Akeyless
|
|
554
616
|
:'sf_user_role' => :'sf_user_role',
|
555
617
|
:'sf_warehouse_name' => :'sf_warehouse_name',
|
556
618
|
:'should_stop' => :'should_stop',
|
619
|
+
:'signing_algorithm' => :'signing_algorithm',
|
557
620
|
:'ssl_connection_certificate' => :'ssl_connection_certificate',
|
558
621
|
:'ssl_connection_mode' => :'ssl_connection_mode',
|
622
|
+
:'subject_dn' => :'subject_dn',
|
559
623
|
:'tags' => :'tags',
|
560
624
|
:'timeout_seconds' => :'timeout_seconds',
|
561
625
|
:'use_gw_cloud_identity' => :'use_gw_cloud_identity',
|
562
626
|
:'user_name' => :'user_name',
|
627
|
+
:'user_password' => :'user_password',
|
563
628
|
:'user_principal_name' => :'user_principal_name',
|
564
629
|
:'user_ttl' => :'user_ttl',
|
565
630
|
:'username_length' => :'username_length',
|
@@ -589,15 +654,18 @@ module Akeyless
|
|
589
654
|
# Attribute type mapping.
|
590
655
|
def self.openapi_types
|
591
656
|
{
|
657
|
+
:'access_token_manager_id' => :'String',
|
592
658
|
:'active' => :'Boolean',
|
593
659
|
:'admin_name' => :'String',
|
594
660
|
:'admin_pwd' => :'String',
|
595
661
|
:'admin_rotation_interval_days' => :'Integer',
|
662
|
+
:'administrative_port' => :'String',
|
596
663
|
:'artifactory_admin_apikey' => :'String',
|
597
664
|
:'artifactory_admin_username' => :'String',
|
598
665
|
:'artifactory_base_url' => :'String',
|
599
666
|
:'artifactory_token_audience' => :'String',
|
600
667
|
:'artifactory_token_scope' => :'String',
|
668
|
+
:'authorization_port' => :'String',
|
601
669
|
:'aws_access_key_id' => :'String',
|
602
670
|
:'aws_access_mode' => :'String',
|
603
671
|
:'aws_region' => :'String',
|
@@ -630,6 +698,7 @@ module Akeyless
|
|
630
698
|
:'chef_server_url' => :'String',
|
631
699
|
:'chef_server_username' => :'String',
|
632
700
|
:'chef_skip_ssl' => :'Boolean',
|
701
|
+
:'client_authentication_type' => :'String',
|
633
702
|
:'create_sync_url' => :'String',
|
634
703
|
:'db_host_name' => :'String',
|
635
704
|
:'db_isolation_level' => :'String',
|
@@ -656,6 +725,7 @@ module Akeyless
|
|
656
725
|
:'eks_region' => :'String',
|
657
726
|
:'eks_secret_access_key' => :'String',
|
658
727
|
:'enable_admin_rotation' => :'Boolean',
|
728
|
+
:'enforce_replay_prevention' => :'Boolean',
|
659
729
|
:'externally_provided_user' => :'String',
|
660
730
|
:'failure_message' => :'String',
|
661
731
|
:'fixed_user_only' => :'String',
|
@@ -681,6 +751,7 @@ module Akeyless
|
|
681
751
|
:'gke_cluster_name' => :'String',
|
682
752
|
:'gke_service_account_key' => :'String',
|
683
753
|
:'gke_service_account_name' => :'String',
|
754
|
+
:'grant_types' => :'Array<String>',
|
684
755
|
:'groups' => :'String',
|
685
756
|
:'hanadb_creation_statements' => :'String',
|
686
757
|
:'hanadb_revocation_statements' => :'String',
|
@@ -688,14 +759,21 @@ module Akeyless
|
|
688
759
|
:'host_port' => :'String',
|
689
760
|
:'implementation_type' => :'String',
|
690
761
|
:'is_fixed_user' => :'String',
|
762
|
+
:'issuer' => :'String',
|
691
763
|
:'item_targets_assoc' => :'Array<ItemTargetAssociation>',
|
764
|
+
:'jwks' => :'String',
|
765
|
+
:'jwks_url' => :'String',
|
692
766
|
:'k8s_allowed_namespaces' => :'String',
|
693
767
|
:'k8s_bearer_token' => :'String',
|
694
768
|
:'k8s_cluster_ca_certificate' => :'String',
|
695
769
|
:'k8s_cluster_endpoint' => :'String',
|
696
770
|
:'k8s_dynamic_mode' => :'Boolean',
|
697
771
|
:'k8s_namespace' => :'String',
|
772
|
+
:'k8s_role_name' => :'String',
|
773
|
+
:'k8s_role_type' => :'String',
|
698
774
|
:'k8s_service_account' => :'String',
|
775
|
+
:'k8s_temp_role_binding_definition' => :'Array<Integer>',
|
776
|
+
:'k8s_temp_role_definition' => :'Array<Integer>',
|
699
777
|
:'last_admin_rotation' => :'Integer',
|
700
778
|
:'ldap_audience' => :'String',
|
701
779
|
:'ldap_bind_dn' => :'String',
|
@@ -727,8 +805,10 @@ module Akeyless
|
|
727
805
|
:'password_length' => :'Integer',
|
728
806
|
:'password_policy' => :'String',
|
729
807
|
:'payload' => :'String',
|
808
|
+
:'ping_url' => :'String',
|
730
809
|
:'postgres_creation_statements' => :'String',
|
731
810
|
:'postgres_revocation_statements' => :'String',
|
811
|
+
:'privileged_user' => :'String',
|
732
812
|
:'rabbitmq_server_password' => :'String',
|
733
813
|
:'rabbitmq_server_uri' => :'String',
|
734
814
|
:'rabbitmq_server_user' => :'String',
|
@@ -737,7 +817,9 @@ module Akeyless
|
|
737
817
|
:'rabbitmq_user_tags' => :'String',
|
738
818
|
:'rabbitmq_user_vhost' => :'String',
|
739
819
|
:'rabbitmq_user_write_permission' => :'String',
|
820
|
+
:'redirect_uris' => :'Array<String>',
|
740
821
|
:'redshift_creation_statements' => :'String',
|
822
|
+
:'restricted_scopes' => :'Array<String>',
|
741
823
|
:'revoke_sync_url' => :'String',
|
742
824
|
:'rotate_sync_url' => :'String',
|
743
825
|
:'scopes' => :'Array<String>',
|
@@ -747,12 +829,15 @@ module Akeyless
|
|
747
829
|
:'sf_user_role' => :'String',
|
748
830
|
:'sf_warehouse_name' => :'String',
|
749
831
|
:'should_stop' => :'String',
|
832
|
+
:'signing_algorithm' => :'String',
|
750
833
|
:'ssl_connection_certificate' => :'String',
|
751
834
|
:'ssl_connection_mode' => :'Boolean',
|
835
|
+
:'subject_dn' => :'String',
|
752
836
|
:'tags' => :'Array<String>',
|
753
837
|
:'timeout_seconds' => :'Integer',
|
754
838
|
:'use_gw_cloud_identity' => :'Boolean',
|
755
839
|
:'user_name' => :'String',
|
840
|
+
:'user_password' => :'String',
|
756
841
|
:'user_principal_name' => :'String',
|
757
842
|
:'user_ttl' => :'String',
|
758
843
|
:'username_length' => :'Integer',
|
@@ -795,6 +880,10 @@ module Akeyless
|
|
795
880
|
h[k.to_sym] = v
|
796
881
|
}
|
797
882
|
|
883
|
+
if attributes.key?(:'access_token_manager_id')
|
884
|
+
self.access_token_manager_id = attributes[:'access_token_manager_id']
|
885
|
+
end
|
886
|
+
|
798
887
|
if attributes.key?(:'active')
|
799
888
|
self.active = attributes[:'active']
|
800
889
|
end
|
@@ -811,6 +900,10 @@ module Akeyless
|
|
811
900
|
self.admin_rotation_interval_days = attributes[:'admin_rotation_interval_days']
|
812
901
|
end
|
813
902
|
|
903
|
+
if attributes.key?(:'administrative_port')
|
904
|
+
self.administrative_port = attributes[:'administrative_port']
|
905
|
+
end
|
906
|
+
|
814
907
|
if attributes.key?(:'artifactory_admin_apikey')
|
815
908
|
self.artifactory_admin_apikey = attributes[:'artifactory_admin_apikey']
|
816
909
|
end
|
@@ -831,6 +924,10 @@ module Akeyless
|
|
831
924
|
self.artifactory_token_scope = attributes[:'artifactory_token_scope']
|
832
925
|
end
|
833
926
|
|
927
|
+
if attributes.key?(:'authorization_port')
|
928
|
+
self.authorization_port = attributes[:'authorization_port']
|
929
|
+
end
|
930
|
+
|
834
931
|
if attributes.key?(:'aws_access_key_id')
|
835
932
|
self.aws_access_key_id = attributes[:'aws_access_key_id']
|
836
933
|
end
|
@@ -959,6 +1056,10 @@ module Akeyless
|
|
959
1056
|
self.chef_skip_ssl = attributes[:'chef_skip_ssl']
|
960
1057
|
end
|
961
1058
|
|
1059
|
+
if attributes.key?(:'client_authentication_type')
|
1060
|
+
self.client_authentication_type = attributes[:'client_authentication_type']
|
1061
|
+
end
|
1062
|
+
|
962
1063
|
if attributes.key?(:'create_sync_url')
|
963
1064
|
self.create_sync_url = attributes[:'create_sync_url']
|
964
1065
|
end
|
@@ -1063,6 +1164,10 @@ module Akeyless
|
|
1063
1164
|
self.enable_admin_rotation = attributes[:'enable_admin_rotation']
|
1064
1165
|
end
|
1065
1166
|
|
1167
|
+
if attributes.key?(:'enforce_replay_prevention')
|
1168
|
+
self.enforce_replay_prevention = attributes[:'enforce_replay_prevention']
|
1169
|
+
end
|
1170
|
+
|
1066
1171
|
if attributes.key?(:'externally_provided_user')
|
1067
1172
|
self.externally_provided_user = attributes[:'externally_provided_user']
|
1068
1173
|
end
|
@@ -1171,6 +1276,12 @@ module Akeyless
|
|
1171
1276
|
self.gke_service_account_name = attributes[:'gke_service_account_name']
|
1172
1277
|
end
|
1173
1278
|
|
1279
|
+
if attributes.key?(:'grant_types')
|
1280
|
+
if (value = attributes[:'grant_types']).is_a?(Array)
|
1281
|
+
self.grant_types = value
|
1282
|
+
end
|
1283
|
+
end
|
1284
|
+
|
1174
1285
|
if attributes.key?(:'groups')
|
1175
1286
|
self.groups = attributes[:'groups']
|
1176
1287
|
end
|
@@ -1199,12 +1310,24 @@ module Akeyless
|
|
1199
1310
|
self.is_fixed_user = attributes[:'is_fixed_user']
|
1200
1311
|
end
|
1201
1312
|
|
1313
|
+
if attributes.key?(:'issuer')
|
1314
|
+
self.issuer = attributes[:'issuer']
|
1315
|
+
end
|
1316
|
+
|
1202
1317
|
if attributes.key?(:'item_targets_assoc')
|
1203
1318
|
if (value = attributes[:'item_targets_assoc']).is_a?(Array)
|
1204
1319
|
self.item_targets_assoc = value
|
1205
1320
|
end
|
1206
1321
|
end
|
1207
1322
|
|
1323
|
+
if attributes.key?(:'jwks')
|
1324
|
+
self.jwks = attributes[:'jwks']
|
1325
|
+
end
|
1326
|
+
|
1327
|
+
if attributes.key?(:'jwks_url')
|
1328
|
+
self.jwks_url = attributes[:'jwks_url']
|
1329
|
+
end
|
1330
|
+
|
1208
1331
|
if attributes.key?(:'k8s_allowed_namespaces')
|
1209
1332
|
self.k8s_allowed_namespaces = attributes[:'k8s_allowed_namespaces']
|
1210
1333
|
end
|
@@ -1229,10 +1352,30 @@ module Akeyless
|
|
1229
1352
|
self.k8s_namespace = attributes[:'k8s_namespace']
|
1230
1353
|
end
|
1231
1354
|
|
1355
|
+
if attributes.key?(:'k8s_role_name')
|
1356
|
+
self.k8s_role_name = attributes[:'k8s_role_name']
|
1357
|
+
end
|
1358
|
+
|
1359
|
+
if attributes.key?(:'k8s_role_type')
|
1360
|
+
self.k8s_role_type = attributes[:'k8s_role_type']
|
1361
|
+
end
|
1362
|
+
|
1232
1363
|
if attributes.key?(:'k8s_service_account')
|
1233
1364
|
self.k8s_service_account = attributes[:'k8s_service_account']
|
1234
1365
|
end
|
1235
1366
|
|
1367
|
+
if attributes.key?(:'k8s_temp_role_binding_definition')
|
1368
|
+
if (value = attributes[:'k8s_temp_role_binding_definition']).is_a?(Array)
|
1369
|
+
self.k8s_temp_role_binding_definition = value
|
1370
|
+
end
|
1371
|
+
end
|
1372
|
+
|
1373
|
+
if attributes.key?(:'k8s_temp_role_definition')
|
1374
|
+
if (value = attributes[:'k8s_temp_role_definition']).is_a?(Array)
|
1375
|
+
self.k8s_temp_role_definition = value
|
1376
|
+
end
|
1377
|
+
end
|
1378
|
+
|
1236
1379
|
if attributes.key?(:'last_admin_rotation')
|
1237
1380
|
self.last_admin_rotation = attributes[:'last_admin_rotation']
|
1238
1381
|
end
|
@@ -1357,6 +1500,10 @@ module Akeyless
|
|
1357
1500
|
self.payload = attributes[:'payload']
|
1358
1501
|
end
|
1359
1502
|
|
1503
|
+
if attributes.key?(:'ping_url')
|
1504
|
+
self.ping_url = attributes[:'ping_url']
|
1505
|
+
end
|
1506
|
+
|
1360
1507
|
if attributes.key?(:'postgres_creation_statements')
|
1361
1508
|
self.postgres_creation_statements = attributes[:'postgres_creation_statements']
|
1362
1509
|
end
|
@@ -1365,6 +1512,10 @@ module Akeyless
|
|
1365
1512
|
self.postgres_revocation_statements = attributes[:'postgres_revocation_statements']
|
1366
1513
|
end
|
1367
1514
|
|
1515
|
+
if attributes.key?(:'privileged_user')
|
1516
|
+
self.privileged_user = attributes[:'privileged_user']
|
1517
|
+
end
|
1518
|
+
|
1368
1519
|
if attributes.key?(:'rabbitmq_server_password')
|
1369
1520
|
self.rabbitmq_server_password = attributes[:'rabbitmq_server_password']
|
1370
1521
|
end
|
@@ -1397,10 +1548,22 @@ module Akeyless
|
|
1397
1548
|
self.rabbitmq_user_write_permission = attributes[:'rabbitmq_user_write_permission']
|
1398
1549
|
end
|
1399
1550
|
|
1551
|
+
if attributes.key?(:'redirect_uris')
|
1552
|
+
if (value = attributes[:'redirect_uris']).is_a?(Array)
|
1553
|
+
self.redirect_uris = value
|
1554
|
+
end
|
1555
|
+
end
|
1556
|
+
|
1400
1557
|
if attributes.key?(:'redshift_creation_statements')
|
1401
1558
|
self.redshift_creation_statements = attributes[:'redshift_creation_statements']
|
1402
1559
|
end
|
1403
1560
|
|
1561
|
+
if attributes.key?(:'restricted_scopes')
|
1562
|
+
if (value = attributes[:'restricted_scopes']).is_a?(Array)
|
1563
|
+
self.restricted_scopes = value
|
1564
|
+
end
|
1565
|
+
end
|
1566
|
+
|
1404
1567
|
if attributes.key?(:'revoke_sync_url')
|
1405
1568
|
self.revoke_sync_url = attributes[:'revoke_sync_url']
|
1406
1569
|
end
|
@@ -1439,6 +1602,10 @@ module Akeyless
|
|
1439
1602
|
self.should_stop = attributes[:'should_stop']
|
1440
1603
|
end
|
1441
1604
|
|
1605
|
+
if attributes.key?(:'signing_algorithm')
|
1606
|
+
self.signing_algorithm = attributes[:'signing_algorithm']
|
1607
|
+
end
|
1608
|
+
|
1442
1609
|
if attributes.key?(:'ssl_connection_certificate')
|
1443
1610
|
self.ssl_connection_certificate = attributes[:'ssl_connection_certificate']
|
1444
1611
|
end
|
@@ -1447,6 +1614,10 @@ module Akeyless
|
|
1447
1614
|
self.ssl_connection_mode = attributes[:'ssl_connection_mode']
|
1448
1615
|
end
|
1449
1616
|
|
1617
|
+
if attributes.key?(:'subject_dn')
|
1618
|
+
self.subject_dn = attributes[:'subject_dn']
|
1619
|
+
end
|
1620
|
+
|
1450
1621
|
if attributes.key?(:'tags')
|
1451
1622
|
if (value = attributes[:'tags']).is_a?(Array)
|
1452
1623
|
self.tags = value
|
@@ -1465,6 +1636,10 @@ module Akeyless
|
|
1465
1636
|
self.user_name = attributes[:'user_name']
|
1466
1637
|
end
|
1467
1638
|
|
1639
|
+
if attributes.key?(:'user_password')
|
1640
|
+
self.user_password = attributes[:'user_password']
|
1641
|
+
end
|
1642
|
+
|
1468
1643
|
if attributes.key?(:'user_principal_name')
|
1469
1644
|
self.user_principal_name = attributes[:'user_principal_name']
|
1470
1645
|
end
|
@@ -1558,15 +1733,18 @@ module Akeyless
|
|
1558
1733
|
def ==(o)
|
1559
1734
|
return true if self.equal?(o)
|
1560
1735
|
self.class == o.class &&
|
1736
|
+
access_token_manager_id == o.access_token_manager_id &&
|
1561
1737
|
active == o.active &&
|
1562
1738
|
admin_name == o.admin_name &&
|
1563
1739
|
admin_pwd == o.admin_pwd &&
|
1564
1740
|
admin_rotation_interval_days == o.admin_rotation_interval_days &&
|
1741
|
+
administrative_port == o.administrative_port &&
|
1565
1742
|
artifactory_admin_apikey == o.artifactory_admin_apikey &&
|
1566
1743
|
artifactory_admin_username == o.artifactory_admin_username &&
|
1567
1744
|
artifactory_base_url == o.artifactory_base_url &&
|
1568
1745
|
artifactory_token_audience == o.artifactory_token_audience &&
|
1569
1746
|
artifactory_token_scope == o.artifactory_token_scope &&
|
1747
|
+
authorization_port == o.authorization_port &&
|
1570
1748
|
aws_access_key_id == o.aws_access_key_id &&
|
1571
1749
|
aws_access_mode == o.aws_access_mode &&
|
1572
1750
|
aws_region == o.aws_region &&
|
@@ -1599,6 +1777,7 @@ module Akeyless
|
|
1599
1777
|
chef_server_url == o.chef_server_url &&
|
1600
1778
|
chef_server_username == o.chef_server_username &&
|
1601
1779
|
chef_skip_ssl == o.chef_skip_ssl &&
|
1780
|
+
client_authentication_type == o.client_authentication_type &&
|
1602
1781
|
create_sync_url == o.create_sync_url &&
|
1603
1782
|
db_host_name == o.db_host_name &&
|
1604
1783
|
db_isolation_level == o.db_isolation_level &&
|
@@ -1625,6 +1804,7 @@ module Akeyless
|
|
1625
1804
|
eks_region == o.eks_region &&
|
1626
1805
|
eks_secret_access_key == o.eks_secret_access_key &&
|
1627
1806
|
enable_admin_rotation == o.enable_admin_rotation &&
|
1807
|
+
enforce_replay_prevention == o.enforce_replay_prevention &&
|
1628
1808
|
externally_provided_user == o.externally_provided_user &&
|
1629
1809
|
failure_message == o.failure_message &&
|
1630
1810
|
fixed_user_only == o.fixed_user_only &&
|
@@ -1650,6 +1830,7 @@ module Akeyless
|
|
1650
1830
|
gke_cluster_name == o.gke_cluster_name &&
|
1651
1831
|
gke_service_account_key == o.gke_service_account_key &&
|
1652
1832
|
gke_service_account_name == o.gke_service_account_name &&
|
1833
|
+
grant_types == o.grant_types &&
|
1653
1834
|
groups == o.groups &&
|
1654
1835
|
hanadb_creation_statements == o.hanadb_creation_statements &&
|
1655
1836
|
hanadb_revocation_statements == o.hanadb_revocation_statements &&
|
@@ -1657,14 +1838,21 @@ module Akeyless
|
|
1657
1838
|
host_port == o.host_port &&
|
1658
1839
|
implementation_type == o.implementation_type &&
|
1659
1840
|
is_fixed_user == o.is_fixed_user &&
|
1841
|
+
issuer == o.issuer &&
|
1660
1842
|
item_targets_assoc == o.item_targets_assoc &&
|
1843
|
+
jwks == o.jwks &&
|
1844
|
+
jwks_url == o.jwks_url &&
|
1661
1845
|
k8s_allowed_namespaces == o.k8s_allowed_namespaces &&
|
1662
1846
|
k8s_bearer_token == o.k8s_bearer_token &&
|
1663
1847
|
k8s_cluster_ca_certificate == o.k8s_cluster_ca_certificate &&
|
1664
1848
|
k8s_cluster_endpoint == o.k8s_cluster_endpoint &&
|
1665
1849
|
k8s_dynamic_mode == o.k8s_dynamic_mode &&
|
1666
1850
|
k8s_namespace == o.k8s_namespace &&
|
1851
|
+
k8s_role_name == o.k8s_role_name &&
|
1852
|
+
k8s_role_type == o.k8s_role_type &&
|
1667
1853
|
k8s_service_account == o.k8s_service_account &&
|
1854
|
+
k8s_temp_role_binding_definition == o.k8s_temp_role_binding_definition &&
|
1855
|
+
k8s_temp_role_definition == o.k8s_temp_role_definition &&
|
1668
1856
|
last_admin_rotation == o.last_admin_rotation &&
|
1669
1857
|
ldap_audience == o.ldap_audience &&
|
1670
1858
|
ldap_bind_dn == o.ldap_bind_dn &&
|
@@ -1696,8 +1884,10 @@ module Akeyless
|
|
1696
1884
|
password_length == o.password_length &&
|
1697
1885
|
password_policy == o.password_policy &&
|
1698
1886
|
payload == o.payload &&
|
1887
|
+
ping_url == o.ping_url &&
|
1699
1888
|
postgres_creation_statements == o.postgres_creation_statements &&
|
1700
1889
|
postgres_revocation_statements == o.postgres_revocation_statements &&
|
1890
|
+
privileged_user == o.privileged_user &&
|
1701
1891
|
rabbitmq_server_password == o.rabbitmq_server_password &&
|
1702
1892
|
rabbitmq_server_uri == o.rabbitmq_server_uri &&
|
1703
1893
|
rabbitmq_server_user == o.rabbitmq_server_user &&
|
@@ -1706,7 +1896,9 @@ module Akeyless
|
|
1706
1896
|
rabbitmq_user_tags == o.rabbitmq_user_tags &&
|
1707
1897
|
rabbitmq_user_vhost == o.rabbitmq_user_vhost &&
|
1708
1898
|
rabbitmq_user_write_permission == o.rabbitmq_user_write_permission &&
|
1899
|
+
redirect_uris == o.redirect_uris &&
|
1709
1900
|
redshift_creation_statements == o.redshift_creation_statements &&
|
1901
|
+
restricted_scopes == o.restricted_scopes &&
|
1710
1902
|
revoke_sync_url == o.revoke_sync_url &&
|
1711
1903
|
rotate_sync_url == o.rotate_sync_url &&
|
1712
1904
|
scopes == o.scopes &&
|
@@ -1716,12 +1908,15 @@ module Akeyless
|
|
1716
1908
|
sf_user_role == o.sf_user_role &&
|
1717
1909
|
sf_warehouse_name == o.sf_warehouse_name &&
|
1718
1910
|
should_stop == o.should_stop &&
|
1911
|
+
signing_algorithm == o.signing_algorithm &&
|
1719
1912
|
ssl_connection_certificate == o.ssl_connection_certificate &&
|
1720
1913
|
ssl_connection_mode == o.ssl_connection_mode &&
|
1914
|
+
subject_dn == o.subject_dn &&
|
1721
1915
|
tags == o.tags &&
|
1722
1916
|
timeout_seconds == o.timeout_seconds &&
|
1723
1917
|
use_gw_cloud_identity == o.use_gw_cloud_identity &&
|
1724
1918
|
user_name == o.user_name &&
|
1919
|
+
user_password == o.user_password &&
|
1725
1920
|
user_principal_name == o.user_principal_name &&
|
1726
1921
|
user_ttl == o.user_ttl &&
|
1727
1922
|
username_length == o.username_length &&
|
@@ -1751,7 +1946,7 @@ module Akeyless
|
|
1751
1946
|
# Calculates hash code according to all attributes.
|
1752
1947
|
# @return [Integer] Hash code
|
1753
1948
|
def hash
|
1754
|
-
[active, admin_name, admin_pwd, admin_rotation_interval_days, artifactory_admin_apikey, artifactory_admin_username, artifactory_base_url, artifactory_token_audience, artifactory_token_scope, 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, create_sync_url, 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_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, 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_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, groups, hanadb_creation_statements, hanadb_revocation_statements, host_name, host_port, implementation_type, is_fixed_user, item_targets_assoc, k8s_allowed_namespaces, k8s_bearer_token, k8s_cluster_ca_certificate, k8s_cluster_endpoint, k8s_dynamic_mode, k8s_namespace, k8s_service_account, last_admin_rotation, ldap_audience, ldap_bind_dn, ldap_bind_password, ldap_certificate, 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, oracle_creation_statements, password, password_length, password_policy, payload, postgres_creation_statements, postgres_revocation_statements, 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, redshift_creation_statements, 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, ssl_connection_certificate, ssl_connection_mode, tags, timeout_seconds, use_gw_cloud_identity, user_name, 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_password, venafi_tpp_username, venafi_use_tpp, venafi_zone, warn_before_user_expiration_min].hash
|
1949
|
+
[access_token_manager_id, 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, create_sync_url, 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_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_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_bearer_token, k8s_cluster_ca_certificate, k8s_cluster_endpoint, k8s_dynamic_mode, k8s_namespace, k8s_role_name, k8s_role_type, k8s_service_account, k8s_temp_role_binding_definition, k8s_temp_role_definition, last_admin_rotation, ldap_audience, ldap_bind_dn, ldap_bind_password, ldap_certificate, 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, 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, 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_password, venafi_tpp_username, venafi_use_tpp, venafi_zone, warn_before_user_expiration_min].hash
|
1755
1950
|
end
|
1756
1951
|
|
1757
1952
|
# Builds the object from hash
|