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
|
|
@@ -75,6 +78,7 @@ module Akeyless
|
|
75
78
|
:'cassandra_password' => :'cassandra-password',
|
76
79
|
:'cassandra_port' => :'cassandra-port',
|
77
80
|
:'cassandra_username' => :'cassandra-username',
|
81
|
+
:'custom_username_template' => :'custom-username-template',
|
78
82
|
:'delete_protection' => :'delete_protection',
|
79
83
|
:'json' => :'json',
|
80
84
|
:'name' => :'name',
|
@@ -103,6 +107,7 @@ module Akeyless
|
|
103
107
|
:'cassandra_password' => :'String',
|
104
108
|
:'cassandra_port' => :'String',
|
105
109
|
:'cassandra_username' => :'String',
|
110
|
+
:'custom_username_template' => :'String',
|
106
111
|
:'delete_protection' => :'String',
|
107
112
|
:'json' => :'Boolean',
|
108
113
|
:'name' => :'String',
|
@@ -161,6 +166,10 @@ module Akeyless
|
|
161
166
|
self.cassandra_username = attributes[:'cassandra_username']
|
162
167
|
end
|
163
168
|
|
169
|
+
if attributes.key?(:'custom_username_template')
|
170
|
+
self.custom_username_template = attributes[:'custom_username_template']
|
171
|
+
end
|
172
|
+
|
164
173
|
if attributes.key?(:'delete_protection')
|
165
174
|
self.delete_protection = attributes[:'delete_protection']
|
166
175
|
end
|
@@ -250,6 +259,7 @@ module Akeyless
|
|
250
259
|
cassandra_password == o.cassandra_password &&
|
251
260
|
cassandra_port == o.cassandra_port &&
|
252
261
|
cassandra_username == o.cassandra_username &&
|
262
|
+
custom_username_template == o.custom_username_template &&
|
253
263
|
delete_protection == o.delete_protection &&
|
254
264
|
json == o.json &&
|
255
265
|
name == o.name &&
|
@@ -273,7 +283,7 @@ module Akeyless
|
|
273
283
|
# Calculates hash code according to all attributes.
|
274
284
|
# @return [Integer] Hash code
|
275
285
|
def hash
|
276
|
-
[cassandra_creation_statements, cassandra_hosts, cassandra_password, cassandra_port, cassandra_username, delete_protection, json, name, password_length, producer_encryption_key_name, ssl, ssl_certificate, tags, target_name, token, uid_token, user_ttl].hash
|
286
|
+
[cassandra_creation_statements, cassandra_hosts, cassandra_password, cassandra_port, cassandra_username, custom_username_template, delete_protection, json, name, password_length, producer_encryption_key_name, ssl, ssl_certificate, tags, target_name, token, uid_token, user_ttl].hash
|
277
287
|
end
|
278
288
|
|
279
289
|
# 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
|
|
@@ -68,6 +71,7 @@ module Akeyless
|
|
68
71
|
:'chef_server_key' => :'chef-server-key',
|
69
72
|
:'chef_server_url' => :'chef-server-url',
|
70
73
|
:'chef_server_username' => :'chef-server-username',
|
74
|
+
:'custom_username_template' => :'custom-username-template',
|
71
75
|
:'delete_protection' => :'delete_protection',
|
72
76
|
:'json' => :'json',
|
73
77
|
:'name' => :'name',
|
@@ -94,6 +98,7 @@ module Akeyless
|
|
94
98
|
:'chef_server_key' => :'String',
|
95
99
|
:'chef_server_url' => :'String',
|
96
100
|
:'chef_server_username' => :'String',
|
101
|
+
:'custom_username_template' => :'String',
|
97
102
|
:'delete_protection' => :'String',
|
98
103
|
:'json' => :'Boolean',
|
99
104
|
:'name' => :'String',
|
@@ -145,6 +150,10 @@ module Akeyless
|
|
145
150
|
self.chef_server_username = attributes[:'chef_server_username']
|
146
151
|
end
|
147
152
|
|
153
|
+
if attributes.key?(:'custom_username_template')
|
154
|
+
self.custom_username_template = attributes[:'custom_username_template']
|
155
|
+
end
|
156
|
+
|
148
157
|
if attributes.key?(:'delete_protection')
|
149
158
|
self.delete_protection = attributes[:'delete_protection']
|
150
159
|
end
|
@@ -229,6 +238,7 @@ module Akeyless
|
|
229
238
|
chef_server_key == o.chef_server_key &&
|
230
239
|
chef_server_url == o.chef_server_url &&
|
231
240
|
chef_server_username == o.chef_server_username &&
|
241
|
+
custom_username_template == o.custom_username_template &&
|
232
242
|
delete_protection == o.delete_protection &&
|
233
243
|
json == o.json &&
|
234
244
|
name == o.name &&
|
@@ -251,7 +261,7 @@ module Akeyless
|
|
251
261
|
# Calculates hash code according to all attributes.
|
252
262
|
# @return [Integer] Hash code
|
253
263
|
def hash
|
254
|
-
[chef_orgs, chef_server_key, chef_server_url, chef_server_username, delete_protection, json, name, password_length, producer_encryption_key_name, skip_ssl, tags, target_name, token, uid_token, user_ttl].hash
|
264
|
+
[chef_orgs, chef_server_key, chef_server_url, chef_server_username, custom_username_template, delete_protection, json, name, password_length, producer_encryption_key_name, skip_ssl, tags, target_name, token, uid_token, user_ttl].hash
|
255
265
|
end
|
256
266
|
|
257
267
|
# Builds the object from hash
|
@@ -16,6 +16,9 @@ require 'time'
|
|
16
16
|
module Akeyless
|
17
17
|
# gatewayCreateProducerGcp is a command that creates a GCP producer [Deprecated: Use dynamic-secret-create-gcp command]
|
18
18
|
class GatewayCreateProducerGcp
|
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
|
|
@@ -66,6 +69,7 @@ module Akeyless
|
|
66
69
|
# Attribute mapping from ruby-style variable name to JSON key.
|
67
70
|
def self.attribute_map
|
68
71
|
{
|
72
|
+
:'custom_username_template' => :'custom-username-template',
|
69
73
|
:'delete_protection' => :'delete_protection',
|
70
74
|
:'gcp_cred_type' => :'gcp-cred-type',
|
71
75
|
:'gcp_key' => :'gcp-key',
|
@@ -93,6 +97,7 @@ module Akeyless
|
|
93
97
|
# Attribute type mapping.
|
94
98
|
def self.openapi_types
|
95
99
|
{
|
100
|
+
:'custom_username_template' => :'String',
|
96
101
|
:'delete_protection' => :'String',
|
97
102
|
:'gcp_cred_type' => :'String',
|
98
103
|
:'gcp_key' => :'String',
|
@@ -133,6 +138,10 @@ module Akeyless
|
|
133
138
|
h[k.to_sym] = v
|
134
139
|
}
|
135
140
|
|
141
|
+
if attributes.key?(:'custom_username_template')
|
142
|
+
self.custom_username_template = attributes[:'custom_username_template']
|
143
|
+
end
|
144
|
+
|
136
145
|
if attributes.key?(:'delete_protection')
|
137
146
|
self.delete_protection = attributes[:'delete_protection']
|
138
147
|
end
|
@@ -238,6 +247,7 @@ module Akeyless
|
|
238
247
|
def ==(o)
|
239
248
|
return true if self.equal?(o)
|
240
249
|
self.class == o.class &&
|
250
|
+
custom_username_template == o.custom_username_template &&
|
241
251
|
delete_protection == o.delete_protection &&
|
242
252
|
gcp_cred_type == o.gcp_cred_type &&
|
243
253
|
gcp_key == o.gcp_key &&
|
@@ -265,7 +275,7 @@ module Akeyless
|
|
265
275
|
# Calculates hash code according to all attributes.
|
266
276
|
# @return [Integer] Hash code
|
267
277
|
def hash
|
268
|
-
[delete_protection, 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
|
278
|
+
[custom_username_template, delete_protection, 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
|
269
279
|
end
|
270
280
|
|
271
281
|
# Builds the object from hash
|
@@ -16,6 +16,9 @@ require 'time'
|
|
16
16
|
module Akeyless
|
17
17
|
# gatewayCreateProducerHanaDb is a command that creates hanadb producer [Deprecated: Use dynamic-secret-create-hanadb command]
|
18
18
|
class GatewayCreateProducerHanaDb
|
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
|
|
@@ -58,6 +61,9 @@ module Akeyless
|
|
58
61
|
# Path to the SSH Certificate Issuer for your Akeyless Secure Access
|
59
62
|
attr_accessor :secure_access_certificate_issuer
|
60
63
|
|
64
|
+
# The DB name (relevant only for DB Dynamic-Secret)
|
65
|
+
attr_accessor :secure_access_db_name
|
66
|
+
|
61
67
|
# The DB schema
|
62
68
|
attr_accessor :secure_access_db_schema
|
63
69
|
|
@@ -88,6 +94,7 @@ module Akeyless
|
|
88
94
|
# Attribute mapping from ruby-style variable name to JSON key.
|
89
95
|
def self.attribute_map
|
90
96
|
{
|
97
|
+
:'custom_username_template' => :'custom-username-template',
|
91
98
|
:'delete_protection' => :'delete_protection',
|
92
99
|
:'hana_dbname' => :'hana-dbname',
|
93
100
|
:'hanadb_create_statements' => :'hanadb-create-statements',
|
@@ -102,6 +109,7 @@ module Akeyless
|
|
102
109
|
:'producer_encryption_key_name' => :'producer-encryption-key-name',
|
103
110
|
:'secure_access_bastion_issuer' => :'secure-access-bastion-issuer',
|
104
111
|
:'secure_access_certificate_issuer' => :'secure-access-certificate-issuer',
|
112
|
+
:'secure_access_db_name' => :'secure-access-db-name',
|
105
113
|
:'secure_access_db_schema' => :'secure-access-db-schema',
|
106
114
|
:'secure_access_enable' => :'secure-access-enable',
|
107
115
|
:'secure_access_host' => :'secure-access-host',
|
@@ -122,6 +130,7 @@ module Akeyless
|
|
122
130
|
# Attribute type mapping.
|
123
131
|
def self.openapi_types
|
124
132
|
{
|
133
|
+
:'custom_username_template' => :'String',
|
125
134
|
:'delete_protection' => :'String',
|
126
135
|
:'hana_dbname' => :'String',
|
127
136
|
:'hanadb_create_statements' => :'String',
|
@@ -136,6 +145,7 @@ module Akeyless
|
|
136
145
|
:'producer_encryption_key_name' => :'String',
|
137
146
|
:'secure_access_bastion_issuer' => :'String',
|
138
147
|
:'secure_access_certificate_issuer' => :'String',
|
148
|
+
:'secure_access_db_name' => :'String',
|
139
149
|
:'secure_access_db_schema' => :'String',
|
140
150
|
:'secure_access_enable' => :'String',
|
141
151
|
:'secure_access_host' => :'Array<String>',
|
@@ -169,6 +179,10 @@ module Akeyless
|
|
169
179
|
h[k.to_sym] = v
|
170
180
|
}
|
171
181
|
|
182
|
+
if attributes.key?(:'custom_username_template')
|
183
|
+
self.custom_username_template = attributes[:'custom_username_template']
|
184
|
+
end
|
185
|
+
|
172
186
|
if attributes.key?(:'delete_protection')
|
173
187
|
self.delete_protection = attributes[:'delete_protection']
|
174
188
|
end
|
@@ -233,6 +247,10 @@ module Akeyless
|
|
233
247
|
self.secure_access_certificate_issuer = attributes[:'secure_access_certificate_issuer']
|
234
248
|
end
|
235
249
|
|
250
|
+
if attributes.key?(:'secure_access_db_name')
|
251
|
+
self.secure_access_db_name = attributes[:'secure_access_db_name']
|
252
|
+
end
|
253
|
+
|
236
254
|
if attributes.key?(:'secure_access_db_schema')
|
237
255
|
self.secure_access_db_schema = attributes[:'secure_access_db_schema']
|
238
256
|
end
|
@@ -303,6 +321,7 @@ module Akeyless
|
|
303
321
|
def ==(o)
|
304
322
|
return true if self.equal?(o)
|
305
323
|
self.class == o.class &&
|
324
|
+
custom_username_template == o.custom_username_template &&
|
306
325
|
delete_protection == o.delete_protection &&
|
307
326
|
hana_dbname == o.hana_dbname &&
|
308
327
|
hanadb_create_statements == o.hanadb_create_statements &&
|
@@ -317,6 +336,7 @@ module Akeyless
|
|
317
336
|
producer_encryption_key_name == o.producer_encryption_key_name &&
|
318
337
|
secure_access_bastion_issuer == o.secure_access_bastion_issuer &&
|
319
338
|
secure_access_certificate_issuer == o.secure_access_certificate_issuer &&
|
339
|
+
secure_access_db_name == o.secure_access_db_name &&
|
320
340
|
secure_access_db_schema == o.secure_access_db_schema &&
|
321
341
|
secure_access_enable == o.secure_access_enable &&
|
322
342
|
secure_access_host == o.secure_access_host &&
|
@@ -337,7 +357,7 @@ module Akeyless
|
|
337
357
|
# Calculates hash code according to all attributes.
|
338
358
|
# @return [Integer] Hash code
|
339
359
|
def hash
|
340
|
-
[delete_protection, 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
|
360
|
+
[custom_username_template, delete_protection, 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
|
341
361
|
end
|
342
362
|
|
343
363
|
# 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
|
|
@@ -111,6 +114,7 @@ module Akeyless
|
|
111
114
|
:'provider_type' => :'ProviderType',
|
112
115
|
:'bind_dn' => :'bind-dn',
|
113
116
|
:'bind_dn_password' => :'bind-dn-password',
|
117
|
+
:'custom_username_template' => :'custom-username-template',
|
114
118
|
:'delete_protection' => :'delete_protection',
|
115
119
|
:'external_username' => :'external-username',
|
116
120
|
:'fixed_user_claim_keyname' => :'fixed-user-claim-keyname',
|
@@ -152,6 +156,7 @@ module Akeyless
|
|
152
156
|
:'provider_type' => :'String',
|
153
157
|
:'bind_dn' => :'String',
|
154
158
|
:'bind_dn_password' => :'String',
|
159
|
+
:'custom_username_template' => :'String',
|
155
160
|
:'delete_protection' => :'String',
|
156
161
|
:'external_username' => :'String',
|
157
162
|
:'fixed_user_claim_keyname' => :'String',
|
@@ -215,6 +220,10 @@ module Akeyless
|
|
215
220
|
self.bind_dn_password = attributes[:'bind_dn_password']
|
216
221
|
end
|
217
222
|
|
223
|
+
if attributes.key?(:'custom_username_template')
|
224
|
+
self.custom_username_template = attributes[:'custom_username_template']
|
225
|
+
end
|
226
|
+
|
218
227
|
if attributes.key?(:'delete_protection')
|
219
228
|
self.delete_protection = attributes[:'delete_protection']
|
220
229
|
end
|
@@ -368,6 +377,7 @@ module Akeyless
|
|
368
377
|
provider_type == o.provider_type &&
|
369
378
|
bind_dn == o.bind_dn &&
|
370
379
|
bind_dn_password == o.bind_dn_password &&
|
380
|
+
custom_username_template == o.custom_username_template &&
|
371
381
|
delete_protection == o.delete_protection &&
|
372
382
|
external_username == o.external_username &&
|
373
383
|
fixed_user_claim_keyname == o.fixed_user_claim_keyname &&
|
@@ -406,7 +416,7 @@ module Akeyless
|
|
406
416
|
# Calculates hash code according to all attributes.
|
407
417
|
# @return [Integer] Hash code
|
408
418
|
def hash
|
409
|
-
[provider_type, bind_dn, bind_dn_password, delete_protection, 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
|
419
|
+
[provider_type, bind_dn, bind_dn_password, custom_username_template, delete_protection, 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
|
410
420
|
end
|
411
421
|
|
412
422
|
# Builds the object from hash
|
@@ -16,6 +16,9 @@ require 'time'
|
|
16
16
|
module Akeyless
|
17
17
|
# gatewayCreateProducerMongo is a command that creates either mongodb producer or mongodb atlas producer [Deprecated: Use dynamic-secret-create-mongodb command]
|
18
18
|
class GatewayCreateProducerMongo
|
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
|
|
@@ -73,6 +76,9 @@ module Akeyless
|
|
73
76
|
# Path to the SSH Certificate Issuer for your Akeyless Secure Access
|
74
77
|
attr_accessor :secure_access_certificate_issuer
|
75
78
|
|
79
|
+
# The DB name (relevant only for DB Dynamic-Secret)
|
80
|
+
attr_accessor :secure_access_db_name
|
81
|
+
|
76
82
|
# The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
|
77
83
|
attr_accessor :secure_access_delay
|
78
84
|
|
@@ -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
|
:'delete_protection' => :'delete_protection',
|
107
114
|
:'json' => :'json',
|
108
115
|
:'mongodb_atlas_api_private_key' => :'mongodb-atlas-api-private-key',
|
@@ -122,6 +129,7 @@ module Akeyless
|
|
122
129
|
:'producer_encryption_key_name' => :'producer-encryption-key-name',
|
123
130
|
:'secure_access_bastion_issuer' => :'secure-access-bastion-issuer',
|
124
131
|
:'secure_access_certificate_issuer' => :'secure-access-certificate-issuer',
|
132
|
+
:'secure_access_db_name' => :'secure-access-db-name',
|
125
133
|
:'secure_access_delay' => :'secure-access-delay',
|
126
134
|
:'secure_access_enable' => :'secure-access-enable',
|
127
135
|
:'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
|
:'delete_protection' => :'String',
|
146
155
|
:'json' => :'Boolean',
|
147
156
|
:'mongodb_atlas_api_private_key' => :'String',
|
@@ -161,6 +170,7 @@ module Akeyless
|
|
161
170
|
:'producer_encryption_key_name' => :'String',
|
162
171
|
:'secure_access_bastion_issuer' => :'String',
|
163
172
|
:'secure_access_certificate_issuer' => :'String',
|
173
|
+
:'secure_access_db_name' => :'String',
|
164
174
|
:'secure_access_delay' => :'Integer',
|
165
175
|
:'secure_access_enable' => :'String',
|
166
176
|
:'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?(:'delete_protection')
|
198
212
|
self.delete_protection = attributes[:'delete_protection']
|
199
213
|
end
|
@@ -276,6 +290,10 @@ module Akeyless
|
|
276
290
|
self.secure_access_certificate_issuer = attributes[:'secure_access_certificate_issuer']
|
277
291
|
end
|
278
292
|
|
293
|
+
if attributes.key?(:'secure_access_db_name')
|
294
|
+
self.secure_access_db_name = attributes[:'secure_access_db_name']
|
295
|
+
end
|
296
|
+
|
279
297
|
if attributes.key?(:'secure_access_delay')
|
280
298
|
self.secure_access_delay = attributes[:'secure_access_delay']
|
281
299
|
end
|
@@ -346,6 +364,7 @@ module Akeyless
|
|
346
364
|
def ==(o)
|
347
365
|
return true if self.equal?(o)
|
348
366
|
self.class == o.class &&
|
367
|
+
custom_username_template == o.custom_username_template &&
|
349
368
|
delete_protection == o.delete_protection &&
|
350
369
|
json == o.json &&
|
351
370
|
mongodb_atlas_api_private_key == o.mongodb_atlas_api_private_key &&
|
@@ -365,6 +384,7 @@ module Akeyless
|
|
365
384
|
producer_encryption_key_name == o.producer_encryption_key_name &&
|
366
385
|
secure_access_bastion_issuer == o.secure_access_bastion_issuer &&
|
367
386
|
secure_access_certificate_issuer == o.secure_access_certificate_issuer &&
|
387
|
+
secure_access_db_name == o.secure_access_db_name &&
|
368
388
|
secure_access_delay == o.secure_access_delay &&
|
369
389
|
secure_access_enable == o.secure_access_enable &&
|
370
390
|
secure_access_host == o.secure_access_host &&
|
@@ -385,7 +405,7 @@ module Akeyless
|
|
385
405
|
# Calculates hash code according to all attributes.
|
386
406
|
# @return [Integer] Hash code
|
387
407
|
def hash
|
388
|
-
[delete_protection, 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
|
408
|
+
[custom_username_template, delete_protection, 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
|
389
409
|
end
|
390
410
|
|
391
411
|
# Builds the object from hash
|
@@ -16,6 +16,9 @@ require 'time'
|
|
16
16
|
module Akeyless
|
17
17
|
# gatewayCreateProducerMSSQL is a command that creates mssql producer [Deprecated: Use dynamic-secret-create-mssql command]
|
18
18
|
class GatewayCreateProducerMSSQL
|
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
|
|
@@ -58,6 +61,9 @@ module Akeyless
|
|
58
61
|
# Path to the SSH Certificate Issuer for your Akeyless Secure Access
|
59
62
|
attr_accessor :secure_access_certificate_issuer
|
60
63
|
|
64
|
+
# The DB name (relevant only for DB Dynamic-Secret)
|
65
|
+
attr_accessor :secure_access_db_name
|
66
|
+
|
61
67
|
# The DB schema
|
62
68
|
attr_accessor :secure_access_db_schema
|
63
69
|
|
@@ -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
|
:'json' => :'json',
|
96
103
|
:'mssql_create_statements' => :'mssql-create-statements',
|
@@ -105,6 +112,7 @@ module Akeyless
|
|
105
112
|
:'producer_encryption_key_name' => :'producer-encryption-key-name',
|
106
113
|
:'secure_access_bastion_issuer' => :'secure-access-bastion-issuer',
|
107
114
|
:'secure_access_certificate_issuer' => :'secure-access-certificate-issuer',
|
115
|
+
:'secure_access_db_name' => :'secure-access-db-name',
|
108
116
|
:'secure_access_db_schema' => :'secure-access-db-schema',
|
109
117
|
:'secure_access_delay' => :'secure-access-delay',
|
110
118
|
:'secure_access_enable' => :'secure-access-enable',
|
@@ -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
|
:'json' => :'Boolean',
|
131
140
|
:'mssql_create_statements' => :'String',
|
@@ -140,6 +149,7 @@ module Akeyless
|
|
140
149
|
:'producer_encryption_key_name' => :'String',
|
141
150
|
:'secure_access_bastion_issuer' => :'String',
|
142
151
|
:'secure_access_certificate_issuer' => :'String',
|
152
|
+
:'secure_access_db_name' => :'String',
|
143
153
|
:'secure_access_db_schema' => :'String',
|
144
154
|
:'secure_access_delay' => :'Integer',
|
145
155
|
:'secure_access_enable' => :'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
|
@@ -238,6 +252,10 @@ module Akeyless
|
|
238
252
|
self.secure_access_certificate_issuer = attributes[:'secure_access_certificate_issuer']
|
239
253
|
end
|
240
254
|
|
255
|
+
if attributes.key?(:'secure_access_db_name')
|
256
|
+
self.secure_access_db_name = attributes[:'secure_access_db_name']
|
257
|
+
end
|
258
|
+
|
241
259
|
if attributes.key?(:'secure_access_db_schema')
|
242
260
|
self.secure_access_db_schema = attributes[:'secure_access_db_schema']
|
243
261
|
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
|
json == o.json &&
|
317
336
|
mssql_create_statements == o.mssql_create_statements &&
|
@@ -326,6 +345,7 @@ module Akeyless
|
|
326
345
|
producer_encryption_key_name == o.producer_encryption_key_name &&
|
327
346
|
secure_access_bastion_issuer == o.secure_access_bastion_issuer &&
|
328
347
|
secure_access_certificate_issuer == o.secure_access_certificate_issuer &&
|
348
|
+
secure_access_db_name == o.secure_access_db_name &&
|
329
349
|
secure_access_db_schema == o.secure_access_db_schema &&
|
330
350
|
secure_access_delay == o.secure_access_delay &&
|
331
351
|
secure_access_enable == o.secure_access_enable &&
|
@@ -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, 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
|
370
|
+
[custom_username_template, delete_protection, 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
|
351
371
|
end
|
352
372
|
|
353
373
|
# Builds the object from hash
|
@@ -16,6 +16,9 @@ require 'time'
|
|
16
16
|
module Akeyless
|
17
17
|
# gatewayCreateProducerMySQL is a command that creates mysql producer [Deprecated: Use dynamic-secret-create-mysql command]
|
18
18
|
class GatewayCreateProducerMySQL
|
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
|
|
@@ -64,6 +67,9 @@ module Akeyless
|
|
64
67
|
# Path to the SSH Certificate Issuer for your Akeyless Secure Access
|
65
68
|
attr_accessor :secure_access_certificate_issuer
|
66
69
|
|
70
|
+
# The DB name (relevant only for DB Dynamic-Secret)
|
71
|
+
attr_accessor :secure_access_db_name
|
72
|
+
|
67
73
|
# The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
|
68
74
|
attr_accessor :secure_access_delay
|
69
75
|
|
@@ -100,6 +106,7 @@ module Akeyless
|
|
100
106
|
# Attribute mapping from ruby-style variable name to JSON key.
|
101
107
|
def self.attribute_map
|
102
108
|
{
|
109
|
+
:'custom_username_template' => :'custom-username-template',
|
103
110
|
:'db_server_certificates' => :'db-server-certificates',
|
104
111
|
:'db_server_name' => :'db-server-name',
|
105
112
|
:'delete_protection' => :'delete_protection',
|
@@ -116,6 +123,7 @@ module Akeyless
|
|
116
123
|
:'producer_encryption_key_name' => :'producer-encryption-key-name',
|
117
124
|
:'secure_access_bastion_issuer' => :'secure-access-bastion-issuer',
|
118
125
|
:'secure_access_certificate_issuer' => :'secure-access-certificate-issuer',
|
126
|
+
:'secure_access_db_name' => :'secure-access-db-name',
|
119
127
|
:'secure_access_delay' => :'secure-access-delay',
|
120
128
|
:'secure_access_enable' => :'secure-access-enable',
|
121
129
|
:'secure_access_host' => :'secure-access-host',
|
@@ -138,6 +146,7 @@ module Akeyless
|
|
138
146
|
# Attribute type mapping.
|
139
147
|
def self.openapi_types
|
140
148
|
{
|
149
|
+
:'custom_username_template' => :'String',
|
141
150
|
:'db_server_certificates' => :'String',
|
142
151
|
:'db_server_name' => :'String',
|
143
152
|
:'delete_protection' => :'String',
|
@@ -154,6 +163,7 @@ module Akeyless
|
|
154
163
|
:'producer_encryption_key_name' => :'String',
|
155
164
|
:'secure_access_bastion_issuer' => :'String',
|
156
165
|
:'secure_access_certificate_issuer' => :'String',
|
166
|
+
:'secure_access_db_name' => :'String',
|
157
167
|
:'secure_access_delay' => :'Integer',
|
158
168
|
:'secure_access_enable' => :'String',
|
159
169
|
:'secure_access_host' => :'Array<String>',
|
@@ -189,6 +199,10 @@ module Akeyless
|
|
189
199
|
h[k.to_sym] = v
|
190
200
|
}
|
191
201
|
|
202
|
+
if attributes.key?(:'custom_username_template')
|
203
|
+
self.custom_username_template = attributes[:'custom_username_template']
|
204
|
+
end
|
205
|
+
|
192
206
|
if attributes.key?(:'db_server_certificates')
|
193
207
|
self.db_server_certificates = attributes[:'db_server_certificates']
|
194
208
|
end
|
@@ -261,6 +275,10 @@ module Akeyless
|
|
261
275
|
self.secure_access_certificate_issuer = attributes[:'secure_access_certificate_issuer']
|
262
276
|
end
|
263
277
|
|
278
|
+
if attributes.key?(:'secure_access_db_name')
|
279
|
+
self.secure_access_db_name = attributes[:'secure_access_db_name']
|
280
|
+
end
|
281
|
+
|
264
282
|
if attributes.key?(:'secure_access_delay')
|
265
283
|
self.secure_access_delay = attributes[:'secure_access_delay']
|
266
284
|
end
|
@@ -341,6 +359,7 @@ module Akeyless
|
|
341
359
|
def ==(o)
|
342
360
|
return true if self.equal?(o)
|
343
361
|
self.class == o.class &&
|
362
|
+
custom_username_template == o.custom_username_template &&
|
344
363
|
db_server_certificates == o.db_server_certificates &&
|
345
364
|
db_server_name == o.db_server_name &&
|
346
365
|
delete_protection == o.delete_protection &&
|
@@ -357,6 +376,7 @@ module Akeyless
|
|
357
376
|
producer_encryption_key_name == o.producer_encryption_key_name &&
|
358
377
|
secure_access_bastion_issuer == o.secure_access_bastion_issuer &&
|
359
378
|
secure_access_certificate_issuer == o.secure_access_certificate_issuer &&
|
379
|
+
secure_access_db_name == o.secure_access_db_name &&
|
360
380
|
secure_access_delay == o.secure_access_delay &&
|
361
381
|
secure_access_enable == o.secure_access_enable &&
|
362
382
|
secure_access_host == o.secure_access_host &&
|
@@ -379,7 +399,7 @@ module Akeyless
|
|
379
399
|
# Calculates hash code according to all attributes.
|
380
400
|
# @return [Integer] Hash code
|
381
401
|
def hash
|
382
|
-
[db_server_certificates, db_server_name, delete_protection, 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
|
402
|
+
[custom_username_template, db_server_certificates, db_server_name, delete_protection, 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
|
383
403
|
end
|
384
404
|
|
385
405
|
# Builds the object from hash
|
@@ -16,6 +16,9 @@ require 'time'
|
|
16
16
|
module Akeyless
|
17
17
|
# gatewayCreateProducerNativeK8S is a command that creates k8s producer [Deprecated: Use dynamic-secret-create-k8s command]
|
18
18
|
class GatewayCreateProducerNativeK8S
|
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
|
|
@@ -112,6 +115,7 @@ module Akeyless
|
|
112
115
|
# Attribute mapping from ruby-style variable name to JSON key.
|
113
116
|
def self.attribute_map
|
114
117
|
{
|
118
|
+
:'custom_username_template' => :'custom-username-template',
|
115
119
|
:'delete_protection' => :'delete_protection',
|
116
120
|
:'json' => :'json',
|
117
121
|
:'k8s_allowed_namespaces' => :'k8s-allowed-namespaces',
|
@@ -154,6 +158,7 @@ module Akeyless
|
|
154
158
|
# Attribute type mapping.
|
155
159
|
def self.openapi_types
|
156
160
|
{
|
161
|
+
:'custom_username_template' => :'String',
|
157
162
|
:'delete_protection' => :'String',
|
158
163
|
:'json' => :'Boolean',
|
159
164
|
:'k8s_allowed_namespaces' => :'String',
|
@@ -209,6 +214,10 @@ module Akeyless
|
|
209
214
|
h[k.to_sym] = v
|
210
215
|
}
|
211
216
|
|
217
|
+
if attributes.key?(:'custom_username_template')
|
218
|
+
self.custom_username_template = attributes[:'custom_username_template']
|
219
|
+
end
|
220
|
+
|
212
221
|
if attributes.key?(:'delete_protection')
|
213
222
|
self.delete_protection = attributes[:'delete_protection']
|
214
223
|
end
|
@@ -373,6 +382,7 @@ module Akeyless
|
|
373
382
|
def ==(o)
|
374
383
|
return true if self.equal?(o)
|
375
384
|
self.class == o.class &&
|
385
|
+
custom_username_template == o.custom_username_template &&
|
376
386
|
delete_protection == o.delete_protection &&
|
377
387
|
json == o.json &&
|
378
388
|
k8s_allowed_namespaces == o.k8s_allowed_namespaces &&
|
@@ -415,7 +425,7 @@ module Akeyless
|
|
415
425
|
# Calculates hash code according to all attributes.
|
416
426
|
# @return [Integer] Hash code
|
417
427
|
def hash
|
418
|
-
[delete_protection, 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
|
428
|
+
[custom_username_template, delete_protection, 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
|
419
429
|
end
|
420
430
|
|
421
431
|
# Builds the object from hash
|