akeyless 5.0.13 → 5.0.16

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 (231) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +17 -1
  3. data/docs/AccountGeneralSettings.md +2 -0
  4. data/docs/ActiveDirectoryPayload.md +2 -0
  5. data/docs/AllowedClientType.md +20 -0
  6. data/docs/AuthMethodAccessInfo.md +2 -0
  7. data/docs/AuthMethodCreateApiKey.md +2 -0
  8. data/docs/AuthMethodCreateAwsIam.md +2 -0
  9. data/docs/AuthMethodCreateAzureAD.md +2 -0
  10. data/docs/AuthMethodCreateCert.md +2 -0
  11. data/docs/AuthMethodCreateEmail.md +2 -0
  12. data/docs/AuthMethodCreateGcp.md +2 -0
  13. data/docs/AuthMethodCreateK8s.md +2 -0
  14. data/docs/AuthMethodCreateKerberos.md +2 -0
  15. data/docs/AuthMethodCreateLdap.md +2 -0
  16. data/docs/AuthMethodCreateOCI.md +2 -0
  17. data/docs/AuthMethodCreateOIDC.md +2 -0
  18. data/docs/AuthMethodCreateOauth2.md +2 -0
  19. data/docs/AuthMethodCreateSAML.md +2 -0
  20. data/docs/AuthMethodCreateUniversalIdentity.md +2 -0
  21. data/docs/AuthMethodUpdateApiKey.md +2 -0
  22. data/docs/AuthMethodUpdateAwsIam.md +2 -0
  23. data/docs/AuthMethodUpdateAzureAD.md +2 -0
  24. data/docs/AuthMethodUpdateCert.md +2 -0
  25. data/docs/AuthMethodUpdateEmail.md +2 -0
  26. data/docs/AuthMethodUpdateGcp.md +2 -0
  27. data/docs/AuthMethodUpdateK8s.md +2 -0
  28. data/docs/AuthMethodUpdateKerberos.md +2 -0
  29. data/docs/AuthMethodUpdateLdap.md +2 -0
  30. data/docs/AuthMethodUpdateOCI.md +2 -0
  31. data/docs/AuthMethodUpdateOIDC.md +2 -0
  32. data/docs/AuthMethodUpdateOauth2.md +2 -0
  33. data/docs/AuthMethodUpdateSAML.md +2 -0
  34. data/docs/AuthMethodUpdateUniversalIdentity.md +2 -0
  35. data/docs/BastionGlobalConf.md +4 -0
  36. data/docs/CreateAuthMethod.md +2 -0
  37. data/docs/CreateAuthMethodAWSIAM.md +2 -0
  38. data/docs/CreateAuthMethodAzureAD.md +2 -0
  39. data/docs/CreateAuthMethodCert.md +2 -0
  40. data/docs/CreateAuthMethodEmail.md +2 -0
  41. data/docs/CreateAuthMethodGCP.md +2 -0
  42. data/docs/CreateAuthMethodHuawei.md +2 -0
  43. data/docs/CreateAuthMethodK8S.md +2 -0
  44. data/docs/CreateAuthMethodLDAP.md +2 -0
  45. data/docs/CreateAuthMethodOAuth2.md +2 -0
  46. data/docs/CreateAuthMethodOCI.md +2 -0
  47. data/docs/CreateAuthMethodOIDC.md +2 -0
  48. data/docs/CreateAuthMethodSAML.md +2 -0
  49. data/docs/CreateAuthMethodUniversalIdentity.md +2 -0
  50. data/docs/CreateESM.md +2 -0
  51. data/docs/CreatePKICertIssuer.md +6 -0
  52. data/docs/CreateRole.md +2 -0
  53. data/docs/CreateUSC.md +2 -0
  54. data/docs/DSProducerDetails.md +10 -0
  55. data/docs/DecryptWithClassicKey.md +2 -0
  56. data/docs/DynamicSecretCreateGcp.md +23 -5
  57. data/docs/DynamicSecretCreateGoogleWorkspace.md +2 -0
  58. data/docs/DynamicSecretCreateMongoDb.md +2 -0
  59. data/docs/DynamicSecretCreateMsSql.md +2 -0
  60. data/docs/DynamicSecretGetValue.md +2 -0
  61. data/docs/DynamicSecretUpdateGcp.md +23 -5
  62. data/docs/DynamicSecretUpdateGoogleWorkspace.md +2 -0
  63. data/docs/DynamicSecretUpdateMongoDb.md +2 -0
  64. data/docs/DynamicSecretUpdateMsSql.md +2 -0
  65. data/docs/EncryptWithClassicKey.md +2 -0
  66. data/docs/EventForwarderGetOutput.md +3 -1
  67. data/docs/FolderCreate.md +34 -0
  68. data/docs/FolderCreateOutput.md +18 -0
  69. data/docs/FolderDelete.md +28 -0
  70. data/docs/FolderGet.md +28 -0
  71. data/docs/FolderGetOutput.md +18 -0
  72. data/docs/FolderUpdate.md +36 -0
  73. data/docs/GatewayCreateMigration.md +2 -0
  74. data/docs/GatewayCreateProducerGcp.md +23 -5
  75. data/docs/GatewayCreateProducerMSSQL.md +2 -0
  76. data/docs/GatewayCreateProducerMongo.md +2 -0
  77. data/docs/GatewayUpdateMigration.md +2 -0
  78. data/docs/GatewayUpdateProducerGcp.md +23 -5
  79. data/docs/GatewayUpdateProducerMSSQL.md +2 -0
  80. data/docs/GatewayUpdateProducerMongo.md +2 -0
  81. data/docs/GatewayUpdateRemoteAccess.md +4 -0
  82. data/docs/GetDynamicSecretValue.md +2 -0
  83. data/docs/GetFolderOutput.md +36 -0
  84. data/docs/NotiForwarderDetailsInput.md +28 -0
  85. data/docs/PKICertificateIssueDetails.md +6 -0
  86. data/docs/RotatedSecretCreateSsh.md +4 -0
  87. data/docs/RotatedSecretDeleteSync.md +2 -0
  88. data/docs/RotatedSecretDetailsInfo.md +4 -0
  89. data/docs/RotatedSecretUpdateSsh.md +4 -0
  90. data/docs/SlackNotiForwarderDetails.md +18 -0
  91. data/docs/StaticSecretDeleteSync.md +2 -0
  92. data/docs/TeamsNotiForwarderDetails.md +18 -0
  93. data/docs/UpdateAccountSettings.md +4 -0
  94. data/docs/UpdateAuthMethod.md +2 -0
  95. data/docs/UpdateAuthMethodAWSIAM.md +2 -0
  96. data/docs/UpdateAuthMethodAzureAD.md +2 -0
  97. data/docs/UpdateAuthMethodCert.md +2 -0
  98. data/docs/UpdateAuthMethodGCP.md +2 -0
  99. data/docs/UpdateAuthMethodK8S.md +2 -0
  100. data/docs/UpdateAuthMethodLDAP.md +2 -0
  101. data/docs/UpdateAuthMethodOAuth2.md +2 -0
  102. data/docs/UpdateAuthMethodOCI.md +2 -0
  103. data/docs/UpdateAuthMethodOIDC.md +2 -0
  104. data/docs/UpdateAuthMethodSAML.md +2 -0
  105. data/docs/UpdateAuthMethodUniversalIdentity.md +2 -0
  106. data/docs/UpdatePKICertIssuer.md +6 -0
  107. data/docs/V2Api.md +256 -4
  108. data/docs/WebhookNotiForwarderDetails.md +26 -0
  109. data/docs/WindowsServiceAttributes.md +4 -0
  110. data/lib/akeyless/api/v2_api.rb +256 -0
  111. data/lib/akeyless/models/account_general_settings.rb +10 -1
  112. data/lib/akeyless/models/active_directory_payload.rb +10 -1
  113. data/lib/akeyless/models/allowed_client_type.rb +225 -0
  114. data/lib/akeyless/models/auth_method_access_info.rb +12 -1
  115. data/lib/akeyless/models/auth_method_create_api_key.rb +12 -1
  116. data/lib/akeyless/models/auth_method_create_aws_iam.rb +12 -1
  117. data/lib/akeyless/models/auth_method_create_azure_ad.rb +12 -1
  118. data/lib/akeyless/models/auth_method_create_cert.rb +12 -1
  119. data/lib/akeyless/models/auth_method_create_email.rb +12 -1
  120. data/lib/akeyless/models/auth_method_create_gcp.rb +12 -1
  121. data/lib/akeyless/models/auth_method_create_k8s.rb +12 -1
  122. data/lib/akeyless/models/auth_method_create_kerberos.rb +12 -1
  123. data/lib/akeyless/models/auth_method_create_ldap.rb +12 -1
  124. data/lib/akeyless/models/auth_method_create_oauth2.rb +12 -1
  125. data/lib/akeyless/models/auth_method_create_oci.rb +12 -1
  126. data/lib/akeyless/models/auth_method_create_oidc.rb +12 -1
  127. data/lib/akeyless/models/auth_method_create_saml.rb +12 -1
  128. data/lib/akeyless/models/auth_method_create_universal_identity.rb +12 -1
  129. data/lib/akeyless/models/auth_method_update_api_key.rb +12 -1
  130. data/lib/akeyless/models/auth_method_update_aws_iam.rb +12 -1
  131. data/lib/akeyless/models/auth_method_update_azure_ad.rb +12 -1
  132. data/lib/akeyless/models/auth_method_update_cert.rb +12 -1
  133. data/lib/akeyless/models/auth_method_update_email.rb +12 -1
  134. data/lib/akeyless/models/auth_method_update_gcp.rb +12 -1
  135. data/lib/akeyless/models/auth_method_update_k8s.rb +12 -1
  136. data/lib/akeyless/models/auth_method_update_kerberos.rb +12 -1
  137. data/lib/akeyless/models/auth_method_update_ldap.rb +12 -1
  138. data/lib/akeyless/models/auth_method_update_oauth2.rb +12 -1
  139. data/lib/akeyless/models/auth_method_update_oci.rb +12 -1
  140. data/lib/akeyless/models/auth_method_update_oidc.rb +12 -1
  141. data/lib/akeyless/models/auth_method_update_saml.rb +12 -1
  142. data/lib/akeyless/models/auth_method_update_universal_identity.rb +12 -1
  143. data/lib/akeyless/models/bastion_global_conf.rb +19 -1
  144. data/lib/akeyless/models/create_auth_method.rb +12 -1
  145. data/lib/akeyless/models/create_auth_method_awsiam.rb +12 -1
  146. data/lib/akeyless/models/create_auth_method_azure_ad.rb +12 -1
  147. data/lib/akeyless/models/create_auth_method_cert.rb +12 -1
  148. data/lib/akeyless/models/create_auth_method_email.rb +12 -1
  149. data/lib/akeyless/models/create_auth_method_gcp.rb +12 -1
  150. data/lib/akeyless/models/create_auth_method_huawei.rb +12 -1
  151. data/lib/akeyless/models/create_auth_method_k8_s.rb +12 -1
  152. data/lib/akeyless/models/create_auth_method_ldap.rb +12 -1
  153. data/lib/akeyless/models/create_auth_method_o_auth2.rb +12 -1
  154. data/lib/akeyless/models/create_auth_method_oci.rb +12 -1
  155. data/lib/akeyless/models/create_auth_method_oidc.rb +12 -1
  156. data/lib/akeyless/models/create_auth_method_saml.rb +12 -1
  157. data/lib/akeyless/models/create_auth_method_universal_identity.rb +12 -1
  158. data/lib/akeyless/models/create_esm.rb +11 -1
  159. data/lib/akeyless/models/create_pki_cert_issuer.rb +28 -1
  160. data/lib/akeyless/models/create_role.rb +13 -1
  161. data/lib/akeyless/models/create_usc.rb +11 -1
  162. data/lib/akeyless/models/decrypt_with_classic_key.rb +13 -1
  163. data/lib/akeyless/models/ds_producer_details.rb +47 -1
  164. data/lib/akeyless/models/dynamic_secret_create_gcp.rb +101 -11
  165. data/lib/akeyless/models/dynamic_secret_create_google_workspace.rb +11 -1
  166. data/lib/akeyless/models/dynamic_secret_create_mongo_db.rb +11 -1
  167. data/lib/akeyless/models/dynamic_secret_create_ms_sql.rb +11 -1
  168. data/lib/akeyless/models/dynamic_secret_get_value.rb +11 -1
  169. data/lib/akeyless/models/dynamic_secret_update_gcp.rb +101 -11
  170. data/lib/akeyless/models/dynamic_secret_update_google_workspace.rb +11 -1
  171. data/lib/akeyless/models/dynamic_secret_update_mongo_db.rb +11 -1
  172. data/lib/akeyless/models/dynamic_secret_update_ms_sql.rb +11 -1
  173. data/lib/akeyless/models/encrypt_with_classic_key.rb +13 -1
  174. data/lib/akeyless/models/event_forwarder_get_output.rb +13 -4
  175. data/lib/akeyless/models/folder_create.rb +308 -0
  176. data/lib/akeyless/models/folder_create_output.rb +214 -0
  177. data/lib/akeyless/models/folder_delete.rb +276 -0
  178. data/lib/akeyless/models/folder_get.rb +276 -0
  179. data/lib/akeyless/models/folder_get_output.rb +214 -0
  180. data/lib/akeyless/models/folder_update.rb +320 -0
  181. data/lib/akeyless/models/gateway_create_migration.rb +13 -1
  182. data/lib/akeyless/models/gateway_create_producer_gcp.rb +101 -11
  183. data/lib/akeyless/models/gateway_create_producer_mongo.rb +11 -1
  184. data/lib/akeyless/models/gateway_create_producer_mssql.rb +11 -1
  185. data/lib/akeyless/models/gateway_update_migration.rb +13 -1
  186. data/lib/akeyless/models/gateway_update_producer_gcp.rb +101 -11
  187. data/lib/akeyless/models/gateway_update_producer_mongo.rb +11 -1
  188. data/lib/akeyless/models/gateway_update_producer_mssql.rb +11 -1
  189. data/lib/akeyless/models/gateway_update_remote_access.rb +25 -1
  190. data/lib/akeyless/models/get_dynamic_secret_value.rb +11 -1
  191. data/lib/akeyless/models/get_folder_output.rb +298 -0
  192. data/lib/akeyless/models/noti_forwarder_details_input.rb +261 -0
  193. data/lib/akeyless/models/pki_certificate_issue_details.rb +31 -1
  194. data/lib/akeyless/models/rotated_secret_create_ssh.rb +21 -1
  195. data/lib/akeyless/models/rotated_secret_delete_sync.rb +11 -1
  196. data/lib/akeyless/models/rotated_secret_details_info.rb +21 -1
  197. data/lib/akeyless/models/rotated_secret_update_ssh.rb +21 -1
  198. data/lib/akeyless/models/slack_noti_forwarder_details.rb +214 -0
  199. data/lib/akeyless/models/static_secret_delete_sync.rb +11 -1
  200. data/lib/akeyless/models/teams_noti_forwarder_details.rb +214 -0
  201. data/lib/akeyless/models/update_account_settings.rb +21 -1
  202. data/lib/akeyless/models/update_auth_method.rb +12 -1
  203. data/lib/akeyless/models/update_auth_method_awsiam.rb +12 -1
  204. data/lib/akeyless/models/update_auth_method_azure_ad.rb +12 -1
  205. data/lib/akeyless/models/update_auth_method_cert.rb +12 -1
  206. data/lib/akeyless/models/update_auth_method_gcp.rb +12 -1
  207. data/lib/akeyless/models/update_auth_method_k8_s.rb +12 -1
  208. data/lib/akeyless/models/update_auth_method_ldap.rb +12 -1
  209. data/lib/akeyless/models/update_auth_method_o_auth2.rb +12 -1
  210. data/lib/akeyless/models/update_auth_method_oci.rb +12 -1
  211. data/lib/akeyless/models/update_auth_method_oidc.rb +12 -1
  212. data/lib/akeyless/models/update_auth_method_saml.rb +12 -1
  213. data/lib/akeyless/models/update_auth_method_universal_identity.rb +12 -1
  214. data/lib/akeyless/models/update_pki_cert_issuer.rb +28 -1
  215. data/lib/akeyless/models/webhook_noti_forwarder_details.rb +253 -0
  216. data/lib/akeyless/models/windows_service_attributes.rb +21 -1
  217. data/lib/akeyless/version.rb +1 -1
  218. data/lib/akeyless.rb +12 -0
  219. data/spec/models/allowed_client_type_spec.rb +42 -0
  220. data/spec/models/folder_create_output_spec.rb +36 -0
  221. data/spec/models/folder_create_spec.rb +84 -0
  222. data/spec/models/folder_delete_spec.rb +66 -0
  223. data/spec/models/folder_get_output_spec.rb +36 -0
  224. data/spec/models/folder_get_spec.rb +66 -0
  225. data/spec/models/folder_update_spec.rb +90 -0
  226. data/spec/models/get_folder_output_spec.rb +90 -0
  227. data/spec/models/noti_forwarder_details_input_spec.rb +66 -0
  228. data/spec/models/slack_noti_forwarder_details_spec.rb +36 -0
  229. data/spec/models/teams_noti_forwarder_details_spec.rb +36 -0
  230. data/spec/models/webhook_noti_forwarder_details_spec.rb +60 -0
  231. metadata +49 -1
@@ -16,6 +16,8 @@ require 'time'
16
16
  module Akeyless
17
17
  # dynamicSecretUpdateGcp is a command that updates a GCP dynamic secret
18
18
  class DynamicSecretUpdateGcp
19
+ attr_accessor :access_type
20
+
19
21
  # Customize how temporary usernames are generated using go template
20
22
  attr_accessor :custom_username_template
21
23
 
@@ -25,18 +27,24 @@ module Akeyless
25
27
  # Description of the object
26
28
  attr_accessor :description
27
29
 
30
+ # For externally provided users, denotes the key-name of IdP claim to extract the username from (Relevant only when --access-type=external)
31
+ attr_accessor :fixed_user_claim_keyname
32
+
28
33
  attr_accessor :gcp_cred_type
29
34
 
30
35
  # Base64-encoded service account private key text
31
36
  attr_accessor :gcp_key
32
37
 
33
- # Service account key algorithm, e.g. KEY_ALG_RSA_1024
38
+ # Service account key algorithm, e.g. KEY_ALG_RSA_1024 (Relevant only when --access-type=sa and --gcp-cred-type=key)
34
39
  attr_accessor :gcp_key_algo
35
40
 
36
- # The email of the fixed service acocunt to generate keys or tokens for. (revelant for service-account-type=fixed)
41
+ # GCP Project ID override for dynamic secret operations
42
+ attr_accessor :gcp_project_id
43
+
44
+ # The email of the fixed service account to generate keys or tokens for (Relevant only when --access-type=sa and --service-account-type=fixed)
37
45
  attr_accessor :gcp_sa_email
38
46
 
39
- # Access token scopes list, e.g. scope1,scope2
47
+ # Access token scopes list, e.g. scope1,scope2 (Relevant only when --access-type=sa; required when --gcp-cred-type=token)
40
48
  attr_accessor :gcp_token_scopes
41
49
 
42
50
  # Additional custom fields to associate with the item
@@ -54,10 +62,28 @@ module Akeyless
54
62
  # Dynamic producer encryption key
55
63
  attr_accessor :producer_encryption_key_name
56
64
 
57
- # Role binding definitions in json format
65
+ # Role binding definitions in JSON format (Relevant only when --access-type=sa and --service-account-type=dynamic)
58
66
  attr_accessor :role_binding
59
67
 
60
- # The type of the gcp dynamic secret. Options[fixed, dynamic]
68
+ # Comma-separated list of GCP roles to assign to the user (Relevant only when --access-type=external)
69
+ attr_accessor :role_names
70
+
71
+ # The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
72
+ attr_accessor :secure_access_delay
73
+
74
+ # Enable/Disable secure remote access [true/false]
75
+ attr_accessor :secure_access_enable
76
+
77
+ # Destination URL to inject secrets
78
+ attr_accessor :secure_access_url
79
+
80
+ # Secure browser via Akeyless's Secure Remote Access (SRA)
81
+ attr_accessor :secure_access_web_browsing
82
+
83
+ # Web-Proxy via Akeyless's Secure Remote Access (SRA)
84
+ attr_accessor :secure_access_web_proxy
85
+
86
+ # The type of the GCP service account. Options [fixed, dynamic] (Relevant only when --access-type=sa)
61
87
  attr_accessor :service_account_type
62
88
 
63
89
  # Add tags attached to this object
@@ -78,12 +104,15 @@ module Akeyless
78
104
  # Attribute mapping from ruby-style variable name to JSON key.
79
105
  def self.attribute_map
80
106
  {
107
+ :'access_type' => :'access-type',
81
108
  :'custom_username_template' => :'custom-username-template',
82
109
  :'delete_protection' => :'delete_protection',
83
110
  :'description' => :'description',
111
+ :'fixed_user_claim_keyname' => :'fixed-user-claim-keyname',
84
112
  :'gcp_cred_type' => :'gcp-cred-type',
85
113
  :'gcp_key' => :'gcp-key',
86
114
  :'gcp_key_algo' => :'gcp-key-algo',
115
+ :'gcp_project_id' => :'gcp-project-id',
87
116
  :'gcp_sa_email' => :'gcp-sa-email',
88
117
  :'gcp_token_scopes' => :'gcp-token-scopes',
89
118
  :'item_custom_fields' => :'item-custom-fields',
@@ -92,6 +121,12 @@ module Akeyless
92
121
  :'new_name' => :'new-name',
93
122
  :'producer_encryption_key_name' => :'producer-encryption-key-name',
94
123
  :'role_binding' => :'role-binding',
124
+ :'role_names' => :'role-names',
125
+ :'secure_access_delay' => :'secure-access-delay',
126
+ :'secure_access_enable' => :'secure-access-enable',
127
+ :'secure_access_url' => :'secure-access-url',
128
+ :'secure_access_web_browsing' => :'secure-access-web-browsing',
129
+ :'secure_access_web_proxy' => :'secure-access-web-proxy',
95
130
  :'service_account_type' => :'service-account-type',
96
131
  :'tags' => :'tags',
97
132
  :'target_name' => :'target-name',
@@ -109,12 +144,15 @@ module Akeyless
109
144
  # Attribute type mapping.
110
145
  def self.openapi_types
111
146
  {
147
+ :'access_type' => :'String',
112
148
  :'custom_username_template' => :'String',
113
149
  :'delete_protection' => :'String',
114
150
  :'description' => :'String',
151
+ :'fixed_user_claim_keyname' => :'String',
115
152
  :'gcp_cred_type' => :'String',
116
153
  :'gcp_key' => :'String',
117
154
  :'gcp_key_algo' => :'String',
155
+ :'gcp_project_id' => :'String',
118
156
  :'gcp_sa_email' => :'String',
119
157
  :'gcp_token_scopes' => :'String',
120
158
  :'item_custom_fields' => :'Hash<String, String>',
@@ -123,6 +161,12 @@ module Akeyless
123
161
  :'new_name' => :'String',
124
162
  :'producer_encryption_key_name' => :'String',
125
163
  :'role_binding' => :'String',
164
+ :'role_names' => :'String',
165
+ :'secure_access_delay' => :'Integer',
166
+ :'secure_access_enable' => :'String',
167
+ :'secure_access_url' => :'String',
168
+ :'secure_access_web_browsing' => :'Boolean',
169
+ :'secure_access_web_proxy' => :'Boolean',
126
170
  :'service_account_type' => :'String',
127
171
  :'tags' => :'Array<String>',
128
172
  :'target_name' => :'String',
@@ -153,6 +197,10 @@ module Akeyless
153
197
  h[k.to_sym] = v
154
198
  }
155
199
 
200
+ if attributes.key?(:'access_type')
201
+ self.access_type = attributes[:'access_type']
202
+ end
203
+
156
204
  if attributes.key?(:'custom_username_template')
157
205
  self.custom_username_template = attributes[:'custom_username_template']
158
206
  end
@@ -165,6 +213,12 @@ module Akeyless
165
213
  self.description = attributes[:'description']
166
214
  end
167
215
 
216
+ if attributes.key?(:'fixed_user_claim_keyname')
217
+ self.fixed_user_claim_keyname = attributes[:'fixed_user_claim_keyname']
218
+ else
219
+ self.fixed_user_claim_keyname = 'ext_email'
220
+ end
221
+
168
222
  if attributes.key?(:'gcp_cred_type')
169
223
  self.gcp_cred_type = attributes[:'gcp_cred_type']
170
224
  end
@@ -177,6 +231,10 @@ module Akeyless
177
231
  self.gcp_key_algo = attributes[:'gcp_key_algo']
178
232
  end
179
233
 
234
+ if attributes.key?(:'gcp_project_id')
235
+ self.gcp_project_id = attributes[:'gcp_project_id']
236
+ end
237
+
180
238
  if attributes.key?(:'gcp_sa_email')
181
239
  self.gcp_sa_email = attributes[:'gcp_sa_email']
182
240
  end
@@ -215,6 +273,34 @@ module Akeyless
215
273
  self.role_binding = attributes[:'role_binding']
216
274
  end
217
275
 
276
+ if attributes.key?(:'role_names')
277
+ self.role_names = attributes[:'role_names']
278
+ end
279
+
280
+ if attributes.key?(:'secure_access_delay')
281
+ self.secure_access_delay = attributes[:'secure_access_delay']
282
+ end
283
+
284
+ if attributes.key?(:'secure_access_enable')
285
+ self.secure_access_enable = attributes[:'secure_access_enable']
286
+ end
287
+
288
+ if attributes.key?(:'secure_access_url')
289
+ self.secure_access_url = attributes[:'secure_access_url']
290
+ end
291
+
292
+ if attributes.key?(:'secure_access_web_browsing')
293
+ self.secure_access_web_browsing = attributes[:'secure_access_web_browsing']
294
+ else
295
+ self.secure_access_web_browsing = false
296
+ end
297
+
298
+ if attributes.key?(:'secure_access_web_proxy')
299
+ self.secure_access_web_proxy = attributes[:'secure_access_web_proxy']
300
+ else
301
+ self.secure_access_web_proxy = false
302
+ end
303
+
218
304
  if attributes.key?(:'service_account_type')
219
305
  self.service_account_type = attributes[:'service_account_type']
220
306
  else
@@ -255,10 +341,6 @@ module Akeyless
255
341
  invalid_properties.push('invalid value for "name", name cannot be nil.')
256
342
  end
257
343
 
258
- if @service_account_type.nil?
259
- invalid_properties.push('invalid value for "service_account_type", service_account_type cannot be nil.')
260
- end
261
-
262
344
  invalid_properties
263
345
  end
264
346
 
@@ -267,7 +349,6 @@ module Akeyless
267
349
  def valid?
268
350
  warn '[DEPRECATED] the `valid?` method is obsolete'
269
351
  return false if @name.nil?
270
- return false if @service_account_type.nil?
271
352
  true
272
353
  end
273
354
 
@@ -276,12 +357,15 @@ module Akeyless
276
357
  def ==(o)
277
358
  return true if self.equal?(o)
278
359
  self.class == o.class &&
360
+ access_type == o.access_type &&
279
361
  custom_username_template == o.custom_username_template &&
280
362
  delete_protection == o.delete_protection &&
281
363
  description == o.description &&
364
+ fixed_user_claim_keyname == o.fixed_user_claim_keyname &&
282
365
  gcp_cred_type == o.gcp_cred_type &&
283
366
  gcp_key == o.gcp_key &&
284
367
  gcp_key_algo == o.gcp_key_algo &&
368
+ gcp_project_id == o.gcp_project_id &&
285
369
  gcp_sa_email == o.gcp_sa_email &&
286
370
  gcp_token_scopes == o.gcp_token_scopes &&
287
371
  item_custom_fields == o.item_custom_fields &&
@@ -290,6 +374,12 @@ module Akeyless
290
374
  new_name == o.new_name &&
291
375
  producer_encryption_key_name == o.producer_encryption_key_name &&
292
376
  role_binding == o.role_binding &&
377
+ role_names == o.role_names &&
378
+ secure_access_delay == o.secure_access_delay &&
379
+ secure_access_enable == o.secure_access_enable &&
380
+ secure_access_url == o.secure_access_url &&
381
+ secure_access_web_browsing == o.secure_access_web_browsing &&
382
+ secure_access_web_proxy == o.secure_access_web_proxy &&
293
383
  service_account_type == o.service_account_type &&
294
384
  tags == o.tags &&
295
385
  target_name == o.target_name &&
@@ -307,7 +397,7 @@ module Akeyless
307
397
  # Calculates hash code according to all attributes.
308
398
  # @return [Integer] Hash code
309
399
  def hash
310
- [custom_username_template, delete_protection, description, gcp_cred_type, gcp_key, gcp_key_algo, gcp_sa_email, gcp_token_scopes, item_custom_fields, json, name, new_name, producer_encryption_key_name, role_binding, service_account_type, tags, target_name, token, uid_token, user_ttl].hash
400
+ [access_type, custom_username_template, delete_protection, description, fixed_user_claim_keyname, gcp_cred_type, gcp_key, gcp_key_algo, gcp_project_id, gcp_sa_email, gcp_token_scopes, item_custom_fields, json, name, new_name, producer_encryption_key_name, role_binding, role_names, secure_access_delay, secure_access_enable, secure_access_url, secure_access_web_browsing, secure_access_web_proxy, service_account_type, tags, target_name, token, uid_token, user_ttl].hash
311
401
  end
312
402
 
313
403
  # Builds the object from hash
@@ -58,6 +58,9 @@ module Akeyless
58
58
 
59
59
  attr_accessor :role_scope
60
60
 
61
+ # The delay duration, in seconds, to wait after generating just-in-time credentials. Accepted range: 0-120 seconds
62
+ attr_accessor :secure_access_delay
63
+
61
64
  # Enable/Disable secure remote access [true/false]
62
65
  attr_accessor :secure_access_enable
63
66
 
@@ -106,6 +109,7 @@ module Akeyless
106
109
  :'producer_encryption_key_name' => :'producer-encryption-key-name',
107
110
  :'role_name' => :'role-name',
108
111
  :'role_scope' => :'role-scope',
112
+ :'secure_access_delay' => :'secure-access-delay',
109
113
  :'secure_access_enable' => :'secure-access-enable',
110
114
  :'secure_access_url' => :'secure-access-url',
111
115
  :'secure_access_web' => :'secure-access-web',
@@ -142,6 +146,7 @@ module Akeyless
142
146
  :'producer_encryption_key_name' => :'String',
143
147
  :'role_name' => :'String',
144
148
  :'role_scope' => :'String',
149
+ :'secure_access_delay' => :'Integer',
145
150
  :'secure_access_enable' => :'String',
146
151
  :'secure_access_url' => :'String',
147
152
  :'secure_access_web' => :'Boolean',
@@ -248,6 +253,10 @@ module Akeyless
248
253
  self.role_scope = attributes[:'role_scope']
249
254
  end
250
255
 
256
+ if attributes.key?(:'secure_access_delay')
257
+ self.secure_access_delay = attributes[:'secure_access_delay']
258
+ end
259
+
251
260
  if attributes.key?(:'secure_access_enable')
252
261
  self.secure_access_enable = attributes[:'secure_access_enable']
253
262
  end
@@ -349,6 +358,7 @@ module Akeyless
349
358
  producer_encryption_key_name == o.producer_encryption_key_name &&
350
359
  role_name == o.role_name &&
351
360
  role_scope == o.role_scope &&
361
+ secure_access_delay == o.secure_access_delay &&
352
362
  secure_access_enable == o.secure_access_enable &&
353
363
  secure_access_url == o.secure_access_url &&
354
364
  secure_access_web == o.secure_access_web &&
@@ -370,7 +380,7 @@ module Akeyless
370
380
  # Calculates hash code according to all attributes.
371
381
  # @return [Integer] Hash code
372
382
  def hash
373
- [access_mode, admin_email, delete_protection, description, fixed_user_claim_keyname, gcp_key, group_email, group_role, item_custom_fields, json, name, new_name, producer_encryption_key_name, role_name, role_scope, 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
383
+ [access_mode, admin_email, delete_protection, description, fixed_user_claim_keyname, gcp_key, group_email, group_role, item_custom_fields, json, name, new_name, producer_encryption_key_name, role_name, role_scope, secure_access_delay, 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
374
384
  end
375
385
 
376
386
  # Builds the object from hash
@@ -58,6 +58,9 @@ module Akeyless
58
58
  # MongoDB Roles
59
59
  attr_accessor :mongodb_roles
60
60
 
61
+ # MongoDB Scopes (Atlas only)
62
+ attr_accessor :mongodb_scopes
63
+
61
64
  # MongoDB server URI
62
65
  attr_accessor :mongodb_server_uri
63
66
 
@@ -132,6 +135,7 @@ module Akeyless
132
135
  :'mongodb_name' => :'mongodb-name',
133
136
  :'mongodb_password' => :'mongodb-password',
134
137
  :'mongodb_roles' => :'mongodb-roles',
138
+ :'mongodb_scopes' => :'mongodb-scopes',
135
139
  :'mongodb_server_uri' => :'mongodb-server-uri',
136
140
  :'mongodb_uri_options' => :'mongodb-uri-options',
137
141
  :'mongodb_username' => :'mongodb-username',
@@ -176,6 +180,7 @@ module Akeyless
176
180
  :'mongodb_name' => :'String',
177
181
  :'mongodb_password' => :'String',
178
182
  :'mongodb_roles' => :'String',
183
+ :'mongodb_scopes' => :'String',
179
184
  :'mongodb_server_uri' => :'String',
180
185
  :'mongodb_uri_options' => :'String',
181
186
  :'mongodb_username' => :'String',
@@ -281,6 +286,10 @@ module Akeyless
281
286
  self.mongodb_roles = '[]'
282
287
  end
283
288
 
289
+ if attributes.key?(:'mongodb_scopes')
290
+ self.mongodb_scopes = attributes[:'mongodb_scopes']
291
+ end
292
+
284
293
  if attributes.key?(:'mongodb_server_uri')
285
294
  self.mongodb_server_uri = attributes[:'mongodb_server_uri']
286
295
  end
@@ -407,6 +416,7 @@ module Akeyless
407
416
  mongodb_name == o.mongodb_name &&
408
417
  mongodb_password == o.mongodb_password &&
409
418
  mongodb_roles == o.mongodb_roles &&
419
+ mongodb_scopes == o.mongodb_scopes &&
410
420
  mongodb_server_uri == o.mongodb_server_uri &&
411
421
  mongodb_uri_options == o.mongodb_uri_options &&
412
422
  mongodb_username == o.mongodb_username &&
@@ -437,7 +447,7 @@ module Akeyless
437
447
  # Calculates hash code according to all attributes.
438
448
  # @return [Integer] Hash code
439
449
  def hash
440
- [custom_username_template, delete_protection, description, item_custom_fields, json, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_custom_data, mongodb_default_auth_db, mongodb_host_port, mongodb_name, mongodb_password, mongodb_roles, mongodb_server_uri, mongodb_uri_options, mongodb_username, name, new_name, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_name, secure_access_delay, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
450
+ [custom_username_template, delete_protection, description, item_custom_fields, json, mongodb_atlas_api_private_key, mongodb_atlas_api_public_key, mongodb_atlas_project_id, mongodb_custom_data, mongodb_default_auth_db, mongodb_host_port, mongodb_name, mongodb_password, mongodb_roles, mongodb_scopes, mongodb_server_uri, mongodb_uri_options, mongodb_username, name, new_name, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_name, secure_access_delay, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
441
451
  end
442
452
 
443
453
  # Builds the object from hash
@@ -31,6 +31,9 @@ module Akeyless
31
31
  # Set output format to JSON
32
32
  attr_accessor :json
33
33
 
34
+ # CSV of allowed DB names for runtime selection when getting the secret value. Empty => use target DB only; \"*\" => any DB allowed; One or more names => user must choose from this list
35
+ attr_accessor :mssql_allowed_db_names
36
+
34
37
  # MSSQL Creation statements
35
38
  attr_accessor :mssql_create_statements
36
39
 
@@ -111,6 +114,7 @@ module Akeyless
111
114
  :'description' => :'description',
112
115
  :'item_custom_fields' => :'item-custom-fields',
113
116
  :'json' => :'json',
117
+ :'mssql_allowed_db_names' => :'mssql-allowed-db-names',
114
118
  :'mssql_create_statements' => :'mssql-create-statements',
115
119
  :'mssql_dbname' => :'mssql-dbname',
116
120
  :'mssql_host' => :'mssql-host',
@@ -151,6 +155,7 @@ module Akeyless
151
155
  :'description' => :'String',
152
156
  :'item_custom_fields' => :'Hash<String, String>',
153
157
  :'json' => :'Boolean',
158
+ :'mssql_allowed_db_names' => :'String',
154
159
  :'mssql_create_statements' => :'String',
155
160
  :'mssql_dbname' => :'String',
156
161
  :'mssql_host' => :'String',
@@ -223,6 +228,10 @@ module Akeyless
223
228
  self.json = false
224
229
  end
225
230
 
231
+ if attributes.key?(:'mssql_allowed_db_names')
232
+ self.mssql_allowed_db_names = attributes[:'mssql_allowed_db_names']
233
+ end
234
+
226
235
  if attributes.key?(:'mssql_create_statements')
227
236
  self.mssql_create_statements = attributes[:'mssql_create_statements']
228
237
  end
@@ -364,6 +373,7 @@ module Akeyless
364
373
  description == o.description &&
365
374
  item_custom_fields == o.item_custom_fields &&
366
375
  json == o.json &&
376
+ mssql_allowed_db_names == o.mssql_allowed_db_names &&
367
377
  mssql_create_statements == o.mssql_create_statements &&
368
378
  mssql_dbname == o.mssql_dbname &&
369
379
  mssql_host == o.mssql_host &&
@@ -399,7 +409,7 @@ module Akeyless
399
409
  # Calculates hash code according to all attributes.
400
410
  # @return [Integer] Hash code
401
411
  def hash
402
- [custom_username_template, delete_protection, description, item_custom_fields, json, mssql_create_statements, mssql_dbname, mssql_host, mssql_password, mssql_port, mssql_revocation_statements, mssql_username, name, new_name, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_name, secure_access_db_schema, secure_access_delay, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
412
+ [custom_username_template, delete_protection, description, item_custom_fields, json, mssql_allowed_db_names, mssql_create_statements, mssql_dbname, mssql_host, mssql_password, mssql_port, mssql_revocation_statements, mssql_username, name, new_name, password_length, producer_encryption_key_name, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_db_name, secure_access_db_schema, secure_access_delay, secure_access_enable, secure_access_host, secure_access_web, tags, target_name, token, uid_token, user_ttl].hash
403
413
  end
404
414
 
405
415
  # Builds the object from hash
@@ -18,6 +18,9 @@ module Akeyless
18
18
  # The name of the key to use in the encryption process
19
19
  attr_accessor :display_id
20
20
 
21
+ # Retrieve the Secret value without checking the Gateway's cache [true/false]. This flag is only relevant when using the RestAPI
22
+ attr_accessor :ignore_cache
23
+
21
24
  # Set output format to JSON
22
25
  attr_accessor :json
23
26
 
@@ -37,6 +40,7 @@ module Akeyless
37
40
  def self.attribute_map
38
41
  {
39
42
  :'display_id' => :'display-id',
43
+ :'ignore_cache' => :'ignore-cache',
40
44
  :'json' => :'json',
41
45
  :'plaintext' => :'plaintext',
42
46
  :'token' => :'token',
@@ -54,6 +58,7 @@ module Akeyless
54
58
  def self.openapi_types
55
59
  {
56
60
  :'display_id' => :'String',
61
+ :'ignore_cache' => :'String',
57
62
  :'json' => :'Boolean',
58
63
  :'plaintext' => :'String',
59
64
  :'token' => :'String',
@@ -89,6 +94,12 @@ module Akeyless
89
94
  self.display_id = nil
90
95
  end
91
96
 
97
+ if attributes.key?(:'ignore_cache')
98
+ self.ignore_cache = attributes[:'ignore_cache']
99
+ else
100
+ self.ignore_cache = 'false'
101
+ end
102
+
92
103
  if attributes.key?(:'json')
93
104
  self.json = attributes[:'json']
94
105
  else
@@ -152,6 +163,7 @@ module Akeyless
152
163
  return true if self.equal?(o)
153
164
  self.class == o.class &&
154
165
  display_id == o.display_id &&
166
+ ignore_cache == o.ignore_cache &&
155
167
  json == o.json &&
156
168
  plaintext == o.plaintext &&
157
169
  token == o.token &&
@@ -168,7 +180,7 @@ module Akeyless
168
180
  # Calculates hash code according to all attributes.
169
181
  # @return [Integer] Hash code
170
182
  def hash
171
- [display_id, json, plaintext, token, uid_token, version].hash
183
+ [display_id, ignore_cache, json, plaintext, token, uid_token, version].hash
172
184
  end
173
185
 
174
186
  # Builds the object from hash
@@ -17,10 +17,13 @@ module Akeyless
17
17
  class EventForwarderGetOutput
18
18
  attr_accessor :event_forwarder
19
19
 
20
+ attr_accessor :event_forwarder_details
21
+
20
22
  # Attribute mapping from ruby-style variable name to JSON key.
21
23
  def self.attribute_map
22
24
  {
23
- :'event_forwarder' => :'event_forwarder'
25
+ :'event_forwarder' => :'event_forwarder',
26
+ :'event_forwarder_details' => :'event_forwarder_details'
24
27
  }
25
28
  end
26
29
 
@@ -32,7 +35,8 @@ module Akeyless
32
35
  # Attribute type mapping.
33
36
  def self.openapi_types
34
37
  {
35
- :'event_forwarder' => :'NotiForwarder'
38
+ :'event_forwarder' => :'NotiForwarder',
39
+ :'event_forwarder_details' => :'NotiForwarderDetailsInput'
36
40
  }
37
41
  end
38
42
 
@@ -60,6 +64,10 @@ module Akeyless
60
64
  if attributes.key?(:'event_forwarder')
61
65
  self.event_forwarder = attributes[:'event_forwarder']
62
66
  end
67
+
68
+ if attributes.key?(:'event_forwarder_details')
69
+ self.event_forwarder_details = attributes[:'event_forwarder_details']
70
+ end
63
71
  end
64
72
 
65
73
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -82,7 +90,8 @@ module Akeyless
82
90
  def ==(o)
83
91
  return true if self.equal?(o)
84
92
  self.class == o.class &&
85
- event_forwarder == o.event_forwarder
93
+ event_forwarder == o.event_forwarder &&
94
+ event_forwarder_details == o.event_forwarder_details
86
95
  end
87
96
 
88
97
  # @see the `==` method
@@ -94,7 +103,7 @@ module Akeyless
94
103
  # Calculates hash code according to all attributes.
95
104
  # @return [Integer] Hash code
96
105
  def hash
97
- [event_forwarder].hash
106
+ [event_forwarder, event_forwarder_details].hash
98
107
  end
99
108
 
100
109
  # Builds the object from hash