akeyless 5.0.38 → 5.0.40
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/LICENSE +190 -0
- data/README.md +27 -2
- data/akeyless.gemspec +1 -1
- data/docs/AccountGeneralSettings.md +2 -0
- data/docs/AliCloudTargetDetails.md +28 -0
- data/docs/AssocTargetItem.md +17 -1
- data/docs/AuthMethodAccessInfo.md +2 -0
- data/docs/AuthMethodCreateOIDC.md +8 -0
- data/docs/AuthMethodCreateOutput.md +3 -1
- data/docs/AuthMethodCreateSAML.md +8 -0
- data/docs/AuthMethodUpdateOIDC.md +8 -0
- data/docs/AuthMethodUpdateOutput.md +3 -1
- data/docs/AuthMethodUpdateSAML.md +8 -0
- data/docs/ClientEvent.md +26 -0
- data/docs/ClientEventOutput.md +18 -0
- data/docs/Connect.md +2 -0
- data/docs/CreateEventForwarder.md +1 -1
- data/docs/CreateLdapTarget.md +3 -1
- data/docs/CreatePKICertIssuer.md +6 -0
- data/docs/CreateUSC.md +2 -0
- data/docs/DSProducerDetails.md +2 -0
- data/docs/DigiCertTargetDetails.md +8 -0
- data/docs/DynamicSecretCreateEks.md +3 -1
- data/docs/DynamicSecretCreateGke.md +3 -1
- data/docs/DynamicSecretCreateK8s.md +3 -1
- data/docs/DynamicSecretUpdateEks.md +3 -1
- data/docs/DynamicSecretUpdateGke.md +3 -1
- data/docs/DynamicSecretUpdateK8s.md +3 -1
- data/docs/EventForwarderCreateEmail.md +2 -2
- data/docs/EventForwarderCreateServiceNow.md +1 -1
- data/docs/EventForwarderCreateSlack.md +1 -1
- data/docs/EventForwarderCreateTeams.md +1 -1
- data/docs/EventForwarderCreateWebhook.md +1 -1
- data/docs/EventForwarderUpdateEmail.md +2 -2
- data/docs/EventForwarderUpdateServiceNow.md +1 -1
- data/docs/EventForwarderUpdateSlack.md +1 -1
- data/docs/EventForwarderUpdateTeams.md +1 -1
- data/docs/EventForwarderUpdateWebhook.md +1 -1
- data/docs/GatewayCreateAllowedAccess.md +1 -1
- data/docs/GatewayCreateMigration.md +2 -0
- data/docs/GatewayCreateProducerEks.md +3 -1
- data/docs/GatewayCreateProducerGke.md +3 -1
- data/docs/GatewayCreateProducerNativeK8S.md +3 -1
- data/docs/GatewayUpdateAllowedAccess.md +1 -1
- data/docs/GatewayUpdateMigration.md +2 -0
- data/docs/GatewayUpdateProducerEks.md +3 -1
- data/docs/GatewayUpdateProducerGke.md +3 -1
- data/docs/GatewayUpdateProducerNativeK8S.md +3 -1
- data/docs/GenerateIntermediateCA.md +48 -0
- data/docs/GenerateIntermediateCAOutput.md +26 -0
- data/docs/GetGroupOutput.md +13 -1
- data/docs/GetScimStatus.md +24 -0
- data/docs/GoogleTrustTargetDetails.md +8 -0
- data/docs/GrantedRole.md +20 -0
- data/docs/Group.md +13 -1
- data/docs/InjectorCertificateEvent.md +28 -0
- data/docs/Item.md +2 -0
- data/docs/LdapTargetDetails.md +3 -1
- data/docs/LetsEncryptTargetDetails.md +8 -0
- data/docs/ListSRASessions.md +2 -0
- data/docs/ListSraSessionsOutput.md +3 -3
- data/docs/ListTargets.md +1 -1
- data/docs/LockItem.md +1 -1
- data/docs/MigrationGeneral.md +6 -0
- data/docs/PKICertificateIssueDetails.md +4 -0
- data/docs/RequestAccess.md +2 -0
- data/docs/RotatedSecretCreateAliCloud.md +90 -0
- data/docs/RotatedSecretCreateAzure.md +1 -1
- data/docs/RotatedSecretCreateOkta.md +82 -0
- data/docs/RotatedSecretUpdateAliCloud.md +92 -0
- data/docs/RotatedSecretUpdateAzure.md +1 -1
- data/docs/RotatedSecretUpdateOkta.md +84 -0
- data/docs/ScimSettings.md +30 -0
- data/docs/ScimStatus.md +42 -0
- data/docs/Target.md +2 -0
- data/docs/TargetCreateAliCloud.md +52 -0
- data/docs/TargetCreateDigiCert.md +8 -0
- data/docs/TargetCreateGoogleTrust.md +8 -0
- data/docs/TargetCreateLdap.md +3 -1
- data/docs/TargetCreateLetsEncrypt.md +8 -0
- data/docs/TargetList.md +1 -1
- data/docs/TargetTypeDetailsInput.md +2 -0
- data/docs/TargetUpdateAliCloud.md +56 -0
- data/docs/TargetUpdateDigiCert.md +8 -0
- data/docs/TargetUpdateGoogleTrust.md +8 -0
- data/docs/TargetUpdateLdap.md +3 -1
- data/docs/TargetUpdateLetsEncrypt.md +8 -0
- data/docs/UpdateItem.md +3 -1
- data/docs/UpdateLdapTarget.md +3 -1
- data/docs/UpdatePKICertIssuer.md +6 -0
- data/docs/UpdateRotatedSecret.md +3 -1
- data/docs/UscCreate.md +3 -1
- data/docs/UscDelete.md +4 -0
- data/docs/UscGet.md +4 -0
- data/docs/UscList.md +4 -0
- data/docs/UscUpdate.md +4 -0
- data/docs/V2Api.md +579 -9
- data/lib/akeyless/api/v2_api.rb +585 -5
- data/lib/akeyless/models/account_general_settings.rb +13 -1
- data/lib/akeyless/models/ali_cloud_target_details.rb +259 -0
- data/lib/akeyless/models/assoc_target_item.rb +86 -2
- data/lib/akeyless/models/attribute_type_and_value.rb +1 -1
- data/lib/akeyless/models/auth_method_access_info.rb +10 -1
- data/lib/akeyless/models/auth_method_create_oidc.rb +41 -1
- data/lib/akeyless/models/auth_method_create_output.rb +14 -4
- data/lib/akeyless/models/auth_method_create_saml.rb +41 -1
- data/lib/akeyless/models/auth_method_update_oidc.rb +41 -1
- data/lib/akeyless/models/auth_method_update_output.rb +14 -4
- data/lib/akeyless/models/auth_method_update_saml.rb +41 -1
- data/lib/akeyless/models/client_event.rb +256 -0
- data/lib/akeyless/models/client_event_output.rb +214 -0
- data/lib/akeyless/models/connect.rb +11 -1
- data/lib/akeyless/models/create_event_forwarder.rb +1 -1
- data/lib/akeyless/models/create_ldap_target.rb +14 -4
- data/lib/akeyless/models/create_mcp_secret_bearer_token.rb +3 -0
- data/lib/akeyless/models/create_mcp_secret_o_auth_auth_code.rb +3 -0
- data/lib/akeyless/models/create_mcp_secret_o_auth_client_creds.rb +3 -0
- data/lib/akeyless/models/create_pki_cert_issuer.rb +31 -1
- data/lib/akeyless/models/create_secret.rb +3 -0
- data/lib/akeyless/models/create_usc.rb +11 -1
- data/lib/akeyless/models/digi_cert_target_details.rb +43 -1
- data/lib/akeyless/models/ds_producer_details.rb +10 -1
- data/lib/akeyless/models/dynamic_secret_create_eks.rb +12 -2
- data/lib/akeyless/models/dynamic_secret_create_gke.rb +12 -2
- data/lib/akeyless/models/dynamic_secret_create_k8s.rb +12 -2
- data/lib/akeyless/models/dynamic_secret_update_eks.rb +12 -2
- data/lib/akeyless/models/dynamic_secret_update_gke.rb +12 -2
- data/lib/akeyless/models/dynamic_secret_update_k8s.rb +12 -2
- data/lib/akeyless/models/event_forwarder_create_email.rb +2 -2
- data/lib/akeyless/models/event_forwarder_create_service_now.rb +1 -1
- data/lib/akeyless/models/event_forwarder_create_slack.rb +1 -1
- data/lib/akeyless/models/event_forwarder_create_teams.rb +1 -1
- data/lib/akeyless/models/event_forwarder_create_webhook.rb +1 -1
- data/lib/akeyless/models/event_forwarder_update_email.rb +2 -2
- data/lib/akeyless/models/event_forwarder_update_service_now.rb +1 -1
- data/lib/akeyless/models/event_forwarder_update_slack.rb +1 -1
- data/lib/akeyless/models/event_forwarder_update_teams.rb +1 -1
- data/lib/akeyless/models/event_forwarder_update_webhook.rb +1 -1
- data/lib/akeyless/models/gateway_create_allowed_access.rb +1 -1
- data/lib/akeyless/models/gateway_create_migration.rb +12 -1
- data/lib/akeyless/models/gateway_create_producer_artifactory.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_aws.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_azure.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_cassandra.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_chef.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_custom.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_dockerhub.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_eks.rb +16 -2
- data/lib/akeyless/models/gateway_create_producer_gcp.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_github.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_gke.rb +16 -2
- data/lib/akeyless/models/gateway_create_producer_hana_db.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_ldap.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_mongo.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_mssql.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_my_sql.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_native_k8_s.rb +16 -2
- data/lib/akeyless/models/gateway_create_producer_oracle_db.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_ping.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_postgre_sql.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_rabbit_mq.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_rdp.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_redis.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_redshift.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_snowflake.rb +4 -0
- data/lib/akeyless/models/gateway_create_producer_venafi.rb +4 -0
- data/lib/akeyless/models/gateway_delete_producer.rb +4 -0
- data/lib/akeyless/models/gateway_get_producer.rb +4 -0
- data/lib/akeyless/models/gateway_get_tmp_users.rb +4 -0
- data/lib/akeyless/models/gateway_revoke_tmp_users.rb +4 -0
- data/lib/akeyless/models/gateway_start_producer.rb +4 -0
- data/lib/akeyless/models/gateway_stop_producer.rb +4 -0
- data/lib/akeyless/models/gateway_update_allowed_access.rb +1 -1
- data/lib/akeyless/models/gateway_update_migration.rb +12 -1
- data/lib/akeyless/models/gateway_update_producer_artifactory.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_aws.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_azure.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_cassandra.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_chef.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_custom.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_dockerhub.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_eks.rb +16 -2
- data/lib/akeyless/models/gateway_update_producer_gcp.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_github.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_gke.rb +16 -2
- data/lib/akeyless/models/gateway_update_producer_hana_db.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_ldap.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_mongo.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_mssql.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_my_sql.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_native_k8_s.rb +16 -2
- data/lib/akeyless/models/gateway_update_producer_oracle_db.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_ping.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_postgre_sql.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_rabbit_mq.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_rdp.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_redis.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_redshift.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_snowflake.rb +4 -0
- data/lib/akeyless/models/gateway_update_producer_venafi.rb +4 -0
- data/lib/akeyless/models/gateway_update_tmp_users.rb +4 -0
- data/lib/akeyless/models/generate_intermediate_ca.rb +379 -0
- data/lib/akeyless/models/generate_intermediate_ca_output.rb +250 -0
- data/lib/akeyless/models/get_group_output.rb +63 -4
- data/lib/akeyless/models/get_scim_status.rb +254 -0
- data/lib/akeyless/models/google_trust_target_details.rb +43 -1
- data/lib/akeyless/models/granted_role.rb +224 -0
- data/lib/akeyless/models/group.rb +63 -4
- data/lib/akeyless/models/injector_certificate_event.rb +259 -0
- data/lib/akeyless/models/item.rb +10 -1
- data/lib/akeyless/models/ldap_target_details.rb +13 -4
- data/lib/akeyless/models/lets_encrypt_target_details.rb +43 -1
- data/lib/akeyless/models/list_sra_sessions.rb +12 -2
- data/lib/akeyless/models/list_sra_sessions_output.rb +3 -0
- data/lib/akeyless/models/list_targets.rb +1 -1
- data/lib/akeyless/models/lock_item.rb +1 -1
- data/lib/akeyless/models/migration_general.rb +28 -1
- data/lib/akeyless/models/pki_certificate_issue_details.rb +21 -1
- data/lib/akeyless/models/request_access.rb +11 -1
- data/lib/akeyless/models/rotated_secret_create_ali_cloud.rb +605 -0
- data/lib/akeyless/models/rotated_secret_create_azure.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_okta.rb +556 -0
- data/lib/akeyless/models/rotated_secret_update_ali_cloud.rb +605 -0
- data/lib/akeyless/models/rotated_secret_update_azure.rb +1 -1
- data/lib/akeyless/models/rotated_secret_update_okta.rb +563 -0
- data/lib/akeyless/models/scim_settings.rb +271 -0
- data/lib/akeyless/models/scim_status.rb +323 -0
- data/lib/akeyless/models/target.rb +10 -1
- data/lib/akeyless/models/target_create_ali_cloud.rb +394 -0
- data/lib/akeyless/models/target_create_digi_cert.rb +43 -1
- data/lib/akeyless/models/target_create_google_trust.rb +43 -1
- data/lib/akeyless/models/target_create_ldap.rb +14 -4
- data/lib/akeyless/models/target_create_lets_encrypt.rb +43 -1
- data/lib/akeyless/models/target_list.rb +1 -1
- data/lib/akeyless/models/target_type_details_input.rb +10 -1
- data/lib/akeyless/models/target_update_ali_cloud.rb +414 -0
- data/lib/akeyless/models/target_update_digi_cert.rb +43 -1
- data/lib/akeyless/models/target_update_google_trust.rb +43 -1
- data/lib/akeyless/models/target_update_ldap.rb +14 -4
- data/lib/akeyless/models/target_update_lets_encrypt.rb +43 -1
- data/lib/akeyless/models/update_item.rb +23 -2
- data/lib/akeyless/models/update_ldap_target.rb +14 -4
- data/lib/akeyless/models/update_mcp_secret_bearer_token.rb +3 -0
- data/lib/akeyless/models/update_mcp_secret_o_auth_auth_code.rb +3 -0
- data/lib/akeyless/models/update_mcp_secret_o_auth_client_creds.rb +3 -0
- data/lib/akeyless/models/update_pki_cert_issuer.rb +31 -1
- data/lib/akeyless/models/update_rotated_secret.rb +20 -2
- data/lib/akeyless/models/usc_create.rb +12 -2
- data/lib/akeyless/models/usc_delete.rb +21 -1
- data/lib/akeyless/models/usc_get.rb +21 -1
- data/lib/akeyless/models/usc_list.rb +21 -1
- data/lib/akeyless/models/usc_update.rb +21 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +16 -0
- data/spec/models/ali_cloud_target_details_spec.rb +66 -0
- data/spec/models/client_event_output_spec.rb +36 -0
- data/spec/models/client_event_spec.rb +60 -0
- data/spec/models/generate_intermediate_ca_output_spec.rb +60 -0
- data/spec/models/generate_intermediate_ca_spec.rb +126 -0
- data/spec/models/get_scim_status_spec.rb +54 -0
- data/spec/models/granted_role_spec.rb +42 -0
- data/spec/models/injector_certificate_event_spec.rb +66 -0
- data/spec/models/rotated_secret_create_ali_cloud_spec.rb +252 -0
- data/spec/models/rotated_secret_create_okta_spec.rb +228 -0
- data/spec/models/rotated_secret_update_ali_cloud_spec.rb +258 -0
- data/spec/models/rotated_secret_update_okta_spec.rb +234 -0
- data/spec/models/scim_settings_spec.rb +72 -0
- data/spec/models/scim_status_spec.rb +108 -0
- data/spec/models/target_create_ali_cloud_spec.rb +138 -0
- data/spec/models/target_update_ali_cloud_spec.rb +150 -0
- metadata +75 -10
|
@@ -57,6 +57,9 @@ module Akeyless
|
|
|
57
57
|
|
|
58
58
|
attr_accessor :enable_search_history
|
|
59
59
|
|
|
60
|
+
# EventForwarderAllowedEmailDomains lists extra recipient domains for email event forwarders. The signup email domain is always allowed as well. Account-settings updates leave this field unchanged.
|
|
61
|
+
attr_accessor :event_forwarder_allowed_email_domains
|
|
62
|
+
|
|
60
63
|
attr_accessor :hide_personal_folder
|
|
61
64
|
|
|
62
65
|
attr_accessor :hide_secret_reveal_copy
|
|
@@ -109,6 +112,7 @@ module Akeyless
|
|
|
109
112
|
:'email_customization' => :'email_customization',
|
|
110
113
|
:'enable_request_for_access' => :'enable_request_for_access',
|
|
111
114
|
:'enable_search_history' => :'enable_search_history',
|
|
115
|
+
:'event_forwarder_allowed_email_domains' => :'event_forwarder_allowed_email_domains',
|
|
112
116
|
:'hide_personal_folder' => :'hide_personal_folder',
|
|
113
117
|
:'hide_secret_reveal_copy' => :'hide_secret_reveal_copy',
|
|
114
118
|
:'hide_static_password' => :'hide_static_password',
|
|
@@ -153,6 +157,7 @@ module Akeyless
|
|
|
153
157
|
:'email_customization' => :'EmailCustomization',
|
|
154
158
|
:'enable_request_for_access' => :'Boolean',
|
|
155
159
|
:'enable_search_history' => :'Boolean',
|
|
160
|
+
:'event_forwarder_allowed_email_domains' => :'Array<String>',
|
|
156
161
|
:'hide_personal_folder' => :'Boolean',
|
|
157
162
|
:'hide_secret_reveal_copy' => :'Boolean',
|
|
158
163
|
:'hide_static_password' => :'Boolean',
|
|
@@ -267,6 +272,12 @@ module Akeyless
|
|
|
267
272
|
self.enable_search_history = attributes[:'enable_search_history']
|
|
268
273
|
end
|
|
269
274
|
|
|
275
|
+
if attributes.key?(:'event_forwarder_allowed_email_domains')
|
|
276
|
+
if (value = attributes[:'event_forwarder_allowed_email_domains']).is_a?(Array)
|
|
277
|
+
self.event_forwarder_allowed_email_domains = value
|
|
278
|
+
end
|
|
279
|
+
end
|
|
280
|
+
|
|
270
281
|
if attributes.key?(:'hide_personal_folder')
|
|
271
282
|
self.hide_personal_folder = attributes[:'hide_personal_folder']
|
|
272
283
|
end
|
|
@@ -363,6 +374,7 @@ module Akeyless
|
|
|
363
374
|
email_customization == o.email_customization &&
|
|
364
375
|
enable_request_for_access == o.enable_request_for_access &&
|
|
365
376
|
enable_search_history == o.enable_search_history &&
|
|
377
|
+
event_forwarder_allowed_email_domains == o.event_forwarder_allowed_email_domains &&
|
|
366
378
|
hide_personal_folder == o.hide_personal_folder &&
|
|
367
379
|
hide_secret_reveal_copy == o.hide_secret_reveal_copy &&
|
|
368
380
|
hide_static_password == o.hide_static_password &&
|
|
@@ -388,7 +400,7 @@ module Akeyless
|
|
|
388
400
|
# Calculates hash code according to all attributes.
|
|
389
401
|
# @return [Integer] Hash code
|
|
390
402
|
def hash
|
|
391
|
-
[account_default_key_item_id, account_default_key_name, account_file_bytes_used, ai_insights, ai_quorum, allow_auto_fill, allow_passkeys, allowed_client_types, allowed_clients_ips, allowed_gateways_ips, auth_usage_event, certificate_expiration_events, data_protection_section, default_auth_method, default_home_page, dynamic_secret_max_ttl, email_customization, enable_request_for_access, enable_search_history, hide_personal_folder, hide_secret_reveal_copy, hide_static_password, invalid_characters, item_locking, item_usage_event, lock_default_key, password_expiration_info, password_policy, password_score, personal_folder_global_mapping, protect_items_by_default, rotation_secret_max_interval, sharing_policy].hash
|
|
403
|
+
[account_default_key_item_id, account_default_key_name, account_file_bytes_used, ai_insights, ai_quorum, allow_auto_fill, allow_passkeys, allowed_client_types, allowed_clients_ips, allowed_gateways_ips, auth_usage_event, certificate_expiration_events, data_protection_section, default_auth_method, default_home_page, dynamic_secret_max_ttl, email_customization, enable_request_for_access, enable_search_history, event_forwarder_allowed_email_domains, hide_personal_folder, hide_secret_reveal_copy, hide_static_password, invalid_characters, item_locking, item_usage_event, lock_default_key, password_expiration_info, password_policy, password_score, personal_folder_global_mapping, protect_items_by_default, rotation_secret_max_interval, sharing_policy].hash
|
|
392
404
|
end
|
|
393
405
|
|
|
394
406
|
# Builds the object from hash
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Akeyless API
|
|
3
|
+
|
|
4
|
+
#The purpose of this application is to provide access to Akeyless API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 3.0
|
|
7
|
+
Contact: support@akeyless.io
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module Akeyless
|
|
17
|
+
class AliCloudTargetDetails
|
|
18
|
+
attr_accessor :access_key
|
|
19
|
+
|
|
20
|
+
attr_accessor :access_key_id
|
|
21
|
+
|
|
22
|
+
attr_accessor :gw_cloud_identity_external_id_opt
|
|
23
|
+
|
|
24
|
+
attr_accessor :region
|
|
25
|
+
|
|
26
|
+
attr_accessor :session_token
|
|
27
|
+
|
|
28
|
+
attr_accessor :use_gw_cloud_identity
|
|
29
|
+
|
|
30
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
31
|
+
def self.attribute_map
|
|
32
|
+
{
|
|
33
|
+
:'access_key' => :'access_key',
|
|
34
|
+
:'access_key_id' => :'access_key_id',
|
|
35
|
+
:'gw_cloud_identity_external_id_opt' => :'gw_cloud_identity_external_id_opt',
|
|
36
|
+
:'region' => :'region',
|
|
37
|
+
:'session_token' => :'session_token',
|
|
38
|
+
:'use_gw_cloud_identity' => :'use_gw_cloud_identity'
|
|
39
|
+
}
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
# Returns all the JSON keys this model knows about
|
|
43
|
+
def self.acceptable_attributes
|
|
44
|
+
attribute_map.values
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# Attribute type mapping.
|
|
48
|
+
def self.openapi_types
|
|
49
|
+
{
|
|
50
|
+
:'access_key' => :'String',
|
|
51
|
+
:'access_key_id' => :'String',
|
|
52
|
+
:'gw_cloud_identity_external_id_opt' => :'AWSGatewayCloudIdentityExternalIdOpt',
|
|
53
|
+
:'region' => :'String',
|
|
54
|
+
:'session_token' => :'String',
|
|
55
|
+
:'use_gw_cloud_identity' => :'Boolean'
|
|
56
|
+
}
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# List of attributes with nullable: true
|
|
60
|
+
def self.openapi_nullable
|
|
61
|
+
Set.new([
|
|
62
|
+
])
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# Initializes the object
|
|
66
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
67
|
+
def initialize(attributes = {})
|
|
68
|
+
if (!attributes.is_a?(Hash))
|
|
69
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::AliCloudTargetDetails` initialize method"
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
73
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
74
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
75
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::AliCloudTargetDetails`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
76
|
+
end
|
|
77
|
+
h[k.to_sym] = v
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
if attributes.key?(:'access_key')
|
|
81
|
+
self.access_key = attributes[:'access_key']
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
if attributes.key?(:'access_key_id')
|
|
85
|
+
self.access_key_id = attributes[:'access_key_id']
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
if attributes.key?(:'gw_cloud_identity_external_id_opt')
|
|
89
|
+
self.gw_cloud_identity_external_id_opt = attributes[:'gw_cloud_identity_external_id_opt']
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
if attributes.key?(:'region')
|
|
93
|
+
self.region = attributes[:'region']
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
if attributes.key?(:'session_token')
|
|
97
|
+
self.session_token = attributes[:'session_token']
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
if attributes.key?(:'use_gw_cloud_identity')
|
|
101
|
+
self.use_gw_cloud_identity = attributes[:'use_gw_cloud_identity']
|
|
102
|
+
end
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
106
|
+
# @return Array for valid properties with the reasons
|
|
107
|
+
def list_invalid_properties
|
|
108
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
109
|
+
invalid_properties = Array.new
|
|
110
|
+
invalid_properties
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
# Check to see if the all the properties in the model are valid
|
|
114
|
+
# @return true if the model is valid
|
|
115
|
+
def valid?
|
|
116
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
117
|
+
true
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
# Checks equality by comparing each attribute.
|
|
121
|
+
# @param [Object] Object to be compared
|
|
122
|
+
def ==(o)
|
|
123
|
+
return true if self.equal?(o)
|
|
124
|
+
self.class == o.class &&
|
|
125
|
+
access_key == o.access_key &&
|
|
126
|
+
access_key_id == o.access_key_id &&
|
|
127
|
+
gw_cloud_identity_external_id_opt == o.gw_cloud_identity_external_id_opt &&
|
|
128
|
+
region == o.region &&
|
|
129
|
+
session_token == o.session_token &&
|
|
130
|
+
use_gw_cloud_identity == o.use_gw_cloud_identity
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
# @see the `==` method
|
|
134
|
+
# @param [Object] Object to be compared
|
|
135
|
+
def eql?(o)
|
|
136
|
+
self == o
|
|
137
|
+
end
|
|
138
|
+
|
|
139
|
+
# Calculates hash code according to all attributes.
|
|
140
|
+
# @return [Integer] Hash code
|
|
141
|
+
def hash
|
|
142
|
+
[access_key, access_key_id, gw_cloud_identity_external_id_opt, region, session_token, use_gw_cloud_identity].hash
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
# Builds the object from hash
|
|
146
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
147
|
+
# @return [Object] Returns the model itself
|
|
148
|
+
def self.build_from_hash(attributes)
|
|
149
|
+
return nil unless attributes.is_a?(Hash)
|
|
150
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
151
|
+
transformed_hash = {}
|
|
152
|
+
openapi_types.each_pair do |key, type|
|
|
153
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
154
|
+
transformed_hash["#{key}"] = nil
|
|
155
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
156
|
+
# check to ensure the input is an array given that the attribute
|
|
157
|
+
# is documented as an array but the input is not
|
|
158
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
159
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
160
|
+
end
|
|
161
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
162
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
163
|
+
end
|
|
164
|
+
end
|
|
165
|
+
new(transformed_hash)
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
# Deserializes the data based on type
|
|
169
|
+
# @param string type Data type
|
|
170
|
+
# @param string value Value to be deserialized
|
|
171
|
+
# @return [Object] Deserialized data
|
|
172
|
+
def self._deserialize(type, value)
|
|
173
|
+
case type.to_sym
|
|
174
|
+
when :Time
|
|
175
|
+
Time.parse(value)
|
|
176
|
+
when :Date
|
|
177
|
+
Date.parse(value)
|
|
178
|
+
when :String
|
|
179
|
+
value.to_s
|
|
180
|
+
when :Integer
|
|
181
|
+
value.to_i
|
|
182
|
+
when :Float
|
|
183
|
+
value.to_f
|
|
184
|
+
when :Boolean
|
|
185
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
186
|
+
true
|
|
187
|
+
else
|
|
188
|
+
false
|
|
189
|
+
end
|
|
190
|
+
when :Object
|
|
191
|
+
# generic object (usually a Hash), return directly
|
|
192
|
+
value
|
|
193
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
194
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
195
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
196
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
197
|
+
k_type = Regexp.last_match[:k_type]
|
|
198
|
+
v_type = Regexp.last_match[:v_type]
|
|
199
|
+
{}.tap do |hash|
|
|
200
|
+
value.each do |k, v|
|
|
201
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
202
|
+
end
|
|
203
|
+
end
|
|
204
|
+
else # model
|
|
205
|
+
# models (e.g. Pet) or oneOf
|
|
206
|
+
klass = Akeyless.const_get(type)
|
|
207
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
208
|
+
end
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
# Returns the string representation of the object
|
|
212
|
+
# @return [String] String presentation of the object
|
|
213
|
+
def to_s
|
|
214
|
+
to_hash.to_s
|
|
215
|
+
end
|
|
216
|
+
|
|
217
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
218
|
+
# @return [Hash] Returns the object in the form of hash
|
|
219
|
+
def to_body
|
|
220
|
+
to_hash
|
|
221
|
+
end
|
|
222
|
+
|
|
223
|
+
# Returns the object in the form of hash
|
|
224
|
+
# @return [Hash] Returns the object in the form of hash
|
|
225
|
+
def to_hash
|
|
226
|
+
hash = {}
|
|
227
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
228
|
+
value = self.send(attr)
|
|
229
|
+
if value.nil?
|
|
230
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
231
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
232
|
+
end
|
|
233
|
+
|
|
234
|
+
hash[param] = _to_hash(value)
|
|
235
|
+
end
|
|
236
|
+
hash
|
|
237
|
+
end
|
|
238
|
+
|
|
239
|
+
# Outputs non-array value in the form of hash
|
|
240
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
241
|
+
# @param [Object] value Any valid value
|
|
242
|
+
# @return [Hash] Returns the value in the form of hash
|
|
243
|
+
def _to_hash(value)
|
|
244
|
+
if value.is_a?(Array)
|
|
245
|
+
value.compact.map { |v| _to_hash(v) }
|
|
246
|
+
elsif value.is_a?(Hash)
|
|
247
|
+
{}.tap do |hash|
|
|
248
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
249
|
+
end
|
|
250
|
+
elsif value.respond_to? :to_hash
|
|
251
|
+
value.to_hash
|
|
252
|
+
else
|
|
253
|
+
value
|
|
254
|
+
end
|
|
255
|
+
end
|
|
256
|
+
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
end
|
|
@@ -16,9 +16,18 @@ require 'time'
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
# assocTargetItem is a command that creates an association between target and item.
|
|
18
18
|
class AssocTargetItem
|
|
19
|
-
# Bind the provisioned certificate to an existing client-ssl/server-ssl profile, in the format <type>:<partition>:<name> (relevant only for F5 BIG-IP certificate provisioning). Leave the partition empty to use the certificate's partition. Repeat the parameter to bind several profiles.
|
|
19
|
+
# Bind the provisioned certificate to an existing client-ssl/server-ssl profile, in the format <type>:<partition>:<name> (relevant only for F5 BIG-IP certificate provisioning). Leave the partition empty to use the certificate's partition. For a profile in a folder, add the folder to the partition, for example client-ssl:Common/Shared:my-profile. Repeat the parameter to bind several profiles.
|
|
20
20
|
attr_accessor :bind_ssl_profiles
|
|
21
21
|
|
|
22
|
+
# The ARN of an existing imported ACM certificate to re-import into, which replaces its certificate and key; if empty, a new ACM certificate is created on every provisioning, including after renewal (relevant only for AWS certificate provisioning)
|
|
23
|
+
attr_accessor :certificate_arn
|
|
24
|
+
|
|
25
|
+
# The format the certificate will be provisioned with, available options: pem,pfx (relevant only for certificate provisioning)
|
|
26
|
+
attr_accessor :certificate_format
|
|
27
|
+
|
|
28
|
+
# The name of the certificate object in the cloud provider (relevant only for AWS, Azure, and GCP certificate provisioning)
|
|
29
|
+
attr_accessor :certificate_name
|
|
30
|
+
|
|
22
31
|
# A path on the target to store the certificate pem file (relevant only for certificate provisioning)
|
|
23
32
|
attr_accessor :certificate_path
|
|
24
33
|
|
|
@@ -31,12 +40,21 @@ module Akeyless
|
|
|
31
40
|
# The external key name to associate with the classic key (Relevant only for Classic Key AWS/Azure/GCP targets)
|
|
32
41
|
attr_accessor :external_key_name
|
|
33
42
|
|
|
43
|
+
# Save the F5 running configuration after each successful provisioning, so the certificate survives a reboot. This also saves any other unsaved change on the device (relevant only for F5 BIG-IP certificate provisioning)
|
|
44
|
+
attr_accessor :f5_save_config
|
|
45
|
+
|
|
46
|
+
# Sync the F5 configuration to this device group after each successful provisioning, so the HA peer serves the same certificate. This overwrites unsynced changes on the other members of the group. Implies f5-save-config (relevant only for F5 BIG-IP certificate provisioning)
|
|
47
|
+
attr_accessor :f5_sync_device_group
|
|
48
|
+
|
|
34
49
|
# Set output format to JSON
|
|
35
50
|
attr_accessor :json
|
|
36
51
|
|
|
37
52
|
# A list of allowed operations for the key (required for azure targets)
|
|
38
53
|
attr_accessor :key_operations
|
|
39
54
|
|
|
55
|
+
# The Azure Key Vault name to provision the certificate to (relevant only for Azure certificate provisioning)
|
|
56
|
+
attr_accessor :key_vault
|
|
57
|
+
|
|
40
58
|
# Keyring name of the GCP KMS (required for gcp targets)
|
|
41
59
|
attr_accessor :keyring_name
|
|
42
60
|
|
|
@@ -46,12 +64,18 @@ module Akeyless
|
|
|
46
64
|
# Location id of the GCP KMS (required for gcp targets)
|
|
47
65
|
attr_accessor :location_id
|
|
48
66
|
|
|
67
|
+
# The GCP Certificate Manager location to provision the certificate to: global or a region such as us-central1 (relevant only for GCP certificate provisioning)
|
|
68
|
+
attr_accessor :location_scope
|
|
69
|
+
|
|
49
70
|
# Set to 'true' to create a multi-region managed key. (Relevant only for Classic Key AWS targets)
|
|
50
71
|
attr_accessor :multi_region
|
|
51
72
|
|
|
52
73
|
# The item to associate
|
|
53
74
|
attr_accessor :name
|
|
54
75
|
|
|
76
|
+
# Password used to protect the provisioned PFX file. Required when --certificate-format=pfx (relevant only for certificate provisioning)
|
|
77
|
+
attr_accessor :pfx_password
|
|
78
|
+
|
|
55
79
|
# A custom command to run on the remote target after successful provisioning (relevant only for SSH and Windows certificate provisioning, not supported for F5 BIG-IP)
|
|
56
80
|
attr_accessor :post_provision_command
|
|
57
81
|
|
|
@@ -92,17 +116,25 @@ module Akeyless
|
|
|
92
116
|
def self.attribute_map
|
|
93
117
|
{
|
|
94
118
|
:'bind_ssl_profiles' => :'bind-ssl-profiles',
|
|
119
|
+
:'certificate_arn' => :'certificate-arn',
|
|
120
|
+
:'certificate_format' => :'certificate-format',
|
|
121
|
+
:'certificate_name' => :'certificate-name',
|
|
95
122
|
:'certificate_path' => :'certificate-path',
|
|
96
123
|
:'chain_path' => :'chain-path',
|
|
97
124
|
:'disable_previous_key_version' => :'disable-previous-key-version',
|
|
98
125
|
:'external_key_name' => :'external-key-name',
|
|
126
|
+
:'f5_save_config' => :'f5-save-config',
|
|
127
|
+
:'f5_sync_device_group' => :'f5-sync-device-group',
|
|
99
128
|
:'json' => :'json',
|
|
100
129
|
:'key_operations' => :'key-operations',
|
|
130
|
+
:'key_vault' => :'key-vault',
|
|
101
131
|
:'keyring_name' => :'keyring-name',
|
|
102
132
|
:'kms_algorithm' => :'kms-algorithm',
|
|
103
133
|
:'location_id' => :'location-id',
|
|
134
|
+
:'location_scope' => :'location-scope',
|
|
104
135
|
:'multi_region' => :'multi-region',
|
|
105
136
|
:'name' => :'name',
|
|
137
|
+
:'pfx_password' => :'pfx-password',
|
|
106
138
|
:'post_provision_command' => :'post-provision-command',
|
|
107
139
|
:'private_key_path' => :'private-key-path',
|
|
108
140
|
:'project_id' => :'project-id',
|
|
@@ -127,17 +159,25 @@ module Akeyless
|
|
|
127
159
|
def self.openapi_types
|
|
128
160
|
{
|
|
129
161
|
:'bind_ssl_profiles' => :'Array<String>',
|
|
162
|
+
:'certificate_arn' => :'String',
|
|
163
|
+
:'certificate_format' => :'String',
|
|
164
|
+
:'certificate_name' => :'String',
|
|
130
165
|
:'certificate_path' => :'String',
|
|
131
166
|
:'chain_path' => :'String',
|
|
132
167
|
:'disable_previous_key_version' => :'Boolean',
|
|
133
168
|
:'external_key_name' => :'String',
|
|
169
|
+
:'f5_save_config' => :'Boolean',
|
|
170
|
+
:'f5_sync_device_group' => :'String',
|
|
134
171
|
:'json' => :'Boolean',
|
|
135
172
|
:'key_operations' => :'Array<String>',
|
|
173
|
+
:'key_vault' => :'String',
|
|
136
174
|
:'keyring_name' => :'String',
|
|
137
175
|
:'kms_algorithm' => :'String',
|
|
138
176
|
:'location_id' => :'String',
|
|
177
|
+
:'location_scope' => :'String',
|
|
139
178
|
:'multi_region' => :'String',
|
|
140
179
|
:'name' => :'String',
|
|
180
|
+
:'pfx_password' => :'String',
|
|
141
181
|
:'post_provision_command' => :'String',
|
|
142
182
|
:'private_key_path' => :'String',
|
|
143
183
|
:'project_id' => :'String',
|
|
@@ -180,6 +220,20 @@ module Akeyless
|
|
|
180
220
|
end
|
|
181
221
|
end
|
|
182
222
|
|
|
223
|
+
if attributes.key?(:'certificate_arn')
|
|
224
|
+
self.certificate_arn = attributes[:'certificate_arn']
|
|
225
|
+
end
|
|
226
|
+
|
|
227
|
+
if attributes.key?(:'certificate_format')
|
|
228
|
+
self.certificate_format = attributes[:'certificate_format']
|
|
229
|
+
else
|
|
230
|
+
self.certificate_format = 'pem'
|
|
231
|
+
end
|
|
232
|
+
|
|
233
|
+
if attributes.key?(:'certificate_name')
|
|
234
|
+
self.certificate_name = attributes[:'certificate_name']
|
|
235
|
+
end
|
|
236
|
+
|
|
183
237
|
if attributes.key?(:'certificate_path')
|
|
184
238
|
self.certificate_path = attributes[:'certificate_path']
|
|
185
239
|
end
|
|
@@ -198,6 +252,16 @@ module Akeyless
|
|
|
198
252
|
self.external_key_name = attributes[:'external_key_name']
|
|
199
253
|
end
|
|
200
254
|
|
|
255
|
+
if attributes.key?(:'f5_save_config')
|
|
256
|
+
self.f5_save_config = attributes[:'f5_save_config']
|
|
257
|
+
else
|
|
258
|
+
self.f5_save_config = false
|
|
259
|
+
end
|
|
260
|
+
|
|
261
|
+
if attributes.key?(:'f5_sync_device_group')
|
|
262
|
+
self.f5_sync_device_group = attributes[:'f5_sync_device_group']
|
|
263
|
+
end
|
|
264
|
+
|
|
201
265
|
if attributes.key?(:'json')
|
|
202
266
|
self.json = attributes[:'json']
|
|
203
267
|
else
|
|
@@ -210,6 +274,10 @@ module Akeyless
|
|
|
210
274
|
end
|
|
211
275
|
end
|
|
212
276
|
|
|
277
|
+
if attributes.key?(:'key_vault')
|
|
278
|
+
self.key_vault = attributes[:'key_vault']
|
|
279
|
+
end
|
|
280
|
+
|
|
213
281
|
if attributes.key?(:'keyring_name')
|
|
214
282
|
self.keyring_name = attributes[:'keyring_name']
|
|
215
283
|
end
|
|
@@ -222,6 +290,10 @@ module Akeyless
|
|
|
222
290
|
self.location_id = attributes[:'location_id']
|
|
223
291
|
end
|
|
224
292
|
|
|
293
|
+
if attributes.key?(:'location_scope')
|
|
294
|
+
self.location_scope = attributes[:'location_scope']
|
|
295
|
+
end
|
|
296
|
+
|
|
225
297
|
if attributes.key?(:'multi_region')
|
|
226
298
|
self.multi_region = attributes[:'multi_region']
|
|
227
299
|
else
|
|
@@ -234,6 +306,10 @@ module Akeyless
|
|
|
234
306
|
self.name = nil
|
|
235
307
|
end
|
|
236
308
|
|
|
309
|
+
if attributes.key?(:'pfx_password')
|
|
310
|
+
self.pfx_password = attributes[:'pfx_password']
|
|
311
|
+
end
|
|
312
|
+
|
|
237
313
|
if attributes.key?(:'post_provision_command')
|
|
238
314
|
self.post_provision_command = attributes[:'post_provision_command']
|
|
239
315
|
end
|
|
@@ -322,17 +398,25 @@ module Akeyless
|
|
|
322
398
|
return true if self.equal?(o)
|
|
323
399
|
self.class == o.class &&
|
|
324
400
|
bind_ssl_profiles == o.bind_ssl_profiles &&
|
|
401
|
+
certificate_arn == o.certificate_arn &&
|
|
402
|
+
certificate_format == o.certificate_format &&
|
|
403
|
+
certificate_name == o.certificate_name &&
|
|
325
404
|
certificate_path == o.certificate_path &&
|
|
326
405
|
chain_path == o.chain_path &&
|
|
327
406
|
disable_previous_key_version == o.disable_previous_key_version &&
|
|
328
407
|
external_key_name == o.external_key_name &&
|
|
408
|
+
f5_save_config == o.f5_save_config &&
|
|
409
|
+
f5_sync_device_group == o.f5_sync_device_group &&
|
|
329
410
|
json == o.json &&
|
|
330
411
|
key_operations == o.key_operations &&
|
|
412
|
+
key_vault == o.key_vault &&
|
|
331
413
|
keyring_name == o.keyring_name &&
|
|
332
414
|
kms_algorithm == o.kms_algorithm &&
|
|
333
415
|
location_id == o.location_id &&
|
|
416
|
+
location_scope == o.location_scope &&
|
|
334
417
|
multi_region == o.multi_region &&
|
|
335
418
|
name == o.name &&
|
|
419
|
+
pfx_password == o.pfx_password &&
|
|
336
420
|
post_provision_command == o.post_provision_command &&
|
|
337
421
|
private_key_path == o.private_key_path &&
|
|
338
422
|
project_id == o.project_id &&
|
|
@@ -356,7 +440,7 @@ module Akeyless
|
|
|
356
440
|
# Calculates hash code according to all attributes.
|
|
357
441
|
# @return [Integer] Hash code
|
|
358
442
|
def hash
|
|
359
|
-
[bind_ssl_profiles, certificate_path, chain_path, disable_previous_key_version, external_key_name, json, key_operations, keyring_name, kms_algorithm, location_id, multi_region, name, post_provision_command, private_key_path, project_id, protection_level, purpose, regions, sra_association, target_name, tenant_secret_type, token, uid_token, vault_name].hash
|
|
443
|
+
[bind_ssl_profiles, certificate_arn, certificate_format, certificate_name, certificate_path, chain_path, disable_previous_key_version, external_key_name, f5_save_config, f5_sync_device_group, json, key_operations, key_vault, keyring_name, kms_algorithm, location_id, location_scope, multi_region, name, pfx_password, post_provision_command, private_key_path, project_id, protection_level, purpose, regions, sra_association, target_name, tenant_secret_type, token, uid_token, vault_name].hash
|
|
360
444
|
end
|
|
361
445
|
|
|
362
446
|
# Builds the object from hash
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module Akeyless
|
|
17
|
-
#
|
|
17
|
+
# When parsed as part of a pkix.Name structure in a crypto/x509 type, the Value will be a string if the ASN.1 type is PrintableString, IA5String, NumericString, BMPString, T61String, or UTF8String; an int64 if the ASN.1 type is INTEGER; an asn1.BitString if the ASN.1 type is BIT STRING; a []byte if the ASN.1 type is OCTET STRING; an asn1.ObjectIdentifier if the ASN.1 type is OBJECT IDENTIFIER; a time.Time if the ASN.1 type is UTCTIME or GENERALIZEDTIME; a bool if the ASN.1 type is BOOLEAN; nil if the ASN.1 type is NULL; an asn1.RawValue otherwise.
|
|
18
18
|
class AttributeTypeAndValue
|
|
19
19
|
attr_accessor :type
|
|
20
20
|
|
|
@@ -71,6 +71,8 @@ module Akeyless
|
|
|
71
71
|
|
|
72
72
|
attr_accessor :saml_access_rules
|
|
73
73
|
|
|
74
|
+
attr_accessor :scim
|
|
75
|
+
|
|
74
76
|
attr_accessor :sub_claims_delimiters
|
|
75
77
|
|
|
76
78
|
# Relevant only for Universal Identity auth methods: token about-to-expire notification thresholds.
|
|
@@ -107,6 +109,7 @@ module Akeyless
|
|
|
107
109
|
:'product_types' => :'product_types',
|
|
108
110
|
:'rules_type' => :'rules_type',
|
|
109
111
|
:'saml_access_rules' => :'saml_access_rules',
|
|
112
|
+
:'scim' => :'scim',
|
|
110
113
|
:'sub_claims_delimiters' => :'sub_claims_delimiters',
|
|
111
114
|
:'uid_expiration_events' => :'uid_expiration_events',
|
|
112
115
|
:'universal_identity_access_rules' => :'universal_identity_access_rules'
|
|
@@ -147,6 +150,7 @@ module Akeyless
|
|
|
147
150
|
:'product_types' => :'Array<String>',
|
|
148
151
|
:'rules_type' => :'String',
|
|
149
152
|
:'saml_access_rules' => :'SAMLAccessRules',
|
|
153
|
+
:'scim' => :'ScimSettings',
|
|
150
154
|
:'sub_claims_delimiters' => :'Array<String>',
|
|
151
155
|
:'uid_expiration_events' => :'Array<UidExpirationEvent>',
|
|
152
156
|
:'universal_identity_access_rules' => :'UniversalIdentityAccessRules'
|
|
@@ -284,6 +288,10 @@ module Akeyless
|
|
|
284
288
|
self.saml_access_rules = attributes[:'saml_access_rules']
|
|
285
289
|
end
|
|
286
290
|
|
|
291
|
+
if attributes.key?(:'scim')
|
|
292
|
+
self.scim = attributes[:'scim']
|
|
293
|
+
end
|
|
294
|
+
|
|
287
295
|
if attributes.key?(:'sub_claims_delimiters')
|
|
288
296
|
if (value = attributes[:'sub_claims_delimiters']).is_a?(Array)
|
|
289
297
|
self.sub_claims_delimiters = value
|
|
@@ -347,6 +355,7 @@ module Akeyless
|
|
|
347
355
|
product_types == o.product_types &&
|
|
348
356
|
rules_type == o.rules_type &&
|
|
349
357
|
saml_access_rules == o.saml_access_rules &&
|
|
358
|
+
scim == o.scim &&
|
|
350
359
|
sub_claims_delimiters == o.sub_claims_delimiters &&
|
|
351
360
|
uid_expiration_events == o.uid_expiration_events &&
|
|
352
361
|
universal_identity_access_rules == o.universal_identity_access_rules
|
|
@@ -361,7 +370,7 @@ module Akeyless
|
|
|
361
370
|
# Calculates hash code according to all attributes.
|
|
362
371
|
# @return [Integer] Hash code
|
|
363
372
|
def hash
|
|
364
|
-
[access_expires, access_id_alias, alicloud_access_rules, allowed_client_type, api_key_access_rules, audit_logs_claims, aws_iam_access_rules, azure_ad_access_rules, cert_access_rules, cidr_whitelist, email_pass_access_rules, enforce_client_type, force_sub_claims, gcp_access_rules, gw_cidr_whitelist, huawei_access_rules, jwt_ttl, k8s_access_rules, kerberos_access_rules, ldap_access_rules, oauth2_access_rules, oci_access_rules, oidc_access_rules, product_types, rules_type, saml_access_rules, sub_claims_delimiters, uid_expiration_events, universal_identity_access_rules].hash
|
|
373
|
+
[access_expires, access_id_alias, alicloud_access_rules, allowed_client_type, api_key_access_rules, audit_logs_claims, aws_iam_access_rules, azure_ad_access_rules, cert_access_rules, cidr_whitelist, email_pass_access_rules, enforce_client_type, force_sub_claims, gcp_access_rules, gw_cidr_whitelist, huawei_access_rules, jwt_ttl, k8s_access_rules, kerberos_access_rules, ldap_access_rules, oauth2_access_rules, oci_access_rules, oidc_access_rules, product_types, rules_type, saml_access_rules, scim, sub_claims_delimiters, uid_expiration_events, universal_identity_access_rules].hash
|
|
365
374
|
end
|
|
366
375
|
|
|
367
376
|
# Builds the object from hash
|
|
@@ -79,6 +79,18 @@ module Akeyless
|
|
|
79
79
|
# RequiredScopesPrefix is a a prefix to add to all required-scopes when requesting them from the oidc server (for example, azures' Application ID URI)
|
|
80
80
|
attr_accessor :required_scopes_prefix
|
|
81
81
|
|
|
82
|
+
# Access ID of the API Key auth method the IdP uses as the SCIM bearer
|
|
83
|
+
attr_accessor :scim_bearer_access_id
|
|
84
|
+
|
|
85
|
+
# Enable SCIM provisioning for this auth method [true/false]
|
|
86
|
+
attr_accessor :scim_enabled
|
|
87
|
+
|
|
88
|
+
# Where the IdP reaches the SCIM endpoint [public/private]. public is served by Akeyless, private by your own Akeyless Gateway
|
|
89
|
+
attr_accessor :scim_endpoint
|
|
90
|
+
|
|
91
|
+
# URL of the Akeyless Gateway that serves the SCIM endpoint to the IdP, for example https://gateway.example.com:8000. Required for the private endpoint
|
|
92
|
+
attr_accessor :scim_gateway_url
|
|
93
|
+
|
|
82
94
|
# A list of additional sub claims delimiters (relevant only for SAML, OIDC, OAuth2/JWT)
|
|
83
95
|
attr_accessor :subclaims_delimiters
|
|
84
96
|
|
|
@@ -115,6 +127,10 @@ module Akeyless
|
|
|
115
127
|
:'product_type' => :'product-type',
|
|
116
128
|
:'required_scopes' => :'required-scopes',
|
|
117
129
|
:'required_scopes_prefix' => :'required-scopes-prefix',
|
|
130
|
+
:'scim_bearer_access_id' => :'scim-bearer-access-id',
|
|
131
|
+
:'scim_enabled' => :'scim-enabled',
|
|
132
|
+
:'scim_endpoint' => :'scim-endpoint',
|
|
133
|
+
:'scim_gateway_url' => :'scim-gateway-url',
|
|
118
134
|
:'subclaims_delimiters' => :'subclaims-delimiters',
|
|
119
135
|
:'token' => :'token',
|
|
120
136
|
:'uid_token' => :'uid-token',
|
|
@@ -151,6 +167,10 @@ module Akeyless
|
|
|
151
167
|
:'product_type' => :'Array<String>',
|
|
152
168
|
:'required_scopes' => :'Array<String>',
|
|
153
169
|
:'required_scopes_prefix' => :'String',
|
|
170
|
+
:'scim_bearer_access_id' => :'String',
|
|
171
|
+
:'scim_enabled' => :'String',
|
|
172
|
+
:'scim_endpoint' => :'String',
|
|
173
|
+
:'scim_gateway_url' => :'String',
|
|
154
174
|
:'subclaims_delimiters' => :'Array<String>',
|
|
155
175
|
:'token' => :'String',
|
|
156
176
|
:'uid_token' => :'String',
|
|
@@ -287,6 +307,22 @@ module Akeyless
|
|
|
287
307
|
self.required_scopes_prefix = attributes[:'required_scopes_prefix']
|
|
288
308
|
end
|
|
289
309
|
|
|
310
|
+
if attributes.key?(:'scim_bearer_access_id')
|
|
311
|
+
self.scim_bearer_access_id = attributes[:'scim_bearer_access_id']
|
|
312
|
+
end
|
|
313
|
+
|
|
314
|
+
if attributes.key?(:'scim_enabled')
|
|
315
|
+
self.scim_enabled = attributes[:'scim_enabled']
|
|
316
|
+
end
|
|
317
|
+
|
|
318
|
+
if attributes.key?(:'scim_endpoint')
|
|
319
|
+
self.scim_endpoint = attributes[:'scim_endpoint']
|
|
320
|
+
end
|
|
321
|
+
|
|
322
|
+
if attributes.key?(:'scim_gateway_url')
|
|
323
|
+
self.scim_gateway_url = attributes[:'scim_gateway_url']
|
|
324
|
+
end
|
|
325
|
+
|
|
290
326
|
if attributes.key?(:'subclaims_delimiters')
|
|
291
327
|
if (value = attributes[:'subclaims_delimiters']).is_a?(Array)
|
|
292
328
|
self.subclaims_delimiters = value
|
|
@@ -359,6 +395,10 @@ module Akeyless
|
|
|
359
395
|
product_type == o.product_type &&
|
|
360
396
|
required_scopes == o.required_scopes &&
|
|
361
397
|
required_scopes_prefix == o.required_scopes_prefix &&
|
|
398
|
+
scim_bearer_access_id == o.scim_bearer_access_id &&
|
|
399
|
+
scim_enabled == o.scim_enabled &&
|
|
400
|
+
scim_endpoint == o.scim_endpoint &&
|
|
401
|
+
scim_gateway_url == o.scim_gateway_url &&
|
|
362
402
|
subclaims_delimiters == o.subclaims_delimiters &&
|
|
363
403
|
token == o.token &&
|
|
364
404
|
uid_token == o.uid_token &&
|
|
@@ -374,7 +414,7 @@ module Akeyless
|
|
|
374
414
|
# Calculates hash code according to all attributes.
|
|
375
415
|
# @return [Integer] Hash code
|
|
376
416
|
def hash
|
|
377
|
-
[access_expires, allowed_client_type, allowed_redirect_uri, audience, audit_logs_claims, bound_ips, client_id, client_secret, delete_protection, description, expiration_event_in, force_sub_claims, gateway_url, gw_bound_ips, issuer, json, jwt_ttl, name, product_type, required_scopes, required_scopes_prefix, subclaims_delimiters, token, uid_token, unique_identifier].hash
|
|
417
|
+
[access_expires, allowed_client_type, allowed_redirect_uri, audience, audit_logs_claims, bound_ips, client_id, client_secret, delete_protection, description, expiration_event_in, force_sub_claims, gateway_url, gw_bound_ips, issuer, json, jwt_ttl, name, product_type, required_scopes, required_scopes_prefix, scim_bearer_access_id, scim_enabled, scim_endpoint, scim_gateway_url, subclaims_delimiters, token, uid_token, unique_identifier].hash
|
|
378
418
|
end
|
|
379
419
|
|
|
380
420
|
# Builds the object from hash
|