akeyless 5.0.23 → 5.0.24

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 (172) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -5
  3. data/docs/AgenticRule.md +20 -0
  4. data/docs/AgenticRules.md +20 -0
  5. data/docs/CreateRole.md +2 -0
  6. data/docs/CreateUSC.md +5 -1
  7. data/docs/DSProducerDetails.md +2 -0
  8. data/docs/DeleteRoleRule.md +1 -1
  9. data/docs/EsmListSecretsOutput.md +2 -0
  10. data/docs/GatewayMigrationCreateOutput.md +2 -0
  11. data/docs/ItemGeneralInfo.md +2 -0
  12. data/docs/ListItems.md +2 -0
  13. data/docs/RuntimeAuthorityCommand.md +28 -0
  14. data/docs/SetDefaultProfile.md +20 -0
  15. data/docs/SetDefaultProfileOutput.md +18 -0
  16. data/docs/SetRoleRule.md +1 -1
  17. data/docs/SystemAccessCredentialsReplyObj.md +2 -0
  18. data/docs/Target.md +2 -0
  19. data/docs/TargetCreateArtifactory.md +2 -0
  20. data/docs/TargetCreateAws.md +2 -0
  21. data/docs/TargetCreateAzure.md +2 -0
  22. data/docs/TargetCreateDB.md +2 -0
  23. data/docs/TargetCreateDigiCert.md +2 -0
  24. data/docs/TargetCreateDockerhub.md +2 -0
  25. data/docs/TargetCreateEks.md +2 -0
  26. data/docs/TargetCreateGcp.md +2 -0
  27. data/docs/TargetCreateGemini.md +2 -0
  28. data/docs/TargetCreateGithub.md +2 -0
  29. data/docs/TargetCreateGitlab.md +2 -0
  30. data/docs/TargetCreateGke.md +2 -0
  31. data/docs/TargetCreateGlobalSign.md +2 -0
  32. data/docs/TargetCreateGlobalSignAtlas.md +2 -0
  33. data/docs/TargetCreateGodaddy.md +2 -0
  34. data/docs/TargetCreateGoogleTrust.md +2 -0
  35. data/docs/TargetCreateHashiVault.md +2 -0
  36. data/docs/TargetCreateK8s.md +2 -0
  37. data/docs/TargetCreateLdap.md +2 -0
  38. data/docs/TargetCreateLetsEncrypt.md +2 -0
  39. data/docs/TargetCreateLinked.md +2 -0
  40. data/docs/TargetCreateOpenAI.md +2 -0
  41. data/docs/TargetCreatePing.md +2 -0
  42. data/docs/TargetCreateRabbitMq.md +2 -0
  43. data/docs/TargetCreateSalesforce.md +2 -0
  44. data/docs/TargetCreateSectigo.md +2 -0
  45. data/docs/TargetCreateSplunk.md +2 -0
  46. data/docs/TargetCreateSsh.md +2 -0
  47. data/docs/TargetCreateWeb.md +2 -0
  48. data/docs/TargetCreateWindows.md +2 -0
  49. data/docs/TargetCreateZeroSSL.md +2 -0
  50. data/docs/TargetUpdateArtifactory.md +2 -0
  51. data/docs/TargetUpdateAws.md +2 -0
  52. data/docs/TargetUpdateAzure.md +2 -0
  53. data/docs/TargetUpdateDB.md +2 -0
  54. data/docs/TargetUpdateDockerhub.md +2 -0
  55. data/docs/TargetUpdateEks.md +2 -0
  56. data/docs/TargetUpdateGcp.md +2 -0
  57. data/docs/TargetUpdateGemini.md +2 -0
  58. data/docs/TargetUpdateGithub.md +2 -0
  59. data/docs/TargetUpdateGitlab.md +2 -0
  60. data/docs/TargetUpdateGke.md +2 -0
  61. data/docs/TargetUpdateGlobalSign.md +2 -0
  62. data/docs/TargetUpdateGlobalSignAtlas.md +2 -0
  63. data/docs/TargetUpdateGodaddy.md +2 -0
  64. data/docs/TargetUpdateGoogleTrust.md +2 -0
  65. data/docs/TargetUpdateHashiVault.md +2 -0
  66. data/docs/TargetUpdateK8s.md +2 -0
  67. data/docs/TargetUpdateLdap.md +2 -0
  68. data/docs/TargetUpdateLetsEncrypt.md +2 -0
  69. data/docs/TargetUpdateOpenAI.md +2 -0
  70. data/docs/TargetUpdatePing.md +2 -0
  71. data/docs/TargetUpdateRabbitMq.md +2 -0
  72. data/docs/TargetUpdateSalesforce.md +2 -0
  73. data/docs/TargetUpdateSectigo.md +2 -0
  74. data/docs/TargetUpdateSsh.md +2 -0
  75. data/docs/TargetUpdateWeb.md +2 -0
  76. data/docs/TargetUpdateWindows.md +2 -0
  77. data/docs/TargetUpdateZeroSSL.md +2 -0
  78. data/docs/UpdateItem.md +5 -1
  79. data/docs/UpdateRole.md +2 -0
  80. data/docs/UpdateTarget.md +2 -0
  81. data/docs/UscList.md +4 -0
  82. data/docs/UscListSecretsOutput.md +2 -0
  83. data/docs/V2Api.md +66 -4
  84. data/lib/akeyless/api/v2_api.rb +68 -4
  85. data/lib/akeyless/models/agentic_rule.rb +223 -0
  86. data/lib/akeyless/models/agentic_rules.rb +227 -0
  87. data/lib/akeyless/models/create_role.rb +11 -1
  88. data/lib/akeyless/models/create_usc.rb +24 -4
  89. data/lib/akeyless/models/delete_role_rule.rb +1 -1
  90. data/lib/akeyless/models/ds_producer_details.rb +10 -1
  91. data/lib/akeyless/models/esm_list_secrets_output.rb +10 -1
  92. data/lib/akeyless/models/gateway_migration_create_output.rb +10 -1
  93. data/lib/akeyless/models/item_general_info.rb +10 -1
  94. data/lib/akeyless/models/list_items.rb +13 -1
  95. data/lib/akeyless/models/runtime_authority_command.rb +288 -0
  96. data/lib/akeyless/models/set_default_profile.rb +234 -0
  97. data/lib/akeyless/models/set_default_profile_output.rb +214 -0
  98. data/lib/akeyless/models/set_role_rule.rb +1 -1
  99. data/lib/akeyless/models/system_access_credentials_reply_obj.rb +11 -1
  100. data/lib/akeyless/models/target.rb +10 -1
  101. data/lib/akeyless/models/target_create_artifactory.rb +11 -1
  102. data/lib/akeyless/models/target_create_aws.rb +11 -1
  103. data/lib/akeyless/models/target_create_azure.rb +11 -1
  104. data/lib/akeyless/models/target_create_db.rb +11 -1
  105. data/lib/akeyless/models/target_create_digi_cert.rb +11 -1
  106. data/lib/akeyless/models/target_create_dockerhub.rb +11 -1
  107. data/lib/akeyless/models/target_create_eks.rb +11 -1
  108. data/lib/akeyless/models/target_create_gcp.rb +11 -1
  109. data/lib/akeyless/models/target_create_gemini.rb +11 -1
  110. data/lib/akeyless/models/target_create_github.rb +11 -1
  111. data/lib/akeyless/models/target_create_gitlab.rb +11 -1
  112. data/lib/akeyless/models/target_create_gke.rb +11 -1
  113. data/lib/akeyless/models/target_create_global_sign.rb +11 -1
  114. data/lib/akeyless/models/target_create_global_sign_atlas.rb +11 -1
  115. data/lib/akeyless/models/target_create_godaddy.rb +11 -1
  116. data/lib/akeyless/models/target_create_google_trust.rb +11 -1
  117. data/lib/akeyless/models/target_create_hashi_vault.rb +11 -1
  118. data/lib/akeyless/models/target_create_k8s.rb +11 -1
  119. data/lib/akeyless/models/target_create_ldap.rb +11 -1
  120. data/lib/akeyless/models/target_create_lets_encrypt.rb +11 -1
  121. data/lib/akeyless/models/target_create_linked.rb +11 -1
  122. data/lib/akeyless/models/target_create_open_ai.rb +11 -1
  123. data/lib/akeyless/models/target_create_ping.rb +11 -1
  124. data/lib/akeyless/models/target_create_rabbit_mq.rb +11 -1
  125. data/lib/akeyless/models/target_create_salesforce.rb +11 -1
  126. data/lib/akeyless/models/target_create_sectigo.rb +11 -1
  127. data/lib/akeyless/models/target_create_splunk.rb +11 -1
  128. data/lib/akeyless/models/target_create_ssh.rb +11 -1
  129. data/lib/akeyless/models/target_create_web.rb +11 -1
  130. data/lib/akeyless/models/target_create_windows.rb +11 -1
  131. data/lib/akeyless/models/target_create_zero_ssl.rb +11 -1
  132. data/lib/akeyless/models/target_update_artifactory.rb +11 -1
  133. data/lib/akeyless/models/target_update_aws.rb +11 -1
  134. data/lib/akeyless/models/target_update_azure.rb +11 -1
  135. data/lib/akeyless/models/target_update_db.rb +11 -1
  136. data/lib/akeyless/models/target_update_dockerhub.rb +11 -1
  137. data/lib/akeyless/models/target_update_eks.rb +11 -1
  138. data/lib/akeyless/models/target_update_gcp.rb +11 -1
  139. data/lib/akeyless/models/target_update_gemini.rb +11 -1
  140. data/lib/akeyless/models/target_update_github.rb +11 -1
  141. data/lib/akeyless/models/target_update_gitlab.rb +11 -1
  142. data/lib/akeyless/models/target_update_gke.rb +11 -1
  143. data/lib/akeyless/models/target_update_global_sign.rb +11 -1
  144. data/lib/akeyless/models/target_update_global_sign_atlas.rb +11 -1
  145. data/lib/akeyless/models/target_update_godaddy.rb +11 -1
  146. data/lib/akeyless/models/target_update_google_trust.rb +11 -1
  147. data/lib/akeyless/models/target_update_hashi_vault.rb +11 -1
  148. data/lib/akeyless/models/target_update_k8s.rb +11 -1
  149. data/lib/akeyless/models/target_update_ldap.rb +11 -1
  150. data/lib/akeyless/models/target_update_lets_encrypt.rb +11 -1
  151. data/lib/akeyless/models/target_update_open_ai.rb +11 -1
  152. data/lib/akeyless/models/target_update_ping.rb +11 -1
  153. data/lib/akeyless/models/target_update_rabbit_mq.rb +11 -1
  154. data/lib/akeyless/models/target_update_salesforce.rb +11 -1
  155. data/lib/akeyless/models/target_update_sectigo.rb +11 -1
  156. data/lib/akeyless/models/target_update_ssh.rb +11 -1
  157. data/lib/akeyless/models/target_update_web.rb +11 -1
  158. data/lib/akeyless/models/target_update_windows.rb +11 -1
  159. data/lib/akeyless/models/target_update_zero_ssl.rb +11 -1
  160. data/lib/akeyless/models/update_item.rb +24 -4
  161. data/lib/akeyless/models/update_role.rb +11 -1
  162. data/lib/akeyless/models/update_target.rb +11 -1
  163. data/lib/akeyless/models/usc_list.rb +21 -1
  164. data/lib/akeyless/models/usc_list_secrets_output.rb +10 -1
  165. data/lib/akeyless/version.rb +1 -1
  166. data/lib/akeyless.rb +5 -0
  167. data/spec/models/agentic_rule_spec.rb +42 -0
  168. data/spec/models/agentic_rules_spec.rb +42 -0
  169. data/spec/models/runtime_authority_command_spec.rb +66 -0
  170. data/spec/models/set_default_profile_output_spec.rb +36 -0
  171. data/spec/models/set_default_profile_spec.rb +42 -0
  172. metadata +22 -2
@@ -6,6 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **certificate_profile_id** | **Integer** | Certificate Profile ID in Sectigo account | |
8
8
  | **customer_uri** | **String** | Customer Uri of the Sectigo account | |
9
+ | **delete_protection** | **String** | Protection from accidental deletion of this object [true/false] | [optional] |
9
10
  | **description** | **String** | Description of the object | [optional] |
10
11
  | **external_requester** | **String** | External Requester - a comma separated list of emails | |
11
12
  | **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
@@ -29,6 +30,7 @@ require 'akeyless'
29
30
  instance = Akeyless::TargetUpdateSectigo.new(
30
31
  certificate_profile_id: null,
31
32
  customer_uri: null,
33
+ delete_protection: null,
32
34
  description: null,
33
35
  external_requester: null,
34
36
  json: null,
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **delete_protection** | **String** | Protection from accidental deletion of this object [true/false] | [optional] |
7
8
  | **description** | **String** | Description of the object | [optional] |
8
9
  | **host** | **String** | SSH host name | [optional] |
9
10
  | **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
@@ -26,6 +27,7 @@
26
27
  require 'akeyless'
27
28
 
28
29
  instance = Akeyless::TargetUpdateSsh.new(
30
+ delete_protection: null,
29
31
  description: null,
30
32
  host: null,
31
33
  json: null,
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **delete_protection** | **String** | Protection from accidental deletion of this object [true/false] | [optional] |
7
8
  | **description** | **String** | Description of the object | [optional] |
8
9
  | **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
9
10
  | **keep_prev_version** | **String** | Whether to keep previous version [true/false]. If not set, use default according to account settings | [optional] |
@@ -21,6 +22,7 @@
21
22
  require 'akeyless'
22
23
 
23
24
  instance = Akeyless::TargetUpdateWeb.new(
25
+ delete_protection: null,
24
26
  description: null,
25
27
  json: null,
26
28
  keep_prev_version: null,
@@ -6,6 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **certificate** | **String** | SSL CA certificate in base64 encoding generated from a trusted Certificate Authority (CA) | [optional] |
8
8
  | **connection_type** | **String** | Type of connection to Windows Server [credentials/parent-target] | [optional][default to 'credentials'] |
9
+ | **delete_protection** | **String** | Protection from accidental deletion of this object [true/false] | [optional] |
9
10
  | **description** | **String** | Description of the object | [optional] |
10
11
  | **domain** | **String** | User domain name | [optional] |
11
12
  | **hostname** | **String** | Server hostname | |
@@ -31,6 +32,7 @@ require 'akeyless'
31
32
  instance = Akeyless::TargetUpdateWindows.new(
32
33
  certificate: null,
33
34
  connection_type: null,
35
+ delete_protection: null,
34
36
  description: null,
35
37
  domain: null,
36
38
  hostname: null,
@@ -5,6 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **api_key** | **String** | API Key of the ZeroSSLTarget account | |
8
+ | **delete_protection** | **String** | Protection from accidental deletion of this object [true/false] | [optional] |
8
9
  | **description** | **String** | Description of the object | [optional] |
9
10
  | **imap_fqdn** | **String** | ImapFQDN of the IMAP service, FQDN or IPv4 address. Must be FQDN if the IMAP is using TLS | |
10
11
  | **imap_password** | **String** | ImapPassword to access the IMAP service | |
@@ -28,6 +29,7 @@ require 'akeyless'
28
29
 
29
30
  instance = Akeyless::TargetUpdateZeroSSL.new(
30
31
  api_key: null,
32
+ delete_protection: null,
31
33
  description: null,
32
34
  imap_fqdn: null,
33
35
  imap_password: null,
data/docs/UpdateItem.md CHANGED
@@ -56,6 +56,8 @@
56
56
  | **secure_access_web_proxy** | **Boolean** | Web-Proxy via Akeyless's Secure Remote Access (SRA) | [optional][default to false] |
57
57
  | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
58
58
  | **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
59
+ | **usc_tags** | **String** | Comma-separated list of tags to apply to all secrets created/synced on the remote USC USC items only. | [optional] |
60
+ | **use_tags_as_filter** | **String** | Whether to filter the USC secret list using the specified usc-tags [true/false] USC items only. | [optional] |
59
61
 
60
62
  ## Example
61
63
 
@@ -114,7 +116,9 @@ instance = Akeyless::UpdateItem.new(
114
116
  secure_access_web_browsing: null,
115
117
  secure_access_web_proxy: null,
116
118
  token: null,
117
- uid_token: null
119
+ uid_token: null,
120
+ usc_tags: null,
121
+ use_tags_as_filter: null
118
122
  )
119
123
  ```
120
124
 
data/docs/UpdateRole.md CHANGED
@@ -5,6 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **analytics_access** | **String** | Allow this role to view analytics. Currently only 'none', 'own', 'all' values are supported, allowing associated auth methods to view reports produced by the same auth methods. | [optional] |
8
+ | **ara_reports_access** | **String** | Allow this role to view Agentic Runtime Authority Dashboard. Currently only 'none', 'scoped', 'all' values are supported. | [optional] |
8
9
  | **audit_access** | **String** | Allow this role to view audit logs. Currently only 'none', 'own', 'scoped' and 'all' values are supported, allowing associated auth methods to view audit logs produced by the same auth methods. | [optional] |
9
10
  | **delete_protection** | **String** | Protection from accidental deletion of this object [true/false] | [optional] |
10
11
  | **description** | **String** | Description of the object | [optional][default to 'default_comment'] |
@@ -28,6 +29,7 @@ require 'akeyless'
28
29
 
29
30
  instance = Akeyless::UpdateRole.new(
30
31
  analytics_access: null,
32
+ ara_reports_access: null,
31
33
  audit_access: null,
32
34
  delete_protection: null,
33
35
  description: null,
data/docs/UpdateTarget.md CHANGED
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **delete_protection** | **String** | Protection from accidental deletion of this object [true/false] | [optional] |
7
8
  | **description** | **String** | Description of the object | [optional][default to 'default_comment'] |
8
9
  | **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
9
10
  | **max_versions** | **String** | Set the maximum number of versions, limited by the account settings defaults. | [optional] |
@@ -19,6 +20,7 @@
19
20
  require 'akeyless'
20
21
 
21
22
  instance = Akeyless::UpdateTarget.new(
23
+ delete_protection: null,
22
24
  description: null,
23
25
  json: null,
24
26
  max_versions: null,
data/docs/UscList.md CHANGED
@@ -6,6 +6,8 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
8
8
  | **object_type** | **String** | | [optional] |
9
+ | **page_size** | **Integer** | Optional: number of items requested per response (Azure KV). When set, response may include next_token | [optional] |
10
+ | **page_token** | **String** | Optional: continuation token returned by a previous usc list --page-size call | [optional] |
9
11
  | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
10
12
  | **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
11
13
  | **usc_name** | **String** | Name of the Universal Secrets Connector item | |
@@ -18,6 +20,8 @@ require 'akeyless'
18
20
  instance = Akeyless::UscList.new(
19
21
  json: null,
20
22
  object_type: null,
23
+ page_size: null,
24
+ page_token: null,
21
25
  token: null,
22
26
  uid_token: null,
23
27
  usc_name: null
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **next_token** | **String** | | [optional] |
7
8
  | **secrets_list** | [**Array<SecretInfo>**](SecretInfo.md) | | [optional] |
8
9
  | **warnings** | **Array<String>** | | [optional] |
9
10
 
@@ -13,6 +14,7 @@
13
14
  require 'akeyless'
14
15
 
15
16
  instance = Akeyless::UscListSecretsOutput.new(
17
+ next_token: null,
16
18
  secrets_list: null,
17
19
  warnings: null
18
20
  )
data/docs/V2Api.md CHANGED
@@ -152,7 +152,7 @@ All URIs are relative to *https://api.akeyless.io*
152
152
  | [**dynamic_secret_create_ms_sql**](V2Api.md#dynamic_secret_create_ms_sql) | **POST** /dynamic-secret-create-mssql | |
153
153
  | [**dynamic_secret_create_my_sql**](V2Api.md#dynamic_secret_create_my_sql) | **POST** /dynamic-secret-create-mysql | |
154
154
  | [**dynamic_secret_create_open_ai**](V2Api.md#dynamic_secret_create_open_ai) | **POST** /dynamic-secret-create-openai | |
155
- | [**dynamic_secret_create_oracle_db**](V2Api.md#dynamic_secret_create_oracle_db) | **POST** /dynamic-secret-create-oracle | |
155
+ | [**dynamic_secret_create_oracle_db**](V2Api.md#dynamic_secret_create_oracle_db) | **POST** /dynamic-secret-create-oracledb | |
156
156
  | [**dynamic_secret_create_ping**](V2Api.md#dynamic_secret_create_ping) | **POST** /dynamic-secret-create-ping | |
157
157
  | [**dynamic_secret_create_postgre_sql**](V2Api.md#dynamic_secret_create_postgre_sql) | **POST** /dynamic-secret-create-postgresql | |
158
158
  | [**dynamic_secret_create_rabbit_mq**](V2Api.md#dynamic_secret_create_rabbit_mq) | **POST** /dynamic-secret-create-rabbitmq | |
@@ -166,7 +166,7 @@ All URIs are relative to *https://api.akeyless.io*
166
166
  | [**dynamic_secret_get_value**](V2Api.md#dynamic_secret_get_value) | **POST** /dynamic-secret-get-value | |
167
167
  | [**dynamic_secret_list**](V2Api.md#dynamic_secret_list) | **POST** /dynamic-secret-list | |
168
168
  | [**dynamic_secret_tmp_creds_delete**](V2Api.md#dynamic_secret_tmp_creds_delete) | **POST** /dynamic-secret-tmp-creds-delete | |
169
- | [**dynamic_secret_tmp_creds_get**](V2Api.md#dynamic_secret_tmp_creds_get) | **POST** /dynamic-secret-tmp-creds-Get | |
169
+ | [**dynamic_secret_tmp_creds_get**](V2Api.md#dynamic_secret_tmp_creds_get) | **POST** /dynamic-secret-tmp-creds-get | |
170
170
  | [**dynamic_secret_tmp_creds_update**](V2Api.md#dynamic_secret_tmp_creds_update) | **POST** /dynamic-secret-tmp-creds-update | |
171
171
  | [**dynamic_secret_update_artifactory**](V2Api.md#dynamic_secret_update_artifactory) | **POST** /dynamic-secret-update-artifactory | |
172
172
  | [**dynamic_secret_update_aws**](V2Api.md#dynamic_secret_update_aws) | **POST** /dynamic-secret-update-aws | |
@@ -180,10 +180,10 @@ All URIs are relative to *https://api.akeyless.io*
180
180
  | [**dynamic_secret_update_gitlab**](V2Api.md#dynamic_secret_update_gitlab) | **POST** /dynamic-secret-update-gitlab | |
181
181
  | [**dynamic_secret_update_gke**](V2Api.md#dynamic_secret_update_gke) | **POST** /dynamic-secret-update-gke | |
182
182
  | [**dynamic_secret_update_google_workspace**](V2Api.md#dynamic_secret_update_google_workspace) | **POST** /dynamic-secret-update-google-workspace | |
183
- | [**dynamic_secret_update_hana_db**](V2Api.md#dynamic_secret_update_hana_db) | **POST** /dynamic-secret-update-hana | |
183
+ | [**dynamic_secret_update_hana_db**](V2Api.md#dynamic_secret_update_hana_db) | **POST** /dynamic-secret-update-hanadb | |
184
184
  | [**dynamic_secret_update_k8s**](V2Api.md#dynamic_secret_update_k8s) | **POST** /dynamic-secret-update-k8s | |
185
185
  | [**dynamic_secret_update_ldap**](V2Api.md#dynamic_secret_update_ldap) | **POST** /dynamic-secret-update-ldap | |
186
- | [**dynamic_secret_update_mongo_db**](V2Api.md#dynamic_secret_update_mongo_db) | **POST** /dynamic-secret-update-mongo | |
186
+ | [**dynamic_secret_update_mongo_db**](V2Api.md#dynamic_secret_update_mongo_db) | **POST** /dynamic-secret-update-mongodb | |
187
187
  | [**dynamic_secret_update_ms_sql**](V2Api.md#dynamic_secret_update_ms_sql) | **POST** /dynamic-secret-update-mssql | |
188
188
  | [**dynamic_secret_update_my_sql**](V2Api.md#dynamic_secret_update_my_sql) | **POST** /dynamic-secret-update-mysql | |
189
189
  | [**dynamic_secret_update_open_ai**](V2Api.md#dynamic_secret_update_open_ai) | **POST** /dynamic-secret-update-openai | |
@@ -453,6 +453,7 @@ All URIs are relative to *https://api.akeyless.io*
453
453
  | [**rotated_secret_update_splunk**](V2Api.md#rotated_secret_update_splunk) | **POST** /rotated-secret-update-splunk | |
454
454
  | [**rotated_secret_update_ssh**](V2Api.md#rotated_secret_update_ssh) | **POST** /rotated-secret-update-ssh | |
455
455
  | [**rotated_secret_update_windows**](V2Api.md#rotated_secret_update_windows) | **POST** /rotated-secret-update-windows | |
456
+ | [**runtime_authority**](V2Api.md#runtime_authority) | **POST** /runtime-authority | |
456
457
  | [**set_item_state**](V2Api.md#set_item_state) | **POST** /set-item-state | |
457
458
  | [**set_role_rule**](V2Api.md#set_role_rule) | **POST** /set-role-rule | |
458
459
  | [**share_item**](V2Api.md#share_item) | **POST** /share-item | |
@@ -28482,6 +28483,67 @@ No authorization required
28482
28483
  - **Accept**: application/json
28483
28484
 
28484
28485
 
28486
+ ## runtime_authority
28487
+
28488
+ > runtime_authority(runtime_authority_command)
28489
+
28490
+
28491
+
28492
+ ### Examples
28493
+
28494
+ ```ruby
28495
+ require 'time'
28496
+ require 'akeyless'
28497
+
28498
+ api_instance = Akeyless::V2Api.new
28499
+ runtime_authority_command = Akeyless::RuntimeAuthorityCommand.new({agent_id: 'agent_id_example', name: 'name_example', payload: 'payload_example'}) # RuntimeAuthorityCommand |
28500
+
28501
+ begin
28502
+
28503
+ api_instance.runtime_authority(runtime_authority_command)
28504
+ rescue Akeyless::ApiError => e
28505
+ puts "Error when calling V2Api->runtime_authority: #{e}"
28506
+ end
28507
+ ```
28508
+
28509
+ #### Using the runtime_authority_with_http_info variant
28510
+
28511
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
28512
+
28513
+ > <Array(nil, Integer, Hash)> runtime_authority_with_http_info(runtime_authority_command)
28514
+
28515
+ ```ruby
28516
+ begin
28517
+
28518
+ data, status_code, headers = api_instance.runtime_authority_with_http_info(runtime_authority_command)
28519
+ p status_code # => 2xx
28520
+ p headers # => { ... }
28521
+ p data # => nil
28522
+ rescue Akeyless::ApiError => e
28523
+ puts "Error when calling V2Api->runtime_authority_with_http_info: #{e}"
28524
+ end
28525
+ ```
28526
+
28527
+ ### Parameters
28528
+
28529
+ | Name | Type | Description | Notes |
28530
+ | ---- | ---- | ----------- | ----- |
28531
+ | **runtime_authority_command** | [**RuntimeAuthorityCommand**](RuntimeAuthorityCommand.md) | | |
28532
+
28533
+ ### Return type
28534
+
28535
+ nil (empty response body)
28536
+
28537
+ ### Authorization
28538
+
28539
+ No authorization required
28540
+
28541
+ ### HTTP request headers
28542
+
28543
+ - **Content-Type**: application/json
28544
+ - **Accept**: application/json
28545
+
28546
+
28485
28547
  ## set_item_state
28486
28548
 
28487
28549
  > Object set_item_state(set_item_state)
@@ -9519,7 +9519,7 @@ module Akeyless
9519
9519
  fail ArgumentError, "Missing the required parameter 'dynamic_secret_create_oracle_db' when calling V2Api.dynamic_secret_create_oracle_db"
9520
9520
  end
9521
9521
  # resource path
9522
- local_var_path = '/dynamic-secret-create-oracle'
9522
+ local_var_path = '/dynamic-secret-create-oracledb'
9523
9523
 
9524
9524
  # query parameters
9525
9525
  query_params = opts[:query_params] || {}
@@ -10415,7 +10415,7 @@ module Akeyless
10415
10415
  fail ArgumentError, "Missing the required parameter 'dynamic_secret_tmp_creds_get' when calling V2Api.dynamic_secret_tmp_creds_get"
10416
10416
  end
10417
10417
  # resource path
10418
- local_var_path = '/dynamic-secret-tmp-creds-Get'
10418
+ local_var_path = '/dynamic-secret-tmp-creds-get'
10419
10419
 
10420
10420
  # query parameters
10421
10421
  query_params = opts[:query_params] || {}
@@ -11307,7 +11307,7 @@ module Akeyless
11307
11307
  fail ArgumentError, "Missing the required parameter 'dynamic_secret_update_hana_db' when calling V2Api.dynamic_secret_update_hana_db"
11308
11308
  end
11309
11309
  # resource path
11310
- local_var_path = '/dynamic-secret-update-hana'
11310
+ local_var_path = '/dynamic-secret-update-hanadb'
11311
11311
 
11312
11312
  # query parameters
11313
11313
  query_params = opts[:query_params] || {}
@@ -11499,7 +11499,7 @@ module Akeyless
11499
11499
  fail ArgumentError, "Missing the required parameter 'dynamic_secret_update_mongo_db' when calling V2Api.dynamic_secret_update_mongo_db"
11500
11500
  end
11501
11501
  # resource path
11502
- local_var_path = '/dynamic-secret-update-mongo'
11502
+ local_var_path = '/dynamic-secret-update-mongodb'
11503
11503
 
11504
11504
  # query parameters
11505
11505
  query_params = opts[:query_params] || {}
@@ -28658,6 +28658,70 @@ module Akeyless
28658
28658
  return data, status_code, headers
28659
28659
  end
28660
28660
 
28661
+ # @param runtime_authority_command [RuntimeAuthorityCommand]
28662
+ # @param [Hash] opts the optional parameters
28663
+ # @return [nil]
28664
+ def runtime_authority(runtime_authority_command, opts = {})
28665
+ runtime_authority_with_http_info(runtime_authority_command, opts)
28666
+ nil
28667
+ end
28668
+
28669
+ # @param runtime_authority_command [RuntimeAuthorityCommand]
28670
+ # @param [Hash] opts the optional parameters
28671
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
28672
+ def runtime_authority_with_http_info(runtime_authority_command, opts = {})
28673
+ if @api_client.config.debugging
28674
+ @api_client.config.logger.debug 'Calling API: V2Api.runtime_authority ...'
28675
+ end
28676
+ # verify the required parameter 'runtime_authority_command' is set
28677
+ if @api_client.config.client_side_validation && runtime_authority_command.nil?
28678
+ fail ArgumentError, "Missing the required parameter 'runtime_authority_command' when calling V2Api.runtime_authority"
28679
+ end
28680
+ # resource path
28681
+ local_var_path = '/runtime-authority'
28682
+
28683
+ # query parameters
28684
+ query_params = opts[:query_params] || {}
28685
+
28686
+ # header parameters
28687
+ header_params = opts[:header_params] || {}
28688
+ # HTTP header 'Accept' (if needed)
28689
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
28690
+ # HTTP header 'Content-Type'
28691
+ content_type = @api_client.select_header_content_type(['application/json'])
28692
+ if !content_type.nil?
28693
+ header_params['Content-Type'] = content_type
28694
+ end
28695
+
28696
+ # form parameters
28697
+ form_params = opts[:form_params] || {}
28698
+
28699
+ # http body (model)
28700
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(runtime_authority_command)
28701
+
28702
+ # return_type
28703
+ return_type = opts[:debug_return_type]
28704
+
28705
+ # auth_names
28706
+ auth_names = opts[:debug_auth_names] || []
28707
+
28708
+ new_options = opts.merge(
28709
+ :operation => :"V2Api.runtime_authority",
28710
+ :header_params => header_params,
28711
+ :query_params => query_params,
28712
+ :form_params => form_params,
28713
+ :body => post_body,
28714
+ :auth_names => auth_names,
28715
+ :return_type => return_type
28716
+ )
28717
+
28718
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
28719
+ if @api_client.config.debugging
28720
+ @api_client.config.logger.debug "API called: V2Api#runtime_authority\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
28721
+ end
28722
+ return data, status_code, headers
28723
+ end
28724
+
28661
28725
  # @param set_item_state [SetItemState]
28662
28726
  # @param [Hash] opts the optional parameters
28663
28727
  # @return [Object]
@@ -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 AgenticRule
18
+ attr_accessor :name
19
+
20
+ attr_accessor :rule
21
+
22
+ # Attribute mapping from ruby-style variable name to JSON key.
23
+ def self.attribute_map
24
+ {
25
+ :'name' => :'name',
26
+ :'rule' => :'rule'
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
+ :'name' => :'String',
39
+ :'rule' => :'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::AgenticRule` 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::AgenticRule`. 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?(:'name')
65
+ self.name = attributes[:'name']
66
+ end
67
+
68
+ if attributes.key?(:'rule')
69
+ self.rule = attributes[:'rule']
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
+ name == o.name &&
94
+ rule == o.rule
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
+ [name, rule].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