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
@@ -31,6 +31,9 @@ module Akeyless
|
|
31
31
|
# Cassandra superuser username
|
32
32
|
attr_accessor :cassandra_username
|
33
33
|
|
34
|
+
# Customize how temporary usernames are generated using go template
|
35
|
+
attr_accessor :custom_username_template
|
36
|
+
|
34
37
|
# Protection from accidental deletion of this object [true/false]
|
35
38
|
attr_accessor :delete_protection
|
36
39
|
|
@@ -78,6 +81,7 @@ module Akeyless
|
|
78
81
|
:'cassandra_password' => :'cassandra-password',
|
79
82
|
:'cassandra_port' => :'cassandra-port',
|
80
83
|
:'cassandra_username' => :'cassandra-username',
|
84
|
+
:'custom_username_template' => :'custom-username-template',
|
81
85
|
:'delete_protection' => :'delete_protection',
|
82
86
|
:'description' => :'description',
|
83
87
|
:'json' => :'json',
|
@@ -107,6 +111,7 @@ module Akeyless
|
|
107
111
|
:'cassandra_password' => :'String',
|
108
112
|
:'cassandra_port' => :'String',
|
109
113
|
:'cassandra_username' => :'String',
|
114
|
+
:'custom_username_template' => :'String',
|
110
115
|
:'delete_protection' => :'String',
|
111
116
|
:'description' => :'String',
|
112
117
|
:'json' => :'Boolean',
|
@@ -166,6 +171,10 @@ module Akeyless
|
|
166
171
|
self.cassandra_username = attributes[:'cassandra_username']
|
167
172
|
end
|
168
173
|
|
174
|
+
if attributes.key?(:'custom_username_template')
|
175
|
+
self.custom_username_template = attributes[:'custom_username_template']
|
176
|
+
end
|
177
|
+
|
169
178
|
if attributes.key?(:'delete_protection')
|
170
179
|
self.delete_protection = attributes[:'delete_protection']
|
171
180
|
end
|
@@ -259,6 +268,7 @@ module Akeyless
|
|
259
268
|
cassandra_password == o.cassandra_password &&
|
260
269
|
cassandra_port == o.cassandra_port &&
|
261
270
|
cassandra_username == o.cassandra_username &&
|
271
|
+
custom_username_template == o.custom_username_template &&
|
262
272
|
delete_protection == o.delete_protection &&
|
263
273
|
description == o.description &&
|
264
274
|
json == o.json &&
|
@@ -283,7 +293,7 @@ module Akeyless
|
|
283
293
|
# Calculates hash code according to all attributes.
|
284
294
|
# @return [Integer] Hash code
|
285
295
|
def hash
|
286
|
-
[cassandra_creation_statements, cassandra_hosts, cassandra_password, cassandra_port, cassandra_username, delete_protection, description, json, name, password_length, producer_encryption_key_name, ssl, ssl_certificate, tags, target_name, token, uid_token, user_ttl].hash
|
296
|
+
[cassandra_creation_statements, cassandra_hosts, cassandra_password, cassandra_port, cassandra_username, custom_username_template, delete_protection, description, json, name, password_length, producer_encryption_key_name, ssl, ssl_certificate, tags, target_name, token, uid_token, user_ttl].hash
|
287
297
|
end
|
288
298
|
|
289
299
|
# Builds the object from hash
|
@@ -28,6 +28,9 @@ module Akeyless
|
|
28
28
|
# Server username
|
29
29
|
attr_accessor :chef_server_username
|
30
30
|
|
31
|
+
# Customize how temporary usernames are generated using go template
|
32
|
+
attr_accessor :custom_username_template
|
33
|
+
|
31
34
|
# Protection from accidental deletion of this object [true/false]
|
32
35
|
attr_accessor :delete_protection
|
33
36
|
|
@@ -71,6 +74,7 @@ module Akeyless
|
|
71
74
|
:'chef_server_key' => :'chef-server-key',
|
72
75
|
:'chef_server_url' => :'chef-server-url',
|
73
76
|
:'chef_server_username' => :'chef-server-username',
|
77
|
+
:'custom_username_template' => :'custom-username-template',
|
74
78
|
:'delete_protection' => :'delete_protection',
|
75
79
|
:'description' => :'description',
|
76
80
|
:'json' => :'json',
|
@@ -98,6 +102,7 @@ module Akeyless
|
|
98
102
|
:'chef_server_key' => :'String',
|
99
103
|
:'chef_server_url' => :'String',
|
100
104
|
:'chef_server_username' => :'String',
|
105
|
+
:'custom_username_template' => :'String',
|
101
106
|
:'delete_protection' => :'String',
|
102
107
|
:'description' => :'String',
|
103
108
|
:'json' => :'Boolean',
|
@@ -150,6 +155,10 @@ module Akeyless
|
|
150
155
|
self.chef_server_username = attributes[:'chef_server_username']
|
151
156
|
end
|
152
157
|
|
158
|
+
if attributes.key?(:'custom_username_template')
|
159
|
+
self.custom_username_template = attributes[:'custom_username_template']
|
160
|
+
end
|
161
|
+
|
153
162
|
if attributes.key?(:'delete_protection')
|
154
163
|
self.delete_protection = attributes[:'delete_protection']
|
155
164
|
end
|
@@ -238,6 +247,7 @@ module Akeyless
|
|
238
247
|
chef_server_key == o.chef_server_key &&
|
239
248
|
chef_server_url == o.chef_server_url &&
|
240
249
|
chef_server_username == o.chef_server_username &&
|
250
|
+
custom_username_template == o.custom_username_template &&
|
241
251
|
delete_protection == o.delete_protection &&
|
242
252
|
description == o.description &&
|
243
253
|
json == o.json &&
|
@@ -261,7 +271,7 @@ module Akeyless
|
|
261
271
|
# Calculates hash code according to all attributes.
|
262
272
|
# @return [Integer] Hash code
|
263
273
|
def hash
|
264
|
-
[chef_orgs, chef_server_key, chef_server_url, chef_server_username, delete_protection, description, json, name, password_length, producer_encryption_key_name, skip_ssl, tags, target_name, token, uid_token, user_ttl].hash
|
274
|
+
[chef_orgs, chef_server_key, chef_server_url, chef_server_username, custom_username_template, delete_protection, description, json, name, password_length, producer_encryption_key_name, skip_ssl, tags, target_name, token, uid_token, user_ttl].hash
|
265
275
|
end
|
266
276
|
|
267
277
|
# Builds the object from hash
|
@@ -16,6 +16,9 @@ require 'time'
|
|
16
16
|
module Akeyless
|
17
17
|
# dynamicSecretCreateGcp is a command that creates a GCP dynamic secret
|
18
18
|
class DynamicSecretCreateGcp
|
19
|
+
# Customize how temporary usernames are generated using go template
|
20
|
+
attr_accessor :custom_username_template
|
21
|
+
|
19
22
|
# Protection from accidental deletion of this object [true/false]
|
20
23
|
attr_accessor :delete_protection
|
21
24
|
|
@@ -69,6 +72,7 @@ module Akeyless
|
|
69
72
|
# Attribute mapping from ruby-style variable name to JSON key.
|
70
73
|
def self.attribute_map
|
71
74
|
{
|
75
|
+
:'custom_username_template' => :'custom-username-template',
|
72
76
|
:'delete_protection' => :'delete_protection',
|
73
77
|
:'description' => :'description',
|
74
78
|
:'gcp_cred_type' => :'gcp-cred-type',
|
@@ -97,6 +101,7 @@ module Akeyless
|
|
97
101
|
# Attribute type mapping.
|
98
102
|
def self.openapi_types
|
99
103
|
{
|
104
|
+
:'custom_username_template' => :'String',
|
100
105
|
:'delete_protection' => :'String',
|
101
106
|
:'description' => :'String',
|
102
107
|
:'gcp_cred_type' => :'String',
|
@@ -138,6 +143,10 @@ module Akeyless
|
|
138
143
|
h[k.to_sym] = v
|
139
144
|
}
|
140
145
|
|
146
|
+
if attributes.key?(:'custom_username_template')
|
147
|
+
self.custom_username_template = attributes[:'custom_username_template']
|
148
|
+
end
|
149
|
+
|
141
150
|
if attributes.key?(:'delete_protection')
|
142
151
|
self.delete_protection = attributes[:'delete_protection']
|
143
152
|
end
|
@@ -247,6 +256,7 @@ module Akeyless
|
|
247
256
|
def ==(o)
|
248
257
|
return true if self.equal?(o)
|
249
258
|
self.class == o.class &&
|
259
|
+
custom_username_template == o.custom_username_template &&
|
250
260
|
delete_protection == o.delete_protection &&
|
251
261
|
description == o.description &&
|
252
262
|
gcp_cred_type == o.gcp_cred_type &&
|
@@ -275,7 +285,7 @@ module Akeyless
|
|
275
285
|
# Calculates hash code according to all attributes.
|
276
286
|
# @return [Integer] Hash code
|
277
287
|
def hash
|
278
|
-
[delete_protection, description, gcp_cred_type, gcp_key, gcp_key_algo, gcp_sa_email, gcp_token_scopes, json, name, producer_encryption_key_name, role_binding, service_account_type, tags, target_name, token, uid_token, user_ttl].hash
|
288
|
+
[custom_username_template, delete_protection, description, gcp_cred_type, gcp_key, gcp_key_algo, gcp_sa_email, gcp_token_scopes, json, name, producer_encryption_key_name, role_binding, service_account_type, tags, target_name, token, uid_token, user_ttl].hash
|
279
289
|
end
|
280
290
|
|
281
291
|
# Builds the object from hash
|
@@ -16,6 +16,9 @@ require 'time'
|
|
16
16
|
module Akeyless
|
17
17
|
# dynamicSecretCreateHanaDb is a command that creates hanadb dynamic secret
|
18
18
|
class DynamicSecretCreateHanaDb
|
19
|
+
# Customize how temporary usernames are generated using go template
|
20
|
+
attr_accessor :custom_username_template
|
21
|
+
|
19
22
|
# Protection from accidental deletion of this object [true/false]
|
20
23
|
attr_accessor :delete_protection
|
21
24
|
|
@@ -61,6 +64,9 @@ module Akeyless
|
|
61
64
|
# Path to the SSH Certificate Issuer for your Akeyless Secure Access
|
62
65
|
attr_accessor :secure_access_certificate_issuer
|
63
66
|
|
67
|
+
# The DB name (relevant only for DB Dynamic-Secret)
|
68
|
+
attr_accessor :secure_access_db_name
|
69
|
+
|
64
70
|
# The DB schema
|
65
71
|
attr_accessor :secure_access_db_schema
|
66
72
|
|
@@ -91,6 +97,7 @@ module Akeyless
|
|
91
97
|
# Attribute mapping from ruby-style variable name to JSON key.
|
92
98
|
def self.attribute_map
|
93
99
|
{
|
100
|
+
:'custom_username_template' => :'custom-username-template',
|
94
101
|
:'delete_protection' => :'delete_protection',
|
95
102
|
:'description' => :'description',
|
96
103
|
:'hana_dbname' => :'hana-dbname',
|
@@ -106,6 +113,7 @@ module Akeyless
|
|
106
113
|
:'producer_encryption_key_name' => :'producer-encryption-key-name',
|
107
114
|
:'secure_access_bastion_issuer' => :'secure-access-bastion-issuer',
|
108
115
|
:'secure_access_certificate_issuer' => :'secure-access-certificate-issuer',
|
116
|
+
:'secure_access_db_name' => :'secure-access-db-name',
|
109
117
|
:'secure_access_db_schema' => :'secure-access-db-schema',
|
110
118
|
:'secure_access_enable' => :'secure-access-enable',
|
111
119
|
:'secure_access_host' => :'secure-access-host',
|
@@ -126,6 +134,7 @@ module Akeyless
|
|
126
134
|
# Attribute type mapping.
|
127
135
|
def self.openapi_types
|
128
136
|
{
|
137
|
+
:'custom_username_template' => :'String',
|
129
138
|
:'delete_protection' => :'String',
|
130
139
|
:'description' => :'String',
|
131
140
|
:'hana_dbname' => :'String',
|
@@ -141,6 +150,7 @@ module Akeyless
|
|
141
150
|
:'producer_encryption_key_name' => :'String',
|
142
151
|
:'secure_access_bastion_issuer' => :'String',
|
143
152
|
:'secure_access_certificate_issuer' => :'String',
|
153
|
+
:'secure_access_db_name' => :'String',
|
144
154
|
:'secure_access_db_schema' => :'String',
|
145
155
|
:'secure_access_enable' => :'String',
|
146
156
|
:'secure_access_host' => :'Array<String>',
|
@@ -174,6 +184,10 @@ module Akeyless
|
|
174
184
|
h[k.to_sym] = v
|
175
185
|
}
|
176
186
|
|
187
|
+
if attributes.key?(:'custom_username_template')
|
188
|
+
self.custom_username_template = attributes[:'custom_username_template']
|
189
|
+
end
|
190
|
+
|
177
191
|
if attributes.key?(:'delete_protection')
|
178
192
|
self.delete_protection = attributes[:'delete_protection']
|
179
193
|
end
|
@@ -242,6 +256,10 @@ module Akeyless
|
|
242
256
|
self.secure_access_certificate_issuer = attributes[:'secure_access_certificate_issuer']
|
243
257
|
end
|
244
258
|
|
259
|
+
if attributes.key?(:'secure_access_db_name')
|
260
|
+
self.secure_access_db_name = attributes[:'secure_access_db_name']
|
261
|
+
end
|
262
|
+
|
245
263
|
if attributes.key?(:'secure_access_db_schema')
|
246
264
|
self.secure_access_db_schema = attributes[:'secure_access_db_schema']
|
247
265
|
end
|
@@ -312,6 +330,7 @@ module Akeyless
|
|
312
330
|
def ==(o)
|
313
331
|
return true if self.equal?(o)
|
314
332
|
self.class == o.class &&
|
333
|
+
custom_username_template == o.custom_username_template &&
|
315
334
|
delete_protection == o.delete_protection &&
|
316
335
|
description == o.description &&
|
317
336
|
hana_dbname == o.hana_dbname &&
|
@@ -327,6 +346,7 @@ module Akeyless
|
|
327
346
|
producer_encryption_key_name == o.producer_encryption_key_name &&
|
328
347
|
secure_access_bastion_issuer == o.secure_access_bastion_issuer &&
|
329
348
|
secure_access_certificate_issuer == o.secure_access_certificate_issuer &&
|
349
|
+
secure_access_db_name == o.secure_access_db_name &&
|
330
350
|
secure_access_db_schema == o.secure_access_db_schema &&
|
331
351
|
secure_access_enable == o.secure_access_enable &&
|
332
352
|
secure_access_host == o.secure_access_host &&
|
@@ -347,7 +367,7 @@ module Akeyless
|
|
347
367
|
# Calculates hash code according to all attributes.
|
348
368
|
# @return [Integer] Hash code
|
349
369
|
def hash
|
350
|
-
[delete_protection, description, hana_dbname, hanadb_create_statements, hanadb_host, hanadb_password, hanadb_port, hanadb_revocation_statements, hanadb_username, json, name, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
|
370
|
+
[custom_username_template, delete_protection, description, hana_dbname, hanadb_create_statements, hanadb_host, hanadb_password, hanadb_port, hanadb_revocation_statements, hanadb_username, json, name, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_name, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
|
351
371
|
end
|
352
372
|
|
353
373
|
# Builds the object from hash
|
@@ -16,6 +16,9 @@ require 'time'
|
|
16
16
|
module Akeyless
|
17
17
|
# dynamicSecretCreateK8s is a command that creates k8s dynamic secret
|
18
18
|
class DynamicSecretCreateK8s
|
19
|
+
# Customize how temporary usernames are generated using go template
|
20
|
+
attr_accessor :custom_username_template
|
21
|
+
|
19
22
|
# Protection from accidental deletion of this object [true/false]
|
20
23
|
attr_accessor :delete_protection
|
21
24
|
|
@@ -115,6 +118,7 @@ module Akeyless
|
|
115
118
|
# Attribute mapping from ruby-style variable name to JSON key.
|
116
119
|
def self.attribute_map
|
117
120
|
{
|
121
|
+
:'custom_username_template' => :'custom-username-template',
|
118
122
|
:'delete_protection' => :'delete_protection',
|
119
123
|
:'description' => :'description',
|
120
124
|
:'json' => :'json',
|
@@ -158,6 +162,7 @@ module Akeyless
|
|
158
162
|
# Attribute type mapping.
|
159
163
|
def self.openapi_types
|
160
164
|
{
|
165
|
+
:'custom_username_template' => :'String',
|
161
166
|
:'delete_protection' => :'String',
|
162
167
|
:'description' => :'String',
|
163
168
|
:'json' => :'Boolean',
|
@@ -214,6 +219,10 @@ module Akeyless
|
|
214
219
|
h[k.to_sym] = v
|
215
220
|
}
|
216
221
|
|
222
|
+
if attributes.key?(:'custom_username_template')
|
223
|
+
self.custom_username_template = attributes[:'custom_username_template']
|
224
|
+
end
|
225
|
+
|
217
226
|
if attributes.key?(:'delete_protection')
|
218
227
|
self.delete_protection = attributes[:'delete_protection']
|
219
228
|
end
|
@@ -382,6 +391,7 @@ module Akeyless
|
|
382
391
|
def ==(o)
|
383
392
|
return true if self.equal?(o)
|
384
393
|
self.class == o.class &&
|
394
|
+
custom_username_template == o.custom_username_template &&
|
385
395
|
delete_protection == o.delete_protection &&
|
386
396
|
description == o.description &&
|
387
397
|
json == o.json &&
|
@@ -425,7 +435,7 @@ module Akeyless
|
|
425
435
|
# Calculates hash code according to all attributes.
|
426
436
|
# @return [Integer] Hash code
|
427
437
|
def hash
|
428
|
-
[delete_protection, description, json, k8s_allowed_namespaces, k8s_cluster_ca_cert, k8s_cluster_endpoint, k8s_cluster_name, k8s_cluster_token, k8s_namespace, k8s_predefined_role_name, k8s_predefined_role_type, k8s_rolebinding_yaml_def, k8s_service_account, k8s_service_account_type, name, producer_encryption_key_name, secure_access_allow_port_forwading, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_cluster_endpoint, secure_access_dashboard_url, secure_access_delay, secure_access_enable, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, token, uid_token, use_gw_service_account, user_ttl].hash
|
438
|
+
[custom_username_template, delete_protection, description, json, k8s_allowed_namespaces, k8s_cluster_ca_cert, k8s_cluster_endpoint, k8s_cluster_name, k8s_cluster_token, k8s_namespace, k8s_predefined_role_name, k8s_predefined_role_type, k8s_rolebinding_yaml_def, k8s_service_account, k8s_service_account_type, name, producer_encryption_key_name, secure_access_allow_port_forwading, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_cluster_endpoint, secure_access_dashboard_url, secure_access_delay, secure_access_enable, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, token, uid_token, use_gw_service_account, user_ttl].hash
|
429
439
|
end
|
430
440
|
|
431
441
|
# Builds the object from hash
|
@@ -24,6 +24,9 @@ module Akeyless
|
|
24
24
|
# Bind DN Password
|
25
25
|
attr_accessor :bind_dn_password
|
26
26
|
|
27
|
+
# Customize how temporary usernames are generated using go template
|
28
|
+
attr_accessor :custom_username_template
|
29
|
+
|
27
30
|
# Protection from accidental deletion of this object [true/false]
|
28
31
|
attr_accessor :delete_protection
|
29
32
|
|
@@ -114,6 +117,7 @@ module Akeyless
|
|
114
117
|
:'provider_type' => :'ProviderType',
|
115
118
|
:'bind_dn' => :'bind-dn',
|
116
119
|
:'bind_dn_password' => :'bind-dn-password',
|
120
|
+
:'custom_username_template' => :'custom-username-template',
|
117
121
|
:'delete_protection' => :'delete_protection',
|
118
122
|
:'description' => :'description',
|
119
123
|
:'external_username' => :'external-username',
|
@@ -156,6 +160,7 @@ module Akeyless
|
|
156
160
|
:'provider_type' => :'String',
|
157
161
|
:'bind_dn' => :'String',
|
158
162
|
:'bind_dn_password' => :'String',
|
163
|
+
:'custom_username_template' => :'String',
|
159
164
|
:'delete_protection' => :'String',
|
160
165
|
:'description' => :'String',
|
161
166
|
:'external_username' => :'String',
|
@@ -220,6 +225,10 @@ module Akeyless
|
|
220
225
|
self.bind_dn_password = attributes[:'bind_dn_password']
|
221
226
|
end
|
222
227
|
|
228
|
+
if attributes.key?(:'custom_username_template')
|
229
|
+
self.custom_username_template = attributes[:'custom_username_template']
|
230
|
+
end
|
231
|
+
|
223
232
|
if attributes.key?(:'delete_protection')
|
224
233
|
self.delete_protection = attributes[:'delete_protection']
|
225
234
|
end
|
@@ -377,6 +386,7 @@ module Akeyless
|
|
377
386
|
provider_type == o.provider_type &&
|
378
387
|
bind_dn == o.bind_dn &&
|
379
388
|
bind_dn_password == o.bind_dn_password &&
|
389
|
+
custom_username_template == o.custom_username_template &&
|
380
390
|
delete_protection == o.delete_protection &&
|
381
391
|
description == o.description &&
|
382
392
|
external_username == o.external_username &&
|
@@ -416,7 +426,7 @@ module Akeyless
|
|
416
426
|
# Calculates hash code according to all attributes.
|
417
427
|
# @return [Integer] Hash code
|
418
428
|
def hash
|
419
|
-
[provider_type, bind_dn, bind_dn_password, delete_protection, description, external_username, fixed_user_claim_keyname, group_dn, host_provider, json, ldap_ca_cert, ldap_url, name, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_delay, secure_access_enable, secure_access_host, secure_access_rd_gateway_server, secure_access_rdp_domain, tags, target, target_name, token, token_expiration, uid_token, user_attribute, user_dn, user_ttl].hash
|
429
|
+
[provider_type, bind_dn, bind_dn_password, custom_username_template, delete_protection, description, external_username, fixed_user_claim_keyname, group_dn, host_provider, json, ldap_ca_cert, ldap_url, name, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_delay, secure_access_enable, secure_access_host, secure_access_rd_gateway_server, secure_access_rdp_domain, tags, target, target_name, token, token_expiration, uid_token, user_attribute, user_dn, user_ttl].hash
|
420
430
|
end
|
421
431
|
|
422
432
|
# Builds the object from hash
|
@@ -16,6 +16,9 @@ require 'time'
|
|
16
16
|
module Akeyless
|
17
17
|
# dynamicSecretCreateMongoDb is a command that creates either mongodb dynamic secret or mongodb atlas dynamic secret
|
18
18
|
class DynamicSecretCreateMongoDb
|
19
|
+
# Customize how temporary usernames are generated using go template
|
20
|
+
attr_accessor :custom_username_template
|
21
|
+
|
19
22
|
# Protection from accidental deletion of this object [true/false]
|
20
23
|
attr_accessor :delete_protection
|
21
24
|
|
@@ -76,6 +79,9 @@ module Akeyless
|
|
76
79
|
# Path to the SSH Certificate Issuer for your Akeyless Secure Access
|
77
80
|
attr_accessor :secure_access_certificate_issuer
|
78
81
|
|
82
|
+
# The DB name (relevant only for DB Dynamic-Secret)
|
83
|
+
attr_accessor :secure_access_db_name
|
84
|
+
|
79
85
|
# The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
|
80
86
|
attr_accessor :secure_access_delay
|
81
87
|
|
@@ -106,6 +112,7 @@ module Akeyless
|
|
106
112
|
# Attribute mapping from ruby-style variable name to JSON key.
|
107
113
|
def self.attribute_map
|
108
114
|
{
|
115
|
+
:'custom_username_template' => :'custom-username-template',
|
109
116
|
:'delete_protection' => :'delete_protection',
|
110
117
|
:'description' => :'description',
|
111
118
|
:'json' => :'json',
|
@@ -126,6 +133,7 @@ module Akeyless
|
|
126
133
|
:'producer_encryption_key_name' => :'producer-encryption-key-name',
|
127
134
|
:'secure_access_bastion_issuer' => :'secure-access-bastion-issuer',
|
128
135
|
:'secure_access_certificate_issuer' => :'secure-access-certificate-issuer',
|
136
|
+
:'secure_access_db_name' => :'secure-access-db-name',
|
129
137
|
:'secure_access_delay' => :'secure-access-delay',
|
130
138
|
:'secure_access_enable' => :'secure-access-enable',
|
131
139
|
:'secure_access_host' => :'secure-access-host',
|
@@ -146,6 +154,7 @@ module Akeyless
|
|
146
154
|
# Attribute type mapping.
|
147
155
|
def self.openapi_types
|
148
156
|
{
|
157
|
+
:'custom_username_template' => :'String',
|
149
158
|
:'delete_protection' => :'String',
|
150
159
|
:'description' => :'String',
|
151
160
|
:'json' => :'Boolean',
|
@@ -166,6 +175,7 @@ module Akeyless
|
|
166
175
|
:'producer_encryption_key_name' => :'String',
|
167
176
|
:'secure_access_bastion_issuer' => :'String',
|
168
177
|
:'secure_access_certificate_issuer' => :'String',
|
178
|
+
:'secure_access_db_name' => :'String',
|
169
179
|
:'secure_access_delay' => :'Integer',
|
170
180
|
:'secure_access_enable' => :'String',
|
171
181
|
:'secure_access_host' => :'Array<String>',
|
@@ -199,6 +209,10 @@ module Akeyless
|
|
199
209
|
h[k.to_sym] = v
|
200
210
|
}
|
201
211
|
|
212
|
+
if attributes.key?(:'custom_username_template')
|
213
|
+
self.custom_username_template = attributes[:'custom_username_template']
|
214
|
+
end
|
215
|
+
|
202
216
|
if attributes.key?(:'delete_protection')
|
203
217
|
self.delete_protection = attributes[:'delete_protection']
|
204
218
|
end
|
@@ -285,6 +299,10 @@ module Akeyless
|
|
285
299
|
self.secure_access_certificate_issuer = attributes[:'secure_access_certificate_issuer']
|
286
300
|
end
|
287
301
|
|
302
|
+
if attributes.key?(:'secure_access_db_name')
|
303
|
+
self.secure_access_db_name = attributes[:'secure_access_db_name']
|
304
|
+
end
|
305
|
+
|
288
306
|
if attributes.key?(:'secure_access_delay')
|
289
307
|
self.secure_access_delay = attributes[:'secure_access_delay']
|
290
308
|
end
|
@@ -355,6 +373,7 @@ module Akeyless
|
|
355
373
|
def ==(o)
|
356
374
|
return true if self.equal?(o)
|
357
375
|
self.class == o.class &&
|
376
|
+
custom_username_template == o.custom_username_template &&
|
358
377
|
delete_protection == o.delete_protection &&
|
359
378
|
description == o.description &&
|
360
379
|
json == o.json &&
|
@@ -375,6 +394,7 @@ module Akeyless
|
|
375
394
|
producer_encryption_key_name == o.producer_encryption_key_name &&
|
376
395
|
secure_access_bastion_issuer == o.secure_access_bastion_issuer &&
|
377
396
|
secure_access_certificate_issuer == o.secure_access_certificate_issuer &&
|
397
|
+
secure_access_db_name == o.secure_access_db_name &&
|
378
398
|
secure_access_delay == o.secure_access_delay &&
|
379
399
|
secure_access_enable == o.secure_access_enable &&
|
380
400
|
secure_access_host == o.secure_access_host &&
|
@@ -395,7 +415,7 @@ module Akeyless
|
|
395
415
|
# Calculates hash code according to all attributes.
|
396
416
|
# @return [Integer] Hash code
|
397
417
|
def hash
|
398
|
-
[delete_protection, description, json, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_custom_data, mongodb_default_auth_db, mongodb_host_port, mongodb_name, mongodb_password, mongodb_roles, mongodb_server_uri, mongodb_uri_options, mongodb_username, name, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_delay, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
|
418
|
+
[custom_username_template, delete_protection, description, json, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_custom_data, mongodb_default_auth_db, mongodb_host_port, mongodb_name, mongodb_password, mongodb_roles, mongodb_server_uri, mongodb_uri_options, mongodb_username, name, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_name, secure_access_delay, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
|
399
419
|
end
|
400
420
|
|
401
421
|
# Builds the object from hash
|
@@ -16,6 +16,9 @@ require 'time'
|
|
16
16
|
module Akeyless
|
17
17
|
# dynamicSecretCreateMsSql is a command that creates mssql dynamic secret
|
18
18
|
class DynamicSecretCreateMsSql
|
19
|
+
# Customize how temporary usernames are generated using go template
|
20
|
+
attr_accessor :custom_username_template
|
21
|
+
|
19
22
|
# Protection from accidental deletion of this object [true/false]
|
20
23
|
attr_accessor :delete_protection
|
21
24
|
|
@@ -61,6 +64,9 @@ module Akeyless
|
|
61
64
|
# Path to the SSH Certificate Issuer for your Akeyless Secure Access
|
62
65
|
attr_accessor :secure_access_certificate_issuer
|
63
66
|
|
67
|
+
# The DB name (relevant only for DB Dynamic-Secret)
|
68
|
+
attr_accessor :secure_access_db_name
|
69
|
+
|
64
70
|
# The DB schema
|
65
71
|
attr_accessor :secure_access_db_schema
|
66
72
|
|
@@ -94,6 +100,7 @@ module Akeyless
|
|
94
100
|
# Attribute mapping from ruby-style variable name to JSON key.
|
95
101
|
def self.attribute_map
|
96
102
|
{
|
103
|
+
:'custom_username_template' => :'custom-username-template',
|
97
104
|
:'delete_protection' => :'delete_protection',
|
98
105
|
:'description' => :'description',
|
99
106
|
:'json' => :'json',
|
@@ -109,6 +116,7 @@ module Akeyless
|
|
109
116
|
:'producer_encryption_key_name' => :'producer-encryption-key-name',
|
110
117
|
:'secure_access_bastion_issuer' => :'secure-access-bastion-issuer',
|
111
118
|
:'secure_access_certificate_issuer' => :'secure-access-certificate-issuer',
|
119
|
+
:'secure_access_db_name' => :'secure-access-db-name',
|
112
120
|
:'secure_access_db_schema' => :'secure-access-db-schema',
|
113
121
|
:'secure_access_delay' => :'secure-access-delay',
|
114
122
|
:'secure_access_enable' => :'secure-access-enable',
|
@@ -130,6 +138,7 @@ module Akeyless
|
|
130
138
|
# Attribute type mapping.
|
131
139
|
def self.openapi_types
|
132
140
|
{
|
141
|
+
:'custom_username_template' => :'String',
|
133
142
|
:'delete_protection' => :'String',
|
134
143
|
:'description' => :'String',
|
135
144
|
:'json' => :'Boolean',
|
@@ -145,6 +154,7 @@ module Akeyless
|
|
145
154
|
:'producer_encryption_key_name' => :'String',
|
146
155
|
:'secure_access_bastion_issuer' => :'String',
|
147
156
|
:'secure_access_certificate_issuer' => :'String',
|
157
|
+
:'secure_access_db_name' => :'String',
|
148
158
|
:'secure_access_db_schema' => :'String',
|
149
159
|
:'secure_access_delay' => :'Integer',
|
150
160
|
:'secure_access_enable' => :'String',
|
@@ -179,6 +189,10 @@ module Akeyless
|
|
179
189
|
h[k.to_sym] = v
|
180
190
|
}
|
181
191
|
|
192
|
+
if attributes.key?(:'custom_username_template')
|
193
|
+
self.custom_username_template = attributes[:'custom_username_template']
|
194
|
+
end
|
195
|
+
|
182
196
|
if attributes.key?(:'delete_protection')
|
183
197
|
self.delete_protection = attributes[:'delete_protection']
|
184
198
|
end
|
@@ -247,6 +261,10 @@ module Akeyless
|
|
247
261
|
self.secure_access_certificate_issuer = attributes[:'secure_access_certificate_issuer']
|
248
262
|
end
|
249
263
|
|
264
|
+
if attributes.key?(:'secure_access_db_name')
|
265
|
+
self.secure_access_db_name = attributes[:'secure_access_db_name']
|
266
|
+
end
|
267
|
+
|
250
268
|
if attributes.key?(:'secure_access_db_schema')
|
251
269
|
self.secure_access_db_schema = attributes[:'secure_access_db_schema']
|
252
270
|
end
|
@@ -321,6 +339,7 @@ module Akeyless
|
|
321
339
|
def ==(o)
|
322
340
|
return true if self.equal?(o)
|
323
341
|
self.class == o.class &&
|
342
|
+
custom_username_template == o.custom_username_template &&
|
324
343
|
delete_protection == o.delete_protection &&
|
325
344
|
description == o.description &&
|
326
345
|
json == o.json &&
|
@@ -336,6 +355,7 @@ module Akeyless
|
|
336
355
|
producer_encryption_key_name == o.producer_encryption_key_name &&
|
337
356
|
secure_access_bastion_issuer == o.secure_access_bastion_issuer &&
|
338
357
|
secure_access_certificate_issuer == o.secure_access_certificate_issuer &&
|
358
|
+
secure_access_db_name == o.secure_access_db_name &&
|
339
359
|
secure_access_db_schema == o.secure_access_db_schema &&
|
340
360
|
secure_access_delay == o.secure_access_delay &&
|
341
361
|
secure_access_enable == o.secure_access_enable &&
|
@@ -357,7 +377,7 @@ module Akeyless
|
|
357
377
|
# Calculates hash code according to all attributes.
|
358
378
|
# @return [Integer] Hash code
|
359
379
|
def hash
|
360
|
-
[delete_protection, description, json, mssql_create_statements, mssql_dbname, mssql_host, mssql_password, mssql_port, mssql_revocation_statements, mssql_username, name, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_schema, secure_access_delay, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
|
380
|
+
[custom_username_template, delete_protection, description, json, mssql_create_statements, mssql_dbname, mssql_host, mssql_password, mssql_port, mssql_revocation_statements, mssql_username, name, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_name, secure_access_db_schema, secure_access_delay, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
|
361
381
|
end
|
362
382
|
|
363
383
|
# Builds the object from hash
|
@@ -16,6 +16,9 @@ require 'time'
|
|
16
16
|
module Akeyless
|
17
17
|
# dynamicSecretCreateMySql is a command that creates mysql dynamic secret
|
18
18
|
class DynamicSecretCreateMySql
|
19
|
+
# Customize how temporary usernames are generated using go template
|
20
|
+
attr_accessor :custom_username_template
|
21
|
+
|
19
22
|
# (Optional) DB server certificates
|
20
23
|
attr_accessor :db_server_certificates
|
21
24
|
|
@@ -67,6 +70,9 @@ module Akeyless
|
|
67
70
|
# Path to the SSH Certificate Issuer for your Akeyless Secure Access
|
68
71
|
attr_accessor :secure_access_certificate_issuer
|
69
72
|
|
73
|
+
# The DB name (relevant only for DB Dynamic-Secret)
|
74
|
+
attr_accessor :secure_access_db_name
|
75
|
+
|
70
76
|
# The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
|
71
77
|
attr_accessor :secure_access_delay
|
72
78
|
|
@@ -103,6 +109,7 @@ module Akeyless
|
|
103
109
|
# Attribute mapping from ruby-style variable name to JSON key.
|
104
110
|
def self.attribute_map
|
105
111
|
{
|
112
|
+
:'custom_username_template' => :'custom-username-template',
|
106
113
|
:'db_server_certificates' => :'db-server-certificates',
|
107
114
|
:'db_server_name' => :'db-server-name',
|
108
115
|
:'delete_protection' => :'delete_protection',
|
@@ -120,6 +127,7 @@ module Akeyless
|
|
120
127
|
:'producer_encryption_key_name' => :'producer-encryption-key-name',
|
121
128
|
:'secure_access_bastion_issuer' => :'secure-access-bastion-issuer',
|
122
129
|
:'secure_access_certificate_issuer' => :'secure-access-certificate-issuer',
|
130
|
+
:'secure_access_db_name' => :'secure-access-db-name',
|
123
131
|
:'secure_access_delay' => :'secure-access-delay',
|
124
132
|
:'secure_access_enable' => :'secure-access-enable',
|
125
133
|
:'secure_access_host' => :'secure-access-host',
|
@@ -142,6 +150,7 @@ module Akeyless
|
|
142
150
|
# Attribute type mapping.
|
143
151
|
def self.openapi_types
|
144
152
|
{
|
153
|
+
:'custom_username_template' => :'String',
|
145
154
|
:'db_server_certificates' => :'String',
|
146
155
|
:'db_server_name' => :'String',
|
147
156
|
:'delete_protection' => :'String',
|
@@ -159,6 +168,7 @@ module Akeyless
|
|
159
168
|
:'producer_encryption_key_name' => :'String',
|
160
169
|
:'secure_access_bastion_issuer' => :'String',
|
161
170
|
:'secure_access_certificate_issuer' => :'String',
|
171
|
+
:'secure_access_db_name' => :'String',
|
162
172
|
:'secure_access_delay' => :'Integer',
|
163
173
|
:'secure_access_enable' => :'String',
|
164
174
|
:'secure_access_host' => :'Array<String>',
|
@@ -194,6 +204,10 @@ module Akeyless
|
|
194
204
|
h[k.to_sym] = v
|
195
205
|
}
|
196
206
|
|
207
|
+
if attributes.key?(:'custom_username_template')
|
208
|
+
self.custom_username_template = attributes[:'custom_username_template']
|
209
|
+
end
|
210
|
+
|
197
211
|
if attributes.key?(:'db_server_certificates')
|
198
212
|
self.db_server_certificates = attributes[:'db_server_certificates']
|
199
213
|
end
|
@@ -270,6 +284,10 @@ module Akeyless
|
|
270
284
|
self.secure_access_certificate_issuer = attributes[:'secure_access_certificate_issuer']
|
271
285
|
end
|
272
286
|
|
287
|
+
if attributes.key?(:'secure_access_db_name')
|
288
|
+
self.secure_access_db_name = attributes[:'secure_access_db_name']
|
289
|
+
end
|
290
|
+
|
273
291
|
if attributes.key?(:'secure_access_delay')
|
274
292
|
self.secure_access_delay = attributes[:'secure_access_delay']
|
275
293
|
end
|
@@ -350,6 +368,7 @@ module Akeyless
|
|
350
368
|
def ==(o)
|
351
369
|
return true if self.equal?(o)
|
352
370
|
self.class == o.class &&
|
371
|
+
custom_username_template == o.custom_username_template &&
|
353
372
|
db_server_certificates == o.db_server_certificates &&
|
354
373
|
db_server_name == o.db_server_name &&
|
355
374
|
delete_protection == o.delete_protection &&
|
@@ -367,6 +386,7 @@ module Akeyless
|
|
367
386
|
producer_encryption_key_name == o.producer_encryption_key_name &&
|
368
387
|
secure_access_bastion_issuer == o.secure_access_bastion_issuer &&
|
369
388
|
secure_access_certificate_issuer == o.secure_access_certificate_issuer &&
|
389
|
+
secure_access_db_name == o.secure_access_db_name &&
|
370
390
|
secure_access_delay == o.secure_access_delay &&
|
371
391
|
secure_access_enable == o.secure_access_enable &&
|
372
392
|
secure_access_host == o.secure_access_host &&
|
@@ -389,7 +409,7 @@ module Akeyless
|
|
389
409
|
# Calculates hash code according to all attributes.
|
390
410
|
# @return [Integer] Hash code
|
391
411
|
def hash
|
392
|
-
[db_server_certificates, db_server_name, delete_protection, description, json, mysql_dbname, mysql_host, mysql_password, mysql_port, mysql_revocation_statements, mysql_screation_statements, mysql_username, name, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_delay, secure_access_enable, secure_access_host, secure_access_web, ssl, ssl_certificate, tags, target_name, token, uid_token, user_ttl].hash
|
412
|
+
[custom_username_template, db_server_certificates, db_server_name, delete_protection, description, json, mysql_dbname, mysql_host, mysql_password, mysql_port, mysql_revocation_statements, mysql_screation_statements, mysql_username, name, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_name, secure_access_delay, secure_access_enable, secure_access_host, secure_access_web, ssl, ssl_certificate, tags, target_name, token, uid_token, user_ttl].hash
|
393
413
|
end
|
394
414
|
|
395
415
|
# Builds the object from hash
|