akeyless 5.0.3 → 5.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +11 -2
- data/docs/AWSGatewayCloudIdentityExternalIdOpt.md +22 -0
- data/docs/AWSTargetDetails.md +2 -0
- data/docs/AccountGeneralSettings.md +6 -0
- data/docs/AzureTargetDetails.md +2 -0
- data/docs/CertificateExpirationEventsSettings.md +20 -0
- data/docs/CreateAWSTarget.md +4 -0
- data/docs/CreatePKICertIssuer.md +3 -1
- data/docs/DSProducerDetails.md +14 -0
- data/docs/DynamicSecretCreateArtifactory.md +2 -0
- data/docs/DynamicSecretCreateAws.md +4 -0
- data/docs/DynamicSecretCreateAzure.md +4 -0
- data/docs/DynamicSecretCreateCassandra.md +2 -0
- data/docs/DynamicSecretCreateChef.md +2 -0
- data/docs/DynamicSecretCreateGcp.md +2 -0
- data/docs/DynamicSecretCreateHanaDb.md +4 -0
- data/docs/DynamicSecretCreateK8s.md +2 -0
- data/docs/DynamicSecretCreateLdap.md +2 -0
- data/docs/DynamicSecretCreateMongoDb.md +4 -0
- data/docs/DynamicSecretCreateMsSql.md +4 -0
- data/docs/DynamicSecretCreateMySql.md +4 -0
- data/docs/DynamicSecretCreateOracleDb.md +2 -0
- data/docs/DynamicSecretCreatePostgreSql.md +4 -0
- data/docs/DynamicSecretCreateRdp.md +2 -0
- data/docs/DynamicSecretCreateRedis.md +2 -0
- data/docs/DynamicSecretCreateRedshift.md +2 -0
- data/docs/DynamicSecretCreateSnowflake.md +6 -0
- data/docs/DynamicSecretUpdateArtifactory.md +2 -0
- data/docs/DynamicSecretUpdateAws.md +4 -0
- data/docs/DynamicSecretUpdateAzure.md +4 -0
- data/docs/DynamicSecretUpdateCassandra.md +2 -0
- data/docs/DynamicSecretUpdateChef.md +2 -0
- data/docs/DynamicSecretUpdateGcp.md +2 -0
- data/docs/DynamicSecretUpdateHanaDb.md +4 -0
- data/docs/DynamicSecretUpdateK8s.md +2 -0
- data/docs/DynamicSecretUpdateLdap.md +2 -0
- data/docs/DynamicSecretUpdateMongoDb.md +4 -0
- data/docs/DynamicSecretUpdateMsSql.md +4 -0
- data/docs/DynamicSecretUpdateMySql.md +4 -0
- data/docs/DynamicSecretUpdateOracleDb.md +2 -0
- data/docs/DynamicSecretUpdatePostgreSql.md +4 -0
- data/docs/DynamicSecretUpdateRdp.md +2 -0
- data/docs/DynamicSecretUpdateRedis.md +2 -0
- data/docs/DynamicSecretUpdateRedshift.md +2 -0
- data/docs/DynamicSecretUpdateSnowflake.md +6 -0
- data/docs/GatewayCreateProducerArtifactory.md +2 -0
- data/docs/GatewayCreateProducerAws.md +4 -0
- data/docs/GatewayCreateProducerAzure.md +4 -0
- data/docs/GatewayCreateProducerCassandra.md +2 -0
- data/docs/GatewayCreateProducerChef.md +2 -0
- data/docs/GatewayCreateProducerGcp.md +2 -0
- data/docs/GatewayCreateProducerHanaDb.md +4 -0
- data/docs/GatewayCreateProducerLdap.md +2 -0
- data/docs/GatewayCreateProducerMSSQL.md +4 -0
- data/docs/GatewayCreateProducerMongo.md +4 -0
- data/docs/GatewayCreateProducerMySQL.md +4 -0
- data/docs/GatewayCreateProducerNativeK8S.md +2 -0
- data/docs/GatewayCreateProducerOracleDb.md +2 -0
- data/docs/GatewayCreateProducerPostgreSQL.md +4 -0
- data/docs/GatewayCreateProducerRdp.md +2 -0
- data/docs/GatewayCreateProducerRedis.md +2 -0
- data/docs/GatewayCreateProducerRedshift.md +2 -0
- data/docs/GatewayCreateProducerSnowflake.md +6 -0
- data/docs/GatewayDetailsForItemReplyObj.md +2 -0
- data/docs/GatewayUpdateProducerArtifactory.md +2 -0
- data/docs/GatewayUpdateProducerAws.md +4 -0
- data/docs/GatewayUpdateProducerAzure.md +4 -0
- data/docs/GatewayUpdateProducerCassandra.md +2 -0
- data/docs/GatewayUpdateProducerChef.md +2 -0
- data/docs/GatewayUpdateProducerGcp.md +2 -0
- data/docs/GatewayUpdateProducerHanaDb.md +4 -0
- data/docs/GatewayUpdateProducerLdap.md +2 -0
- data/docs/GatewayUpdateProducerMSSQL.md +4 -0
- data/docs/GatewayUpdateProducerMongo.md +4 -0
- data/docs/GatewayUpdateProducerMySQL.md +4 -0
- data/docs/GatewayUpdateProducerNativeK8S.md +2 -0
- data/docs/GatewayUpdateProducerOracleDb.md +2 -0
- data/docs/GatewayUpdateProducerPostgreSQL.md +4 -0
- data/docs/GatewayUpdateProducerRdp.md +2 -0
- data/docs/GatewayUpdateProducerRedis.md +2 -0
- data/docs/GatewayUpdateProducerRedshift.md +2 -0
- data/docs/GatewayUpdateProducerSnowflake.md +6 -0
- data/docs/GcpTargetDetails.md +2 -0
- data/docs/ItemUSCSyncAssociation.md +1 -1
- data/docs/ItemVersion.md +4 -0
- data/docs/ListItemsInPathOutput.md +2 -0
- data/docs/ListItemsOutput.md +2 -0
- data/docs/PKICertificateIssueDetails.md +2 -0
- data/docs/RotatedSecretCreateAws.md +5 -1
- data/docs/RotatedSecretCreateAzure.md +12 -0
- data/docs/RotatedSecretCreateCustom.md +11 -1
- data/docs/RotatedSecretCreateGcp.md +6 -0
- data/docs/RotatedSecretCreateSnowflake.md +6 -2
- data/docs/RotatedSecretDeleteSyncOutput.md +20 -0
- data/docs/RotatedSecretDetailsInfo.md +8 -0
- data/docs/RotatedSecretSync.md +2 -0
- data/docs/RotatedSecretUpdateAws.md +5 -1
- data/docs/RotatedSecretUpdateAzure.md +12 -0
- data/docs/RotatedSecretUpdateCustom.md +11 -1
- data/docs/RotatedSecretUpdateGcp.md +6 -0
- data/docs/RotatedSecretUpdateSnowflake.md +5 -1
- data/docs/SecretSyncOutput.md +22 -0
- data/docs/StaticSecretDeleteSync.md +26 -0
- data/docs/StaticSecretDeleteSyncOutput.md +20 -0
- data/docs/StaticSecretSync.md +30 -0
- data/docs/TargetCreateAws.md +4 -0
- data/docs/TargetItemVersion.md +4 -0
- data/docs/TargetUpdateAws.md +4 -0
- data/docs/UpdateAWSTarget.md +4 -0
- data/docs/UpdateAccountSettings.md +8 -0
- data/docs/UpdatePKICertIssuer.md +3 -1
- data/docs/UscCreate.md +2 -0
- data/docs/UscSyncInfo.md +26 -0
- data/docs/UscUpdate.md +2 -0
- data/docs/V2Api.md +130 -4
- data/lib/akeyless/api/v2_api.rb +131 -3
- data/lib/akeyless/models/account_general_settings.rb +28 -1
- data/lib/akeyless/models/aws_gateway_cloud_identity_external_id_opt.rb +232 -0
- data/lib/akeyless/models/aws_target_details.rb +10 -1
- data/lib/akeyless/models/azure_target_details.rb +10 -1
- data/lib/akeyless/models/certificate_expiration_events_settings.rb +226 -0
- data/lib/akeyless/models/create_aws_target.rb +21 -1
- data/lib/akeyless/models/create_pki_cert_issuer.rb +12 -2
- data/lib/akeyless/models/ds_producer_details.rb +64 -1
- data/lib/akeyless/models/dynamic_secret_create_artifactory.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_create_aws.rb +21 -1
- data/lib/akeyless/models/dynamic_secret_create_azure.rb +21 -1
- data/lib/akeyless/models/dynamic_secret_create_cassandra.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_create_chef.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_create_gcp.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_create_hana_db.rb +21 -1
- data/lib/akeyless/models/dynamic_secret_create_k8s.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_create_ldap.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_create_mongo_db.rb +21 -1
- data/lib/akeyless/models/dynamic_secret_create_ms_sql.rb +21 -1
- data/lib/akeyless/models/dynamic_secret_create_my_sql.rb +21 -1
- data/lib/akeyless/models/dynamic_secret_create_oracle_db.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_create_postgre_sql.rb +21 -1
- data/lib/akeyless/models/dynamic_secret_create_rdp.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_create_redis.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_create_redshift.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_create_snowflake.rb +32 -1
- data/lib/akeyless/models/dynamic_secret_update_artifactory.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_aws.rb +21 -1
- data/lib/akeyless/models/dynamic_secret_update_azure.rb +21 -1
- data/lib/akeyless/models/dynamic_secret_update_cassandra.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_chef.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_gcp.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_hana_db.rb +21 -1
- data/lib/akeyless/models/dynamic_secret_update_k8s.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_ldap.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_mongo_db.rb +21 -1
- data/lib/akeyless/models/dynamic_secret_update_ms_sql.rb +21 -1
- data/lib/akeyless/models/dynamic_secret_update_my_sql.rb +21 -1
- data/lib/akeyless/models/dynamic_secret_update_oracle_db.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_postgre_sql.rb +21 -1
- data/lib/akeyless/models/dynamic_secret_update_rdp.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_redis.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_redshift.rb +11 -1
- data/lib/akeyless/models/dynamic_secret_update_snowflake.rb +32 -1
- data/lib/akeyless/models/gateway_create_producer_artifactory.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_aws.rb +21 -1
- data/lib/akeyless/models/gateway_create_producer_azure.rb +21 -1
- data/lib/akeyless/models/gateway_create_producer_cassandra.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_chef.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_gcp.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_hana_db.rb +21 -1
- data/lib/akeyless/models/gateway_create_producer_ldap.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_mongo.rb +21 -1
- data/lib/akeyless/models/gateway_create_producer_mssql.rb +21 -1
- data/lib/akeyless/models/gateway_create_producer_my_sql.rb +21 -1
- data/lib/akeyless/models/gateway_create_producer_native_k8_s.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_oracle_db.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_postgre_sql.rb +21 -1
- data/lib/akeyless/models/gateway_create_producer_rdp.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_redis.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_redshift.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_snowflake.rb +32 -1
- data/lib/akeyless/models/gateway_details_for_item_reply_obj.rb +10 -1
- data/lib/akeyless/models/gateway_update_producer_artifactory.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_aws.rb +21 -1
- data/lib/akeyless/models/gateway_update_producer_azure.rb +21 -1
- data/lib/akeyless/models/gateway_update_producer_cassandra.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_chef.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_gcp.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_hana_db.rb +21 -1
- data/lib/akeyless/models/gateway_update_producer_ldap.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_mongo.rb +21 -1
- data/lib/akeyless/models/gateway_update_producer_mssql.rb +21 -1
- data/lib/akeyless/models/gateway_update_producer_my_sql.rb +21 -1
- data/lib/akeyless/models/gateway_update_producer_native_k8_s.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_oracle_db.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_postgre_sql.rb +21 -1
- data/lib/akeyless/models/gateway_update_producer_rdp.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_redis.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_redshift.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_snowflake.rb +32 -1
- data/lib/akeyless/models/gcp_target_details.rb +10 -1
- data/lib/akeyless/models/item_usc_sync_association.rb +1 -1
- data/lib/akeyless/models/item_version.rb +19 -1
- data/lib/akeyless/models/list_items_in_path_output.rb +10 -1
- data/lib/akeyless/models/list_items_output.rb +10 -1
- data/lib/akeyless/models/pki_certificate_issue_details.rb +10 -1
- data/lib/akeyless/models/rotated_secret_create_aws.rb +22 -2
- data/lib/akeyless/models/rotated_secret_create_azure.rb +63 -1
- data/lib/akeyless/models/rotated_secret_create_custom.rb +54 -4
- data/lib/akeyless/models/rotated_secret_create_gcp.rb +31 -1
- data/lib/akeyless/models/rotated_secret_create_snowflake.rb +23 -3
- data/lib/akeyless/models/rotated_secret_delete_sync_output.rb +223 -0
- data/lib/akeyless/models/rotated_secret_details_info.rb +37 -1
- data/lib/akeyless/models/rotated_secret_sync.rb +11 -1
- data/lib/akeyless/models/rotated_secret_update_aws.rb +22 -2
- data/lib/akeyless/models/rotated_secret_update_azure.rb +63 -1
- data/lib/akeyless/models/rotated_secret_update_custom.rb +54 -4
- data/lib/akeyless/models/rotated_secret_update_gcp.rb +31 -1
- data/lib/akeyless/models/rotated_secret_update_snowflake.rb +22 -2
- data/lib/akeyless/models/secret_sync_output.rb +232 -0
- data/lib/akeyless/models/static_secret_delete_sync.rb +271 -0
- data/lib/akeyless/models/static_secret_delete_sync_output.rb +223 -0
- data/lib/akeyless/models/static_secret_sync.rb +284 -0
- data/lib/akeyless/models/target_create_aws.rb +21 -1
- data/lib/akeyless/models/target_item_version.rb +19 -1
- data/lib/akeyless/models/target_update_aws.rb +21 -1
- data/lib/akeyless/models/update_account_settings.rb +43 -1
- data/lib/akeyless/models/update_aws_target.rb +21 -1
- data/lib/akeyless/models/update_pki_cert_issuer.rb +12 -2
- data/lib/akeyless/models/usc_create.rb +11 -1
- data/lib/akeyless/models/usc_sync_info.rb +250 -0
- data/lib/akeyless/models/usc_update.rb +11 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +8 -1
- data/spec/models/aws_gateway_cloud_identity_external_id_opt_spec.rb +48 -0
- data/spec/models/certificate_expiration_events_settings_spec.rb +42 -0
- data/spec/models/rotated_secret_delete_sync_output_spec.rb +42 -0
- data/spec/models/secret_sync_output_spec.rb +48 -0
- data/spec/models/static_secret_delete_sync_output_spec.rb +42 -0
- data/spec/models/static_secret_delete_sync_spec.rb +60 -0
- data/spec/models/static_secret_sync_spec.rb +72 -0
- data/spec/models/usc_sync_info_spec.rb +60 -0
- metadata +1089 -1057
@@ -19,6 +19,8 @@ module Akeyless
|
|
19
19
|
|
20
20
|
attr_accessor :access_date_display
|
21
21
|
|
22
|
+
attr_accessor :access_id
|
23
|
+
|
22
24
|
attr_accessor :certificate_version_info
|
23
25
|
|
24
26
|
attr_accessor :creation_date
|
@@ -34,6 +36,8 @@ module Akeyless
|
|
34
36
|
|
35
37
|
attr_accessor :protection_key_name
|
36
38
|
|
39
|
+
attr_accessor :unique_identifier
|
40
|
+
|
37
41
|
attr_accessor :version
|
38
42
|
|
39
43
|
attr_accessor :with_customer_fragment
|
@@ -43,6 +47,7 @@ module Akeyless
|
|
43
47
|
{
|
44
48
|
:'access_date' => :'access_date',
|
45
49
|
:'access_date_display' => :'access_date_display',
|
50
|
+
:'access_id' => :'access_id',
|
46
51
|
:'certificate_version_info' => :'certificate_version_info',
|
47
52
|
:'creation_date' => :'creation_date',
|
48
53
|
:'customer_fragment_id' => :'customer_fragment_id',
|
@@ -50,6 +55,7 @@ module Akeyless
|
|
50
55
|
:'item_version_state' => :'item_version_state',
|
51
56
|
:'modification_date' => :'modification_date',
|
52
57
|
:'protection_key_name' => :'protection_key_name',
|
58
|
+
:'unique_identifier' => :'unique_identifier',
|
53
59
|
:'version' => :'version',
|
54
60
|
:'with_customer_fragment' => :'with_customer_fragment'
|
55
61
|
}
|
@@ -65,6 +71,7 @@ module Akeyless
|
|
65
71
|
{
|
66
72
|
:'access_date' => :'Time',
|
67
73
|
:'access_date_display' => :'String',
|
74
|
+
:'access_id' => :'String',
|
68
75
|
:'certificate_version_info' => :'CertificateVersionInfo',
|
69
76
|
:'creation_date' => :'Time',
|
70
77
|
:'customer_fragment_id' => :'String',
|
@@ -72,6 +79,7 @@ module Akeyless
|
|
72
79
|
:'item_version_state' => :'String',
|
73
80
|
:'modification_date' => :'Time',
|
74
81
|
:'protection_key_name' => :'String',
|
82
|
+
:'unique_identifier' => :'String',
|
75
83
|
:'version' => :'Integer',
|
76
84
|
:'with_customer_fragment' => :'Boolean'
|
77
85
|
}
|
@@ -106,6 +114,10 @@ module Akeyless
|
|
106
114
|
self.access_date_display = attributes[:'access_date_display']
|
107
115
|
end
|
108
116
|
|
117
|
+
if attributes.key?(:'access_id')
|
118
|
+
self.access_id = attributes[:'access_id']
|
119
|
+
end
|
120
|
+
|
109
121
|
if attributes.key?(:'certificate_version_info')
|
110
122
|
self.certificate_version_info = attributes[:'certificate_version_info']
|
111
123
|
end
|
@@ -134,6 +146,10 @@ module Akeyless
|
|
134
146
|
self.protection_key_name = attributes[:'protection_key_name']
|
135
147
|
end
|
136
148
|
|
149
|
+
if attributes.key?(:'unique_identifier')
|
150
|
+
self.unique_identifier = attributes[:'unique_identifier']
|
151
|
+
end
|
152
|
+
|
137
153
|
if attributes.key?(:'version')
|
138
154
|
self.version = attributes[:'version']
|
139
155
|
end
|
@@ -165,6 +181,7 @@ module Akeyless
|
|
165
181
|
self.class == o.class &&
|
166
182
|
access_date == o.access_date &&
|
167
183
|
access_date_display == o.access_date_display &&
|
184
|
+
access_id == o.access_id &&
|
168
185
|
certificate_version_info == o.certificate_version_info &&
|
169
186
|
creation_date == o.creation_date &&
|
170
187
|
customer_fragment_id == o.customer_fragment_id &&
|
@@ -172,6 +189,7 @@ module Akeyless
|
|
172
189
|
item_version_state == o.item_version_state &&
|
173
190
|
modification_date == o.modification_date &&
|
174
191
|
protection_key_name == o.protection_key_name &&
|
192
|
+
unique_identifier == o.unique_identifier &&
|
175
193
|
version == o.version &&
|
176
194
|
with_customer_fragment == o.with_customer_fragment
|
177
195
|
end
|
@@ -185,7 +203,7 @@ module Akeyless
|
|
185
203
|
# Calculates hash code according to all attributes.
|
186
204
|
# @return [Integer] Hash code
|
187
205
|
def hash
|
188
|
-
[access_date, access_date_display, certificate_version_info, creation_date, customer_fragment_id, deletion_date, item_version_state, modification_date, protection_key_name, version, with_customer_fragment].hash
|
206
|
+
[access_date, access_date_display, access_id, certificate_version_info, creation_date, customer_fragment_id, deletion_date, item_version_state, modification_date, protection_key_name, unique_identifier, version, with_customer_fragment].hash
|
189
207
|
end
|
190
208
|
|
191
209
|
# Builds the object from hash
|
@@ -17,6 +17,8 @@ module Akeyless
|
|
17
17
|
class ListItemsInPathOutput
|
18
18
|
attr_accessor :folders
|
19
19
|
|
20
|
+
attr_accessor :has_next
|
21
|
+
|
20
22
|
attr_accessor :items
|
21
23
|
|
22
24
|
attr_accessor :next_page
|
@@ -25,6 +27,7 @@ module Akeyless
|
|
25
27
|
def self.attribute_map
|
26
28
|
{
|
27
29
|
:'folders' => :'folders',
|
30
|
+
:'has_next' => :'has_next',
|
28
31
|
:'items' => :'items',
|
29
32
|
:'next_page' => :'next_page'
|
30
33
|
}
|
@@ -39,6 +42,7 @@ module Akeyless
|
|
39
42
|
def self.openapi_types
|
40
43
|
{
|
41
44
|
:'folders' => :'Array<String>',
|
45
|
+
:'has_next' => :'Boolean',
|
42
46
|
:'items' => :'Array<Item>',
|
43
47
|
:'next_page' => :'String'
|
44
48
|
}
|
@@ -71,6 +75,10 @@ module Akeyless
|
|
71
75
|
end
|
72
76
|
end
|
73
77
|
|
78
|
+
if attributes.key?(:'has_next')
|
79
|
+
self.has_next = attributes[:'has_next']
|
80
|
+
end
|
81
|
+
|
74
82
|
if attributes.key?(:'items')
|
75
83
|
if (value = attributes[:'items']).is_a?(Array)
|
76
84
|
self.items = value
|
@@ -103,6 +111,7 @@ module Akeyless
|
|
103
111
|
return true if self.equal?(o)
|
104
112
|
self.class == o.class &&
|
105
113
|
folders == o.folders &&
|
114
|
+
has_next == o.has_next &&
|
106
115
|
items == o.items &&
|
107
116
|
next_page == o.next_page
|
108
117
|
end
|
@@ -116,7 +125,7 @@ module Akeyless
|
|
116
125
|
# Calculates hash code according to all attributes.
|
117
126
|
# @return [Integer] Hash code
|
118
127
|
def hash
|
119
|
-
[folders, items, next_page].hash
|
128
|
+
[folders, has_next, items, next_page].hash
|
120
129
|
end
|
121
130
|
|
122
131
|
# Builds the object from hash
|
@@ -15,6 +15,8 @@ require 'time'
|
|
15
15
|
|
16
16
|
module Akeyless
|
17
17
|
class ListItemsOutput
|
18
|
+
attr_accessor :has_next
|
19
|
+
|
18
20
|
attr_accessor :items
|
19
21
|
|
20
22
|
attr_accessor :next_page
|
@@ -22,6 +24,7 @@ module Akeyless
|
|
22
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
23
25
|
def self.attribute_map
|
24
26
|
{
|
27
|
+
:'has_next' => :'has_next',
|
25
28
|
:'items' => :'items',
|
26
29
|
:'next_page' => :'next_page'
|
27
30
|
}
|
@@ -35,6 +38,7 @@ module Akeyless
|
|
35
38
|
# Attribute type mapping.
|
36
39
|
def self.openapi_types
|
37
40
|
{
|
41
|
+
:'has_next' => :'Boolean',
|
38
42
|
:'items' => :'Array<Item>',
|
39
43
|
:'next_page' => :'String'
|
40
44
|
}
|
@@ -61,6 +65,10 @@ module Akeyless
|
|
61
65
|
h[k.to_sym] = v
|
62
66
|
}
|
63
67
|
|
68
|
+
if attributes.key?(:'has_next')
|
69
|
+
self.has_next = attributes[:'has_next']
|
70
|
+
end
|
71
|
+
|
64
72
|
if attributes.key?(:'items')
|
65
73
|
if (value = attributes[:'items']).is_a?(Array)
|
66
74
|
self.items = value
|
@@ -92,6 +100,7 @@ module Akeyless
|
|
92
100
|
def ==(o)
|
93
101
|
return true if self.equal?(o)
|
94
102
|
self.class == o.class &&
|
103
|
+
has_next == o.has_next &&
|
95
104
|
items == o.items &&
|
96
105
|
next_page == o.next_page
|
97
106
|
end
|
@@ -105,7 +114,7 @@ module Akeyless
|
|
105
114
|
# Calculates hash code according to all attributes.
|
106
115
|
# @return [Integer] Hash code
|
107
116
|
def hash
|
108
|
-
[items, next_page].hash
|
117
|
+
[has_next, items, next_page].hash
|
109
118
|
end
|
110
119
|
|
111
120
|
# Builds the object from hash
|
@@ -50,6 +50,8 @@ module Akeyless
|
|
50
50
|
# DestinationPath is the destination to save generated certificates
|
51
51
|
attr_accessor :destination_path
|
52
52
|
|
53
|
+
attr_accessor :disable_wildcards
|
54
|
+
|
53
55
|
attr_accessor :enforce_hostnames
|
54
56
|
|
55
57
|
# ExpirationNotification holds a list of expiration notices that should be sent in case a certificate is about to expire, this value is being propagated to the Certificate resources that are created
|
@@ -118,6 +120,7 @@ module Akeyless
|
|
118
120
|
:'create_private_crl' => :'create_private_crl',
|
119
121
|
:'create_public_crl' => :'create_public_crl',
|
120
122
|
:'destination_path' => :'destination_path',
|
123
|
+
:'disable_wildcards' => :'disable_wildcards',
|
121
124
|
:'enforce_hostnames' => :'enforce_hostnames',
|
122
125
|
:'expiration_events' => :'expiration_events',
|
123
126
|
:'gw_cluster_id' => :'gw_cluster_id',
|
@@ -168,6 +171,7 @@ module Akeyless
|
|
168
171
|
:'create_private_crl' => :'Boolean',
|
169
172
|
:'create_public_crl' => :'Boolean',
|
170
173
|
:'destination_path' => :'String',
|
174
|
+
:'disable_wildcards' => :'Boolean',
|
171
175
|
:'enforce_hostnames' => :'Boolean',
|
172
176
|
:'expiration_events' => :'Array<CertificateExpirationEvent>',
|
173
177
|
:'gw_cluster_id' => :'Integer',
|
@@ -292,6 +296,10 @@ module Akeyless
|
|
292
296
|
self.destination_path = attributes[:'destination_path']
|
293
297
|
end
|
294
298
|
|
299
|
+
if attributes.key?(:'disable_wildcards')
|
300
|
+
self.disable_wildcards = attributes[:'disable_wildcards']
|
301
|
+
end
|
302
|
+
|
295
303
|
if attributes.key?(:'enforce_hostnames')
|
296
304
|
self.enforce_hostnames = attributes[:'enforce_hostnames']
|
297
305
|
end
|
@@ -434,6 +442,7 @@ module Akeyless
|
|
434
442
|
create_private_crl == o.create_private_crl &&
|
435
443
|
create_public_crl == o.create_public_crl &&
|
436
444
|
destination_path == o.destination_path &&
|
445
|
+
disable_wildcards == o.disable_wildcards &&
|
437
446
|
enforce_hostnames == o.enforce_hostnames &&
|
438
447
|
expiration_events == o.expiration_events &&
|
439
448
|
gw_cluster_id == o.gw_cluster_id &&
|
@@ -467,7 +476,7 @@ module Akeyless
|
|
467
476
|
# Calculates hash code according to all attributes.
|
468
477
|
# @return [Integer] Hash code
|
469
478
|
def hash
|
470
|
-
[acme_enabled, allow_any_name, allow_copy_ext_from_csr, allow_subdomains, allowed_domains_list, allowed_extra_extensions, allowed_ip_sans, allowed_uri_sans, auto_renew_certificate, basic_constraints_valid_for_non_ca, certificate_authority_mode, client_flag, code_signing_flag, country, create_private_crl, create_public_crl, destination_path, enforce_hostnames, expiration_events, gw_cluster_id, gw_cluster_url, is_ca, key_bits, key_type, key_usage_list, locality, max_path_len, non_critical_key_usage, not_before_duration, organization_list, organization_unit_list, pki_issuer_type, postal_code, protect_generated_certificates, province, renew_before_expiration_in_days, require_cn, server_flag, street_address].hash
|
479
|
+
[acme_enabled, allow_any_name, allow_copy_ext_from_csr, allow_subdomains, allowed_domains_list, allowed_extra_extensions, allowed_ip_sans, allowed_uri_sans, auto_renew_certificate, basic_constraints_valid_for_non_ca, certificate_authority_mode, client_flag, code_signing_flag, country, create_private_crl, create_public_crl, destination_path, disable_wildcards, enforce_hostnames, expiration_events, gw_cluster_id, gw_cluster_url, is_ca, key_bits, key_type, key_usage_list, locality, max_path_len, non_critical_key_usage, not_before_duration, organization_list, organization_unit_list, pki_issuer_type, postal_code, protect_generated_certificates, province, renew_before_expiration_in_days, require_cn, server_flag, street_address].hash
|
471
480
|
end
|
472
481
|
|
473
482
|
# Builds the object from hash
|
@@ -36,9 +36,15 @@ module Akeyless
|
|
36
36
|
# Description of the object
|
37
37
|
attr_accessor :description
|
38
38
|
|
39
|
-
# Create a new access key without deleting the old key from AWS for backup (relevant only for AWS) [true/false]
|
39
|
+
# Create a new access key without deleting the old key from AWS/Azure/GCP for backup (relevant only for AWS/Azure/GCP) [true/false]
|
40
40
|
attr_accessor :grace_rotation
|
41
41
|
|
42
|
+
# The Hour of the grace rotation in UTC
|
43
|
+
attr_accessor :grace_rotation_hour
|
44
|
+
|
45
|
+
# The number of days to wait before deleting the old key (must be bigger than rotation-interval)
|
46
|
+
attr_accessor :grace_rotation_interval
|
47
|
+
|
42
48
|
# Set output format to JSON
|
43
49
|
attr_accessor :json
|
44
50
|
|
@@ -107,6 +113,8 @@ module Akeyless
|
|
107
113
|
:'delete_protection' => :'delete_protection',
|
108
114
|
:'description' => :'description',
|
109
115
|
:'grace_rotation' => :'grace-rotation',
|
116
|
+
:'grace_rotation_hour' => :'grace-rotation-hour',
|
117
|
+
:'grace_rotation_interval' => :'grace-rotation-interval',
|
110
118
|
:'json' => :'json',
|
111
119
|
:'key' => :'key',
|
112
120
|
:'max_versions' => :'max-versions',
|
@@ -145,6 +153,8 @@ module Akeyless
|
|
145
153
|
:'delete_protection' => :'String',
|
146
154
|
:'description' => :'String',
|
147
155
|
:'grace_rotation' => :'String',
|
156
|
+
:'grace_rotation_hour' => :'Integer',
|
157
|
+
:'grace_rotation_interval' => :'String',
|
148
158
|
:'json' => :'Boolean',
|
149
159
|
:'key' => :'String',
|
150
160
|
:'max_versions' => :'String',
|
@@ -224,6 +234,14 @@ module Akeyless
|
|
224
234
|
self.grace_rotation = attributes[:'grace_rotation']
|
225
235
|
end
|
226
236
|
|
237
|
+
if attributes.key?(:'grace_rotation_hour')
|
238
|
+
self.grace_rotation_hour = attributes[:'grace_rotation_hour']
|
239
|
+
end
|
240
|
+
|
241
|
+
if attributes.key?(:'grace_rotation_interval')
|
242
|
+
self.grace_rotation_interval = attributes[:'grace_rotation_interval']
|
243
|
+
end
|
244
|
+
|
227
245
|
if attributes.key?(:'json')
|
228
246
|
self.json = attributes[:'json']
|
229
247
|
else
|
@@ -358,6 +376,8 @@ module Akeyless
|
|
358
376
|
delete_protection == o.delete_protection &&
|
359
377
|
description == o.description &&
|
360
378
|
grace_rotation == o.grace_rotation &&
|
379
|
+
grace_rotation_hour == o.grace_rotation_hour &&
|
380
|
+
grace_rotation_interval == o.grace_rotation_interval &&
|
361
381
|
json == o.json &&
|
362
382
|
key == o.key &&
|
363
383
|
max_versions == o.max_versions &&
|
@@ -388,7 +408,7 @@ module Akeyless
|
|
388
408
|
# Calculates hash code according to all attributes.
|
389
409
|
# @return [Integer] Hash code
|
390
410
|
def hash
|
391
|
-
[api_id, api_key, authentication_credentials, auto_rotate, aws_region, delete_protection, description, grace_rotation, json, key, max_versions, name, password_length, rotate_after_disconnect, rotation_event_in, rotation_hour, rotation_interval, rotator_type, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_enable, tags, target_name, token, uid_token].hash
|
411
|
+
[api_id, api_key, authentication_credentials, auto_rotate, aws_region, delete_protection, description, grace_rotation, grace_rotation_hour, grace_rotation_interval, json, key, max_versions, name, password_length, rotate_after_disconnect, rotation_event_in, rotation_hour, rotation_interval, rotator_type, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_enable, tags, target_name, token, uid_token].hash
|
392
412
|
end
|
393
413
|
|
394
414
|
# Builds the object from hash
|
@@ -36,6 +36,18 @@ module Akeyless
|
|
36
36
|
# Description of the object
|
37
37
|
attr_accessor :description
|
38
38
|
|
39
|
+
# If set, explicitly provide the storage account details [true/false]
|
40
|
+
attr_accessor :explicitly_set_sa
|
41
|
+
|
42
|
+
# Create a new access key without deleting the old key from AWS/Azure/GCP for backup (relevant only for AWS/Azure/GCP) [true/false]
|
43
|
+
attr_accessor :grace_rotation
|
44
|
+
|
45
|
+
# The Hour of the grace rotation in UTC
|
46
|
+
attr_accessor :grace_rotation_hour
|
47
|
+
|
48
|
+
# The number of days to wait before deleting the old key (must be bigger than rotation-interval)
|
49
|
+
attr_accessor :grace_rotation_interval
|
50
|
+
|
39
51
|
# Set output format to JSON
|
40
52
|
attr_accessor :json
|
41
53
|
|
@@ -51,6 +63,12 @@ module Akeyless
|
|
51
63
|
# The length of the password to be generated
|
52
64
|
attr_accessor :password_length
|
53
65
|
|
66
|
+
# The resource group name (only relevant when explicitly-set-sa=true)
|
67
|
+
attr_accessor :resource_group_name
|
68
|
+
|
69
|
+
# The name of the storage account (only relevant when explicitly-set-sa=true)
|
70
|
+
attr_accessor :resource_name
|
71
|
+
|
54
72
|
# Rotate the value of the secret after SRA session ends [true/false]
|
55
73
|
attr_accessor :rotate_after_disconnect
|
56
74
|
|
@@ -112,11 +130,17 @@ module Akeyless
|
|
112
130
|
:'auto_rotate' => :'auto-rotate',
|
113
131
|
:'delete_protection' => :'delete_protection',
|
114
132
|
:'description' => :'description',
|
133
|
+
:'explicitly_set_sa' => :'explicitly-set-sa',
|
134
|
+
:'grace_rotation' => :'grace-rotation',
|
135
|
+
:'grace_rotation_hour' => :'grace-rotation-hour',
|
136
|
+
:'grace_rotation_interval' => :'grace-rotation-interval',
|
115
137
|
:'json' => :'json',
|
116
138
|
:'key' => :'key',
|
117
139
|
:'max_versions' => :'max-versions',
|
118
140
|
:'name' => :'name',
|
119
141
|
:'password_length' => :'password-length',
|
142
|
+
:'resource_group_name' => :'resource-group-name',
|
143
|
+
:'resource_name' => :'resource-name',
|
120
144
|
:'rotate_after_disconnect' => :'rotate-after-disconnect',
|
121
145
|
:'rotation_event_in' => :'rotation-event-in',
|
122
146
|
:'rotation_hour' => :'rotation-hour',
|
@@ -152,11 +176,17 @@ module Akeyless
|
|
152
176
|
:'auto_rotate' => :'String',
|
153
177
|
:'delete_protection' => :'String',
|
154
178
|
:'description' => :'String',
|
179
|
+
:'explicitly_set_sa' => :'String',
|
180
|
+
:'grace_rotation' => :'String',
|
181
|
+
:'grace_rotation_hour' => :'Integer',
|
182
|
+
:'grace_rotation_interval' => :'String',
|
155
183
|
:'json' => :'Boolean',
|
156
184
|
:'key' => :'String',
|
157
185
|
:'max_versions' => :'String',
|
158
186
|
:'name' => :'String',
|
159
187
|
:'password_length' => :'String',
|
188
|
+
:'resource_group_name' => :'String',
|
189
|
+
:'resource_name' => :'String',
|
160
190
|
:'rotate_after_disconnect' => :'String',
|
161
191
|
:'rotation_event_in' => :'Array<String>',
|
162
192
|
:'rotation_hour' => :'Integer',
|
@@ -228,6 +258,24 @@ module Akeyless
|
|
228
258
|
self.description = attributes[:'description']
|
229
259
|
end
|
230
260
|
|
261
|
+
if attributes.key?(:'explicitly_set_sa')
|
262
|
+
self.explicitly_set_sa = attributes[:'explicitly_set_sa']
|
263
|
+
else
|
264
|
+
self.explicitly_set_sa = 'false'
|
265
|
+
end
|
266
|
+
|
267
|
+
if attributes.key?(:'grace_rotation')
|
268
|
+
self.grace_rotation = attributes[:'grace_rotation']
|
269
|
+
end
|
270
|
+
|
271
|
+
if attributes.key?(:'grace_rotation_hour')
|
272
|
+
self.grace_rotation_hour = attributes[:'grace_rotation_hour']
|
273
|
+
end
|
274
|
+
|
275
|
+
if attributes.key?(:'grace_rotation_interval')
|
276
|
+
self.grace_rotation_interval = attributes[:'grace_rotation_interval']
|
277
|
+
end
|
278
|
+
|
231
279
|
if attributes.key?(:'json')
|
232
280
|
self.json = attributes[:'json']
|
233
281
|
else
|
@@ -252,6 +300,14 @@ module Akeyless
|
|
252
300
|
self.password_length = attributes[:'password_length']
|
253
301
|
end
|
254
302
|
|
303
|
+
if attributes.key?(:'resource_group_name')
|
304
|
+
self.resource_group_name = attributes[:'resource_group_name']
|
305
|
+
end
|
306
|
+
|
307
|
+
if attributes.key?(:'resource_name')
|
308
|
+
self.resource_name = attributes[:'resource_name']
|
309
|
+
end
|
310
|
+
|
255
311
|
if attributes.key?(:'rotate_after_disconnect')
|
256
312
|
self.rotate_after_disconnect = attributes[:'rotate_after_disconnect']
|
257
313
|
else
|
@@ -379,11 +435,17 @@ module Akeyless
|
|
379
435
|
auto_rotate == o.auto_rotate &&
|
380
436
|
delete_protection == o.delete_protection &&
|
381
437
|
description == o.description &&
|
438
|
+
explicitly_set_sa == o.explicitly_set_sa &&
|
439
|
+
grace_rotation == o.grace_rotation &&
|
440
|
+
grace_rotation_hour == o.grace_rotation_hour &&
|
441
|
+
grace_rotation_interval == o.grace_rotation_interval &&
|
382
442
|
json == o.json &&
|
383
443
|
key == o.key &&
|
384
444
|
max_versions == o.max_versions &&
|
385
445
|
name == o.name &&
|
386
446
|
password_length == o.password_length &&
|
447
|
+
resource_group_name == o.resource_group_name &&
|
448
|
+
resource_name == o.resource_name &&
|
387
449
|
rotate_after_disconnect == o.rotate_after_disconnect &&
|
388
450
|
rotation_event_in == o.rotation_event_in &&
|
389
451
|
rotation_hour == o.rotation_hour &&
|
@@ -412,7 +474,7 @@ module Akeyless
|
|
412
474
|
# Calculates hash code according to all attributes.
|
413
475
|
# @return [Integer] Hash code
|
414
476
|
def hash
|
415
|
-
[api_id, api_key, application_id, authentication_credentials, auto_rotate, delete_protection, description, json, key, max_versions, name, password_length, rotate_after_disconnect, rotation_event_in, rotation_hour, rotation_interval, rotator_type, secure_access_disable_concurrent_connections, secure_access_enable, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, storage_account_key_name, tags, target_name, token, uid_token, username].hash
|
477
|
+
[api_id, api_key, application_id, authentication_credentials, auto_rotate, delete_protection, description, explicitly_set_sa, grace_rotation, grace_rotation_hour, grace_rotation_interval, json, key, max_versions, name, password_length, resource_group_name, resource_name, rotate_after_disconnect, rotation_event_in, rotation_hour, rotation_interval, rotator_type, secure_access_disable_concurrent_connections, secure_access_enable, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, storage_account_key_name, tags, target_name, token, uid_token, username].hash
|
416
478
|
end
|
417
479
|
|
418
480
|
# Builds the object from hash
|
@@ -30,6 +30,9 @@ module Akeyless
|
|
30
30
|
# Description of the object
|
31
31
|
attr_accessor :description
|
32
32
|
|
33
|
+
# Enable password policy
|
34
|
+
attr_accessor :enable_password_policy
|
35
|
+
|
33
36
|
# Set output format to JSON
|
34
37
|
attr_accessor :json
|
35
38
|
|
@@ -108,6 +111,18 @@ module Akeyless
|
|
108
111
|
# The universal identity token, Required only for universal_identity authentication
|
109
112
|
attr_accessor :uid_token
|
110
113
|
|
114
|
+
# Password must contain capital letters [true/false]
|
115
|
+
attr_accessor :use_capital_letters
|
116
|
+
|
117
|
+
# Password must contain lower case letters [true/false]
|
118
|
+
attr_accessor :use_lower_letters
|
119
|
+
|
120
|
+
# Password must contain numbers [true/false]
|
121
|
+
attr_accessor :use_numbers
|
122
|
+
|
123
|
+
# Password must contain special characters [true/false]
|
124
|
+
attr_accessor :use_special_characters
|
125
|
+
|
111
126
|
# Attribute mapping from ruby-style variable name to JSON key.
|
112
127
|
def self.attribute_map
|
113
128
|
{
|
@@ -116,6 +131,7 @@ module Akeyless
|
|
116
131
|
:'custom_payload' => :'custom-payload',
|
117
132
|
:'delete_protection' => :'delete_protection',
|
118
133
|
:'description' => :'description',
|
134
|
+
:'enable_password_policy' => :'enable-password-policy',
|
119
135
|
:'json' => :'json',
|
120
136
|
:'key' => :'key',
|
121
137
|
:'max_versions' => :'max-versions',
|
@@ -141,7 +157,11 @@ module Akeyless
|
|
141
157
|
:'target_name' => :'target-name',
|
142
158
|
:'timeout_sec' => :'timeout-sec',
|
143
159
|
:'token' => :'token',
|
144
|
-
:'uid_token' => :'uid-token'
|
160
|
+
:'uid_token' => :'uid-token',
|
161
|
+
:'use_capital_letters' => :'use-capital-letters',
|
162
|
+
:'use_lower_letters' => :'use-lower-letters',
|
163
|
+
:'use_numbers' => :'use-numbers',
|
164
|
+
:'use_special_characters' => :'use-special-characters'
|
145
165
|
}
|
146
166
|
end
|
147
167
|
|
@@ -158,6 +178,7 @@ module Akeyless
|
|
158
178
|
:'custom_payload' => :'String',
|
159
179
|
:'delete_protection' => :'String',
|
160
180
|
:'description' => :'String',
|
181
|
+
:'enable_password_policy' => :'String',
|
161
182
|
:'json' => :'Boolean',
|
162
183
|
:'key' => :'String',
|
163
184
|
:'max_versions' => :'String',
|
@@ -183,7 +204,11 @@ module Akeyless
|
|
183
204
|
:'target_name' => :'String',
|
184
205
|
:'timeout_sec' => :'Integer',
|
185
206
|
:'token' => :'String',
|
186
|
-
:'uid_token' => :'String'
|
207
|
+
:'uid_token' => :'String',
|
208
|
+
:'use_capital_letters' => :'String',
|
209
|
+
:'use_lower_letters' => :'String',
|
210
|
+
:'use_numbers' => :'String',
|
211
|
+
:'use_special_characters' => :'String'
|
187
212
|
}
|
188
213
|
end
|
189
214
|
|
@@ -230,6 +255,10 @@ module Akeyless
|
|
230
255
|
self.description = attributes[:'description']
|
231
256
|
end
|
232
257
|
|
258
|
+
if attributes.key?(:'enable_password_policy')
|
259
|
+
self.enable_password_policy = attributes[:'enable_password_policy']
|
260
|
+
end
|
261
|
+
|
233
262
|
if attributes.key?(:'json')
|
234
263
|
self.json = attributes[:'json']
|
235
264
|
else
|
@@ -357,6 +386,22 @@ module Akeyless
|
|
357
386
|
if attributes.key?(:'uid_token')
|
358
387
|
self.uid_token = attributes[:'uid_token']
|
359
388
|
end
|
389
|
+
|
390
|
+
if attributes.key?(:'use_capital_letters')
|
391
|
+
self.use_capital_letters = attributes[:'use_capital_letters']
|
392
|
+
end
|
393
|
+
|
394
|
+
if attributes.key?(:'use_lower_letters')
|
395
|
+
self.use_lower_letters = attributes[:'use_lower_letters']
|
396
|
+
end
|
397
|
+
|
398
|
+
if attributes.key?(:'use_numbers')
|
399
|
+
self.use_numbers = attributes[:'use_numbers']
|
400
|
+
end
|
401
|
+
|
402
|
+
if attributes.key?(:'use_special_characters')
|
403
|
+
self.use_special_characters = attributes[:'use_special_characters']
|
404
|
+
end
|
360
405
|
end
|
361
406
|
|
362
407
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -394,6 +439,7 @@ module Akeyless
|
|
394
439
|
custom_payload == o.custom_payload &&
|
395
440
|
delete_protection == o.delete_protection &&
|
396
441
|
description == o.description &&
|
442
|
+
enable_password_policy == o.enable_password_policy &&
|
397
443
|
json == o.json &&
|
398
444
|
key == o.key &&
|
399
445
|
max_versions == o.max_versions &&
|
@@ -419,7 +465,11 @@ module Akeyless
|
|
419
465
|
target_name == o.target_name &&
|
420
466
|
timeout_sec == o.timeout_sec &&
|
421
467
|
token == o.token &&
|
422
|
-
uid_token == o.uid_token
|
468
|
+
uid_token == o.uid_token &&
|
469
|
+
use_capital_letters == o.use_capital_letters &&
|
470
|
+
use_lower_letters == o.use_lower_letters &&
|
471
|
+
use_numbers == o.use_numbers &&
|
472
|
+
use_special_characters == o.use_special_characters
|
423
473
|
end
|
424
474
|
|
425
475
|
# @see the `==` method
|
@@ -431,7 +481,7 @@ module Akeyless
|
|
431
481
|
# Calculates hash code according to all attributes.
|
432
482
|
# @return [Integer] Hash code
|
433
483
|
def hash
|
434
|
-
[authentication_credentials, auto_rotate, custom_payload, delete_protection, description, json, key, max_versions, name, password_length, rotate_after_disconnect, rotation_event_in, rotation_hour, rotation_interval, secure_access_allow_external_user, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, secure_access_ssh_user, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, timeout_sec, token, uid_token].hash
|
484
|
+
[authentication_credentials, auto_rotate, custom_payload, delete_protection, description, enable_password_policy, json, key, max_versions, name, password_length, rotate_after_disconnect, rotation_event_in, rotation_hour, rotation_interval, secure_access_allow_external_user, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, secure_access_ssh_user, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, timeout_sec, token, uid_token, use_capital_letters, use_lower_letters, use_numbers, use_special_characters].hash
|
435
485
|
end
|
436
486
|
|
437
487
|
# Builds the object from hash
|
@@ -36,6 +36,15 @@ module Akeyless
|
|
36
36
|
# The key id of the gcp service account to rotate
|
37
37
|
attr_accessor :gcp_service_account_key_id
|
38
38
|
|
39
|
+
# Create a new access key without deleting the old key from AWS/Azure/GCP for backup (relevant only for AWS/Azure/GCP) [true/false]
|
40
|
+
attr_accessor :grace_rotation
|
41
|
+
|
42
|
+
# The Hour of the grace rotation in UTC
|
43
|
+
attr_accessor :grace_rotation_hour
|
44
|
+
|
45
|
+
# The number of days to wait before deleting the old key (must be bigger than rotation-interval)
|
46
|
+
attr_accessor :grace_rotation_interval
|
47
|
+
|
39
48
|
# Set output format to JSON
|
40
49
|
attr_accessor :json
|
41
50
|
|
@@ -85,6 +94,9 @@ module Akeyless
|
|
85
94
|
:'gcp_key' => :'gcp-key',
|
86
95
|
:'gcp_service_account_email' => :'gcp-service-account-email',
|
87
96
|
:'gcp_service_account_key_id' => :'gcp-service-account-key-id',
|
97
|
+
:'grace_rotation' => :'grace-rotation',
|
98
|
+
:'grace_rotation_hour' => :'grace-rotation-hour',
|
99
|
+
:'grace_rotation_interval' => :'grace-rotation-interval',
|
88
100
|
:'json' => :'json',
|
89
101
|
:'key' => :'key',
|
90
102
|
:'max_versions' => :'max-versions',
|
@@ -116,6 +128,9 @@ module Akeyless
|
|
116
128
|
:'gcp_key' => :'String',
|
117
129
|
:'gcp_service_account_email' => :'String',
|
118
130
|
:'gcp_service_account_key_id' => :'String',
|
131
|
+
:'grace_rotation' => :'String',
|
132
|
+
:'grace_rotation_hour' => :'Integer',
|
133
|
+
:'grace_rotation_interval' => :'String',
|
119
134
|
:'json' => :'Boolean',
|
120
135
|
:'key' => :'String',
|
121
136
|
:'max_versions' => :'String',
|
@@ -183,6 +198,18 @@ module Akeyless
|
|
183
198
|
self.gcp_service_account_key_id = attributes[:'gcp_service_account_key_id']
|
184
199
|
end
|
185
200
|
|
201
|
+
if attributes.key?(:'grace_rotation')
|
202
|
+
self.grace_rotation = attributes[:'grace_rotation']
|
203
|
+
end
|
204
|
+
|
205
|
+
if attributes.key?(:'grace_rotation_hour')
|
206
|
+
self.grace_rotation_hour = attributes[:'grace_rotation_hour']
|
207
|
+
end
|
208
|
+
|
209
|
+
if attributes.key?(:'grace_rotation_interval')
|
210
|
+
self.grace_rotation_interval = attributes[:'grace_rotation_interval']
|
211
|
+
end
|
212
|
+
|
186
213
|
if attributes.key?(:'json')
|
187
214
|
self.json = attributes[:'json']
|
188
215
|
else
|
@@ -290,6 +317,9 @@ module Akeyless
|
|
290
317
|
gcp_key == o.gcp_key &&
|
291
318
|
gcp_service_account_email == o.gcp_service_account_email &&
|
292
319
|
gcp_service_account_key_id == o.gcp_service_account_key_id &&
|
320
|
+
grace_rotation == o.grace_rotation &&
|
321
|
+
grace_rotation_hour == o.grace_rotation_hour &&
|
322
|
+
grace_rotation_interval == o.grace_rotation_interval &&
|
293
323
|
json == o.json &&
|
294
324
|
key == o.key &&
|
295
325
|
max_versions == o.max_versions &&
|
@@ -314,7 +344,7 @@ module Akeyless
|
|
314
344
|
# Calculates hash code according to all attributes.
|
315
345
|
# @return [Integer] Hash code
|
316
346
|
def hash
|
317
|
-
[authentication_credentials, auto_rotate, delete_protection, description, gcp_key, gcp_service_account_email, gcp_service_account_key_id, json, key, max_versions, name, password_length, rotation_event_in, rotation_hour, rotation_interval, rotator_type, tags, target_name, token, uid_token].hash
|
347
|
+
[authentication_credentials, auto_rotate, delete_protection, description, gcp_key, gcp_service_account_email, gcp_service_account_key_id, grace_rotation, grace_rotation_hour, grace_rotation_interval, json, key, max_versions, name, password_length, rotation_event_in, rotation_hour, rotation_interval, rotator_type, tags, target_name, token, uid_token].hash
|
318
348
|
end
|
319
349
|
|
320
350
|
# Builds the object from hash
|