akeyless 2.16.8 → 2.16.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -1
- data/docs/Configure.md +5 -1
- data/docs/GatewayCreateMigration.md +22 -22
- data/docs/GatewayCreateProducerArtifactory.md +2 -0
- data/docs/GatewayCreateProducerAws.md +2 -0
- data/docs/GatewayCreateProducerAzure.md +2 -0
- data/docs/GatewayCreateProducerCassandra.md +2 -0
- data/docs/GatewayCreateProducerCertificateAutomation.md +2 -0
- data/docs/GatewayCreateProducerChef.md +2 -0
- data/docs/GatewayCreateProducerCustom.md +2 -0
- data/docs/GatewayCreateProducerDockerhub.md +2 -0
- data/docs/GatewayCreateProducerEks.md +2 -0
- data/docs/GatewayCreateProducerGcp.md +2 -0
- data/docs/GatewayCreateProducerGithub.md +2 -0
- data/docs/GatewayCreateProducerGke.md +2 -0
- data/docs/GatewayCreateProducerHanaDb.md +2 -0
- data/docs/GatewayCreateProducerLdap.md +2 -0
- data/docs/GatewayCreateProducerMSSQL.md +2 -0
- data/docs/GatewayCreateProducerMongo.md +2 -0
- data/docs/GatewayCreateProducerMySQL.md +2 -0
- data/docs/GatewayCreateProducerNativeK8S.md +2 -0
- data/docs/GatewayCreateProducerOracleDb.md +2 -0
- data/docs/GatewayCreateProducerPostgreSQL.md +2 -0
- data/docs/GatewayCreateProducerRabbitMQ.md +2 -0
- data/docs/GatewayCreateProducerRdp.md +2 -0
- data/docs/GatewayCreateProducerRedshift.md +2 -0
- data/docs/GatewayCreateProducerSnowflake.md +2 -0
- data/docs/GatewayDeleteMigration.md +1 -1
- data/docs/GatewayGetMigration.md +1 -1
- data/docs/GatewayStatusMigration.md +24 -0
- data/docs/GatewayUpdateItem.md +2 -0
- data/docs/GatewayUpdateMigration.md +25 -25
- data/docs/GatewayUpdateProducerArtifactory.md +2 -0
- data/docs/GatewayUpdateProducerAws.md +2 -0
- data/docs/GatewayUpdateProducerAzure.md +2 -0
- data/docs/GatewayUpdateProducerCassandra.md +2 -0
- data/docs/GatewayUpdateProducerCertificateAutomation.md +2 -0
- data/docs/GatewayUpdateProducerChef.md +2 -0
- data/docs/GatewayUpdateProducerCustom.md +2 -0
- data/docs/GatewayUpdateProducerDockerhub.md +2 -0
- data/docs/GatewayUpdateProducerEks.md +2 -0
- data/docs/GatewayUpdateProducerGcp.md +2 -0
- data/docs/GatewayUpdateProducerGithub.md +2 -0
- data/docs/GatewayUpdateProducerGke.md +2 -0
- data/docs/GatewayUpdateProducerHanaDb.md +2 -0
- data/docs/GatewayUpdateProducerLdap.md +2 -0
- data/docs/GatewayUpdateProducerMSSQL.md +2 -0
- data/docs/GatewayUpdateProducerMongo.md +2 -0
- data/docs/GatewayUpdateProducerMySQL.md +2 -0
- data/docs/GatewayUpdateProducerNativeK8S.md +2 -0
- data/docs/GatewayUpdateProducerOracleDb.md +2 -0
- data/docs/GatewayUpdateProducerPostgreSQL.md +2 -0
- data/docs/GatewayUpdateProducerRabbitMQ.md +2 -0
- data/docs/GatewayUpdateProducerRdp.md +2 -0
- data/docs/GatewayUpdateProducerRedshift.md +2 -0
- data/docs/GatewayUpdateProducerSnowflake.md +2 -0
- data/docs/GetKubeExecCreds.md +4 -0
- data/docs/GetPKICertificate.md +4 -0
- data/docs/GetSSHCertificate.md +4 -0
- data/docs/Item.md +2 -0
- data/docs/ItemGeneralInfo.md +2 -0
- data/docs/MigrationGeneral.md +2 -0
- data/docs/MigrationItems.md +24 -0
- data/docs/MigrationStatusReplyObj.md +36 -0
- data/docs/TargetTypeDetailsInput.md +2 -0
- data/docs/UpdateItem.md +2 -0
- data/docs/UploadRSA.md +2 -0
- data/docs/V2Api.md +64 -1
- data/lib/akeyless/api/v2_api.rb +64 -0
- data/lib/akeyless/models/configure.rb +24 -4
- data/lib/akeyless/models/gateway_create_migration.rb +22 -22
- data/lib/akeyless/models/gateway_create_producer_artifactory.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_aws.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_azure.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_cassandra.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_certificate_automation.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_chef.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_custom.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_dockerhub.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_eks.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_gcp.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_github.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_gke.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_hana_db.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_ldap.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_mongo.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_mssql.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_my_sql.rb +11 -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 +11 -1
- data/lib/akeyless/models/gateway_create_producer_rabbit_mq.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_rdp.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_redshift.rb +11 -1
- data/lib/akeyless/models/gateway_create_producer_snowflake.rb +11 -1
- data/lib/akeyless/models/gateway_delete_migration.rb +1 -1
- data/lib/akeyless/models/gateway_get_migration.rb +1 -0
- data/lib/akeyless/models/gateway_status_migration.rb +251 -0
- data/lib/akeyless/models/gateway_update_item.rb +11 -1
- data/lib/akeyless/models/gateway_update_migration.rb +33 -38
- data/lib/akeyless/models/gateway_update_producer_artifactory.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_aws.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_azure.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_cassandra.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_certificate_automation.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_chef.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_custom.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_dockerhub.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_eks.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_gcp.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_github.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_gke.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_hana_db.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_ldap.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_mongo.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_mssql.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_my_sql.rb +11 -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 +11 -1
- data/lib/akeyless/models/gateway_update_producer_rabbit_mq.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_rdp.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_redshift.rb +11 -1
- data/lib/akeyless/models/gateway_update_producer_snowflake.rb +11 -1
- data/lib/akeyless/models/get_kube_exec_creds.rb +21 -1
- data/lib/akeyless/models/get_pki_certificate.rb +21 -1
- data/lib/akeyless/models/get_ssh_certificate.rb +21 -1
- data/lib/akeyless/models/item.rb +10 -1
- data/lib/akeyless/models/item_general_info.rb +10 -1
- data/lib/akeyless/models/migration_general.rb +10 -1
- data/lib/akeyless/models/migration_items.rb +246 -0
- data/lib/akeyless/models/migration_status_reply_obj.rb +300 -0
- data/lib/akeyless/models/target_type_details_input.rb +10 -1
- data/lib/akeyless/models/update_item.rb +11 -1
- data/lib/akeyless/models/upload_rsa.rb +11 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +3 -0
- data/spec/models/gateway_status_migration_spec.rb +52 -0
- data/spec/models/migration_items_spec.rb +52 -0
- data/spec/models/migration_status_reply_obj_spec.rb +88 -0
- metadata +511 -499
@@ -16,6 +16,9 @@ require 'time'
|
|
16
16
|
module Akeyless
|
17
17
|
# gatewayUpdateProducerMSSQL is a command that updates mssql producer
|
18
18
|
class GatewayUpdateProducerMSSQL
|
19
|
+
# Protection from accidental deletion of this item
|
20
|
+
attr_accessor :delete_protection
|
21
|
+
|
19
22
|
# MSSQL Creation statements
|
20
23
|
attr_accessor :mssql_create_statements
|
21
24
|
|
@@ -74,6 +77,7 @@ module Akeyless
|
|
74
77
|
# Attribute mapping from ruby-style variable name to JSON key.
|
75
78
|
def self.attribute_map
|
76
79
|
{
|
80
|
+
:'delete_protection' => :'delete_protection',
|
77
81
|
:'mssql_create_statements' => :'mssql-create-statements',
|
78
82
|
:'mssql_dbname' => :'mssql-dbname',
|
79
83
|
:'mssql_host' => :'mssql-host',
|
@@ -105,6 +109,7 @@ module Akeyless
|
|
105
109
|
# Attribute type mapping.
|
106
110
|
def self.openapi_types
|
107
111
|
{
|
112
|
+
:'delete_protection' => :'String',
|
108
113
|
:'mssql_create_statements' => :'String',
|
109
114
|
:'mssql_dbname' => :'String',
|
110
115
|
:'mssql_host' => :'String',
|
@@ -149,6 +154,10 @@ module Akeyless
|
|
149
154
|
h[k.to_sym] = v
|
150
155
|
}
|
151
156
|
|
157
|
+
if attributes.key?(:'delete_protection')
|
158
|
+
self.delete_protection = attributes[:'delete_protection']
|
159
|
+
end
|
160
|
+
|
152
161
|
if attributes.key?(:'mssql_create_statements')
|
153
162
|
self.mssql_create_statements = attributes[:'mssql_create_statements']
|
154
163
|
end
|
@@ -263,6 +272,7 @@ module Akeyless
|
|
263
272
|
def ==(o)
|
264
273
|
return true if self.equal?(o)
|
265
274
|
self.class == o.class &&
|
275
|
+
delete_protection == o.delete_protection &&
|
266
276
|
mssql_create_statements == o.mssql_create_statements &&
|
267
277
|
mssql_dbname == o.mssql_dbname &&
|
268
278
|
mssql_host == o.mssql_host &&
|
@@ -294,7 +304,7 @@ module Akeyless
|
|
294
304
|
# Calculates hash code according to all attributes.
|
295
305
|
# @return [Integer] Hash code
|
296
306
|
def hash
|
297
|
-
[mssql_create_statements, mssql_dbname, mssql_host, mssql_password, mssql_port, mssql_revocation_statements, mssql_username, name, new_name, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
|
307
|
+
[delete_protection, mssql_create_statements, mssql_dbname, mssql_host, mssql_password, mssql_port, mssql_revocation_statements, mssql_username, name, new_name, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
|
298
308
|
end
|
299
309
|
|
300
310
|
# Builds the object from hash
|
@@ -22,6 +22,9 @@ module Akeyless
|
|
22
22
|
# (Optional) Server name for certificate verification
|
23
23
|
attr_accessor :db_server_name
|
24
24
|
|
25
|
+
# Protection from accidental deletion of this item
|
26
|
+
attr_accessor :delete_protection
|
27
|
+
|
25
28
|
# MySQL DB Name
|
26
29
|
attr_accessor :mysql_dbname
|
27
30
|
|
@@ -83,6 +86,7 @@ module Akeyless
|
|
83
86
|
{
|
84
87
|
:'db_server_certificates' => :'db-server-certificates',
|
85
88
|
:'db_server_name' => :'db-server-name',
|
89
|
+
:'delete_protection' => :'delete_protection',
|
86
90
|
:'mysql_dbname' => :'mysql-dbname',
|
87
91
|
:'mysql_host' => :'mysql-host',
|
88
92
|
:'mysql_password' => :'mysql-password',
|
@@ -116,6 +120,7 @@ module Akeyless
|
|
116
120
|
{
|
117
121
|
:'db_server_certificates' => :'String',
|
118
122
|
:'db_server_name' => :'String',
|
123
|
+
:'delete_protection' => :'String',
|
119
124
|
:'mysql_dbname' => :'String',
|
120
125
|
:'mysql_host' => :'String',
|
121
126
|
:'mysql_password' => :'String',
|
@@ -168,6 +173,10 @@ module Akeyless
|
|
168
173
|
self.db_server_name = attributes[:'db_server_name']
|
169
174
|
end
|
170
175
|
|
176
|
+
if attributes.key?(:'delete_protection')
|
177
|
+
self.delete_protection = attributes[:'delete_protection']
|
178
|
+
end
|
179
|
+
|
171
180
|
if attributes.key?(:'mysql_dbname')
|
172
181
|
self.mysql_dbname = attributes[:'mysql_dbname']
|
173
182
|
end
|
@@ -284,6 +293,7 @@ module Akeyless
|
|
284
293
|
self.class == o.class &&
|
285
294
|
db_server_certificates == o.db_server_certificates &&
|
286
295
|
db_server_name == o.db_server_name &&
|
296
|
+
delete_protection == o.delete_protection &&
|
287
297
|
mysql_dbname == o.mysql_dbname &&
|
288
298
|
mysql_host == o.mysql_host &&
|
289
299
|
mysql_password == o.mysql_password &&
|
@@ -315,7 +325,7 @@ module Akeyless
|
|
315
325
|
# Calculates hash code according to all attributes.
|
316
326
|
# @return [Integer] Hash code
|
317
327
|
def hash
|
318
|
-
[db_server_certificates, db_server_name, mysql_dbname, mysql_host, mysql_password, mysql_port, mysql_screation_statements, mysql_username, name, new_name, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_enable, secure_access_host, secure_access_web, ssl, ssl_certificate, tags, target_name, token, uid_token, user_ttl].hash
|
328
|
+
[db_server_certificates, db_server_name, delete_protection, mysql_dbname, mysql_host, mysql_password, mysql_port, mysql_screation_statements, mysql_username, name, new_name, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_enable, secure_access_host, secure_access_web, ssl, ssl_certificate, tags, target_name, token, uid_token, user_ttl].hash
|
319
329
|
end
|
320
330
|
|
321
331
|
# Builds the object from hash
|
@@ -16,6 +16,9 @@ require 'time'
|
|
16
16
|
module Akeyless
|
17
17
|
# gatewayUpdateProducerNativeK8S is a command that updates k8s producer
|
18
18
|
class GatewayUpdateProducerNativeK8S
|
19
|
+
# Protection from accidental deletion of this item
|
20
|
+
attr_accessor :delete_protection
|
21
|
+
|
19
22
|
# K8S cluster CA certificate
|
20
23
|
attr_accessor :k8s_cluster_ca_cert
|
21
24
|
|
@@ -74,6 +77,7 @@ module Akeyless
|
|
74
77
|
# Attribute mapping from ruby-style variable name to JSON key.
|
75
78
|
def self.attribute_map
|
76
79
|
{
|
80
|
+
:'delete_protection' => :'delete_protection',
|
77
81
|
:'k8s_cluster_ca_cert' => :'k8s-cluster-ca-cert',
|
78
82
|
:'k8s_cluster_endpoint' => :'k8s-cluster-endpoint',
|
79
83
|
:'k8s_cluster_token' => :'k8s-cluster-token',
|
@@ -106,6 +110,7 @@ module Akeyless
|
|
106
110
|
# Attribute type mapping.
|
107
111
|
def self.openapi_types
|
108
112
|
{
|
113
|
+
:'delete_protection' => :'String',
|
109
114
|
:'k8s_cluster_ca_cert' => :'String',
|
110
115
|
:'k8s_cluster_endpoint' => :'String',
|
111
116
|
:'k8s_cluster_token' => :'String',
|
@@ -151,6 +156,10 @@ module Akeyless
|
|
151
156
|
h[k.to_sym] = v
|
152
157
|
}
|
153
158
|
|
159
|
+
if attributes.key?(:'delete_protection')
|
160
|
+
self.delete_protection = attributes[:'delete_protection']
|
161
|
+
end
|
162
|
+
|
154
163
|
if attributes.key?(:'k8s_cluster_ca_cert')
|
155
164
|
self.k8s_cluster_ca_cert = attributes[:'k8s_cluster_ca_cert']
|
156
165
|
end
|
@@ -263,6 +272,7 @@ module Akeyless
|
|
263
272
|
def ==(o)
|
264
273
|
return true if self.equal?(o)
|
265
274
|
self.class == o.class &&
|
275
|
+
delete_protection == o.delete_protection &&
|
266
276
|
k8s_cluster_ca_cert == o.k8s_cluster_ca_cert &&
|
267
277
|
k8s_cluster_endpoint == o.k8s_cluster_endpoint &&
|
268
278
|
k8s_cluster_token == o.k8s_cluster_token &&
|
@@ -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
|
-
[k8s_cluster_ca_cert, k8s_cluster_endpoint, k8s_cluster_token, k8s_namespace, k8s_service_account, name, new_name, producer_encryption_key_name, secure_access_allow_port_forwading, secure_access_bastion_issuer, secure_access_cluster_endpoint, secure_access_dashboard_url, secure_access_enable, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, token, uid_token, user_ttl].hash
|
308
|
+
[delete_protection, k8s_cluster_ca_cert, k8s_cluster_endpoint, k8s_cluster_token, k8s_namespace, k8s_service_account, name, new_name, producer_encryption_key_name, secure_access_allow_port_forwading, secure_access_bastion_issuer, secure_access_cluster_endpoint, secure_access_dashboard_url, secure_access_enable, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, token, uid_token, user_ttl].hash
|
299
309
|
end
|
300
310
|
|
301
311
|
# Builds the object from hash
|
@@ -22,6 +22,9 @@ module Akeyless
|
|
22
22
|
# (Optional) Server name for certificate verification
|
23
23
|
attr_accessor :db_server_name
|
24
24
|
|
25
|
+
# Protection from accidental deletion of this item
|
26
|
+
attr_accessor :delete_protection
|
27
|
+
|
25
28
|
# Producer name
|
26
29
|
attr_accessor :name
|
27
30
|
|
@@ -77,6 +80,7 @@ module Akeyless
|
|
77
80
|
{
|
78
81
|
:'db_server_certificates' => :'db-server-certificates',
|
79
82
|
:'db_server_name' => :'db-server-name',
|
83
|
+
:'delete_protection' => :'delete_protection',
|
80
84
|
:'name' => :'name',
|
81
85
|
:'new_name' => :'new-name',
|
82
86
|
:'oracle_host' => :'oracle-host',
|
@@ -108,6 +112,7 @@ module Akeyless
|
|
108
112
|
{
|
109
113
|
:'db_server_certificates' => :'String',
|
110
114
|
:'db_server_name' => :'String',
|
115
|
+
:'delete_protection' => :'String',
|
111
116
|
:'name' => :'String',
|
112
117
|
:'new_name' => :'String',
|
113
118
|
:'oracle_host' => :'String',
|
@@ -158,6 +163,10 @@ module Akeyless
|
|
158
163
|
self.db_server_name = attributes[:'db_server_name']
|
159
164
|
end
|
160
165
|
|
166
|
+
if attributes.key?(:'delete_protection')
|
167
|
+
self.delete_protection = attributes[:'delete_protection']
|
168
|
+
end
|
169
|
+
|
161
170
|
if attributes.key?(:'name')
|
162
171
|
self.name = attributes[:'name']
|
163
172
|
end
|
@@ -266,6 +275,7 @@ module Akeyless
|
|
266
275
|
self.class == o.class &&
|
267
276
|
db_server_certificates == o.db_server_certificates &&
|
268
277
|
db_server_name == o.db_server_name &&
|
278
|
+
delete_protection == o.delete_protection &&
|
269
279
|
name == o.name &&
|
270
280
|
new_name == o.new_name &&
|
271
281
|
oracle_host == o.oracle_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
|
-
[db_server_certificates, db_server_name, name, new_name, oracle_host, oracle_password, oracle_port, oracle_screation_statements, oracle_service_name, oracle_username, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
|
308
|
+
[db_server_certificates, db_server_name, delete_protection, name, new_name, oracle_host, oracle_password, oracle_port, oracle_screation_statements, oracle_service_name, oracle_username, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
|
299
309
|
end
|
300
310
|
|
301
311
|
# 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
|
+
# Protection from accidental deletion of this item
|
23
|
+
attr_accessor :delete_protection
|
24
|
+
|
22
25
|
# Producer name
|
23
26
|
attr_accessor :name
|
24
27
|
|
@@ -78,6 +81,7 @@ module Akeyless
|
|
78
81
|
def self.attribute_map
|
79
82
|
{
|
80
83
|
:'creation_statements' => :'creation-statements',
|
84
|
+
:'delete_protection' => :'delete_protection',
|
81
85
|
:'name' => :'name',
|
82
86
|
:'new_name' => :'new-name',
|
83
87
|
:'postgresql_db_name' => :'postgresql-db-name',
|
@@ -110,6 +114,7 @@ module Akeyless
|
|
110
114
|
def self.openapi_types
|
111
115
|
{
|
112
116
|
:'creation_statements' => :'String',
|
117
|
+
:'delete_protection' => :'String',
|
113
118
|
:'name' => :'String',
|
114
119
|
:'new_name' => :'String',
|
115
120
|
:'postgresql_db_name' => :'String',
|
@@ -158,6 +163,10 @@ module Akeyless
|
|
158
163
|
self.creation_statements = attributes[:'creation_statements']
|
159
164
|
end
|
160
165
|
|
166
|
+
if attributes.key?(:'delete_protection')
|
167
|
+
self.delete_protection = attributes[:'delete_protection']
|
168
|
+
end
|
169
|
+
|
161
170
|
if attributes.key?(:'name')
|
162
171
|
self.name = attributes[:'name']
|
163
172
|
end
|
@@ -273,6 +282,7 @@ module Akeyless
|
|
273
282
|
return true if self.equal?(o)
|
274
283
|
self.class == o.class &&
|
275
284
|
creation_statements == o.creation_statements &&
|
285
|
+
delete_protection == o.delete_protection &&
|
276
286
|
name == o.name &&
|
277
287
|
new_name == o.new_name &&
|
278
288
|
postgresql_db_name == o.postgresql_db_name &&
|
@@ -304,7 +314,7 @@ module Akeyless
|
|
304
314
|
# Calculates hash code according to all attributes.
|
305
315
|
# @return [Integer] Hash code
|
306
316
|
def hash
|
307
|
-
[creation_statements, name, new_name, postgresql_db_name, postgresql_host, postgresql_password, postgresql_port, postgresql_username, producer_encryption_key, revocation_statement, secure_access_bastion_issuer, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_web, ssl, tags, target_name, token, uid_token, user_ttl].hash
|
317
|
+
[creation_statements, delete_protection, name, new_name, postgresql_db_name, postgresql_host, postgresql_password, postgresql_port, postgresql_username, producer_encryption_key, revocation_statement, secure_access_bastion_issuer, secure_access_db_schema, secure_access_enable, secure_access_host, secure_access_web, ssl, tags, target_name, token, uid_token, user_ttl].hash
|
308
318
|
end
|
309
319
|
|
310
320
|
# Builds the object from hash
|
@@ -16,6 +16,9 @@ require 'time'
|
|
16
16
|
module Akeyless
|
17
17
|
# gatewayUpdateProducerRabbitMQ is a command that updates rabbitmq producer
|
18
18
|
class GatewayUpdateProducerRabbitMQ
|
19
|
+
# Protection from accidental deletion of this item
|
20
|
+
attr_accessor :delete_protection
|
21
|
+
|
19
22
|
# Producer name
|
20
23
|
attr_accessor :name
|
21
24
|
|
@@ -78,6 +81,7 @@ module Akeyless
|
|
78
81
|
# Attribute mapping from ruby-style variable name to JSON key.
|
79
82
|
def self.attribute_map
|
80
83
|
{
|
84
|
+
:'delete_protection' => :'delete_protection',
|
81
85
|
:'name' => :'name',
|
82
86
|
:'new_name' => :'new-name',
|
83
87
|
:'producer_encryption_key_name' => :'producer-encryption-key-name',
|
@@ -110,6 +114,7 @@ module Akeyless
|
|
110
114
|
# Attribute type mapping.
|
111
115
|
def self.openapi_types
|
112
116
|
{
|
117
|
+
:'delete_protection' => :'String',
|
113
118
|
:'name' => :'String',
|
114
119
|
:'new_name' => :'String',
|
115
120
|
:'producer_encryption_key_name' => :'String',
|
@@ -155,6 +160,10 @@ module Akeyless
|
|
155
160
|
h[k.to_sym] = v
|
156
161
|
}
|
157
162
|
|
163
|
+
if attributes.key?(:'delete_protection')
|
164
|
+
self.delete_protection = attributes[:'delete_protection']
|
165
|
+
end
|
166
|
+
|
158
167
|
if attributes.key?(:'name')
|
159
168
|
self.name = attributes[:'name']
|
160
169
|
end
|
@@ -269,6 +278,7 @@ module Akeyless
|
|
269
278
|
def ==(o)
|
270
279
|
return true if self.equal?(o)
|
271
280
|
self.class == o.class &&
|
281
|
+
delete_protection == o.delete_protection &&
|
272
282
|
name == o.name &&
|
273
283
|
new_name == o.new_name &&
|
274
284
|
producer_encryption_key_name == o.producer_encryption_key_name &&
|
@@ -301,7 +311,7 @@ module Akeyless
|
|
301
311
|
# Calculates hash code according to all attributes.
|
302
312
|
# @return [Integer] Hash code
|
303
313
|
def hash
|
304
|
-
[name, new_name, producer_encryption_key_name, rabbitmq_admin_pwd, rabbitmq_admin_user, rabbitmq_server_uri, rabbitmq_user_conf_permission, rabbitmq_user_read_permission, rabbitmq_user_tags, rabbitmq_user_vhost, rabbitmq_user_write_permission, secure_access_enable, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, token, uid_token, user_ttl].hash
|
314
|
+
[delete_protection, name, new_name, producer_encryption_key_name, rabbitmq_admin_pwd, rabbitmq_admin_user, rabbitmq_server_uri, rabbitmq_user_conf_permission, rabbitmq_user_read_permission, rabbitmq_user_tags, rabbitmq_user_vhost, rabbitmq_user_write_permission, secure_access_enable, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, token, uid_token, user_ttl].hash
|
305
315
|
end
|
306
316
|
|
307
317
|
# 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
|
+
# Protection from accidental deletion of this item
|
23
|
+
attr_accessor :delete_protection
|
24
|
+
|
22
25
|
# Fixed user
|
23
26
|
attr_accessor :fixed_user_only
|
24
27
|
|
@@ -78,6 +81,7 @@ module Akeyless
|
|
78
81
|
def self.attribute_map
|
79
82
|
{
|
80
83
|
:'allow_user_extend_session' => :'allow-user-extend-session',
|
84
|
+
:'delete_protection' => :'delete_protection',
|
81
85
|
:'fixed_user_only' => :'fixed-user-only',
|
82
86
|
:'name' => :'name',
|
83
87
|
:'new_name' => :'new-name',
|
@@ -110,6 +114,7 @@ module Akeyless
|
|
110
114
|
def self.openapi_types
|
111
115
|
{
|
112
116
|
:'allow_user_extend_session' => :'Integer',
|
117
|
+
:'delete_protection' => :'String',
|
113
118
|
:'fixed_user_only' => :'String',
|
114
119
|
:'name' => :'String',
|
115
120
|
:'new_name' => :'String',
|
@@ -158,6 +163,10 @@ module Akeyless
|
|
158
163
|
self.allow_user_extend_session = attributes[:'allow_user_extend_session']
|
159
164
|
end
|
160
165
|
|
166
|
+
if attributes.key?(:'delete_protection')
|
167
|
+
self.delete_protection = attributes[:'delete_protection']
|
168
|
+
end
|
169
|
+
|
161
170
|
if attributes.key?(:'fixed_user_only')
|
162
171
|
self.fixed_user_only = attributes[:'fixed_user_only']
|
163
172
|
else
|
@@ -273,6 +282,7 @@ module Akeyless
|
|
273
282
|
return true if self.equal?(o)
|
274
283
|
self.class == o.class &&
|
275
284
|
allow_user_extend_session == o.allow_user_extend_session &&
|
285
|
+
delete_protection == o.delete_protection &&
|
276
286
|
fixed_user_only == o.fixed_user_only &&
|
277
287
|
name == o.name &&
|
278
288
|
new_name == o.new_name &&
|
@@ -304,7 +314,7 @@ module Akeyless
|
|
304
314
|
# Calculates hash code according to all attributes.
|
305
315
|
# @return [Integer] Hash code
|
306
316
|
def hash
|
307
|
-
[allow_user_extend_session, fixed_user_only, name, new_name, 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_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, tags, target_name, token, uid_token, user_ttl, warn_user_before_expiration].hash
|
317
|
+
[allow_user_extend_session, delete_protection, fixed_user_only, name, new_name, 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_enable, secure_access_host, secure_access_rdp_domain, secure_access_rdp_user, tags, target_name, token, uid_token, user_ttl, warn_user_before_expiration].hash
|
308
318
|
end
|
309
319
|
|
310
320
|
# 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
|
+
# Protection from accidental deletion of this item
|
23
|
+
attr_accessor :delete_protection
|
24
|
+
|
22
25
|
# Producer name
|
23
26
|
attr_accessor :name
|
24
27
|
|
@@ -69,6 +72,7 @@ module Akeyless
|
|
69
72
|
def self.attribute_map
|
70
73
|
{
|
71
74
|
:'creation_statements' => :'creation-statements',
|
75
|
+
:'delete_protection' => :'delete_protection',
|
72
76
|
:'name' => :'name',
|
73
77
|
:'new_name' => :'new-name',
|
74
78
|
:'producer_encryption_key' => :'producer-encryption-key',
|
@@ -97,6 +101,7 @@ module Akeyless
|
|
97
101
|
def self.openapi_types
|
98
102
|
{
|
99
103
|
:'creation_statements' => :'String',
|
104
|
+
:'delete_protection' => :'String',
|
100
105
|
:'name' => :'String',
|
101
106
|
:'new_name' => :'String',
|
102
107
|
:'producer_encryption_key' => :'String',
|
@@ -141,6 +146,10 @@ module Akeyless
|
|
141
146
|
self.creation_statements = attributes[:'creation_statements']
|
142
147
|
end
|
143
148
|
|
149
|
+
if attributes.key?(:'delete_protection')
|
150
|
+
self.delete_protection = attributes[:'delete_protection']
|
151
|
+
end
|
152
|
+
|
144
153
|
if attributes.key?(:'name')
|
145
154
|
self.name = attributes[:'name']
|
146
155
|
end
|
@@ -240,6 +249,7 @@ module Akeyless
|
|
240
249
|
return true if self.equal?(o)
|
241
250
|
self.class == o.class &&
|
242
251
|
creation_statements == o.creation_statements &&
|
252
|
+
delete_protection == o.delete_protection &&
|
243
253
|
name == o.name &&
|
244
254
|
new_name == o.new_name &&
|
245
255
|
producer_encryption_key == o.producer_encryption_key &&
|
@@ -267,7 +277,7 @@ module Akeyless
|
|
267
277
|
# Calculates hash code according to all attributes.
|
268
278
|
# @return [Integer] Hash code
|
269
279
|
def hash
|
270
|
-
[creation_statements, name, new_name, 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
|
280
|
+
[creation_statements, delete_protection, name, new_name, 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
|
271
281
|
end
|
272
282
|
|
273
283
|
# Builds the object from hash
|
@@ -28,6 +28,9 @@ module Akeyless
|
|
28
28
|
# Database name
|
29
29
|
attr_accessor :db_name
|
30
30
|
|
31
|
+
# Protection from accidental deletion of this item
|
32
|
+
attr_accessor :delete_protection
|
33
|
+
|
31
34
|
# Producer name
|
32
35
|
attr_accessor :name
|
33
36
|
|
@@ -62,6 +65,7 @@ module Akeyless
|
|
62
65
|
:'account_password' => :'account-password',
|
63
66
|
:'account_username' => :'account-username',
|
64
67
|
:'db_name' => :'db-name',
|
68
|
+
:'delete_protection' => :'delete_protection',
|
65
69
|
:'name' => :'name',
|
66
70
|
:'new_name' => :'new-name',
|
67
71
|
:'role' => :'role',
|
@@ -86,6 +90,7 @@ module Akeyless
|
|
86
90
|
:'account_password' => :'String',
|
87
91
|
:'account_username' => :'String',
|
88
92
|
:'db_name' => :'String',
|
93
|
+
:'delete_protection' => :'String',
|
89
94
|
:'name' => :'String',
|
90
95
|
:'new_name' => :'String',
|
91
96
|
:'role' => :'String',
|
@@ -135,6 +140,10 @@ module Akeyless
|
|
135
140
|
self.db_name = attributes[:'db_name']
|
136
141
|
end
|
137
142
|
|
143
|
+
if attributes.key?(:'delete_protection')
|
144
|
+
self.delete_protection = attributes[:'delete_protection']
|
145
|
+
end
|
146
|
+
|
138
147
|
if attributes.key?(:'name')
|
139
148
|
self.name = attributes[:'name']
|
140
149
|
end
|
@@ -203,6 +212,7 @@ module Akeyless
|
|
203
212
|
account_password == o.account_password &&
|
204
213
|
account_username == o.account_username &&
|
205
214
|
db_name == o.db_name &&
|
215
|
+
delete_protection == o.delete_protection &&
|
206
216
|
name == o.name &&
|
207
217
|
new_name == o.new_name &&
|
208
218
|
role == o.role &&
|
@@ -223,7 +233,7 @@ module Akeyless
|
|
223
233
|
# Calculates hash code according to all attributes.
|
224
234
|
# @return [Integer] Hash code
|
225
235
|
def hash
|
226
|
-
[account, account_password, account_username, db_name, name, new_name, role, tags, target_name, token, uid_token, user_ttl, warehouse].hash
|
236
|
+
[account, account_password, account_username, db_name, delete_protection, name, new_name, role, tags, target_name, token, uid_token, user_ttl, warehouse].hash
|
227
237
|
end
|
228
238
|
|
229
239
|
# Builds the object from hash
|
@@ -25,12 +25,18 @@ module Akeyless
|
|
25
25
|
# The common name to be included in the PKI certificate
|
26
26
|
attr_accessor :common_name
|
27
27
|
|
28
|
+
# A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth'.
|
29
|
+
attr_accessor :extended_key_usage
|
30
|
+
|
28
31
|
# PKI key file contents. If this option is used, the certificate will be printed to stdout
|
29
32
|
attr_accessor :key_data_base64
|
30
33
|
|
31
34
|
# Authentication token (see `/auth` and `/configure`)
|
32
35
|
attr_accessor :token
|
33
36
|
|
37
|
+
# Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
|
38
|
+
attr_accessor :ttl
|
39
|
+
|
34
40
|
# The universal identity token, Required only for universal_identity authentication
|
35
41
|
attr_accessor :uid_token
|
36
42
|
|
@@ -43,8 +49,10 @@ module Akeyless
|
|
43
49
|
:'alt_names' => :'alt-names',
|
44
50
|
:'cert_issuer_name' => :'cert-issuer-name',
|
45
51
|
:'common_name' => :'common-name',
|
52
|
+
:'extended_key_usage' => :'extended-key-usage',
|
46
53
|
:'key_data_base64' => :'key-data-base64',
|
47
54
|
:'token' => :'token',
|
55
|
+
:'ttl' => :'ttl',
|
48
56
|
:'uid_token' => :'uid-token',
|
49
57
|
:'uri_sans' => :'uri-sans'
|
50
58
|
}
|
@@ -61,8 +69,10 @@ module Akeyless
|
|
61
69
|
:'alt_names' => :'String',
|
62
70
|
:'cert_issuer_name' => :'String',
|
63
71
|
:'common_name' => :'String',
|
72
|
+
:'extended_key_usage' => :'String',
|
64
73
|
:'key_data_base64' => :'String',
|
65
74
|
:'token' => :'String',
|
75
|
+
:'ttl' => :'Integer',
|
66
76
|
:'uid_token' => :'String',
|
67
77
|
:'uri_sans' => :'String'
|
68
78
|
}
|
@@ -101,6 +111,10 @@ module Akeyless
|
|
101
111
|
self.common_name = attributes[:'common_name']
|
102
112
|
end
|
103
113
|
|
114
|
+
if attributes.key?(:'extended_key_usage')
|
115
|
+
self.extended_key_usage = attributes[:'extended_key_usage']
|
116
|
+
end
|
117
|
+
|
104
118
|
if attributes.key?(:'key_data_base64')
|
105
119
|
self.key_data_base64 = attributes[:'key_data_base64']
|
106
120
|
end
|
@@ -109,6 +123,10 @@ module Akeyless
|
|
109
123
|
self.token = attributes[:'token']
|
110
124
|
end
|
111
125
|
|
126
|
+
if attributes.key?(:'ttl')
|
127
|
+
self.ttl = attributes[:'ttl']
|
128
|
+
end
|
129
|
+
|
112
130
|
if attributes.key?(:'uid_token')
|
113
131
|
self.uid_token = attributes[:'uid_token']
|
114
132
|
end
|
@@ -144,8 +162,10 @@ module Akeyless
|
|
144
162
|
alt_names == o.alt_names &&
|
145
163
|
cert_issuer_name == o.cert_issuer_name &&
|
146
164
|
common_name == o.common_name &&
|
165
|
+
extended_key_usage == o.extended_key_usage &&
|
147
166
|
key_data_base64 == o.key_data_base64 &&
|
148
167
|
token == o.token &&
|
168
|
+
ttl == o.ttl &&
|
149
169
|
uid_token == o.uid_token &&
|
150
170
|
uri_sans == o.uri_sans
|
151
171
|
end
|
@@ -159,7 +179,7 @@ module Akeyless
|
|
159
179
|
# Calculates hash code according to all attributes.
|
160
180
|
# @return [Integer] Hash code
|
161
181
|
def hash
|
162
|
-
[alt_names, cert_issuer_name, common_name, key_data_base64, token, uid_token, uri_sans].hash
|
182
|
+
[alt_names, cert_issuer_name, common_name, extended_key_usage, key_data_base64, token, ttl, uid_token, uri_sans].hash
|
163
183
|
end
|
164
184
|
|
165
185
|
# Builds the object from hash
|
@@ -24,12 +24,18 @@ module Akeyless
|
|
24
24
|
# The common name to be included in the PKI certificate
|
25
25
|
attr_accessor :common_name
|
26
26
|
|
27
|
+
# A comma-separated list of extended key usage requests which will be used for certificate issuance. Supported values: 'clientauth', 'serverauth'.
|
28
|
+
attr_accessor :extended_key_usage
|
29
|
+
|
27
30
|
# PKI key file contents. If this option is used, the certificate will be printed to stdout
|
28
31
|
attr_accessor :key_data_base64
|
29
32
|
|
30
33
|
# Authentication token (see `/auth` and `/configure`)
|
31
34
|
attr_accessor :token
|
32
35
|
|
36
|
+
# Updated certificate lifetime in seconds (must be less than the Certificate Issuer default TTL)
|
37
|
+
attr_accessor :ttl
|
38
|
+
|
33
39
|
# The universal identity token, Required only for universal_identity authentication
|
34
40
|
attr_accessor :uid_token
|
35
41
|
|
@@ -42,8 +48,10 @@ module Akeyless
|
|
42
48
|
:'alt_names' => :'alt-names',
|
43
49
|
:'cert_issuer_name' => :'cert-issuer-name',
|
44
50
|
:'common_name' => :'common-name',
|
51
|
+
:'extended_key_usage' => :'extended-key-usage',
|
45
52
|
:'key_data_base64' => :'key-data-base64',
|
46
53
|
:'token' => :'token',
|
54
|
+
:'ttl' => :'ttl',
|
47
55
|
:'uid_token' => :'uid-token',
|
48
56
|
:'uri_sans' => :'uri-sans'
|
49
57
|
}
|
@@ -60,8 +68,10 @@ module Akeyless
|
|
60
68
|
:'alt_names' => :'String',
|
61
69
|
:'cert_issuer_name' => :'String',
|
62
70
|
:'common_name' => :'String',
|
71
|
+
:'extended_key_usage' => :'String',
|
63
72
|
:'key_data_base64' => :'String',
|
64
73
|
:'token' => :'String',
|
74
|
+
:'ttl' => :'Integer',
|
65
75
|
:'uid_token' => :'String',
|
66
76
|
:'uri_sans' => :'String'
|
67
77
|
}
|
@@ -100,6 +110,10 @@ module Akeyless
|
|
100
110
|
self.common_name = attributes[:'common_name']
|
101
111
|
end
|
102
112
|
|
113
|
+
if attributes.key?(:'extended_key_usage')
|
114
|
+
self.extended_key_usage = attributes[:'extended_key_usage']
|
115
|
+
end
|
116
|
+
|
103
117
|
if attributes.key?(:'key_data_base64')
|
104
118
|
self.key_data_base64 = attributes[:'key_data_base64']
|
105
119
|
end
|
@@ -108,6 +122,10 @@ module Akeyless
|
|
108
122
|
self.token = attributes[:'token']
|
109
123
|
end
|
110
124
|
|
125
|
+
if attributes.key?(:'ttl')
|
126
|
+
self.ttl = attributes[:'ttl']
|
127
|
+
end
|
128
|
+
|
111
129
|
if attributes.key?(:'uid_token')
|
112
130
|
self.uid_token = attributes[:'uid_token']
|
113
131
|
end
|
@@ -143,8 +161,10 @@ module Akeyless
|
|
143
161
|
alt_names == o.alt_names &&
|
144
162
|
cert_issuer_name == o.cert_issuer_name &&
|
145
163
|
common_name == o.common_name &&
|
164
|
+
extended_key_usage == o.extended_key_usage &&
|
146
165
|
key_data_base64 == o.key_data_base64 &&
|
147
166
|
token == o.token &&
|
167
|
+
ttl == o.ttl &&
|
148
168
|
uid_token == o.uid_token &&
|
149
169
|
uri_sans == o.uri_sans
|
150
170
|
end
|
@@ -158,7 +178,7 @@ module Akeyless
|
|
158
178
|
# Calculates hash code according to all attributes.
|
159
179
|
# @return [Integer] Hash code
|
160
180
|
def hash
|
161
|
-
[alt_names, cert_issuer_name, common_name, key_data_base64, token, uid_token, uri_sans].hash
|
181
|
+
[alt_names, cert_issuer_name, common_name, extended_key_usage, key_data_base64, token, ttl, uid_token, uri_sans].hash
|
162
182
|
end
|
163
183
|
|
164
184
|
# Builds the object from hash
|