akeyless 5.0.26 → 5.0.28

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.
Files changed (266) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +15 -1
  3. data/docs/AccountGeneralSettings.md +4 -0
  4. data/docs/CreatePKICertIssuer.md +2 -0
  5. data/docs/DSProducerDetails.md +4 -0
  6. data/docs/DynamicSecretCreateAws.md +8 -0
  7. data/docs/DynamicSecretCreateAzure.md +8 -0
  8. data/docs/DynamicSecretCreateCassandra.md +8 -0
  9. data/docs/DynamicSecretCreateChef.md +8 -0
  10. data/docs/DynamicSecretCreateHanaDb.md +8 -0
  11. data/docs/DynamicSecretCreateLdap.md +8 -0
  12. data/docs/DynamicSecretCreateMongoDb.md +8 -0
  13. data/docs/DynamicSecretCreateMsSql.md +8 -0
  14. data/docs/DynamicSecretCreateMySql.md +8 -0
  15. data/docs/DynamicSecretCreateOracleDb.md +8 -0
  16. data/docs/DynamicSecretCreatePostgreSql.md +8 -0
  17. data/docs/DynamicSecretCreateRabbitMq.md +8 -0
  18. data/docs/DynamicSecretCreateRdp.md +8 -0
  19. data/docs/DynamicSecretCreateRedis.md +8 -0
  20. data/docs/DynamicSecretCreateRedshift.md +8 -0
  21. data/docs/DynamicSecretCreateSnowflake.md +8 -0
  22. data/docs/DynamicSecretUpdateAws.md +8 -0
  23. data/docs/DynamicSecretUpdateAzure.md +8 -0
  24. data/docs/DynamicSecretUpdateCassandra.md +8 -0
  25. data/docs/DynamicSecretUpdateChef.md +8 -0
  26. data/docs/DynamicSecretUpdateHanaDb.md +8 -0
  27. data/docs/DynamicSecretUpdateLdap.md +8 -0
  28. data/docs/DynamicSecretUpdateMongoDb.md +8 -0
  29. data/docs/DynamicSecretUpdateMsSql.md +8 -0
  30. data/docs/DynamicSecretUpdateMySql.md +8 -0
  31. data/docs/DynamicSecretUpdateOracleDb.md +8 -0
  32. data/docs/DynamicSecretUpdatePostgreSql.md +8 -0
  33. data/docs/DynamicSecretUpdateRabbitMq.md +8 -0
  34. data/docs/DynamicSecretUpdateRdp.md +8 -0
  35. data/docs/DynamicSecretUpdateRedis.md +8 -0
  36. data/docs/DynamicSecretUpdateRedshift.md +8 -0
  37. data/docs/DynamicSecretUpdateSnowflake.md +8 -0
  38. data/docs/EsmGetSecretOutput.md +7 -1
  39. data/docs/FolderDeleteSync.md +32 -0
  40. data/docs/FolderDeleteSyncOutput.md +24 -0
  41. data/docs/FolderSync.md +34 -0
  42. data/docs/FolderSyncAll.md +26 -0
  43. data/docs/FolderSyncAllOutput.md +18 -0
  44. data/docs/FolderSyncOutput.md +24 -0
  45. data/docs/FolderUSCSyncConfig.md +2 -0
  46. data/docs/GatewayCreateProducerAws.md +8 -0
  47. data/docs/GatewayCreateProducerAzure.md +8 -0
  48. data/docs/GatewayCreateProducerCassandra.md +8 -0
  49. data/docs/GatewayCreateProducerChef.md +8 -0
  50. data/docs/GatewayCreateProducerHanaDb.md +8 -0
  51. data/docs/GatewayCreateProducerLdap.md +8 -0
  52. data/docs/GatewayCreateProducerMSSQL.md +8 -0
  53. data/docs/GatewayCreateProducerMongo.md +8 -0
  54. data/docs/GatewayCreateProducerMySQL.md +8 -0
  55. data/docs/GatewayCreateProducerOracleDb.md +8 -0
  56. data/docs/GatewayCreateProducerPostgreSQL.md +8 -0
  57. data/docs/GatewayCreateProducerRabbitMQ.md +8 -0
  58. data/docs/GatewayCreateProducerRdp.md +8 -0
  59. data/docs/GatewayCreateProducerRedis.md +8 -0
  60. data/docs/GatewayCreateProducerRedshift.md +8 -0
  61. data/docs/GatewayCreateProducerSnowflake.md +8 -0
  62. data/docs/GatewayUpdateProducerAws.md +8 -0
  63. data/docs/GatewayUpdateProducerAzure.md +8 -0
  64. data/docs/GatewayUpdateProducerCassandra.md +8 -0
  65. data/docs/GatewayUpdateProducerChef.md +8 -0
  66. data/docs/GatewayUpdateProducerHanaDb.md +8 -0
  67. data/docs/GatewayUpdateProducerLdap.md +8 -0
  68. data/docs/GatewayUpdateProducerMSSQL.md +8 -0
  69. data/docs/GatewayUpdateProducerMongo.md +8 -0
  70. data/docs/GatewayUpdateProducerMySQL.md +8 -0
  71. data/docs/GatewayUpdateProducerOracleDb.md +8 -0
  72. data/docs/GatewayUpdateProducerPostgreSQL.md +8 -0
  73. data/docs/GatewayUpdateProducerRabbitMQ.md +8 -0
  74. data/docs/GatewayUpdateProducerRdp.md +8 -0
  75. data/docs/GatewayUpdateProducerRedis.md +8 -0
  76. data/docs/GatewayUpdateProducerRedshift.md +8 -0
  77. data/docs/GatewayUpdateProducerSnowflake.md +8 -0
  78. data/docs/OIDCAccessRules.md +2 -0
  79. data/docs/PKICertificateIssueDetails.md +4 -0
  80. data/docs/PersonalFolderGlobalMappingSettings.md +20 -0
  81. data/docs/RotatedSecretCreateAws.md +13 -5
  82. data/docs/RotatedSecretCreateAzure.md +14 -4
  83. data/docs/RotatedSecretCreateCassandra.md +13 -5
  84. data/docs/RotatedSecretCreateCustom.md +9 -9
  85. data/docs/RotatedSecretCreateDockerhub.md +13 -5
  86. data/docs/RotatedSecretCreateGcp.md +13 -5
  87. data/docs/RotatedSecretCreateHanadb.md +13 -5
  88. data/docs/RotatedSecretCreateHashiVault.md +60 -0
  89. data/docs/RotatedSecretCreateLdap.md +12 -4
  90. data/docs/RotatedSecretCreateMongodb.md +13 -5
  91. data/docs/RotatedSecretCreateMssql.md +13 -5
  92. data/docs/RotatedSecretCreateMysql.md +13 -5
  93. data/docs/RotatedSecretCreateOpenAI.md +13 -5
  94. data/docs/RotatedSecretCreateOracledb.md +13 -5
  95. data/docs/RotatedSecretCreatePostgresql.md +13 -5
  96. data/docs/RotatedSecretCreateRedis.md +13 -5
  97. data/docs/RotatedSecretCreateRedshift.md +13 -5
  98. data/docs/RotatedSecretCreateSnowflake.md +13 -5
  99. data/docs/RotatedSecretCreateSplunk.md +13 -5
  100. data/docs/RotatedSecretCreateSsh.md +13 -5
  101. data/docs/RotatedSecretCreateWindows.md +13 -5
  102. data/docs/RotatedSecretUpdateAws.md +13 -5
  103. data/docs/RotatedSecretUpdateAzure.md +14 -4
  104. data/docs/RotatedSecretUpdateCassandra.md +13 -5
  105. data/docs/RotatedSecretUpdateCustom.md +9 -9
  106. data/docs/RotatedSecretUpdateDockerhub.md +13 -5
  107. data/docs/RotatedSecretUpdateGcp.md +13 -5
  108. data/docs/RotatedSecretUpdateHanadb.md +13 -5
  109. data/docs/RotatedSecretUpdateHashiVault.md +64 -0
  110. data/docs/RotatedSecretUpdateLdap.md +12 -4
  111. data/docs/RotatedSecretUpdateMongodb.md +13 -5
  112. data/docs/RotatedSecretUpdateMssql.md +13 -5
  113. data/docs/RotatedSecretUpdateMysql.md +13 -5
  114. data/docs/RotatedSecretUpdateOpenAI.md +13 -5
  115. data/docs/RotatedSecretUpdateOracledb.md +13 -5
  116. data/docs/RotatedSecretUpdatePostgresql.md +13 -5
  117. data/docs/RotatedSecretUpdateRedis.md +13 -5
  118. data/docs/RotatedSecretUpdateRedshift.md +13 -5
  119. data/docs/RotatedSecretUpdateSnowflake.md +13 -5
  120. data/docs/RotatedSecretUpdateSplunk.md +13 -5
  121. data/docs/RotatedSecretUpdateSsh.md +13 -5
  122. data/docs/RotatedSecretUpdateWindows.md +13 -5
  123. data/docs/SecretInfo.md +5 -1
  124. data/docs/UpdateAccountSettings.md +5 -5
  125. data/docs/UpdatePKICertIssuer.md +2 -0
  126. data/docs/UscGetSecretOutput.md +7 -1
  127. data/docs/V2Api.md +315 -0
  128. data/lib/akeyless/api/v2_api.rb +320 -0
  129. data/lib/akeyless/models/account_general_settings.rb +19 -1
  130. data/lib/akeyless/models/create_pki_cert_issuer.rb +11 -1
  131. data/lib/akeyless/models/ds_producer_details.rb +20 -1
  132. data/lib/akeyless/models/dynamic_secret_create_aws.rb +40 -1
  133. data/lib/akeyless/models/dynamic_secret_create_azure.rb +40 -1
  134. data/lib/akeyless/models/dynamic_secret_create_cassandra.rb +40 -1
  135. data/lib/akeyless/models/dynamic_secret_create_chef.rb +40 -1
  136. data/lib/akeyless/models/dynamic_secret_create_hana_db.rb +40 -1
  137. data/lib/akeyless/models/dynamic_secret_create_ldap.rb +40 -1
  138. data/lib/akeyless/models/dynamic_secret_create_mongo_db.rb +40 -1
  139. data/lib/akeyless/models/dynamic_secret_create_ms_sql.rb +40 -1
  140. data/lib/akeyless/models/dynamic_secret_create_my_sql.rb +40 -1
  141. data/lib/akeyless/models/dynamic_secret_create_oracle_db.rb +40 -1
  142. data/lib/akeyless/models/dynamic_secret_create_postgre_sql.rb +40 -1
  143. data/lib/akeyless/models/dynamic_secret_create_rabbit_mq.rb +40 -1
  144. data/lib/akeyless/models/dynamic_secret_create_rdp.rb +40 -1
  145. data/lib/akeyless/models/dynamic_secret_create_redis.rb +40 -1
  146. data/lib/akeyless/models/dynamic_secret_create_redshift.rb +40 -1
  147. data/lib/akeyless/models/dynamic_secret_create_snowflake.rb +40 -1
  148. data/lib/akeyless/models/dynamic_secret_update_aws.rb +40 -1
  149. data/lib/akeyless/models/dynamic_secret_update_azure.rb +40 -1
  150. data/lib/akeyless/models/dynamic_secret_update_cassandra.rb +40 -1
  151. data/lib/akeyless/models/dynamic_secret_update_chef.rb +40 -1
  152. data/lib/akeyless/models/dynamic_secret_update_hana_db.rb +40 -1
  153. data/lib/akeyless/models/dynamic_secret_update_ldap.rb +40 -1
  154. data/lib/akeyless/models/dynamic_secret_update_mongo_db.rb +40 -1
  155. data/lib/akeyless/models/dynamic_secret_update_ms_sql.rb +40 -1
  156. data/lib/akeyless/models/dynamic_secret_update_my_sql.rb +40 -1
  157. data/lib/akeyless/models/dynamic_secret_update_oracle_db.rb +40 -1
  158. data/lib/akeyless/models/dynamic_secret_update_postgre_sql.rb +40 -1
  159. data/lib/akeyless/models/dynamic_secret_update_rabbit_mq.rb +40 -1
  160. data/lib/akeyless/models/dynamic_secret_update_rdp.rb +40 -1
  161. data/lib/akeyless/models/dynamic_secret_update_redis.rb +40 -1
  162. data/lib/akeyless/models/dynamic_secret_update_redshift.rb +40 -1
  163. data/lib/akeyless/models/dynamic_secret_update_snowflake.rb +40 -1
  164. data/lib/akeyless/models/esm_get_secret_output.rb +35 -4
  165. data/lib/akeyless/models/folder_delete_sync.rb +305 -0
  166. data/lib/akeyless/models/folder_delete_sync_output.rb +245 -0
  167. data/lib/akeyless/models/folder_sync.rb +306 -0
  168. data/lib/akeyless/models/folder_sync_all.rb +266 -0
  169. data/lib/akeyless/models/folder_sync_all_output.rb +214 -0
  170. data/lib/akeyless/models/folder_sync_output.rb +247 -0
  171. data/lib/akeyless/models/folder_usc_sync_config.rb +10 -1
  172. data/lib/akeyless/models/gateway_create_producer_aws.rb +40 -1
  173. data/lib/akeyless/models/gateway_create_producer_azure.rb +40 -1
  174. data/lib/akeyless/models/gateway_create_producer_cassandra.rb +40 -1
  175. data/lib/akeyless/models/gateway_create_producer_chef.rb +40 -1
  176. data/lib/akeyless/models/gateway_create_producer_hana_db.rb +40 -1
  177. data/lib/akeyless/models/gateway_create_producer_ldap.rb +40 -1
  178. data/lib/akeyless/models/gateway_create_producer_mongo.rb +40 -1
  179. data/lib/akeyless/models/gateway_create_producer_mssql.rb +40 -1
  180. data/lib/akeyless/models/gateway_create_producer_my_sql.rb +40 -1
  181. data/lib/akeyless/models/gateway_create_producer_oracle_db.rb +40 -1
  182. data/lib/akeyless/models/gateway_create_producer_postgre_sql.rb +40 -1
  183. data/lib/akeyless/models/gateway_create_producer_rabbit_mq.rb +40 -1
  184. data/lib/akeyless/models/gateway_create_producer_rdp.rb +40 -1
  185. data/lib/akeyless/models/gateway_create_producer_redis.rb +40 -1
  186. data/lib/akeyless/models/gateway_create_producer_redshift.rb +40 -1
  187. data/lib/akeyless/models/gateway_create_producer_snowflake.rb +40 -1
  188. data/lib/akeyless/models/gateway_update_producer_aws.rb +40 -1
  189. data/lib/akeyless/models/gateway_update_producer_azure.rb +40 -1
  190. data/lib/akeyless/models/gateway_update_producer_cassandra.rb +40 -1
  191. data/lib/akeyless/models/gateway_update_producer_chef.rb +40 -1
  192. data/lib/akeyless/models/gateway_update_producer_hana_db.rb +40 -1
  193. data/lib/akeyless/models/gateway_update_producer_ldap.rb +40 -1
  194. data/lib/akeyless/models/gateway_update_producer_mongo.rb +40 -1
  195. data/lib/akeyless/models/gateway_update_producer_mssql.rb +40 -1
  196. data/lib/akeyless/models/gateway_update_producer_my_sql.rb +40 -1
  197. data/lib/akeyless/models/gateway_update_producer_oracle_db.rb +40 -1
  198. data/lib/akeyless/models/gateway_update_producer_postgre_sql.rb +40 -1
  199. data/lib/akeyless/models/gateway_update_producer_rabbit_mq.rb +40 -1
  200. data/lib/akeyless/models/gateway_update_producer_rdp.rb +40 -1
  201. data/lib/akeyless/models/gateway_update_producer_redis.rb +40 -1
  202. data/lib/akeyless/models/gateway_update_producer_redshift.rb +40 -1
  203. data/lib/akeyless/models/gateway_update_producer_snowflake.rb +40 -1
  204. data/lib/akeyless/models/oidc_access_rules.rb +11 -1
  205. data/lib/akeyless/models/personal_folder_global_mapping_settings.rb +223 -0
  206. data/lib/akeyless/models/pki_certificate_issue_details.rb +19 -1
  207. data/lib/akeyless/models/rotated_secret_create_aws.rb +43 -8
  208. data/lib/akeyless/models/rotated_secret_create_azure.rb +50 -5
  209. data/lib/akeyless/models/rotated_secret_create_cassandra.rb +43 -8
  210. data/lib/akeyless/models/rotated_secret_create_custom.rb +3 -8
  211. data/lib/akeyless/models/rotated_secret_create_dockerhub.rb +43 -8
  212. data/lib/akeyless/models/rotated_secret_create_gcp.rb +43 -8
  213. data/lib/akeyless/models/rotated_secret_create_hanadb.rb +43 -8
  214. data/lib/akeyless/models/rotated_secret_create_hashi_vault.rb +446 -0
  215. data/lib/akeyless/models/rotated_secret_create_ldap.rb +40 -5
  216. data/lib/akeyless/models/rotated_secret_create_mongodb.rb +43 -8
  217. data/lib/akeyless/models/rotated_secret_create_mssql.rb +43 -8
  218. data/lib/akeyless/models/rotated_secret_create_mysql.rb +43 -8
  219. data/lib/akeyless/models/rotated_secret_create_open_ai.rb +43 -8
  220. data/lib/akeyless/models/rotated_secret_create_oracledb.rb +43 -8
  221. data/lib/akeyless/models/rotated_secret_create_postgresql.rb +43 -8
  222. data/lib/akeyless/models/rotated_secret_create_redis.rb +43 -8
  223. data/lib/akeyless/models/rotated_secret_create_redshift.rb +43 -8
  224. data/lib/akeyless/models/rotated_secret_create_snowflake.rb +43 -8
  225. data/lib/akeyless/models/rotated_secret_create_splunk.rb +43 -8
  226. data/lib/akeyless/models/rotated_secret_create_ssh.rb +43 -8
  227. data/lib/akeyless/models/rotated_secret_create_windows.rb +43 -8
  228. data/lib/akeyless/models/rotated_secret_sync.rb +1 -1
  229. data/lib/akeyless/models/rotated_secret_update_aws.rb +43 -8
  230. data/lib/akeyless/models/rotated_secret_update_azure.rb +50 -5
  231. data/lib/akeyless/models/rotated_secret_update_cassandra.rb +43 -8
  232. data/lib/akeyless/models/rotated_secret_update_custom.rb +3 -8
  233. data/lib/akeyless/models/rotated_secret_update_dockerhub.rb +43 -8
  234. data/lib/akeyless/models/rotated_secret_update_gcp.rb +43 -8
  235. data/lib/akeyless/models/rotated_secret_update_hanadb.rb +43 -8
  236. data/lib/akeyless/models/rotated_secret_update_hashi_vault.rb +463 -0
  237. data/lib/akeyless/models/rotated_secret_update_ldap.rb +40 -5
  238. data/lib/akeyless/models/rotated_secret_update_mongodb.rb +43 -8
  239. data/lib/akeyless/models/rotated_secret_update_mssql.rb +43 -8
  240. data/lib/akeyless/models/rotated_secret_update_mysql.rb +43 -8
  241. data/lib/akeyless/models/rotated_secret_update_open_ai.rb +43 -8
  242. data/lib/akeyless/models/rotated_secret_update_oracledb.rb +43 -8
  243. data/lib/akeyless/models/rotated_secret_update_postgresql.rb +43 -8
  244. data/lib/akeyless/models/rotated_secret_update_redis.rb +43 -8
  245. data/lib/akeyless/models/rotated_secret_update_redshift.rb +43 -8
  246. data/lib/akeyless/models/rotated_secret_update_snowflake.rb +43 -8
  247. data/lib/akeyless/models/rotated_secret_update_splunk.rb +43 -8
  248. data/lib/akeyless/models/rotated_secret_update_ssh.rb +43 -8
  249. data/lib/akeyless/models/rotated_secret_update_windows.rb +43 -8
  250. data/lib/akeyless/models/secret_info.rb +24 -4
  251. data/lib/akeyless/models/static_secret_sync.rb +1 -1
  252. data/lib/akeyless/models/update_account_settings.rb +3 -4
  253. data/lib/akeyless/models/update_pki_cert_issuer.rb +11 -1
  254. data/lib/akeyless/models/usc_get_secret_output.rb +35 -4
  255. data/lib/akeyless/version.rb +1 -1
  256. data/lib/akeyless.rb +9 -0
  257. data/spec/models/folder_delete_sync_output_spec.rb +54 -0
  258. data/spec/models/folder_delete_sync_spec.rb +78 -0
  259. data/spec/models/folder_sync_all_output_spec.rb +36 -0
  260. data/spec/models/folder_sync_all_spec.rb +60 -0
  261. data/spec/models/folder_sync_output_spec.rb +54 -0
  262. data/spec/models/folder_sync_spec.rb +84 -0
  263. data/spec/models/personal_folder_global_mapping_settings_spec.rb +42 -0
  264. data/spec/models/rotated_secret_create_hashi_vault_spec.rb +162 -0
  265. data/spec/models/rotated_secret_update_hashi_vault_spec.rb +174 -0
  266. metadata +1223 -1187
@@ -0,0 +1,223 @@
1
+ =begin
2
+ #Akeyless API
3
+
4
+ #The purpose of this application is to provide access to Akeyless API.
5
+
6
+ The version of the OpenAPI document: 3.0
7
+ Contact: support@akeyless.io
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Akeyless
17
+ class PersonalFolderGlobalMappingSettings
18
+ attr_accessor :enable
19
+
20
+ attr_accessor :unique_identifier_claim
21
+
22
+ # Attribute mapping from ruby-style variable name to JSON key.
23
+ def self.attribute_map
24
+ {
25
+ :'enable' => :'enable',
26
+ :'unique_identifier_claim' => :'unique_identifier_claim'
27
+ }
28
+ end
29
+
30
+ # Returns all the JSON keys this model knows about
31
+ def self.acceptable_attributes
32
+ attribute_map.values
33
+ end
34
+
35
+ # Attribute type mapping.
36
+ def self.openapi_types
37
+ {
38
+ :'enable' => :'Boolean',
39
+ :'unique_identifier_claim' => :'String'
40
+ }
41
+ end
42
+
43
+ # List of attributes with nullable: true
44
+ def self.openapi_nullable
45
+ Set.new([
46
+ ])
47
+ end
48
+
49
+ # Initializes the object
50
+ # @param [Hash] attributes Model attributes in the form of hash
51
+ def initialize(attributes = {})
52
+ if (!attributes.is_a?(Hash))
53
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::PersonalFolderGlobalMappingSettings` initialize method"
54
+ end
55
+
56
+ # check to see if the attribute exists and convert string to symbol for hash key
57
+ attributes = attributes.each_with_object({}) { |(k, v), h|
58
+ if (!self.class.attribute_map.key?(k.to_sym))
59
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::PersonalFolderGlobalMappingSettings`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
60
+ end
61
+ h[k.to_sym] = v
62
+ }
63
+
64
+ if attributes.key?(:'enable')
65
+ self.enable = attributes[:'enable']
66
+ end
67
+
68
+ if attributes.key?(:'unique_identifier_claim')
69
+ self.unique_identifier_claim = attributes[:'unique_identifier_claim']
70
+ end
71
+ end
72
+
73
+ # Show invalid properties with the reasons. Usually used together with valid?
74
+ # @return Array for valid properties with the reasons
75
+ def list_invalid_properties
76
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
77
+ invalid_properties = Array.new
78
+ invalid_properties
79
+ end
80
+
81
+ # Check to see if the all the properties in the model are valid
82
+ # @return true if the model is valid
83
+ def valid?
84
+ warn '[DEPRECATED] the `valid?` method is obsolete'
85
+ true
86
+ end
87
+
88
+ # Checks equality by comparing each attribute.
89
+ # @param [Object] Object to be compared
90
+ def ==(o)
91
+ return true if self.equal?(o)
92
+ self.class == o.class &&
93
+ enable == o.enable &&
94
+ unique_identifier_claim == o.unique_identifier_claim
95
+ end
96
+
97
+ # @see the `==` method
98
+ # @param [Object] Object to be compared
99
+ def eql?(o)
100
+ self == o
101
+ end
102
+
103
+ # Calculates hash code according to all attributes.
104
+ # @return [Integer] Hash code
105
+ def hash
106
+ [enable, unique_identifier_claim].hash
107
+ end
108
+
109
+ # Builds the object from hash
110
+ # @param [Hash] attributes Model attributes in the form of hash
111
+ # @return [Object] Returns the model itself
112
+ def self.build_from_hash(attributes)
113
+ return nil unless attributes.is_a?(Hash)
114
+ attributes = attributes.transform_keys(&:to_sym)
115
+ transformed_hash = {}
116
+ openapi_types.each_pair do |key, type|
117
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
118
+ transformed_hash["#{key}"] = nil
119
+ elsif type =~ /\AArray<(.*)>/i
120
+ # check to ensure the input is an array given that the attribute
121
+ # is documented as an array but the input is not
122
+ if attributes[attribute_map[key]].is_a?(Array)
123
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
124
+ end
125
+ elsif !attributes[attribute_map[key]].nil?
126
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
127
+ end
128
+ end
129
+ new(transformed_hash)
130
+ end
131
+
132
+ # Deserializes the data based on type
133
+ # @param string type Data type
134
+ # @param string value Value to be deserialized
135
+ # @return [Object] Deserialized data
136
+ def self._deserialize(type, value)
137
+ case type.to_sym
138
+ when :Time
139
+ Time.parse(value)
140
+ when :Date
141
+ Date.parse(value)
142
+ when :String
143
+ value.to_s
144
+ when :Integer
145
+ value.to_i
146
+ when :Float
147
+ value.to_f
148
+ when :Boolean
149
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
150
+ true
151
+ else
152
+ false
153
+ end
154
+ when :Object
155
+ # generic object (usually a Hash), return directly
156
+ value
157
+ when /\AArray<(?<inner_type>.+)>\z/
158
+ inner_type = Regexp.last_match[:inner_type]
159
+ value.map { |v| _deserialize(inner_type, v) }
160
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
161
+ k_type = Regexp.last_match[:k_type]
162
+ v_type = Regexp.last_match[:v_type]
163
+ {}.tap do |hash|
164
+ value.each do |k, v|
165
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
166
+ end
167
+ end
168
+ else # model
169
+ # models (e.g. Pet) or oneOf
170
+ klass = Akeyless.const_get(type)
171
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
172
+ end
173
+ end
174
+
175
+ # Returns the string representation of the object
176
+ # @return [String] String presentation of the object
177
+ def to_s
178
+ to_hash.to_s
179
+ end
180
+
181
+ # to_body is an alias to to_hash (backward compatibility)
182
+ # @return [Hash] Returns the object in the form of hash
183
+ def to_body
184
+ to_hash
185
+ end
186
+
187
+ # Returns the object in the form of hash
188
+ # @return [Hash] Returns the object in the form of hash
189
+ def to_hash
190
+ hash = {}
191
+ self.class.attribute_map.each_pair do |attr, param|
192
+ value = self.send(attr)
193
+ if value.nil?
194
+ is_nullable = self.class.openapi_nullable.include?(attr)
195
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
196
+ end
197
+
198
+ hash[param] = _to_hash(value)
199
+ end
200
+ hash
201
+ end
202
+
203
+ # Outputs non-array value in the form of hash
204
+ # For object, use to_hash. Otherwise, just return the value
205
+ # @param [Object] value Any valid value
206
+ # @return [Hash] Returns the value in the form of hash
207
+ def _to_hash(value)
208
+ if value.is_a?(Array)
209
+ value.compact.map { |v| _to_hash(v) }
210
+ elsif value.is_a?(Hash)
211
+ {}.tap do |hash|
212
+ value.each { |k, v| hash[k] = _to_hash(v) }
213
+ end
214
+ elsif value.respond_to? :to_hash
215
+ value.to_hash
216
+ else
217
+ value
218
+ end
219
+ end
220
+
221
+ end
222
+
223
+ end
@@ -33,6 +33,10 @@ module Akeyless
33
33
 
34
34
  attr_accessor :auto_renew_certificate
35
35
 
36
+ attr_accessor :basic_constraints
37
+
38
+ attr_accessor :basic_constraints_critical
39
+
36
40
  attr_accessor :basic_constraints_valid_for_non_ca
37
41
 
38
42
  attr_accessor :certificate_authority_mode
@@ -121,6 +125,8 @@ module Akeyless
121
125
  :'allowed_ip_sans' => :'allowed_ip_sans',
122
126
  :'allowed_uri_sans' => :'allowed_uri_sans',
123
127
  :'auto_renew_certificate' => :'auto_renew_certificate',
128
+ :'basic_constraints' => :'basic_constraints',
129
+ :'basic_constraints_critical' => :'basic_constraints_critical',
124
130
  :'basic_constraints_valid_for_non_ca' => :'basic_constraints_valid_for_non_ca',
125
131
  :'certificate_authority_mode' => :'certificate_authority_mode',
126
132
  :'client_flag' => :'client_flag',
@@ -175,6 +181,8 @@ module Akeyless
175
181
  :'allowed_ip_sans' => :'Array<String>',
176
182
  :'allowed_uri_sans' => :'Array<String>',
177
183
  :'auto_renew_certificate' => :'Boolean',
184
+ :'basic_constraints' => :'String',
185
+ :'basic_constraints_critical' => :'Boolean',
178
186
  :'basic_constraints_valid_for_non_ca' => :'Boolean',
179
187
  :'certificate_authority_mode' => :'String',
180
188
  :'client_flag' => :'Boolean',
@@ -277,6 +285,14 @@ module Akeyless
277
285
  self.auto_renew_certificate = attributes[:'auto_renew_certificate']
278
286
  end
279
287
 
288
+ if attributes.key?(:'basic_constraints')
289
+ self.basic_constraints = attributes[:'basic_constraints']
290
+ end
291
+
292
+ if attributes.key?(:'basic_constraints_critical')
293
+ self.basic_constraints_critical = attributes[:'basic_constraints_critical']
294
+ end
295
+
280
296
  if attributes.key?(:'basic_constraints_valid_for_non_ca')
281
297
  self.basic_constraints_valid_for_non_ca = attributes[:'basic_constraints_valid_for_non_ca']
282
298
  end
@@ -461,6 +477,8 @@ module Akeyless
461
477
  allowed_ip_sans == o.allowed_ip_sans &&
462
478
  allowed_uri_sans == o.allowed_uri_sans &&
463
479
  auto_renew_certificate == o.auto_renew_certificate &&
480
+ basic_constraints == o.basic_constraints &&
481
+ basic_constraints_critical == o.basic_constraints_critical &&
464
482
  basic_constraints_valid_for_non_ca == o.basic_constraints_valid_for_non_ca &&
465
483
  certificate_authority_mode == o.certificate_authority_mode &&
466
484
  client_flag == o.client_flag &&
@@ -506,7 +524,7 @@ module Akeyless
506
524
  # Calculates hash code according to all attributes.
507
525
  # @return [Integer] Hash code
508
526
  def hash
509
- [acme_enabled, allow_any_name, allow_copy_ext_from_csr, allow_subdomains, allowed_domains_list, allowed_extra_extensions, allowed_ip_sans, allowed_uri_sans, auto_renew_certificate, basic_constraints_valid_for_non_ca, certificate_authority_mode, client_flag, code_signing_flag, country, create_private_crl, create_private_ocsp, create_public_crl, create_public_ocsp, destination_path, disable_wildcards, enforce_hostnames, expiration_events, gw_cluster_id, gw_cluster_url, is_ca, key_bits, key_type, key_usage_list, locality, max_path_len, non_critical_key_usage, not_before_duration, ocsp_next_update, organization_list, organization_unit_list, pki_issuer_type, postal_code, protect_generated_certificates, province, renew_before_expiration_in_days, require_cn, server_flag, street_address].hash
527
+ [acme_enabled, allow_any_name, allow_copy_ext_from_csr, allow_subdomains, allowed_domains_list, allowed_extra_extensions, allowed_ip_sans, allowed_uri_sans, auto_renew_certificate, basic_constraints, basic_constraints_critical, basic_constraints_valid_for_non_ca, certificate_authority_mode, client_flag, code_signing_flag, country, create_private_crl, create_private_ocsp, create_public_crl, create_public_ocsp, destination_path, disable_wildcards, enforce_hostnames, expiration_events, gw_cluster_id, gw_cluster_url, is_ca, key_bits, key_type, key_usage_list, locality, max_path_len, non_critical_key_usage, not_before_duration, ocsp_next_update, organization_list, organization_unit_list, pki_issuer_type, postal_code, protect_generated_certificates, province, renew_before_expiration_in_days, require_cn, server_flag, street_address].hash
510
528
  end
511
529
 
512
530
  # Builds the object from hash
@@ -24,7 +24,6 @@ module Akeyless
24
24
  # The credentials to connect with use-user-creds/use-target-creds
25
25
  attr_accessor :authentication_credentials
26
26
 
27
- # Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
28
27
  attr_accessor :auto_rotate
29
28
 
30
29
  # Aws Region
@@ -57,7 +56,6 @@ module Akeyless
57
56
  # Set output format to JSON
58
57
  attr_accessor :json
59
58
 
60
- # The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
61
59
  attr_accessor :key
62
60
 
63
61
  # Lock this secret for read/update while an SRA session is active
@@ -81,10 +79,8 @@ module Akeyless
81
79
  # How many days before the rotation of the item would you like to be notified
82
80
  attr_accessor :rotation_event_in
83
81
 
84
- # The Hour of the rotation in UTC
85
82
  attr_accessor :rotation_hour
86
83
 
87
- # The number of days to wait between every automatic key rotation (1-365)
88
84
  attr_accessor :rotation_interval
89
85
 
90
86
  # The rotator type. options: [target/api-key]
@@ -117,6 +113,17 @@ module Akeyless
117
113
  # The universal identity token, Required only for universal_identity authentication
118
114
  attr_accessor :uid_token
119
115
 
116
+ # Specifies whether the generated temporary password must contain at least one uppercase character from the ISO basic Latin alphabet (A to Z). [true/false]
117
+ attr_accessor :use_capital_letters
118
+
119
+ # Specifies whether the generated temporary password must contain at least one lowercase character from the ISO basic Latin alphabet (a to z). [true/false]
120
+ attr_accessor :use_lower_letters
121
+
122
+ # Specifies whether the generated temporary password must contain at least one numeric character (0 to 9). [true/false]
123
+ attr_accessor :use_numbers
124
+
125
+ attr_accessor :use_special_characters
126
+
120
127
  # Attribute mapping from ruby-style variable name to JSON key.
121
128
  def self.attribute_map
122
129
  {
@@ -153,7 +160,11 @@ module Akeyless
153
160
  :'tags' => :'tags',
154
161
  :'target_name' => :'target-name',
155
162
  :'token' => :'token',
156
- :'uid_token' => :'uid-token'
163
+ :'uid_token' => :'uid-token',
164
+ :'use_capital_letters' => :'use-capital-letters',
165
+ :'use_lower_letters' => :'use-lower-letters',
166
+ :'use_numbers' => :'use-numbers',
167
+ :'use_special_characters' => :'use-special-characters'
157
168
  }
158
169
  end
159
170
 
@@ -198,7 +209,11 @@ module Akeyless
198
209
  :'tags' => :'Array<String>',
199
210
  :'target_name' => :'String',
200
211
  :'token' => :'String',
201
- :'uid_token' => :'String'
212
+ :'uid_token' => :'String',
213
+ :'use_capital_letters' => :'String',
214
+ :'use_lower_letters' => :'String',
215
+ :'use_numbers' => :'String',
216
+ :'use_special_characters' => :'String'
202
217
  }
203
218
  end
204
219
 
@@ -380,6 +395,22 @@ module Akeyless
380
395
  if attributes.key?(:'uid_token')
381
396
  self.uid_token = attributes[:'uid_token']
382
397
  end
398
+
399
+ if attributes.key?(:'use_capital_letters')
400
+ self.use_capital_letters = attributes[:'use_capital_letters']
401
+ end
402
+
403
+ if attributes.key?(:'use_lower_letters')
404
+ self.use_lower_letters = attributes[:'use_lower_letters']
405
+ end
406
+
407
+ if attributes.key?(:'use_numbers')
408
+ self.use_numbers = attributes[:'use_numbers']
409
+ end
410
+
411
+ if attributes.key?(:'use_special_characters')
412
+ self.use_special_characters = attributes[:'use_special_characters']
413
+ end
383
414
  end
384
415
 
385
416
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -450,7 +481,11 @@ module Akeyless
450
481
  tags == o.tags &&
451
482
  target_name == o.target_name &&
452
483
  token == o.token &&
453
- uid_token == o.uid_token
484
+ uid_token == o.uid_token &&
485
+ use_capital_letters == o.use_capital_letters &&
486
+ use_lower_letters == o.use_lower_letters &&
487
+ use_numbers == o.use_numbers &&
488
+ use_special_characters == o.use_special_characters
454
489
  end
455
490
 
456
491
  # @see the `==` method
@@ -462,7 +497,7 @@ module Akeyless
462
497
  # Calculates hash code according to all attributes.
463
498
  # @return [Integer] Hash code
464
499
  def hash
465
- [api_id, api_key, authentication_credentials, auto_rotate, aws_region, delete_protection, description, grace_rotation, grace_rotation_hour, grace_rotation_interval, grace_rotation_timing, input_rule, item_custom_fields, json, key, lock_during_sra_session, max_versions, name, output_rule, password_length, rotate_after_disconnect, rotation_event_in, rotation_hour, rotation_interval, rotator_type, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_enable, tags, target_name, token, uid_token].hash
500
+ [api_id, api_key, authentication_credentials, auto_rotate, aws_region, delete_protection, description, grace_rotation, grace_rotation_hour, grace_rotation_interval, grace_rotation_timing, input_rule, item_custom_fields, json, key, lock_during_sra_session, max_versions, name, output_rule, password_length, rotate_after_disconnect, rotation_event_in, rotation_hour, rotation_interval, rotator_type, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_enable, tags, target_name, token, uid_token, use_capital_letters, use_lower_letters, use_numbers, use_special_characters].hash
466
501
  end
467
502
 
468
503
  # Builds the object from hash
@@ -27,7 +27,6 @@ module Akeyless
27
27
  # The credentials to connect with use-user-creds/use-target-creds
28
28
  attr_accessor :authentication_credentials
29
29
 
30
- # Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
31
30
  attr_accessor :auto_rotate
32
31
 
33
32
  # Protection from accidental deletion of this object [true/false]
@@ -60,7 +59,6 @@ module Akeyless
60
59
  # Set output format to JSON
61
60
  attr_accessor :json
62
61
 
63
- # The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
64
62
  attr_accessor :key
65
63
 
66
64
  # Lock this secret for read/update while an SRA session is active
@@ -75,6 +73,9 @@ module Akeyless
75
73
  # Agentic output rule in name=...,rule=... format (e.g. name=rule1,rule=Mask secrets)
76
74
  attr_accessor :output_rule
77
75
 
76
+ # The password for the user principal name to rotate (relevant only for rotator-type=password)
77
+ attr_accessor :password
78
+
78
79
  # The length of the password to be generated
79
80
  attr_accessor :password_length
80
81
 
@@ -90,10 +91,8 @@ module Akeyless
90
91
  # How many days before the rotation of the item would you like to be notified
91
92
  attr_accessor :rotation_event_in
92
93
 
93
- # The Hour of the rotation in UTC
94
94
  attr_accessor :rotation_hour
95
95
 
96
- # The number of days to wait between every automatic key rotation (1-365)
97
96
  attr_accessor :rotation_interval
98
97
 
99
98
  # The rotator type. options: [target/password/api-key/azure-storage-account]
@@ -132,6 +131,17 @@ module Akeyless
132
131
  # The universal identity token, Required only for universal_identity authentication
133
132
  attr_accessor :uid_token
134
133
 
134
+ # Specifies whether the generated temporary password must contain at least one uppercase character from the ISO basic Latin alphabet (A to Z). [true/false]
135
+ attr_accessor :use_capital_letters
136
+
137
+ # Specifies whether the generated temporary password must contain at least one lowercase character from the ISO basic Latin alphabet (a to z). [true/false]
138
+ attr_accessor :use_lower_letters
139
+
140
+ # Specifies whether the generated temporary password must contain at least one numeric character (0 to 9). [true/false]
141
+ attr_accessor :use_numbers
142
+
143
+ attr_accessor :use_special_characters
144
+
135
145
  # The user principal name to rotate his password (relevant only for rotator-type=password)
136
146
  attr_accessor :username
137
147
 
@@ -158,6 +168,7 @@ module Akeyless
158
168
  :'max_versions' => :'max-versions',
159
169
  :'name' => :'name',
160
170
  :'output_rule' => :'output-rule',
171
+ :'password' => :'password',
161
172
  :'password_length' => :'password-length',
162
173
  :'resource_group_name' => :'resource-group-name',
163
174
  :'resource_name' => :'resource-name',
@@ -177,6 +188,10 @@ module Akeyless
177
188
  :'target_name' => :'target-name',
178
189
  :'token' => :'token',
179
190
  :'uid_token' => :'uid-token',
191
+ :'use_capital_letters' => :'use-capital-letters',
192
+ :'use_lower_letters' => :'use-lower-letters',
193
+ :'use_numbers' => :'use-numbers',
194
+ :'use_special_characters' => :'use-special-characters',
180
195
  :'username' => :'username'
181
196
  }
182
197
  end
@@ -209,6 +224,7 @@ module Akeyless
209
224
  :'max_versions' => :'String',
210
225
  :'name' => :'String',
211
226
  :'output_rule' => :'Array<String>',
227
+ :'password' => :'String',
212
228
  :'password_length' => :'String',
213
229
  :'resource_group_name' => :'String',
214
230
  :'resource_name' => :'String',
@@ -228,6 +244,10 @@ module Akeyless
228
244
  :'target_name' => :'String',
229
245
  :'token' => :'String',
230
246
  :'uid_token' => :'String',
247
+ :'use_capital_letters' => :'String',
248
+ :'use_lower_letters' => :'String',
249
+ :'use_numbers' => :'String',
250
+ :'use_special_characters' => :'String',
231
251
  :'username' => :'String'
232
252
  }
233
253
  end
@@ -347,6 +367,10 @@ module Akeyless
347
367
  end
348
368
  end
349
369
 
370
+ if attributes.key?(:'password')
371
+ self.password = attributes[:'password']
372
+ end
373
+
350
374
  if attributes.key?(:'password_length')
351
375
  self.password_length = attributes[:'password_length']
352
376
  end
@@ -437,6 +461,22 @@ module Akeyless
437
461
  self.uid_token = attributes[:'uid_token']
438
462
  end
439
463
 
464
+ if attributes.key?(:'use_capital_letters')
465
+ self.use_capital_letters = attributes[:'use_capital_letters']
466
+ end
467
+
468
+ if attributes.key?(:'use_lower_letters')
469
+ self.use_lower_letters = attributes[:'use_lower_letters']
470
+ end
471
+
472
+ if attributes.key?(:'use_numbers')
473
+ self.use_numbers = attributes[:'use_numbers']
474
+ end
475
+
476
+ if attributes.key?(:'use_special_characters')
477
+ self.use_special_characters = attributes[:'use_special_characters']
478
+ end
479
+
440
480
  if attributes.key?(:'username')
441
481
  self.username = attributes[:'username']
442
482
  end
@@ -497,6 +537,7 @@ module Akeyless
497
537
  max_versions == o.max_versions &&
498
538
  name == o.name &&
499
539
  output_rule == o.output_rule &&
540
+ password == o.password &&
500
541
  password_length == o.password_length &&
501
542
  resource_group_name == o.resource_group_name &&
502
543
  resource_name == o.resource_name &&
@@ -516,6 +557,10 @@ module Akeyless
516
557
  target_name == o.target_name &&
517
558
  token == o.token &&
518
559
  uid_token == o.uid_token &&
560
+ use_capital_letters == o.use_capital_letters &&
561
+ use_lower_letters == o.use_lower_letters &&
562
+ use_numbers == o.use_numbers &&
563
+ use_special_characters == o.use_special_characters &&
519
564
  username == o.username
520
565
  end
521
566
 
@@ -528,7 +573,7 @@ module Akeyless
528
573
  # Calculates hash code according to all attributes.
529
574
  # @return [Integer] Hash code
530
575
  def hash
531
- [api_id, api_key, application_id, authentication_credentials, auto_rotate, delete_protection, description, explicitly_set_sa, grace_rotation, grace_rotation_hour, grace_rotation_interval, grace_rotation_timing, input_rule, item_custom_fields, json, key, lock_during_sra_session, max_versions, name, output_rule, password_length, resource_group_name, resource_name, rotate_after_disconnect, rotation_event_in, rotation_hour, rotation_interval, rotator_type, secure_access_disable_concurrent_connections, secure_access_enable, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, storage_account_key_name, tags, target_name, token, uid_token, username].hash
576
+ [api_id, api_key, application_id, authentication_credentials, auto_rotate, delete_protection, description, explicitly_set_sa, grace_rotation, grace_rotation_hour, grace_rotation_interval, grace_rotation_timing, input_rule, item_custom_fields, json, key, lock_during_sra_session, max_versions, name, output_rule, password, password_length, resource_group_name, resource_name, rotate_after_disconnect, rotation_event_in, rotation_hour, rotation_interval, rotator_type, secure_access_disable_concurrent_connections, secure_access_enable, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, storage_account_key_name, tags, target_name, token, uid_token, use_capital_letters, use_lower_letters, use_numbers, use_special_characters, username].hash
532
577
  end
533
578
 
534
579
  # Builds the object from hash
@@ -18,7 +18,6 @@ module Akeyless
18
18
  # The credentials to connect with use-user-creds/use-target-creds
19
19
  attr_accessor :authentication_credentials
20
20
 
21
- # Whether to automatically rotate every --rotation-interval days, or disable existing automatic rotation [true/false]
22
21
  attr_accessor :auto_rotate
23
22
 
24
23
  # Protection from accidental deletion of this object [true/false]
@@ -36,7 +35,6 @@ module Akeyless
36
35
  # Set output format to JSON
37
36
  attr_accessor :json
38
37
 
39
- # The name of a key that used to encrypt the secret value (if empty, the account default protectionKey key will be used)
40
38
  attr_accessor :key
41
39
 
42
40
  # Set the maximum number of versions, limited by the account settings defaults.
@@ -60,10 +58,8 @@ module Akeyless
60
58
  # How many days before the rotation of the item would you like to be notified
61
59
  attr_accessor :rotation_event_in
62
60
 
63
- # The Hour of the rotation in UTC
64
61
  attr_accessor :rotation_hour
65
62
 
66
- # The number of days to wait between every automatic key rotation (1-365)
67
63
  attr_accessor :rotation_interval
68
64
 
69
65
  # The rotator type. options: [target/password]
@@ -81,6 +77,17 @@ module Akeyless
81
77
  # The universal identity token, Required only for universal_identity authentication
82
78
  attr_accessor :uid_token
83
79
 
80
+ # Specifies whether the generated temporary password must contain at least one uppercase character from the ISO basic Latin alphabet (A to Z). [true/false]
81
+ attr_accessor :use_capital_letters
82
+
83
+ # Specifies whether the generated temporary password must contain at least one lowercase character from the ISO basic Latin alphabet (a to z). [true/false]
84
+ attr_accessor :use_lower_letters
85
+
86
+ # Specifies whether the generated temporary password must contain at least one numeric character (0 to 9). [true/false]
87
+ attr_accessor :use_numbers
88
+
89
+ attr_accessor :use_special_characters
90
+
84
91
  # Attribute mapping from ruby-style variable name to JSON key.
85
92
  def self.attribute_map
86
93
  {
@@ -105,7 +112,11 @@ module Akeyless
105
112
  :'tags' => :'tags',
106
113
  :'target_name' => :'target-name',
107
114
  :'token' => :'token',
108
- :'uid_token' => :'uid-token'
115
+ :'uid_token' => :'uid-token',
116
+ :'use_capital_letters' => :'use-capital-letters',
117
+ :'use_lower_letters' => :'use-lower-letters',
118
+ :'use_numbers' => :'use-numbers',
119
+ :'use_special_characters' => :'use-special-characters'
109
120
  }
110
121
  end
111
122
 
@@ -138,7 +149,11 @@ module Akeyless
138
149
  :'tags' => :'Array<String>',
139
150
  :'target_name' => :'String',
140
151
  :'token' => :'String',
141
- :'uid_token' => :'String'
152
+ :'uid_token' => :'String',
153
+ :'use_capital_letters' => :'String',
154
+ :'use_lower_letters' => :'String',
155
+ :'use_numbers' => :'String',
156
+ :'use_special_characters' => :'String'
142
157
  }
143
158
  end
144
159
 
@@ -270,6 +285,22 @@ module Akeyless
270
285
  if attributes.key?(:'uid_token')
271
286
  self.uid_token = attributes[:'uid_token']
272
287
  end
288
+
289
+ if attributes.key?(:'use_capital_letters')
290
+ self.use_capital_letters = attributes[:'use_capital_letters']
291
+ end
292
+
293
+ if attributes.key?(:'use_lower_letters')
294
+ self.use_lower_letters = attributes[:'use_lower_letters']
295
+ end
296
+
297
+ if attributes.key?(:'use_numbers')
298
+ self.use_numbers = attributes[:'use_numbers']
299
+ end
300
+
301
+ if attributes.key?(:'use_special_characters')
302
+ self.use_special_characters = attributes[:'use_special_characters']
303
+ end
273
304
  end
274
305
 
275
306
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -328,7 +359,11 @@ module Akeyless
328
359
  tags == o.tags &&
329
360
  target_name == o.target_name &&
330
361
  token == o.token &&
331
- uid_token == o.uid_token
362
+ uid_token == o.uid_token &&
363
+ use_capital_letters == o.use_capital_letters &&
364
+ use_lower_letters == o.use_lower_letters &&
365
+ use_numbers == o.use_numbers &&
366
+ use_special_characters == o.use_special_characters
332
367
  end
333
368
 
334
369
  # @see the `==` method
@@ -340,7 +375,7 @@ module Akeyless
340
375
  # Calculates hash code according to all attributes.
341
376
  # @return [Integer] Hash code
342
377
  def hash
343
- [authentication_credentials, auto_rotate, delete_protection, description, input_rule, item_custom_fields, json, key, max_versions, name, output_rule, password_length, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, rotator_type, tags, target_name, token, uid_token].hash
378
+ [authentication_credentials, auto_rotate, delete_protection, description, input_rule, item_custom_fields, json, key, max_versions, name, output_rule, password_length, rotated_password, rotated_username, rotation_event_in, rotation_hour, rotation_interval, rotator_type, tags, target_name, token, uid_token, use_capital_letters, use_lower_letters, use_numbers, use_special_characters].hash
344
379
  end
345
380
 
346
381
  # Builds the object from hash