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
|
@@ -0,0 +1,214 @@
|
|
|
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 ClientEventOutput
|
|
18
|
+
attr_accessor :response
|
|
19
|
+
|
|
20
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
21
|
+
def self.attribute_map
|
|
22
|
+
{
|
|
23
|
+
:'response' => :'response'
|
|
24
|
+
}
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
# Returns all the JSON keys this model knows about
|
|
28
|
+
def self.acceptable_attributes
|
|
29
|
+
attribute_map.values
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Attribute type mapping.
|
|
33
|
+
def self.openapi_types
|
|
34
|
+
{
|
|
35
|
+
:'response' => :'String'
|
|
36
|
+
}
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
# List of attributes with nullable: true
|
|
40
|
+
def self.openapi_nullable
|
|
41
|
+
Set.new([
|
|
42
|
+
])
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# Initializes the object
|
|
46
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
47
|
+
def initialize(attributes = {})
|
|
48
|
+
if (!attributes.is_a?(Hash))
|
|
49
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::ClientEventOutput` initialize method"
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
53
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
54
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
55
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::ClientEventOutput`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
56
|
+
end
|
|
57
|
+
h[k.to_sym] = v
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
if attributes.key?(:'response')
|
|
61
|
+
self.response = attributes[:'response']
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
66
|
+
# @return Array for valid properties with the reasons
|
|
67
|
+
def list_invalid_properties
|
|
68
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
69
|
+
invalid_properties = Array.new
|
|
70
|
+
invalid_properties
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
# Check to see if the all the properties in the model are valid
|
|
74
|
+
# @return true if the model is valid
|
|
75
|
+
def valid?
|
|
76
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
77
|
+
true
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
# Checks equality by comparing each attribute.
|
|
81
|
+
# @param [Object] Object to be compared
|
|
82
|
+
def ==(o)
|
|
83
|
+
return true if self.equal?(o)
|
|
84
|
+
self.class == o.class &&
|
|
85
|
+
response == o.response
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# @see the `==` method
|
|
89
|
+
# @param [Object] Object to be compared
|
|
90
|
+
def eql?(o)
|
|
91
|
+
self == o
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
# Calculates hash code according to all attributes.
|
|
95
|
+
# @return [Integer] Hash code
|
|
96
|
+
def hash
|
|
97
|
+
[response].hash
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
# Builds the object from hash
|
|
101
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
102
|
+
# @return [Object] Returns the model itself
|
|
103
|
+
def self.build_from_hash(attributes)
|
|
104
|
+
return nil unless attributes.is_a?(Hash)
|
|
105
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
106
|
+
transformed_hash = {}
|
|
107
|
+
openapi_types.each_pair do |key, type|
|
|
108
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
109
|
+
transformed_hash["#{key}"] = nil
|
|
110
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
111
|
+
# check to ensure the input is an array given that the attribute
|
|
112
|
+
# is documented as an array but the input is not
|
|
113
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
114
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
115
|
+
end
|
|
116
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
117
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
118
|
+
end
|
|
119
|
+
end
|
|
120
|
+
new(transformed_hash)
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
# Deserializes the data based on type
|
|
124
|
+
# @param string type Data type
|
|
125
|
+
# @param string value Value to be deserialized
|
|
126
|
+
# @return [Object] Deserialized data
|
|
127
|
+
def self._deserialize(type, value)
|
|
128
|
+
case type.to_sym
|
|
129
|
+
when :Time
|
|
130
|
+
Time.parse(value)
|
|
131
|
+
when :Date
|
|
132
|
+
Date.parse(value)
|
|
133
|
+
when :String
|
|
134
|
+
value.to_s
|
|
135
|
+
when :Integer
|
|
136
|
+
value.to_i
|
|
137
|
+
when :Float
|
|
138
|
+
value.to_f
|
|
139
|
+
when :Boolean
|
|
140
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
141
|
+
true
|
|
142
|
+
else
|
|
143
|
+
false
|
|
144
|
+
end
|
|
145
|
+
when :Object
|
|
146
|
+
# generic object (usually a Hash), return directly
|
|
147
|
+
value
|
|
148
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
149
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
150
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
151
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
152
|
+
k_type = Regexp.last_match[:k_type]
|
|
153
|
+
v_type = Regexp.last_match[:v_type]
|
|
154
|
+
{}.tap do |hash|
|
|
155
|
+
value.each do |k, v|
|
|
156
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
157
|
+
end
|
|
158
|
+
end
|
|
159
|
+
else # model
|
|
160
|
+
# models (e.g. Pet) or oneOf
|
|
161
|
+
klass = Akeyless.const_get(type)
|
|
162
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
163
|
+
end
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
# Returns the string representation of the object
|
|
167
|
+
# @return [String] String presentation of the object
|
|
168
|
+
def to_s
|
|
169
|
+
to_hash.to_s
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
173
|
+
# @return [Hash] Returns the object in the form of hash
|
|
174
|
+
def to_body
|
|
175
|
+
to_hash
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
# Returns the object in the form of hash
|
|
179
|
+
# @return [Hash] Returns the object in the form of hash
|
|
180
|
+
def to_hash
|
|
181
|
+
hash = {}
|
|
182
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
183
|
+
value = self.send(attr)
|
|
184
|
+
if value.nil?
|
|
185
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
186
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
hash[param] = _to_hash(value)
|
|
190
|
+
end
|
|
191
|
+
hash
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
# Outputs non-array value in the form of hash
|
|
195
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
196
|
+
# @param [Object] value Any valid value
|
|
197
|
+
# @return [Hash] Returns the value in the form of hash
|
|
198
|
+
def _to_hash(value)
|
|
199
|
+
if value.is_a?(Array)
|
|
200
|
+
value.compact.map { |v| _to_hash(v) }
|
|
201
|
+
elsif value.is_a?(Hash)
|
|
202
|
+
{}.tap do |hash|
|
|
203
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
204
|
+
end
|
|
205
|
+
elsif value.respond_to? :to_hash
|
|
206
|
+
value.to_hash
|
|
207
|
+
else
|
|
208
|
+
value
|
|
209
|
+
end
|
|
210
|
+
end
|
|
211
|
+
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
end
|
|
@@ -50,6 +50,9 @@ module Akeyless
|
|
|
50
50
|
# The Secret name (for database and AWS producers - producer name)
|
|
51
51
|
attr_accessor :name
|
|
52
52
|
|
|
53
|
+
# For how long to grant the requested access, in minutes
|
|
54
|
+
attr_accessor :requested_ttl
|
|
55
|
+
|
|
53
56
|
# The Bastion API path
|
|
54
57
|
attr_accessor :sra_ctrl_path
|
|
55
58
|
|
|
@@ -104,6 +107,7 @@ module Akeyless
|
|
|
104
107
|
:'json' => :'json',
|
|
105
108
|
:'justification' => :'justification',
|
|
106
109
|
:'name' => :'name',
|
|
110
|
+
:'requested_ttl' => :'requested-ttl',
|
|
107
111
|
:'sra_ctrl_path' => :'sra-ctrl-path',
|
|
108
112
|
:'sra_ctrl_port' => :'sra-ctrl-port',
|
|
109
113
|
:'sra_ctrl_proto' => :'sra-ctrl-proto',
|
|
@@ -140,6 +144,7 @@ module Akeyless
|
|
|
140
144
|
:'json' => :'Boolean',
|
|
141
145
|
:'justification' => :'String',
|
|
142
146
|
:'name' => :'String',
|
|
147
|
+
:'requested_ttl' => :'Integer',
|
|
143
148
|
:'sra_ctrl_path' => :'String',
|
|
144
149
|
:'sra_ctrl_port' => :'String',
|
|
145
150
|
:'sra_ctrl_proto' => :'String',
|
|
@@ -227,6 +232,10 @@ module Akeyless
|
|
|
227
232
|
self.name = attributes[:'name']
|
|
228
233
|
end
|
|
229
234
|
|
|
235
|
+
if attributes.key?(:'requested_ttl')
|
|
236
|
+
self.requested_ttl = attributes[:'requested_ttl']
|
|
237
|
+
end
|
|
238
|
+
|
|
230
239
|
if attributes.key?(:'sra_ctrl_path')
|
|
231
240
|
self.sra_ctrl_path = attributes[:'sra_ctrl_path']
|
|
232
241
|
end
|
|
@@ -318,6 +327,7 @@ module Akeyless
|
|
|
318
327
|
json == o.json &&
|
|
319
328
|
justification == o.justification &&
|
|
320
329
|
name == o.name &&
|
|
330
|
+
requested_ttl == o.requested_ttl &&
|
|
321
331
|
sra_ctrl_path == o.sra_ctrl_path &&
|
|
322
332
|
sra_ctrl_port == o.sra_ctrl_port &&
|
|
323
333
|
sra_ctrl_proto == o.sra_ctrl_proto &&
|
|
@@ -342,7 +352,7 @@ module Akeyless
|
|
|
342
352
|
# Calculates hash code according to all attributes.
|
|
343
353
|
# @return [Integer] Hash code
|
|
344
354
|
def hash
|
|
345
|
-
[helper, rc_file_override, bastion_ctrl_path, bastion_ctrl_port, bastion_ctrl_proto, bastion_ctrl_subdomain, cert_issuer_name, gateway_url, identity_file, json, justification, name, sra_ctrl_path, sra_ctrl_port, sra_ctrl_proto, sra_ctrl_subdomain, ssh_command, ssh_extra_args, ssh_legacy_signing_alg, target, token, uid_token, use_ssh_agent, via_bastion, via_sra].hash
|
|
355
|
+
[helper, rc_file_override, bastion_ctrl_path, bastion_ctrl_port, bastion_ctrl_proto, bastion_ctrl_subdomain, cert_issuer_name, gateway_url, identity_file, json, justification, name, requested_ttl, sra_ctrl_path, sra_ctrl_port, sra_ctrl_proto, sra_ctrl_subdomain, ssh_command, ssh_extra_args, ssh_legacy_signing_alg, target, token, uid_token, use_ssh_agent, via_bastion, via_sra].hash
|
|
346
356
|
end
|
|
347
357
|
|
|
348
358
|
# Builds the object from hash
|
|
@@ -49,7 +49,7 @@ module Akeyless
|
|
|
49
49
|
# Event Source type [item, target, auth_method, gateway]
|
|
50
50
|
attr_accessor :event_source_type
|
|
51
51
|
|
|
52
|
-
# List of event types to notify about [request-access, certificate-pending-expiration, certificate-expired, certificate-provisioning-success, certificate-provisioning-failure, auth-method-pending-expiration, auth-method-expired, rotated-secret-success, rotated-secret-failure, dynamic-secret-failure, multi-auth-failure, uid-rotation-failure, apply-justification, email-auth-method-approved, usage, rotation-usage, gateway-inactive, static-secret-updated]
|
|
52
|
+
# List of event types to notify about [request-access, access-request-approved, access-request-denied, certificate-pending-expiration, certificate-expired, certificate-provisioning-success, certificate-provisioning-failure, auth-method-pending-expiration, auth-method-expired, rotated-secret-success, rotated-secret-failure, dynamic-secret-failure, multi-auth-failure, uid-rotation-failure, apply-justification, email-auth-method-approved, usage, rotation-usage, gateway-inactive, static-secret-updated]
|
|
53
53
|
attr_accessor :event_types
|
|
54
54
|
|
|
55
55
|
# Rate of periodic runner repetition in hours
|
|
@@ -67,6 +67,9 @@ module Akeyless
|
|
|
67
67
|
# The universal identity token, Required only for universal_identity authentication
|
|
68
68
|
attr_accessor :uid_token
|
|
69
69
|
|
|
70
|
+
# Username returned for Rotated Secrets. Use the format required by your application, such as sAMAccountName, with or without the domain.
|
|
71
|
+
attr_accessor :username
|
|
72
|
+
|
|
70
73
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
71
74
|
def self.attribute_map
|
|
72
75
|
{
|
|
@@ -86,7 +89,8 @@ module Akeyless
|
|
|
86
89
|
:'server_type' => :'server-type',
|
|
87
90
|
:'token' => :'token',
|
|
88
91
|
:'token_expiration' => :'token-expiration',
|
|
89
|
-
:'uid_token' => :'uid-token'
|
|
92
|
+
:'uid_token' => :'uid-token',
|
|
93
|
+
:'username' => :'username'
|
|
90
94
|
}
|
|
91
95
|
end
|
|
92
96
|
|
|
@@ -114,7 +118,8 @@ module Akeyless
|
|
|
114
118
|
:'server_type' => :'String',
|
|
115
119
|
:'token' => :'String',
|
|
116
120
|
:'token_expiration' => :'String',
|
|
117
|
-
:'uid_token' => :'String'
|
|
121
|
+
:'uid_token' => :'String',
|
|
122
|
+
:'username' => :'String'
|
|
118
123
|
}
|
|
119
124
|
end
|
|
120
125
|
|
|
@@ -218,6 +223,10 @@ module Akeyless
|
|
|
218
223
|
if attributes.key?(:'uid_token')
|
|
219
224
|
self.uid_token = attributes[:'uid_token']
|
|
220
225
|
end
|
|
226
|
+
|
|
227
|
+
if attributes.key?(:'username')
|
|
228
|
+
self.username = attributes[:'username']
|
|
229
|
+
end
|
|
221
230
|
end
|
|
222
231
|
|
|
223
232
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -276,7 +285,8 @@ module Akeyless
|
|
|
276
285
|
server_type == o.server_type &&
|
|
277
286
|
token == o.token &&
|
|
278
287
|
token_expiration == o.token_expiration &&
|
|
279
|
-
uid_token == o.uid_token
|
|
288
|
+
uid_token == o.uid_token &&
|
|
289
|
+
username == o.username
|
|
280
290
|
end
|
|
281
291
|
|
|
282
292
|
# @see the `==` method
|
|
@@ -288,7 +298,7 @@ module Akeyless
|
|
|
288
298
|
# Calculates hash code according to all attributes.
|
|
289
299
|
# @return [Integer] Hash code
|
|
290
300
|
def hash
|
|
291
|
-
[bind_dn, bind_dn_password, comment, description, json, key, ldap_ca_cert, ldap_url, lock_on_read, lock_ttl, max_versions, name, rotate_on_unlock, server_type, token, token_expiration, uid_token].hash
|
|
301
|
+
[bind_dn, bind_dn_password, comment, description, json, key, ldap_ca_cert, ldap_url, lock_on_read, lock_ttl, max_versions, name, rotate_on_unlock, server_type, token, token_expiration, uid_token, username].hash
|
|
292
302
|
end
|
|
293
303
|
|
|
294
304
|
# Builds the object from hash
|
|
@@ -84,6 +84,9 @@ module Akeyless
|
|
|
84
84
|
# If set, the cert issuer will support the acme protocol
|
|
85
85
|
attr_accessor :enable_acme
|
|
86
86
|
|
|
87
|
+
# If set, the cert issuer will support the scep protocol
|
|
88
|
+
attr_accessor :enable_scep
|
|
89
|
+
|
|
87
90
|
# How many days before the expiration of the certificate would you like to be notified.
|
|
88
91
|
attr_accessor :expiration_event_in
|
|
89
92
|
|
|
@@ -138,6 +141,12 @@ module Akeyless
|
|
|
138
141
|
# A comma-separated list of provinces that will be set in the issued certificate
|
|
139
142
|
attr_accessor :province
|
|
140
143
|
|
|
144
|
+
# SCEP challenge type. Only static is supported in this stage
|
|
145
|
+
attr_accessor :scep_challenge_type
|
|
146
|
+
|
|
147
|
+
# SCEP static challenge password. Request-only; never returned by Describe
|
|
148
|
+
attr_accessor :scep_password
|
|
149
|
+
|
|
141
150
|
# Number of days before expiration to renew certificates
|
|
142
151
|
attr_accessor :scheduled_renew
|
|
143
152
|
|
|
@@ -191,6 +200,7 @@ module Akeyless
|
|
|
191
200
|
:'destination_path' => :'destination-path',
|
|
192
201
|
:'disable_wildcards' => :'disable-wildcards',
|
|
193
202
|
:'enable_acme' => :'enable-acme',
|
|
203
|
+
:'enable_scep' => :'enable-scep',
|
|
194
204
|
:'expiration_event_in' => :'expiration-event-in',
|
|
195
205
|
:'gw_cluster_url' => :'gw-cluster-url',
|
|
196
206
|
:'is_ca' => :'is-ca',
|
|
@@ -209,6 +219,8 @@ module Akeyless
|
|
|
209
219
|
:'postal_code' => :'postal-code',
|
|
210
220
|
:'protect_certificates' => :'protect-certificates',
|
|
211
221
|
:'province' => :'province',
|
|
222
|
+
:'scep_challenge_type' => :'scep-challenge-type',
|
|
223
|
+
:'scep_password' => :'scep-password',
|
|
212
224
|
:'scheduled_renew' => :'scheduled-renew',
|
|
213
225
|
:'server_flag' => :'server-flag',
|
|
214
226
|
:'signer_key_name' => :'signer-key-name',
|
|
@@ -252,6 +264,7 @@ module Akeyless
|
|
|
252
264
|
:'destination_path' => :'String',
|
|
253
265
|
:'disable_wildcards' => :'Boolean',
|
|
254
266
|
:'enable_acme' => :'Boolean',
|
|
267
|
+
:'enable_scep' => :'Boolean',
|
|
255
268
|
:'expiration_event_in' => :'Array<String>',
|
|
256
269
|
:'gw_cluster_url' => :'String',
|
|
257
270
|
:'is_ca' => :'Boolean',
|
|
@@ -270,6 +283,8 @@ module Akeyless
|
|
|
270
283
|
:'postal_code' => :'String',
|
|
271
284
|
:'protect_certificates' => :'Boolean',
|
|
272
285
|
:'province' => :'String',
|
|
286
|
+
:'scep_challenge_type' => :'String',
|
|
287
|
+
:'scep_password' => :'String',
|
|
273
288
|
:'scheduled_renew' => :'Integer',
|
|
274
289
|
:'server_flag' => :'Boolean',
|
|
275
290
|
:'signer_key_name' => :'String',
|
|
@@ -397,6 +412,10 @@ module Akeyless
|
|
|
397
412
|
self.enable_acme = attributes[:'enable_acme']
|
|
398
413
|
end
|
|
399
414
|
|
|
415
|
+
if attributes.key?(:'enable_scep')
|
|
416
|
+
self.enable_scep = attributes[:'enable_scep']
|
|
417
|
+
end
|
|
418
|
+
|
|
400
419
|
if attributes.key?(:'expiration_event_in')
|
|
401
420
|
if (value = attributes[:'expiration_event_in']).is_a?(Array)
|
|
402
421
|
self.expiration_event_in = value
|
|
@@ -481,6 +500,14 @@ module Akeyless
|
|
|
481
500
|
self.province = attributes[:'province']
|
|
482
501
|
end
|
|
483
502
|
|
|
503
|
+
if attributes.key?(:'scep_challenge_type')
|
|
504
|
+
self.scep_challenge_type = attributes[:'scep_challenge_type']
|
|
505
|
+
end
|
|
506
|
+
|
|
507
|
+
if attributes.key?(:'scep_password')
|
|
508
|
+
self.scep_password = attributes[:'scep_password']
|
|
509
|
+
end
|
|
510
|
+
|
|
484
511
|
if attributes.key?(:'scheduled_renew')
|
|
485
512
|
self.scheduled_renew = attributes[:'scheduled_renew']
|
|
486
513
|
end
|
|
@@ -575,6 +602,7 @@ module Akeyless
|
|
|
575
602
|
destination_path == o.destination_path &&
|
|
576
603
|
disable_wildcards == o.disable_wildcards &&
|
|
577
604
|
enable_acme == o.enable_acme &&
|
|
605
|
+
enable_scep == o.enable_scep &&
|
|
578
606
|
expiration_event_in == o.expiration_event_in &&
|
|
579
607
|
gw_cluster_url == o.gw_cluster_url &&
|
|
580
608
|
is_ca == o.is_ca &&
|
|
@@ -593,6 +621,8 @@ module Akeyless
|
|
|
593
621
|
postal_code == o.postal_code &&
|
|
594
622
|
protect_certificates == o.protect_certificates &&
|
|
595
623
|
province == o.province &&
|
|
624
|
+
scep_challenge_type == o.scep_challenge_type &&
|
|
625
|
+
scep_password == o.scep_password &&
|
|
596
626
|
scheduled_renew == o.scheduled_renew &&
|
|
597
627
|
server_flag == o.server_flag &&
|
|
598
628
|
signer_key_name == o.signer_key_name &&
|
|
@@ -613,7 +643,7 @@ module Akeyless
|
|
|
613
643
|
# Calculates hash code according to all attributes.
|
|
614
644
|
# @return [Integer] Hash code
|
|
615
645
|
def hash
|
|
616
|
-
[allow_any_name, allow_copy_ext_from_csr, allow_subdomains, allowed_domains, allowed_extra_extensions, allowed_ip_sans, allowed_uri_sans, auto_renew, basic_constraints, ca_target, client_flag, code_signing_flag, country, create_private_crl, create_private_ocsp, create_public_crl, create_public_ocsp, critical_key_usage, delete_protection, description, destination_path, disable_wildcards, enable_acme, expiration_event_in, gw_cluster_url, is_ca, item_custom_fields, json, key_usage, locality, max_path_len, metadata, name, not_enforce_hostnames, not_require_cn, ocsp_ttl, organizational_units, organizations, postal_code, protect_certificates, province, scheduled_renew, server_flag, signer_key_name, split_certificate_chain, street_address, tag, token, ttl, uid_token].hash
|
|
646
|
+
[allow_any_name, allow_copy_ext_from_csr, allow_subdomains, allowed_domains, allowed_extra_extensions, allowed_ip_sans, allowed_uri_sans, auto_renew, basic_constraints, ca_target, client_flag, code_signing_flag, country, create_private_crl, create_private_ocsp, create_public_crl, create_public_ocsp, critical_key_usage, delete_protection, description, destination_path, disable_wildcards, enable_acme, enable_scep, expiration_event_in, gw_cluster_url, is_ca, item_custom_fields, json, key_usage, locality, max_path_len, metadata, name, not_enforce_hostnames, not_require_cn, ocsp_ttl, organizational_units, organizations, postal_code, protect_certificates, province, scep_challenge_type, scep_password, scheduled_renew, server_flag, signer_key_name, split_certificate_chain, street_address, tag, token, ttl, uid_token].hash
|
|
617
647
|
end
|
|
618
648
|
|
|
619
649
|
# Builds the object from hash
|
|
@@ -16,6 +16,9 @@ require 'time'
|
|
|
16
16
|
module Akeyless
|
|
17
17
|
# CreateUSC is a command that creates a Universal Secrets Connector
|
|
18
18
|
class CreateUSC
|
|
19
|
+
# The AWS Organization ID to use for a multi-account connector. Requires a target in the AWS Management Account or a delegated administrator account.
|
|
20
|
+
attr_accessor :aws_organization_id
|
|
21
|
+
|
|
19
22
|
# Azure Key Vault name (Relevant only for Azure targets)
|
|
20
23
|
attr_accessor :azure_kv_name
|
|
21
24
|
|
|
@@ -93,6 +96,7 @@ module Akeyless
|
|
|
93
96
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
94
97
|
def self.attribute_map
|
|
95
98
|
{
|
|
99
|
+
:'aws_organization_id' => :'aws-organization-id',
|
|
96
100
|
:'azure_kv_name' => :'azure-kv-name',
|
|
97
101
|
:'delete_protection' => :'delete_protection',
|
|
98
102
|
:'description' => :'description',
|
|
@@ -129,6 +133,7 @@ module Akeyless
|
|
|
129
133
|
# Attribute type mapping.
|
|
130
134
|
def self.openapi_types
|
|
131
135
|
{
|
|
136
|
+
:'aws_organization_id' => :'String',
|
|
132
137
|
:'azure_kv_name' => :'String',
|
|
133
138
|
:'delete_protection' => :'String',
|
|
134
139
|
:'description' => :'String',
|
|
@@ -178,6 +183,10 @@ module Akeyless
|
|
|
178
183
|
h[k.to_sym] = v
|
|
179
184
|
}
|
|
180
185
|
|
|
186
|
+
if attributes.key?(:'aws_organization_id')
|
|
187
|
+
self.aws_organization_id = attributes[:'aws_organization_id']
|
|
188
|
+
end
|
|
189
|
+
|
|
181
190
|
if attributes.key?(:'azure_kv_name')
|
|
182
191
|
self.azure_kv_name = attributes[:'azure_kv_name']
|
|
183
192
|
end
|
|
@@ -327,6 +336,7 @@ module Akeyless
|
|
|
327
336
|
def ==(o)
|
|
328
337
|
return true if self.equal?(o)
|
|
329
338
|
self.class == o.class &&
|
|
339
|
+
aws_organization_id == o.aws_organization_id &&
|
|
330
340
|
azure_kv_name == o.azure_kv_name &&
|
|
331
341
|
delete_protection == o.delete_protection &&
|
|
332
342
|
description == o.description &&
|
|
@@ -363,7 +373,7 @@ module Akeyless
|
|
|
363
373
|
# Calculates hash code according to all attributes.
|
|
364
374
|
# @return [Integer] Hash code
|
|
365
375
|
def hash
|
|
366
|
-
[azure_kv_name, delete_protection, description, environment_names, gcp_folder_id, gcp_organization_id, gcp_project_id, gcp_scope, gcp_sm_regions, github_scope, item_custom_fields, json, k8s_namespace, name, organization_name, repository_access, repository_names, tags, target_to_associate, token, uid_token, usc_prefix, usc_tags, use_prefix_as_filter, use_tags_as_filter].hash
|
|
376
|
+
[aws_organization_id, azure_kv_name, delete_protection, description, environment_names, gcp_folder_id, gcp_organization_id, gcp_project_id, gcp_scope, gcp_sm_regions, github_scope, item_custom_fields, json, k8s_namespace, name, organization_name, repository_access, repository_names, tags, target_to_associate, token, uid_token, usc_prefix, usc_tags, use_prefix_as_filter, use_tags_as_filter].hash
|
|
367
377
|
end
|
|
368
378
|
|
|
369
379
|
# Builds the object from hash
|
|
@@ -26,11 +26,23 @@ module Akeyless
|
|
|
26
26
|
|
|
27
27
|
attr_accessor :digicert_directory_type
|
|
28
28
|
|
|
29
|
+
# A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years.
|
|
30
|
+
attr_accessor :dns_propagation_wait
|
|
31
|
+
|
|
32
|
+
# Custom recursive DNS resolvers (ip:port) for propagation checks.
|
|
33
|
+
attr_accessor :dns_resolvers
|
|
34
|
+
|
|
35
|
+
# Skip authoritative nameserver propagation pre-check.
|
|
36
|
+
attr_accessor :dns_skip_precheck
|
|
37
|
+
|
|
29
38
|
# Name of DNS target (transient field - not stored in DB). Used by CLI to pass DNS target name to SDK for creating target_object_assoc. Retrieved from target_object_assoc when reading target. Required when ChallengeType is dns.
|
|
30
39
|
attr_accessor :dns_target_name
|
|
31
40
|
|
|
32
41
|
attr_accessor :dns_target_type
|
|
33
42
|
|
|
43
|
+
# A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years.
|
|
44
|
+
attr_accessor :dns_timeout
|
|
45
|
+
|
|
34
46
|
# Cloudflare zone identifier. Required when DNSTargetType is Cloudflare.
|
|
35
47
|
attr_accessor :dns_zone
|
|
36
48
|
|
|
@@ -62,8 +74,12 @@ module Akeyless
|
|
|
62
74
|
:'account_url' => :'account_url',
|
|
63
75
|
:'challenge_type' => :'challenge_type',
|
|
64
76
|
:'digicert_directory_type' => :'digicert_directory_type',
|
|
77
|
+
:'dns_propagation_wait' => :'dns_propagation_wait',
|
|
78
|
+
:'dns_resolvers' => :'dns_resolvers',
|
|
79
|
+
:'dns_skip_precheck' => :'dns_skip_precheck',
|
|
65
80
|
:'dns_target_name' => :'dns_target_name',
|
|
66
81
|
:'dns_target_type' => :'dns_target_type',
|
|
82
|
+
:'dns_timeout' => :'dns_timeout',
|
|
67
83
|
:'dns_zone' => :'dns_zone',
|
|
68
84
|
:'eab_hmac_key' => :'eab_hmac_key',
|
|
69
85
|
:'eab_key_id' => :'eab_key_id',
|
|
@@ -87,8 +103,12 @@ module Akeyless
|
|
|
87
103
|
:'account_url' => :'String',
|
|
88
104
|
:'challenge_type' => :'String',
|
|
89
105
|
:'digicert_directory_type' => :'String',
|
|
106
|
+
:'dns_propagation_wait' => :'Integer',
|
|
107
|
+
:'dns_resolvers' => :'Array<String>',
|
|
108
|
+
:'dns_skip_precheck' => :'Boolean',
|
|
90
109
|
:'dns_target_name' => :'String',
|
|
91
110
|
:'dns_target_type' => :'String',
|
|
111
|
+
:'dns_timeout' => :'Integer',
|
|
92
112
|
:'dns_zone' => :'String',
|
|
93
113
|
:'eab_hmac_key' => :'String',
|
|
94
114
|
:'eab_key_id' => :'String',
|
|
@@ -137,6 +157,20 @@ module Akeyless
|
|
|
137
157
|
self.digicert_directory_type = attributes[:'digicert_directory_type']
|
|
138
158
|
end
|
|
139
159
|
|
|
160
|
+
if attributes.key?(:'dns_propagation_wait')
|
|
161
|
+
self.dns_propagation_wait = attributes[:'dns_propagation_wait']
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
if attributes.key?(:'dns_resolvers')
|
|
165
|
+
if (value = attributes[:'dns_resolvers']).is_a?(Array)
|
|
166
|
+
self.dns_resolvers = value
|
|
167
|
+
end
|
|
168
|
+
end
|
|
169
|
+
|
|
170
|
+
if attributes.key?(:'dns_skip_precheck')
|
|
171
|
+
self.dns_skip_precheck = attributes[:'dns_skip_precheck']
|
|
172
|
+
end
|
|
173
|
+
|
|
140
174
|
if attributes.key?(:'dns_target_name')
|
|
141
175
|
self.dns_target_name = attributes[:'dns_target_name']
|
|
142
176
|
end
|
|
@@ -145,6 +179,10 @@ module Akeyless
|
|
|
145
179
|
self.dns_target_type = attributes[:'dns_target_type']
|
|
146
180
|
end
|
|
147
181
|
|
|
182
|
+
if attributes.key?(:'dns_timeout')
|
|
183
|
+
self.dns_timeout = attributes[:'dns_timeout']
|
|
184
|
+
end
|
|
185
|
+
|
|
148
186
|
if attributes.key?(:'dns_zone')
|
|
149
187
|
self.dns_zone = attributes[:'dns_zone']
|
|
150
188
|
end
|
|
@@ -202,8 +240,12 @@ module Akeyless
|
|
|
202
240
|
account_url == o.account_url &&
|
|
203
241
|
challenge_type == o.challenge_type &&
|
|
204
242
|
digicert_directory_type == o.digicert_directory_type &&
|
|
243
|
+
dns_propagation_wait == o.dns_propagation_wait &&
|
|
244
|
+
dns_resolvers == o.dns_resolvers &&
|
|
245
|
+
dns_skip_precheck == o.dns_skip_precheck &&
|
|
205
246
|
dns_target_name == o.dns_target_name &&
|
|
206
247
|
dns_target_type == o.dns_target_type &&
|
|
248
|
+
dns_timeout == o.dns_timeout &&
|
|
207
249
|
dns_zone == o.dns_zone &&
|
|
208
250
|
eab_hmac_key == o.eab_hmac_key &&
|
|
209
251
|
eab_key_id == o.eab_key_id &&
|
|
@@ -223,7 +265,7 @@ module Akeyless
|
|
|
223
265
|
# Calculates hash code according to all attributes.
|
|
224
266
|
# @return [Integer] Hash code
|
|
225
267
|
def hash
|
|
226
|
-
[account_key_pem, account_url, challenge_type, digicert_directory_type, dns_target_name, dns_target_type, dns_zone, eab_hmac_key, eab_key_id, email, gcp_project, hosted_zone, resource_group, timeout].hash
|
|
268
|
+
[account_key_pem, account_url, challenge_type, digicert_directory_type, dns_propagation_wait, dns_resolvers, dns_skip_precheck, dns_target_name, dns_target_type, dns_timeout, dns_zone, eab_hmac_key, eab_key_id, email, gcp_project, hosted_zone, resource_group, timeout].hash
|
|
227
269
|
end
|
|
228
270
|
|
|
229
271
|
# Builds the object from hash
|