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
@@ -16,6 +16,9 @@ require 'time'
|
|
16
16
|
module Akeyless
|
17
17
|
# dynamicSecretUpdateOracleDb is a command that updates oracle db dynamic secret
|
18
18
|
class DynamicSecretUpdateOracleDb
|
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
|
|
@@ -97,6 +100,7 @@ module Akeyless
|
|
97
100
|
# Attribute mapping from ruby-style variable name to JSON key.
|
98
101
|
def self.attribute_map
|
99
102
|
{
|
103
|
+
:'custom_username_template' => :'custom-username-template',
|
100
104
|
:'db_server_certificates' => :'db-server-certificates',
|
101
105
|
:'db_server_name' => :'db-server-name',
|
102
106
|
:'delete_protection' => :'delete_protection',
|
@@ -134,6 +138,7 @@ module Akeyless
|
|
134
138
|
# Attribute type mapping.
|
135
139
|
def self.openapi_types
|
136
140
|
{
|
141
|
+
:'custom_username_template' => :'String',
|
137
142
|
:'db_server_certificates' => :'String',
|
138
143
|
:'db_server_name' => :'String',
|
139
144
|
:'delete_protection' => :'String',
|
@@ -184,6 +189,10 @@ module Akeyless
|
|
184
189
|
h[k.to_sym] = v
|
185
190
|
}
|
186
191
|
|
192
|
+
if attributes.key?(:'custom_username_template')
|
193
|
+
self.custom_username_template = attributes[:'custom_username_template']
|
194
|
+
end
|
195
|
+
|
187
196
|
if attributes.key?(:'db_server_certificates')
|
188
197
|
self.db_server_certificates = attributes[:'db_server_certificates']
|
189
198
|
end
|
@@ -332,6 +341,7 @@ module Akeyless
|
|
332
341
|
def ==(o)
|
333
342
|
return true if self.equal?(o)
|
334
343
|
self.class == o.class &&
|
344
|
+
custom_username_template == o.custom_username_template &&
|
335
345
|
db_server_certificates == o.db_server_certificates &&
|
336
346
|
db_server_name == o.db_server_name &&
|
337
347
|
delete_protection == o.delete_protection &&
|
@@ -369,7 +379,7 @@ module Akeyless
|
|
369
379
|
# Calculates hash code according to all attributes.
|
370
380
|
# @return [Integer] Hash code
|
371
381
|
def hash
|
372
|
-
[db_server_certificates, db_server_name, delete_protection, description, json, name, new_name, oracle_host, oracle_password, oracle_port, oracle_revocation_statements, oracle_screation_statements, oracle_service_name, oracle_username, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
|
382
|
+
[custom_username_template, db_server_certificates, db_server_name, delete_protection, description, json, name, new_name, oracle_host, oracle_password, oracle_port, oracle_revocation_statements, oracle_screation_statements, oracle_service_name, oracle_username, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
|
373
383
|
end
|
374
384
|
|
375
385
|
# Builds the object from hash
|
@@ -19,6 +19,9 @@ module Akeyless
|
|
19
19
|
# PostgreSQL Creation statements
|
20
20
|
attr_accessor :creation_statements
|
21
21
|
|
22
|
+
# Customize how temporary usernames are generated using go template
|
23
|
+
attr_accessor :custom_username_template
|
24
|
+
|
22
25
|
# Protection from accidental deletion of this object [true/false]
|
23
26
|
attr_accessor :delete_protection
|
24
27
|
|
@@ -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 DB schema
|
68
74
|
attr_accessor :secure_access_db_schema
|
69
75
|
|
@@ -101,6 +107,7 @@ module Akeyless
|
|
101
107
|
def self.attribute_map
|
102
108
|
{
|
103
109
|
:'creation_statements' => :'creation-statements',
|
110
|
+
:'custom_username_template' => :'custom-username-template',
|
104
111
|
:'delete_protection' => :'delete_protection',
|
105
112
|
:'description' => :'description',
|
106
113
|
:'json' => :'json',
|
@@ -116,6 +123,7 @@ module Akeyless
|
|
116
123
|
:'revocation_statement' => :'revocation-statement',
|
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_db_schema' => :'secure-access-db-schema',
|
120
128
|
:'secure_access_delay' => :'secure-access-delay',
|
121
129
|
:'secure_access_enable' => :'secure-access-enable',
|
@@ -139,6 +147,7 @@ module Akeyless
|
|
139
147
|
def self.openapi_types
|
140
148
|
{
|
141
149
|
:'creation_statements' => :'String',
|
150
|
+
:'custom_username_template' => :'String',
|
142
151
|
:'delete_protection' => :'String',
|
143
152
|
:'description' => :'String',
|
144
153
|
:'json' => :'Boolean',
|
@@ -154,6 +163,7 @@ module Akeyless
|
|
154
163
|
:'revocation_statement' => :'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_db_schema' => :'String',
|
158
168
|
:'secure_access_delay' => :'Integer',
|
159
169
|
:'secure_access_enable' => :'String',
|
@@ -193,6 +203,10 @@ module Akeyless
|
|
193
203
|
self.creation_statements = attributes[:'creation_statements']
|
194
204
|
end
|
195
205
|
|
206
|
+
if attributes.key?(:'custom_username_template')
|
207
|
+
self.custom_username_template = attributes[:'custom_username_template']
|
208
|
+
end
|
209
|
+
|
196
210
|
if attributes.key?(:'delete_protection')
|
197
211
|
self.delete_protection = attributes[:'delete_protection']
|
198
212
|
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_db_schema')
|
265
283
|
self.secure_access_db_schema = attributes[:'secure_access_db_schema']
|
266
284
|
end
|
@@ -342,6 +360,7 @@ module Akeyless
|
|
342
360
|
return true if self.equal?(o)
|
343
361
|
self.class == o.class &&
|
344
362
|
creation_statements == o.creation_statements &&
|
363
|
+
custom_username_template == o.custom_username_template &&
|
345
364
|
delete_protection == o.delete_protection &&
|
346
365
|
description == o.description &&
|
347
366
|
json == o.json &&
|
@@ -357,6 +376,7 @@ module Akeyless
|
|
357
376
|
revocation_statement == o.revocation_statement &&
|
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_db_schema == o.secure_access_db_schema &&
|
361
381
|
secure_access_delay == o.secure_access_delay &&
|
362
382
|
secure_access_enable == o.secure_access_enable &&
|
@@ -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
|
-
[creation_statements, delete_protection, description, json, name, new_name, password_length, postgresql_db_name, postgresql_host, postgresql_password, postgresql_port, postgresql_username, producer_encryption_key, revocation_statement, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_schema, secure_access_delay, secure_access_enable, secure_access_host, secure_access_web, ssl, tags, target_name, token, uid_token, user_ttl].hash
|
402
|
+
[creation_statements, custom_username_template, delete_protection, description, json, name, new_name, password_length, postgresql_db_name, postgresql_host, postgresql_password, postgresql_port, postgresql_username, producer_encryption_key, revocation_statement, 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, ssl, tags, target_name, token, uid_token, user_ttl].hash
|
383
403
|
end
|
384
404
|
|
385
405
|
# Builds the object from hash
|
@@ -19,6 +19,9 @@ module Akeyless
|
|
19
19
|
# AllowUserExtendSession
|
20
20
|
attr_accessor :allow_user_extend_session
|
21
21
|
|
22
|
+
# Customize how temporary usernames are generated using go template
|
23
|
+
attr_accessor :custom_username_template
|
24
|
+
|
22
25
|
# Protection from accidental deletion of this object [true/false]
|
23
26
|
attr_accessor :delete_protection
|
24
27
|
|
@@ -110,6 +113,7 @@ module Akeyless
|
|
110
113
|
def self.attribute_map
|
111
114
|
{
|
112
115
|
:'allow_user_extend_session' => :'allow-user-extend-session',
|
116
|
+
:'custom_username_template' => :'custom-username-template',
|
113
117
|
:'delete_protection' => :'delete_protection',
|
114
118
|
:'description' => :'description',
|
115
119
|
:'fixed_user_claim_keyname' => :'fixed-user-claim-keyname',
|
@@ -151,6 +155,7 @@ module Akeyless
|
|
151
155
|
def self.openapi_types
|
152
156
|
{
|
153
157
|
:'allow_user_extend_session' => :'Integer',
|
158
|
+
:'custom_username_template' => :'String',
|
154
159
|
:'delete_protection' => :'String',
|
155
160
|
:'description' => :'String',
|
156
161
|
:'fixed_user_claim_keyname' => :'String',
|
@@ -208,6 +213,10 @@ module Akeyless
|
|
208
213
|
self.allow_user_extend_session = attributes[:'allow_user_extend_session']
|
209
214
|
end
|
210
215
|
|
216
|
+
if attributes.key?(:'custom_username_template')
|
217
|
+
self.custom_username_template = attributes[:'custom_username_template']
|
218
|
+
end
|
219
|
+
|
211
220
|
if attributes.key?(:'delete_protection')
|
212
221
|
self.delete_protection = attributes[:'delete_protection']
|
213
222
|
end
|
@@ -369,6 +378,7 @@ module Akeyless
|
|
369
378
|
return true if self.equal?(o)
|
370
379
|
self.class == o.class &&
|
371
380
|
allow_user_extend_session == o.allow_user_extend_session &&
|
381
|
+
custom_username_template == o.custom_username_template &&
|
372
382
|
delete_protection == o.delete_protection &&
|
373
383
|
description == o.description &&
|
374
384
|
fixed_user_claim_keyname == o.fixed_user_claim_keyname &&
|
@@ -409,7 +419,7 @@ module Akeyless
|
|
409
419
|
# Calculates hash code according to all attributes.
|
410
420
|
# @return [Integer] Hash code
|
411
421
|
def hash
|
412
|
-
[allow_user_extend_session, delete_protection, description, fixed_user_claim_keyname, fixed_user_only, json, name, new_name, password_length, producer_encryption_key_name, rdp_admin_name, rdp_admin_pwd, rdp_host_name, rdp_host_port, rdp_user_groups, secure_access_allow_external_user, 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, secure_access_rdp_user, tags, target_name, token, uid_token, user_ttl, warn_user_before_expiration].hash
|
422
|
+
[allow_user_extend_session, custom_username_template, delete_protection, description, fixed_user_claim_keyname, fixed_user_only, json, name, new_name, password_length, producer_encryption_key_name, rdp_admin_name, rdp_admin_pwd, rdp_host_name, rdp_host_port, rdp_user_groups, secure_access_allow_external_user, 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, secure_access_rdp_user, tags, target_name, token, uid_token, user_ttl, warn_user_before_expiration].hash
|
413
423
|
end
|
414
424
|
|
415
425
|
# Builds the object from hash
|
@@ -19,6 +19,9 @@ module Akeyless
|
|
19
19
|
# A JSON array list of redis ACL rules to attach to the created user. For available rules see the ACL CAT command https://redis.io/commands/acl-cat By default the user will have permissions to read all keys '[\"~*\", \"+@read\"]'
|
20
20
|
attr_accessor :acl_rules
|
21
21
|
|
22
|
+
# Customize how temporary usernames are generated using go template
|
23
|
+
attr_accessor :custom_username_template
|
24
|
+
|
22
25
|
# Protection from accidental deletion of this object [true/false]
|
23
26
|
attr_accessor :delete_protection
|
24
27
|
|
@@ -77,6 +80,7 @@ module Akeyless
|
|
77
80
|
def self.attribute_map
|
78
81
|
{
|
79
82
|
:'acl_rules' => :'acl-rules',
|
83
|
+
:'custom_username_template' => :'custom-username-template',
|
80
84
|
:'delete_protection' => :'delete_protection',
|
81
85
|
:'description' => :'description',
|
82
86
|
:'host' => :'host',
|
@@ -107,6 +111,7 @@ module Akeyless
|
|
107
111
|
def self.openapi_types
|
108
112
|
{
|
109
113
|
:'acl_rules' => :'String',
|
114
|
+
:'custom_username_template' => :'String',
|
110
115
|
:'delete_protection' => :'String',
|
111
116
|
:'description' => :'String',
|
112
117
|
:'host' => :'String',
|
@@ -153,6 +158,10 @@ module Akeyless
|
|
153
158
|
self.acl_rules = attributes[:'acl_rules']
|
154
159
|
end
|
155
160
|
|
161
|
+
if attributes.key?(:'custom_username_template')
|
162
|
+
self.custom_username_template = attributes[:'custom_username_template']
|
163
|
+
end
|
164
|
+
|
156
165
|
if attributes.key?(:'delete_protection')
|
157
166
|
self.delete_protection = attributes[:'delete_protection']
|
158
167
|
end
|
@@ -266,6 +275,7 @@ module Akeyless
|
|
266
275
|
return true if self.equal?(o)
|
267
276
|
self.class == o.class &&
|
268
277
|
acl_rules == o.acl_rules &&
|
278
|
+
custom_username_template == o.custom_username_template &&
|
269
279
|
delete_protection == o.delete_protection &&
|
270
280
|
description == o.description &&
|
271
281
|
host == o.host &&
|
@@ -295,7 +305,7 @@ module Akeyless
|
|
295
305
|
# Calculates hash code according to all attributes.
|
296
306
|
# @return [Integer] Hash code
|
297
307
|
def hash
|
298
|
-
[acl_rules, delete_protection, description, host, json, name, new_name, password, password_length, port, producer_encryption_key_name, ssl, ssl_certificate, tags, target_name, token, uid_token, user_ttl, username].hash
|
308
|
+
[acl_rules, custom_username_template, delete_protection, description, host, json, name, new_name, password, password_length, port, producer_encryption_key_name, ssl, ssl_certificate, tags, target_name, token, uid_token, user_ttl, username].hash
|
299
309
|
end
|
300
310
|
|
301
311
|
# Builds the object from hash
|
@@ -19,6 +19,9 @@ module Akeyless
|
|
19
19
|
# Redshift Creation statements
|
20
20
|
attr_accessor :creation_statements
|
21
21
|
|
22
|
+
# Customize how temporary usernames are generated using go template
|
23
|
+
attr_accessor :custom_username_template
|
24
|
+
|
22
25
|
# Protection from accidental deletion of this object [true/false]
|
23
26
|
attr_accessor :delete_protection
|
24
27
|
|
@@ -83,6 +86,7 @@ module Akeyless
|
|
83
86
|
def self.attribute_map
|
84
87
|
{
|
85
88
|
:'creation_statements' => :'creation-statements',
|
89
|
+
:'custom_username_template' => :'custom-username-template',
|
86
90
|
:'delete_protection' => :'delete_protection',
|
87
91
|
:'description' => :'description',
|
88
92
|
:'json' => :'json',
|
@@ -115,6 +119,7 @@ module Akeyless
|
|
115
119
|
def self.openapi_types
|
116
120
|
{
|
117
121
|
:'creation_statements' => :'String',
|
122
|
+
:'custom_username_template' => :'String',
|
118
123
|
:'delete_protection' => :'String',
|
119
124
|
:'description' => :'String',
|
120
125
|
:'json' => :'Boolean',
|
@@ -163,6 +168,10 @@ module Akeyless
|
|
163
168
|
self.creation_statements = attributes[:'creation_statements']
|
164
169
|
end
|
165
170
|
|
171
|
+
if attributes.key?(:'custom_username_template')
|
172
|
+
self.custom_username_template = attributes[:'custom_username_template']
|
173
|
+
end
|
174
|
+
|
166
175
|
if attributes.key?(:'delete_protection')
|
167
176
|
self.delete_protection = attributes[:'delete_protection']
|
168
177
|
end
|
@@ -286,6 +295,7 @@ module Akeyless
|
|
286
295
|
return true if self.equal?(o)
|
287
296
|
self.class == o.class &&
|
288
297
|
creation_statements == o.creation_statements &&
|
298
|
+
custom_username_template == o.custom_username_template &&
|
289
299
|
delete_protection == o.delete_protection &&
|
290
300
|
description == o.description &&
|
291
301
|
json == o.json &&
|
@@ -317,7 +327,7 @@ module Akeyless
|
|
317
327
|
# Calculates hash code according to all attributes.
|
318
328
|
# @return [Integer] Hash code
|
319
329
|
def hash
|
320
|
-
[creation_statements, delete_protection, description, json, name, new_name, password_length, producer_encryption_key, redshift_db_name, redshift_host, redshift_password, redshift_port, redshift_username, secure_access_enable, secure_access_host, ssl, tags, target_name, token, uid_token, user_ttl].hash
|
330
|
+
[creation_statements, custom_username_template, delete_protection, description, json, name, new_name, password_length, producer_encryption_key, redshift_db_name, redshift_host, redshift_password, redshift_port, redshift_username, secure_access_enable, secure_access_host, ssl, tags, target_name, token, uid_token, user_ttl].hash
|
321
331
|
end
|
322
332
|
|
323
333
|
# Builds the object from hash
|
@@ -25,6 +25,12 @@ module Akeyless
|
|
25
25
|
# Database Username
|
26
26
|
attr_accessor :account_username
|
27
27
|
|
28
|
+
# The authentication mode for the temporary user [password/key]
|
29
|
+
attr_accessor :auth_mode
|
30
|
+
|
31
|
+
# Customize how temporary usernames are generated using go template
|
32
|
+
attr_accessor :custom_username_template
|
33
|
+
|
28
34
|
# Database name
|
29
35
|
attr_accessor :db_name
|
30
36
|
|
@@ -37,6 +43,8 @@ module Akeyless
|
|
37
43
|
# Set output format to JSON
|
38
44
|
attr_accessor :json
|
39
45
|
|
46
|
+
attr_accessor :key_algo
|
47
|
+
|
40
48
|
# Dynamic secret name
|
41
49
|
attr_accessor :name
|
42
50
|
|
@@ -79,10 +87,13 @@ module Akeyless
|
|
79
87
|
:'account' => :'account',
|
80
88
|
:'account_password' => :'account-password',
|
81
89
|
:'account_username' => :'account-username',
|
90
|
+
:'auth_mode' => :'auth-mode',
|
91
|
+
:'custom_username_template' => :'custom-username-template',
|
82
92
|
:'db_name' => :'db-name',
|
83
93
|
:'delete_protection' => :'delete_protection',
|
84
94
|
:'description' => :'description',
|
85
95
|
:'json' => :'json',
|
96
|
+
:'key_algo' => :'key-algo',
|
86
97
|
:'name' => :'name',
|
87
98
|
:'new_name' => :'new-name',
|
88
99
|
:'password_length' => :'password-length',
|
@@ -109,10 +120,13 @@ module Akeyless
|
|
109
120
|
:'account' => :'String',
|
110
121
|
:'account_password' => :'String',
|
111
122
|
:'account_username' => :'String',
|
123
|
+
:'auth_mode' => :'String',
|
124
|
+
:'custom_username_template' => :'String',
|
112
125
|
:'db_name' => :'String',
|
113
126
|
:'delete_protection' => :'String',
|
114
127
|
:'description' => :'String',
|
115
128
|
:'json' => :'Boolean',
|
129
|
+
:'key_algo' => :'String',
|
116
130
|
:'name' => :'String',
|
117
131
|
:'new_name' => :'String',
|
118
132
|
:'password_length' => :'String',
|
@@ -161,6 +175,16 @@ module Akeyless
|
|
161
175
|
self.account_username = attributes[:'account_username']
|
162
176
|
end
|
163
177
|
|
178
|
+
if attributes.key?(:'auth_mode')
|
179
|
+
self.auth_mode = attributes[:'auth_mode']
|
180
|
+
else
|
181
|
+
self.auth_mode = 'password'
|
182
|
+
end
|
183
|
+
|
184
|
+
if attributes.key?(:'custom_username_template')
|
185
|
+
self.custom_username_template = attributes[:'custom_username_template']
|
186
|
+
end
|
187
|
+
|
164
188
|
if attributes.key?(:'db_name')
|
165
189
|
self.db_name = attributes[:'db_name']
|
166
190
|
end
|
@@ -179,6 +203,10 @@ module Akeyless
|
|
179
203
|
self.json = false
|
180
204
|
end
|
181
205
|
|
206
|
+
if attributes.key?(:'key_algo')
|
207
|
+
self.key_algo = attributes[:'key_algo']
|
208
|
+
end
|
209
|
+
|
182
210
|
if attributes.key?(:'name')
|
183
211
|
self.name = attributes[:'name']
|
184
212
|
else
|
@@ -262,10 +290,13 @@ module Akeyless
|
|
262
290
|
account == o.account &&
|
263
291
|
account_password == o.account_password &&
|
264
292
|
account_username == o.account_username &&
|
293
|
+
auth_mode == o.auth_mode &&
|
294
|
+
custom_username_template == o.custom_username_template &&
|
265
295
|
db_name == o.db_name &&
|
266
296
|
delete_protection == o.delete_protection &&
|
267
297
|
description == o.description &&
|
268
298
|
json == o.json &&
|
299
|
+
key_algo == o.key_algo &&
|
269
300
|
name == o.name &&
|
270
301
|
new_name == o.new_name &&
|
271
302
|
password_length == o.password_length &&
|
@@ -289,7 +320,7 @@ module Akeyless
|
|
289
320
|
# Calculates hash code according to all attributes.
|
290
321
|
# @return [Integer] Hash code
|
291
322
|
def hash
|
292
|
-
[account, account_password, account_username, db_name, delete_protection, description, json, name, new_name, password_length, private_key, private_key_passphrase, role, tags, target_name, token, uid_token, user_ttl, warehouse].hash
|
323
|
+
[account, account_password, account_username, auth_mode, custom_username_template, db_name, delete_protection, description, json, key_algo, name, new_name, password_length, private_key, private_key_passphrase, role, tags, target_name, token, uid_token, user_ttl, warehouse].hash
|
293
324
|
end
|
294
325
|
|
295
326
|
# Builds the object from hash
|
@@ -31,6 +31,9 @@ module Akeyless
|
|
31
31
|
# Base URL
|
32
32
|
attr_accessor :base_url
|
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
|
|
@@ -66,6 +69,7 @@ module Akeyless
|
|
66
69
|
:'artifactory_token_audience' => :'artifactory-token-audience',
|
67
70
|
:'artifactory_token_scope' => :'artifactory-token-scope',
|
68
71
|
:'base_url' => :'base-url',
|
72
|
+
:'custom_username_template' => :'custom-username-template',
|
69
73
|
:'delete_protection' => :'delete_protection',
|
70
74
|
:'json' => :'json',
|
71
75
|
:'name' => :'name',
|
@@ -91,6 +95,7 @@ module Akeyless
|
|
91
95
|
:'artifactory_token_audience' => :'String',
|
92
96
|
:'artifactory_token_scope' => :'String',
|
93
97
|
:'base_url' => :'String',
|
98
|
+
:'custom_username_template' => :'String',
|
94
99
|
:'delete_protection' => :'String',
|
95
100
|
:'json' => :'Boolean',
|
96
101
|
:'name' => :'String',
|
@@ -148,6 +153,10 @@ module Akeyless
|
|
148
153
|
self.base_url = attributes[:'base_url']
|
149
154
|
end
|
150
155
|
|
156
|
+
if attributes.key?(:'custom_username_template')
|
157
|
+
self.custom_username_template = attributes[:'custom_username_template']
|
158
|
+
end
|
159
|
+
|
151
160
|
if attributes.key?(:'delete_protection')
|
152
161
|
self.delete_protection = attributes[:'delete_protection']
|
153
162
|
end
|
@@ -233,6 +242,7 @@ module Akeyless
|
|
233
242
|
artifactory_token_audience == o.artifactory_token_audience &&
|
234
243
|
artifactory_token_scope == o.artifactory_token_scope &&
|
235
244
|
base_url == o.base_url &&
|
245
|
+
custom_username_template == o.custom_username_template &&
|
236
246
|
delete_protection == o.delete_protection &&
|
237
247
|
json == o.json &&
|
238
248
|
name == o.name &&
|
@@ -253,7 +263,7 @@ module Akeyless
|
|
253
263
|
# Calculates hash code according to all attributes.
|
254
264
|
# @return [Integer] Hash code
|
255
265
|
def hash
|
256
|
-
[artifactory_admin_name, artifactory_admin_pwd, artifactory_token_audience, artifactory_token_scope, base_url, delete_protection, json, name, producer_encryption_key_name, tags, target_name, token, uid_token, user_ttl].hash
|
266
|
+
[artifactory_admin_name, artifactory_admin_pwd, artifactory_token_audience, artifactory_token_scope, base_url, custom_username_template, delete_protection, json, name, producer_encryption_key_name, tags, target_name, token, uid_token, user_ttl].hash
|
257
267
|
end
|
258
268
|
|
259
269
|
# Builds the object from hash
|
@@ -27,6 +27,9 @@ module Akeyless
|
|
27
27
|
# Secret Access Key
|
28
28
|
attr_accessor :aws_access_secret_key
|
29
29
|
|
30
|
+
# The AWS External ID associated with the AWS role (relevant only for assume_role mode)
|
31
|
+
attr_accessor :aws_external_id
|
32
|
+
|
30
33
|
# AWS Role ARNs to be used in the Assume Role operation (relevant only for assume_role mode)
|
31
34
|
attr_accessor :aws_role_arns
|
32
35
|
|
@@ -42,6 +45,9 @@ module Akeyless
|
|
42
45
|
# Enable AWS User programmatic access
|
43
46
|
attr_accessor :aws_user_programmatic_access
|
44
47
|
|
48
|
+
# Customize how temporary usernames are generated using go template
|
49
|
+
attr_accessor :custom_username_template
|
50
|
+
|
45
51
|
# Protection from accidental deletion of this object [true/false]
|
46
52
|
attr_accessor :delete_protection
|
47
53
|
|
@@ -118,11 +124,13 @@ module Akeyless
|
|
118
124
|
:'admin_rotation_interval_days' => :'admin-rotation-interval-days',
|
119
125
|
:'aws_access_key_id' => :'aws-access-key-id',
|
120
126
|
:'aws_access_secret_key' => :'aws-access-secret-key',
|
127
|
+
:'aws_external_id' => :'aws-external-id',
|
121
128
|
:'aws_role_arns' => :'aws-role-arns',
|
122
129
|
:'aws_user_console_access' => :'aws-user-console-access',
|
123
130
|
:'aws_user_groups' => :'aws-user-groups',
|
124
131
|
:'aws_user_policies' => :'aws-user-policies',
|
125
132
|
:'aws_user_programmatic_access' => :'aws-user-programmatic-access',
|
133
|
+
:'custom_username_template' => :'custom-username-template',
|
126
134
|
:'delete_protection' => :'delete_protection',
|
127
135
|
:'enable_admin_rotation' => :'enable-admin-rotation',
|
128
136
|
:'json' => :'json',
|
@@ -161,11 +169,13 @@ module Akeyless
|
|
161
169
|
:'admin_rotation_interval_days' => :'Integer',
|
162
170
|
:'aws_access_key_id' => :'String',
|
163
171
|
:'aws_access_secret_key' => :'String',
|
172
|
+
:'aws_external_id' => :'String',
|
164
173
|
:'aws_role_arns' => :'String',
|
165
174
|
:'aws_user_console_access' => :'Boolean',
|
166
175
|
:'aws_user_groups' => :'String',
|
167
176
|
:'aws_user_policies' => :'String',
|
168
177
|
:'aws_user_programmatic_access' => :'Boolean',
|
178
|
+
:'custom_username_template' => :'String',
|
169
179
|
:'delete_protection' => :'String',
|
170
180
|
:'enable_admin_rotation' => :'Boolean',
|
171
181
|
:'json' => :'Boolean',
|
@@ -231,6 +241,10 @@ module Akeyless
|
|
231
241
|
self.aws_access_secret_key = attributes[:'aws_access_secret_key']
|
232
242
|
end
|
233
243
|
|
244
|
+
if attributes.key?(:'aws_external_id')
|
245
|
+
self.aws_external_id = attributes[:'aws_external_id']
|
246
|
+
end
|
247
|
+
|
234
248
|
if attributes.key?(:'aws_role_arns')
|
235
249
|
self.aws_role_arns = attributes[:'aws_role_arns']
|
236
250
|
end
|
@@ -255,6 +269,10 @@ module Akeyless
|
|
255
269
|
self.aws_user_programmatic_access = true
|
256
270
|
end
|
257
271
|
|
272
|
+
if attributes.key?(:'custom_username_template')
|
273
|
+
self.custom_username_template = attributes[:'custom_username_template']
|
274
|
+
end
|
275
|
+
|
258
276
|
if attributes.key?(:'delete_protection')
|
259
277
|
self.delete_protection = attributes[:'delete_protection']
|
260
278
|
end
|
@@ -395,11 +413,13 @@ module Akeyless
|
|
395
413
|
admin_rotation_interval_days == o.admin_rotation_interval_days &&
|
396
414
|
aws_access_key_id == o.aws_access_key_id &&
|
397
415
|
aws_access_secret_key == o.aws_access_secret_key &&
|
416
|
+
aws_external_id == o.aws_external_id &&
|
398
417
|
aws_role_arns == o.aws_role_arns &&
|
399
418
|
aws_user_console_access == o.aws_user_console_access &&
|
400
419
|
aws_user_groups == o.aws_user_groups &&
|
401
420
|
aws_user_policies == o.aws_user_policies &&
|
402
421
|
aws_user_programmatic_access == o.aws_user_programmatic_access &&
|
422
|
+
custom_username_template == o.custom_username_template &&
|
403
423
|
delete_protection == o.delete_protection &&
|
404
424
|
enable_admin_rotation == o.enable_admin_rotation &&
|
405
425
|
json == o.json &&
|
@@ -434,7 +454,7 @@ module Akeyless
|
|
434
454
|
# Calculates hash code according to all attributes.
|
435
455
|
# @return [Integer] Hash code
|
436
456
|
def hash
|
437
|
-
[access_mode, admin_rotation_interval_days, aws_access_key_id, aws_access_secret_key, aws_role_arns, aws_user_console_access, aws_user_groups, aws_user_policies, aws_user_programmatic_access, delete_protection, enable_admin_rotation, json, name, password_length, producer_encryption_key_name, region, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_delay, secure_access_enable, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, session_tags, tags, target_name, token, transitive_tag_keys, uid_token, user_ttl].hash
|
457
|
+
[access_mode, admin_rotation_interval_days, aws_access_key_id, aws_access_secret_key, aws_external_id, aws_role_arns, aws_user_console_access, aws_user_groups, aws_user_policies, aws_user_programmatic_access, custom_username_template, delete_protection, enable_admin_rotation, json, name, password_length, producer_encryption_key_name, region, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_delay, secure_access_enable, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, session_tags, tags, target_name, token, transitive_tag_keys, uid_token, user_ttl].hash
|
438
458
|
end
|
439
459
|
|
440
460
|
# Builds the object from hash
|
@@ -19,6 +19,9 @@ module Akeyless
|
|
19
19
|
# Azure App Object Id
|
20
20
|
attr_accessor :app_obj_id
|
21
21
|
|
22
|
+
# Azure AD administrative unit (relevant only when azure-user-portal-access=true)
|
23
|
+
attr_accessor :azure_administrative_unit
|
24
|
+
|
22
25
|
# Azure Client ID
|
23
26
|
attr_accessor :azure_client_id
|
24
27
|
|
@@ -28,6 +31,9 @@ module Akeyless
|
|
28
31
|
# Azure Tenant ID
|
29
32
|
attr_accessor :azure_tenant_id
|
30
33
|
|
34
|
+
# Customize how temporary usernames are generated using go template
|
35
|
+
attr_accessor :custom_username_template
|
36
|
+
|
31
37
|
# Protection from accidental deletion of this object [true/false]
|
32
38
|
attr_accessor :delete_protection
|
33
39
|
|
@@ -98,9 +104,11 @@ module Akeyless
|
|
98
104
|
def self.attribute_map
|
99
105
|
{
|
100
106
|
:'app_obj_id' => :'app-obj-id',
|
107
|
+
:'azure_administrative_unit' => :'azure-administrative-unit',
|
101
108
|
:'azure_client_id' => :'azure-client-id',
|
102
109
|
:'azure_client_secret' => :'azure-client-secret',
|
103
110
|
:'azure_tenant_id' => :'azure-tenant-id',
|
111
|
+
:'custom_username_template' => :'custom-username-template',
|
104
112
|
:'delete_protection' => :'delete_protection',
|
105
113
|
:'fixed_user_claim_keyname' => :'fixed-user-claim-keyname',
|
106
114
|
:'fixed_user_only' => :'fixed-user-only',
|
@@ -135,9 +143,11 @@ module Akeyless
|
|
135
143
|
def self.openapi_types
|
136
144
|
{
|
137
145
|
:'app_obj_id' => :'String',
|
146
|
+
:'azure_administrative_unit' => :'String',
|
138
147
|
:'azure_client_id' => :'String',
|
139
148
|
:'azure_client_secret' => :'String',
|
140
149
|
:'azure_tenant_id' => :'String',
|
150
|
+
:'custom_username_template' => :'String',
|
141
151
|
:'delete_protection' => :'String',
|
142
152
|
:'fixed_user_claim_keyname' => :'String',
|
143
153
|
:'fixed_user_only' => :'Boolean',
|
@@ -188,6 +198,10 @@ module Akeyless
|
|
188
198
|
self.app_obj_id = attributes[:'app_obj_id']
|
189
199
|
end
|
190
200
|
|
201
|
+
if attributes.key?(:'azure_administrative_unit')
|
202
|
+
self.azure_administrative_unit = attributes[:'azure_administrative_unit']
|
203
|
+
end
|
204
|
+
|
191
205
|
if attributes.key?(:'azure_client_id')
|
192
206
|
self.azure_client_id = attributes[:'azure_client_id']
|
193
207
|
end
|
@@ -200,6 +214,10 @@ module Akeyless
|
|
200
214
|
self.azure_tenant_id = attributes[:'azure_tenant_id']
|
201
215
|
end
|
202
216
|
|
217
|
+
if attributes.key?(:'custom_username_template')
|
218
|
+
self.custom_username_template = attributes[:'custom_username_template']
|
219
|
+
end
|
220
|
+
|
203
221
|
if attributes.key?(:'delete_protection')
|
204
222
|
self.delete_protection = attributes[:'delete_protection']
|
205
223
|
end
|
@@ -337,9 +355,11 @@ module Akeyless
|
|
337
355
|
return true if self.equal?(o)
|
338
356
|
self.class == o.class &&
|
339
357
|
app_obj_id == o.app_obj_id &&
|
358
|
+
azure_administrative_unit == o.azure_administrative_unit &&
|
340
359
|
azure_client_id == o.azure_client_id &&
|
341
360
|
azure_client_secret == o.azure_client_secret &&
|
342
361
|
azure_tenant_id == o.azure_tenant_id &&
|
362
|
+
custom_username_template == o.custom_username_template &&
|
343
363
|
delete_protection == o.delete_protection &&
|
344
364
|
fixed_user_claim_keyname == o.fixed_user_claim_keyname &&
|
345
365
|
fixed_user_only == o.fixed_user_only &&
|
@@ -373,7 +393,7 @@ module Akeyless
|
|
373
393
|
# Calculates hash code according to all attributes.
|
374
394
|
# @return [Integer] Hash code
|
375
395
|
def hash
|
376
|
-
[app_obj_id, azure_client_id, azure_client_secret, azure_tenant_id, delete_protection, fixed_user_claim_keyname, fixed_user_only, json, name, password_length, producer_encryption_key_name, secure_access_enable, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, token, uid_token, user_group_obj_id, user_portal_access, user_principal_name, user_programmatic_access, user_role_template_id, user_ttl].hash
|
396
|
+
[app_obj_id, azure_administrative_unit, azure_client_id, azure_client_secret, azure_tenant_id, custom_username_template, delete_protection, fixed_user_claim_keyname, fixed_user_only, json, name, password_length, producer_encryption_key_name, secure_access_enable, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, token, uid_token, user_group_obj_id, user_portal_access, user_principal_name, user_programmatic_access, user_role_template_id, user_ttl].hash
|
377
397
|
end
|
378
398
|
|
379
399
|
# Builds the object from hash
|