akeyless 3.0.0 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +24 -3
- data/docs/AttributeTypeAndValue.md +20 -0
- data/docs/CertificateChainInfo.md +22 -0
- data/docs/CertificateExpirationEvent.md +18 -0
- data/docs/CertificateInfo.md +62 -0
- data/docs/Connect.md +2 -0
- data/docs/CreateEventForwarder.md +48 -0
- data/docs/CreateEventForwarderOutput.md +18 -0
- data/docs/CreateRotatedSecret.md +2 -0
- data/docs/DeleteEventForwarder.md +24 -0
- data/docs/EmailEntry.md +20 -0
- data/docs/Extension.md +22 -0
- data/docs/GatewayUpdateItem.md +2 -0
- data/docs/GetEventForwarder.md +24 -0
- data/docs/GetEventForwarderOutput.md +18 -0
- data/docs/Item.md +4 -0
- data/docs/ItemGeneralInfo.md +2 -0
- data/docs/ListSharedItems.md +24 -0
- data/docs/Name.md +28 -0
- data/docs/NotiForwarder.md +56 -0
- data/docs/RequestAccess.md +28 -0
- data/docs/RequestAccessOutput.md +18 -0
- data/docs/Target.md +4 -0
- data/docs/UpdateEventForwarder.md +40 -0
- data/docs/UpdateRotatedSecret.md +2 -0
- data/docs/V2Api.md +377 -63
- data/lib/akeyless/api/v2_api.rb +384 -64
- data/lib/akeyless/api_error.rb +1 -0
- data/lib/akeyless/configuration.rb +11 -0
- data/lib/akeyless/models/attribute_type_and_value.rb +231 -0
- data/lib/akeyless/models/certificate_chain_info.rb +241 -0
- data/lib/akeyless/models/certificate_expiration_event.rb +219 -0
- data/lib/akeyless/models/certificate_info.rb +434 -0
- data/lib/akeyless/models/connect.rb +11 -1
- data/lib/akeyless/models/create_event_forwarder.rb +394 -0
- data/lib/akeyless/models/create_event_forwarder_output.rb +219 -0
- data/lib/akeyless/models/create_rotated_secret.rb +11 -1
- data/lib/akeyless/models/delete_event_forwarder.rb +255 -0
- data/lib/akeyless/models/email_entry.rb +228 -0
- data/lib/akeyless/models/extension.rb +237 -0
- data/lib/akeyless/models/gateway_update_item.rb +11 -1
- data/lib/akeyless/models/get_event_forwarder.rb +255 -0
- data/lib/akeyless/models/get_event_forwarder_output.rb +219 -0
- data/lib/akeyless/models/item.rb +19 -1
- data/lib/akeyless/models/item_general_info.rb +10 -1
- data/lib/akeyless/models/list_shared_items.rb +253 -0
- data/lib/akeyless/models/name.rb +277 -0
- data/lib/akeyless/models/noti_forwarder.rb +400 -0
- data/lib/akeyless/models/request_access.rb +282 -0
- data/lib/akeyless/models/request_access_output.rb +219 -0
- data/lib/akeyless/models/target.rb +19 -1
- data/lib/akeyless/models/update_event_forwarder.rb +341 -0
- data/lib/akeyless/models/update_rotated_secret.rb +11 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +17 -1
- data/spec/models/attribute_type_and_value_spec.rb +40 -0
- data/spec/models/certificate_chain_info_spec.rb +46 -0
- data/spec/models/certificate_expiration_event_spec.rb +34 -0
- data/spec/models/certificate_info_spec.rb +166 -0
- data/spec/models/create_event_forwarder_output_spec.rb +34 -0
- data/spec/models/create_event_forwarder_spec.rb +124 -0
- data/spec/models/delete_event_forwarder_spec.rb +52 -0
- data/spec/models/email_entry_spec.rb +40 -0
- data/spec/models/extension_spec.rb +46 -0
- data/spec/models/get_event_forwarder_output_spec.rb +34 -0
- data/spec/models/get_event_forwarder_spec.rb +52 -0
- data/spec/models/list_shared_items_spec.rb +52 -0
- data/spec/models/name_spec.rb +64 -0
- data/spec/models/noti_forwarder_spec.rb +148 -0
- data/spec/models/request_access_output_spec.rb +34 -0
- data/spec/models/request_access_spec.rb +64 -0
- data/spec/models/update_event_forwarder_spec.rb +100 -0
- metadata +597 -529
data/docs/V2Api.md
CHANGED
@@ -30,6 +30,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
30
30
|
| [**create_dockerhub_target**](V2Api.md#create_dockerhub_target) | **POST** /create-dockerhub-target | |
|
31
31
|
| [**create_dynamic_secret**](V2Api.md#create_dynamic_secret) | **POST** /create-dynamic-secret | |
|
32
32
|
| [**create_eks_target**](V2Api.md#create_eks_target) | **POST** /create-eks-target | |
|
33
|
+
| [**create_event_forwarder**](V2Api.md#create_event_forwarder) | **POST** /create-event-forwarder | |
|
33
34
|
| [**create_gcp_target**](V2Api.md#create_gcp_target) | **POST** /create-gcp-target | |
|
34
35
|
| [**create_github_target**](V2Api.md#create_github_target) | **POST** /create-github-target | |
|
35
36
|
| [**create_gke_target**](V2Api.md#create_gke_target) | **POST** /create-gke-target | |
|
@@ -51,6 +52,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
51
52
|
| [**decrypt_with_classic_key**](V2Api.md#decrypt_with_classic_key) | **POST** /decrypt-with-classic-key | |
|
52
53
|
| [**delete_auth_method**](V2Api.md#delete_auth_method) | **POST** /delete-auth-method | |
|
53
54
|
| [**delete_auth_methods**](V2Api.md#delete_auth_methods) | **POST** /delete-auth-methods | |
|
55
|
+
| [**delete_event_forwarder**](V2Api.md#delete_event_forwarder) | **POST** /delete-event-forwarder | |
|
54
56
|
| [**delete_item**](V2Api.md#delete_item) | **POST** /delete-item | |
|
55
57
|
| [**delete_items**](V2Api.md#delete_items) | **POST** /delete-items | |
|
56
58
|
| [**delete_role**](V2Api.md#delete_role) | **POST** /delete-role | |
|
@@ -67,7 +69,6 @@ All URIs are relative to *https://api.akeyless.io*
|
|
67
69
|
| [**encrypt**](V2Api.md#encrypt) | **POST** /encrypt | |
|
68
70
|
| [**encrypt_with_classic_key**](V2Api.md#encrypt_with_classic_key) | **POST** /encrypt-with-classic-key | |
|
69
71
|
| [**export_classic_key**](V2Api.md#export_classic_key) | **POST** /export-classic-key | |
|
70
|
-
| [**gateway_add_allowed_management_access**](V2Api.md#gateway_add_allowed_management_access) | **POST** /gateway-add-allow-management-access | |
|
71
72
|
| [**gateway_create_k8_s_auth_config**](V2Api.md#gateway_create_k8_s_auth_config) | **POST** /gateway-create-k8s-auth-config | |
|
72
73
|
| [**gateway_create_migration**](V2Api.md#gateway_create_migration) | **POST** /gateway-create-migration | |
|
73
74
|
| [**gateway_create_producer_artifactory**](V2Api.md#gateway_create_producer_artifactory) | **POST** /gateway-create-producer-artifactory | |
|
@@ -144,6 +145,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
144
145
|
| [**get_account_settings**](V2Api.md#get_account_settings) | **POST** /get-account-settings | |
|
145
146
|
| [**get_auth_method**](V2Api.md#get_auth_method) | **POST** /get-auth-method | |
|
146
147
|
| [**get_dynamic_secret_value**](V2Api.md#get_dynamic_secret_value) | **POST** /get-dynamic-secret-value | |
|
148
|
+
| [**get_event_forwarder**](V2Api.md#get_event_forwarder) | **POST** /get-event-forwarder | |
|
147
149
|
| [**get_kube_exec_creds**](V2Api.md#get_kube_exec_creds) | **POST** /get-kube-exec-creds | |
|
148
150
|
| [**get_pki_certificate**](V2Api.md#get_pki_certificate) | **POST** /get-pki-certificate | |
|
149
151
|
| [**get_role**](V2Api.md#get_role) | **POST** /get-role | |
|
@@ -171,11 +173,13 @@ All URIs are relative to *https://api.akeyless.io*
|
|
171
173
|
| [**list_gateways**](V2Api.md#list_gateways) | **POST** /list-gateways | |
|
172
174
|
| [**list_items**](V2Api.md#list_items) | **POST** /list-items | |
|
173
175
|
| [**list_roles**](V2Api.md#list_roles) | **POST** /list-roles | |
|
176
|
+
| [**list_shared_items**](V2Api.md#list_shared_items) | **POST** /list-shared-items | |
|
174
177
|
| [**list_sra_bastions**](V2Api.md#list_sra_bastions) | **POST** /list-sra-bastions | |
|
175
178
|
| [**list_targets**](V2Api.md#list_targets) | **POST** /list-targets | |
|
176
179
|
| [**move_objects**](V2Api.md#move_objects) | **POST** /move-objects | |
|
177
180
|
| [**raw_creds**](V2Api.md#raw_creds) | **POST** /raw-creds | |
|
178
181
|
| [**refresh_key**](V2Api.md#refresh_key) | **POST** /refresh-key | |
|
182
|
+
| [**request_access**](V2Api.md#request_access) | **POST** /request-access | |
|
179
183
|
| [**reverse_rbac**](V2Api.md#reverse_rbac) | **POST** /reverse-rbac | |
|
180
184
|
| [**revoke_creds**](V2Api.md#revoke_creds) | **POST** /revoke-creds | |
|
181
185
|
| [**rollback_secret**](V2Api.md#rollback_secret) | **POST** /rollback-secret | |
|
@@ -215,6 +219,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
215
219
|
| [**update_db_target_details**](V2Api.md#update_db_target_details) | **POST** /update-db-target-details | |
|
216
220
|
| [**update_dockerhub_target**](V2Api.md#update_dockerhub_target) | **POST** /update-dockerhub-target | |
|
217
221
|
| [**update_eks_target**](V2Api.md#update_eks_target) | **POST** /update-eks-target | |
|
222
|
+
| [**update_event_forwarder**](V2Api.md#update_event_forwarder) | **POST** /update-event-forwarder | |
|
218
223
|
| [**update_gcp_target**](V2Api.md#update_gcp_target) | **POST** /update-gcp-target | |
|
219
224
|
| [**update_github_target**](V2Api.md#update_github_target) | **POST** /update-github-target | |
|
220
225
|
| [**update_gke_target**](V2Api.md#update_gke_target) | **POST** /update-gke-target | |
|
@@ -1857,6 +1862,68 @@ No authorization required
|
|
1857
1862
|
- **Accept**: application/json
|
1858
1863
|
|
1859
1864
|
|
1865
|
+
## create_event_forwarder
|
1866
|
+
|
1867
|
+
> <CreateEventForwarderOutput> create_event_forwarder(body)
|
1868
|
+
|
1869
|
+
|
1870
|
+
|
1871
|
+
### Examples
|
1872
|
+
|
1873
|
+
```ruby
|
1874
|
+
require 'time'
|
1875
|
+
require 'akeyless'
|
1876
|
+
|
1877
|
+
api_instance = Akeyless::V2Api.new
|
1878
|
+
body = Akeyless::CreateEventForwarder.new({event_source_locations: ['event_source_locations_example'], forwarder_type: 'forwarder_type_example', name: 'name_example', runner_type: 'runner_type_example'}) # CreateEventForwarder |
|
1879
|
+
|
1880
|
+
begin
|
1881
|
+
|
1882
|
+
result = api_instance.create_event_forwarder(body)
|
1883
|
+
p result
|
1884
|
+
rescue Akeyless::ApiError => e
|
1885
|
+
puts "Error when calling V2Api->create_event_forwarder: #{e}"
|
1886
|
+
end
|
1887
|
+
```
|
1888
|
+
|
1889
|
+
#### Using the create_event_forwarder_with_http_info variant
|
1890
|
+
|
1891
|
+
This returns an Array which contains the response data, status code and headers.
|
1892
|
+
|
1893
|
+
> <Array(<CreateEventForwarderOutput>, Integer, Hash)> create_event_forwarder_with_http_info(body)
|
1894
|
+
|
1895
|
+
```ruby
|
1896
|
+
begin
|
1897
|
+
|
1898
|
+
data, status_code, headers = api_instance.create_event_forwarder_with_http_info(body)
|
1899
|
+
p status_code # => 2xx
|
1900
|
+
p headers # => { ... }
|
1901
|
+
p data # => <CreateEventForwarderOutput>
|
1902
|
+
rescue Akeyless::ApiError => e
|
1903
|
+
puts "Error when calling V2Api->create_event_forwarder_with_http_info: #{e}"
|
1904
|
+
end
|
1905
|
+
```
|
1906
|
+
|
1907
|
+
### Parameters
|
1908
|
+
|
1909
|
+
| Name | Type | Description | Notes |
|
1910
|
+
| ---- | ---- | ----------- | ----- |
|
1911
|
+
| **body** | [**CreateEventForwarder**](CreateEventForwarder.md) | | |
|
1912
|
+
|
1913
|
+
### Return type
|
1914
|
+
|
1915
|
+
[**CreateEventForwarderOutput**](CreateEventForwarderOutput.md)
|
1916
|
+
|
1917
|
+
### Authorization
|
1918
|
+
|
1919
|
+
No authorization required
|
1920
|
+
|
1921
|
+
### HTTP request headers
|
1922
|
+
|
1923
|
+
- **Content-Type**: application/json
|
1924
|
+
- **Accept**: application/json
|
1925
|
+
|
1926
|
+
|
1860
1927
|
## create_gcp_target
|
1861
1928
|
|
1862
1929
|
> <CreateGcpTargetOutput> create_gcp_target(body)
|
@@ -3159,6 +3226,68 @@ No authorization required
|
|
3159
3226
|
- **Accept**: application/json
|
3160
3227
|
|
3161
3228
|
|
3229
|
+
## delete_event_forwarder
|
3230
|
+
|
3231
|
+
> Object delete_event_forwarder(body)
|
3232
|
+
|
3233
|
+
|
3234
|
+
|
3235
|
+
### Examples
|
3236
|
+
|
3237
|
+
```ruby
|
3238
|
+
require 'time'
|
3239
|
+
require 'akeyless'
|
3240
|
+
|
3241
|
+
api_instance = Akeyless::V2Api.new
|
3242
|
+
body = Akeyless::DeleteEventForwarder.new({name: 'name_example'}) # DeleteEventForwarder |
|
3243
|
+
|
3244
|
+
begin
|
3245
|
+
|
3246
|
+
result = api_instance.delete_event_forwarder(body)
|
3247
|
+
p result
|
3248
|
+
rescue Akeyless::ApiError => e
|
3249
|
+
puts "Error when calling V2Api->delete_event_forwarder: #{e}"
|
3250
|
+
end
|
3251
|
+
```
|
3252
|
+
|
3253
|
+
#### Using the delete_event_forwarder_with_http_info variant
|
3254
|
+
|
3255
|
+
This returns an Array which contains the response data, status code and headers.
|
3256
|
+
|
3257
|
+
> <Array(Object, Integer, Hash)> delete_event_forwarder_with_http_info(body)
|
3258
|
+
|
3259
|
+
```ruby
|
3260
|
+
begin
|
3261
|
+
|
3262
|
+
data, status_code, headers = api_instance.delete_event_forwarder_with_http_info(body)
|
3263
|
+
p status_code # => 2xx
|
3264
|
+
p headers # => { ... }
|
3265
|
+
p data # => Object
|
3266
|
+
rescue Akeyless::ApiError => e
|
3267
|
+
puts "Error when calling V2Api->delete_event_forwarder_with_http_info: #{e}"
|
3268
|
+
end
|
3269
|
+
```
|
3270
|
+
|
3271
|
+
### Parameters
|
3272
|
+
|
3273
|
+
| Name | Type | Description | Notes |
|
3274
|
+
| ---- | ---- | ----------- | ----- |
|
3275
|
+
| **body** | [**DeleteEventForwarder**](DeleteEventForwarder.md) | | |
|
3276
|
+
|
3277
|
+
### Return type
|
3278
|
+
|
3279
|
+
**Object**
|
3280
|
+
|
3281
|
+
### Authorization
|
3282
|
+
|
3283
|
+
No authorization required
|
3284
|
+
|
3285
|
+
### HTTP request headers
|
3286
|
+
|
3287
|
+
- **Content-Type**: application/json
|
3288
|
+
- **Accept**: application/json
|
3289
|
+
|
3290
|
+
|
3162
3291
|
## delete_item
|
3163
3292
|
|
3164
3293
|
> <DeleteItemOutput> delete_item(body)
|
@@ -4151,68 +4280,6 @@ No authorization required
|
|
4151
4280
|
- **Accept**: application/json
|
4152
4281
|
|
4153
4282
|
|
4154
|
-
## gateway_add_allowed_management_access
|
4155
|
-
|
4156
|
-
> Object gateway_add_allowed_management_access(body)
|
4157
|
-
|
4158
|
-
|
4159
|
-
|
4160
|
-
### Examples
|
4161
|
-
|
4162
|
-
```ruby
|
4163
|
-
require 'time'
|
4164
|
-
require 'akeyless'
|
4165
|
-
|
4166
|
-
api_instance = Akeyless::V2Api.new
|
4167
|
-
body = Akeyless::GatewayAddAllowedManagementAccess.new({sub_admin_access_id: 'sub_admin_access_id_example'}) # GatewayAddAllowedManagementAccess |
|
4168
|
-
|
4169
|
-
begin
|
4170
|
-
|
4171
|
-
result = api_instance.gateway_add_allowed_management_access(body)
|
4172
|
-
p result
|
4173
|
-
rescue Akeyless::ApiError => e
|
4174
|
-
puts "Error when calling V2Api->gateway_add_allowed_management_access: #{e}"
|
4175
|
-
end
|
4176
|
-
```
|
4177
|
-
|
4178
|
-
#### Using the gateway_add_allowed_management_access_with_http_info variant
|
4179
|
-
|
4180
|
-
This returns an Array which contains the response data, status code and headers.
|
4181
|
-
|
4182
|
-
> <Array(Object, Integer, Hash)> gateway_add_allowed_management_access_with_http_info(body)
|
4183
|
-
|
4184
|
-
```ruby
|
4185
|
-
begin
|
4186
|
-
|
4187
|
-
data, status_code, headers = api_instance.gateway_add_allowed_management_access_with_http_info(body)
|
4188
|
-
p status_code # => 2xx
|
4189
|
-
p headers # => { ... }
|
4190
|
-
p data # => Object
|
4191
|
-
rescue Akeyless::ApiError => e
|
4192
|
-
puts "Error when calling V2Api->gateway_add_allowed_management_access_with_http_info: #{e}"
|
4193
|
-
end
|
4194
|
-
```
|
4195
|
-
|
4196
|
-
### Parameters
|
4197
|
-
|
4198
|
-
| Name | Type | Description | Notes |
|
4199
|
-
| ---- | ---- | ----------- | ----- |
|
4200
|
-
| **body** | [**GatewayAddAllowedManagementAccess**](GatewayAddAllowedManagementAccess.md) | | |
|
4201
|
-
|
4202
|
-
### Return type
|
4203
|
-
|
4204
|
-
**Object**
|
4205
|
-
|
4206
|
-
### Authorization
|
4207
|
-
|
4208
|
-
No authorization required
|
4209
|
-
|
4210
|
-
### HTTP request headers
|
4211
|
-
|
4212
|
-
- **Content-Type**: application/json
|
4213
|
-
- **Accept**: application/json
|
4214
|
-
|
4215
|
-
|
4216
4283
|
## gateway_create_k8_s_auth_config
|
4217
4284
|
|
4218
4285
|
> <GatewayCreateK8SAuthConfigOutput> gateway_create_k8_s_auth_config(body)
|
@@ -8926,6 +8993,68 @@ No authorization required
|
|
8926
8993
|
- **Accept**: application/json
|
8927
8994
|
|
8928
8995
|
|
8996
|
+
## get_event_forwarder
|
8997
|
+
|
8998
|
+
> <GetEventForwarderOutput> get_event_forwarder(body)
|
8999
|
+
|
9000
|
+
|
9001
|
+
|
9002
|
+
### Examples
|
9003
|
+
|
9004
|
+
```ruby
|
9005
|
+
require 'time'
|
9006
|
+
require 'akeyless'
|
9007
|
+
|
9008
|
+
api_instance = Akeyless::V2Api.new
|
9009
|
+
body = Akeyless::GetEventForwarder.new({name: 'name_example'}) # GetEventForwarder |
|
9010
|
+
|
9011
|
+
begin
|
9012
|
+
|
9013
|
+
result = api_instance.get_event_forwarder(body)
|
9014
|
+
p result
|
9015
|
+
rescue Akeyless::ApiError => e
|
9016
|
+
puts "Error when calling V2Api->get_event_forwarder: #{e}"
|
9017
|
+
end
|
9018
|
+
```
|
9019
|
+
|
9020
|
+
#### Using the get_event_forwarder_with_http_info variant
|
9021
|
+
|
9022
|
+
This returns an Array which contains the response data, status code and headers.
|
9023
|
+
|
9024
|
+
> <Array(<GetEventForwarderOutput>, Integer, Hash)> get_event_forwarder_with_http_info(body)
|
9025
|
+
|
9026
|
+
```ruby
|
9027
|
+
begin
|
9028
|
+
|
9029
|
+
data, status_code, headers = api_instance.get_event_forwarder_with_http_info(body)
|
9030
|
+
p status_code # => 2xx
|
9031
|
+
p headers # => { ... }
|
9032
|
+
p data # => <GetEventForwarderOutput>
|
9033
|
+
rescue Akeyless::ApiError => e
|
9034
|
+
puts "Error when calling V2Api->get_event_forwarder_with_http_info: #{e}"
|
9035
|
+
end
|
9036
|
+
```
|
9037
|
+
|
9038
|
+
### Parameters
|
9039
|
+
|
9040
|
+
| Name | Type | Description | Notes |
|
9041
|
+
| ---- | ---- | ----------- | ----- |
|
9042
|
+
| **body** | [**GetEventForwarder**](GetEventForwarder.md) | | |
|
9043
|
+
|
9044
|
+
### Return type
|
9045
|
+
|
9046
|
+
[**GetEventForwarderOutput**](GetEventForwarderOutput.md)
|
9047
|
+
|
9048
|
+
### Authorization
|
9049
|
+
|
9050
|
+
No authorization required
|
9051
|
+
|
9052
|
+
### HTTP request headers
|
9053
|
+
|
9054
|
+
- **Content-Type**: application/json
|
9055
|
+
- **Accept**: application/json
|
9056
|
+
|
9057
|
+
|
8929
9058
|
## get_kube_exec_creds
|
8930
9059
|
|
8931
9060
|
> <GetKubeExecCredsOutput> get_kube_exec_creds(body)
|
@@ -10626,6 +10755,67 @@ No authorization required
|
|
10626
10755
|
- **Accept**: application/json
|
10627
10756
|
|
10628
10757
|
|
10758
|
+
## list_shared_items
|
10759
|
+
|
10760
|
+
> list_shared_items(body)
|
10761
|
+
|
10762
|
+
|
10763
|
+
|
10764
|
+
### Examples
|
10765
|
+
|
10766
|
+
```ruby
|
10767
|
+
require 'time'
|
10768
|
+
require 'akeyless'
|
10769
|
+
|
10770
|
+
api_instance = Akeyless::V2Api.new
|
10771
|
+
body = Akeyless::ListSharedItems.new # ListSharedItems |
|
10772
|
+
|
10773
|
+
begin
|
10774
|
+
|
10775
|
+
api_instance.list_shared_items(body)
|
10776
|
+
rescue Akeyless::ApiError => e
|
10777
|
+
puts "Error when calling V2Api->list_shared_items: #{e}"
|
10778
|
+
end
|
10779
|
+
```
|
10780
|
+
|
10781
|
+
#### Using the list_shared_items_with_http_info variant
|
10782
|
+
|
10783
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
10784
|
+
|
10785
|
+
> <Array(nil, Integer, Hash)> list_shared_items_with_http_info(body)
|
10786
|
+
|
10787
|
+
```ruby
|
10788
|
+
begin
|
10789
|
+
|
10790
|
+
data, status_code, headers = api_instance.list_shared_items_with_http_info(body)
|
10791
|
+
p status_code # => 2xx
|
10792
|
+
p headers # => { ... }
|
10793
|
+
p data # => nil
|
10794
|
+
rescue Akeyless::ApiError => e
|
10795
|
+
puts "Error when calling V2Api->list_shared_items_with_http_info: #{e}"
|
10796
|
+
end
|
10797
|
+
```
|
10798
|
+
|
10799
|
+
### Parameters
|
10800
|
+
|
10801
|
+
| Name | Type | Description | Notes |
|
10802
|
+
| ---- | ---- | ----------- | ----- |
|
10803
|
+
| **body** | [**ListSharedItems**](ListSharedItems.md) | | |
|
10804
|
+
|
10805
|
+
### Return type
|
10806
|
+
|
10807
|
+
nil (empty response body)
|
10808
|
+
|
10809
|
+
### Authorization
|
10810
|
+
|
10811
|
+
No authorization required
|
10812
|
+
|
10813
|
+
### HTTP request headers
|
10814
|
+
|
10815
|
+
- **Content-Type**: application/json
|
10816
|
+
- **Accept**: application/json
|
10817
|
+
|
10818
|
+
|
10629
10819
|
## list_sra_bastions
|
10630
10820
|
|
10631
10821
|
> <BastionsList> list_sra_bastions(body)
|
@@ -10938,6 +11128,68 @@ No authorization required
|
|
10938
11128
|
- **Accept**: application/json
|
10939
11129
|
|
10940
11130
|
|
11131
|
+
## request_access
|
11132
|
+
|
11133
|
+
> <RequestAccessOutput> request_access(body)
|
11134
|
+
|
11135
|
+
|
11136
|
+
|
11137
|
+
### Examples
|
11138
|
+
|
11139
|
+
```ruby
|
11140
|
+
require 'time'
|
11141
|
+
require 'akeyless'
|
11142
|
+
|
11143
|
+
api_instance = Akeyless::V2Api.new
|
11144
|
+
body = Akeyless::RequestAccess.new({capability: ['capability_example'], name: 'name_example'}) # RequestAccess |
|
11145
|
+
|
11146
|
+
begin
|
11147
|
+
|
11148
|
+
result = api_instance.request_access(body)
|
11149
|
+
p result
|
11150
|
+
rescue Akeyless::ApiError => e
|
11151
|
+
puts "Error when calling V2Api->request_access: #{e}"
|
11152
|
+
end
|
11153
|
+
```
|
11154
|
+
|
11155
|
+
#### Using the request_access_with_http_info variant
|
11156
|
+
|
11157
|
+
This returns an Array which contains the response data, status code and headers.
|
11158
|
+
|
11159
|
+
> <Array(<RequestAccessOutput>, Integer, Hash)> request_access_with_http_info(body)
|
11160
|
+
|
11161
|
+
```ruby
|
11162
|
+
begin
|
11163
|
+
|
11164
|
+
data, status_code, headers = api_instance.request_access_with_http_info(body)
|
11165
|
+
p status_code # => 2xx
|
11166
|
+
p headers # => { ... }
|
11167
|
+
p data # => <RequestAccessOutput>
|
11168
|
+
rescue Akeyless::ApiError => e
|
11169
|
+
puts "Error when calling V2Api->request_access_with_http_info: #{e}"
|
11170
|
+
end
|
11171
|
+
```
|
11172
|
+
|
11173
|
+
### Parameters
|
11174
|
+
|
11175
|
+
| Name | Type | Description | Notes |
|
11176
|
+
| ---- | ---- | ----------- | ----- |
|
11177
|
+
| **body** | [**RequestAccess**](RequestAccess.md) | | |
|
11178
|
+
|
11179
|
+
### Return type
|
11180
|
+
|
11181
|
+
[**RequestAccessOutput**](RequestAccessOutput.md)
|
11182
|
+
|
11183
|
+
### Authorization
|
11184
|
+
|
11185
|
+
No authorization required
|
11186
|
+
|
11187
|
+
### HTTP request headers
|
11188
|
+
|
11189
|
+
- **Content-Type**: application/json
|
11190
|
+
- **Accept**: application/json
|
11191
|
+
|
11192
|
+
|
10941
11193
|
## reverse_rbac
|
10942
11194
|
|
10943
11195
|
> <ReverseRBACOutput> reverse_rbac(body)
|
@@ -13352,6 +13604,68 @@ No authorization required
|
|
13352
13604
|
- **Accept**: application/json
|
13353
13605
|
|
13354
13606
|
|
13607
|
+
## update_event_forwarder
|
13608
|
+
|
13609
|
+
> Object update_event_forwarder(body)
|
13610
|
+
|
13611
|
+
|
13612
|
+
|
13613
|
+
### Examples
|
13614
|
+
|
13615
|
+
```ruby
|
13616
|
+
require 'time'
|
13617
|
+
require 'akeyless'
|
13618
|
+
|
13619
|
+
api_instance = Akeyless::V2Api.new
|
13620
|
+
body = Akeyless::UpdateEventForwarder.new({name: 'name_example'}) # UpdateEventForwarder |
|
13621
|
+
|
13622
|
+
begin
|
13623
|
+
|
13624
|
+
result = api_instance.update_event_forwarder(body)
|
13625
|
+
p result
|
13626
|
+
rescue Akeyless::ApiError => e
|
13627
|
+
puts "Error when calling V2Api->update_event_forwarder: #{e}"
|
13628
|
+
end
|
13629
|
+
```
|
13630
|
+
|
13631
|
+
#### Using the update_event_forwarder_with_http_info variant
|
13632
|
+
|
13633
|
+
This returns an Array which contains the response data, status code and headers.
|
13634
|
+
|
13635
|
+
> <Array(Object, Integer, Hash)> update_event_forwarder_with_http_info(body)
|
13636
|
+
|
13637
|
+
```ruby
|
13638
|
+
begin
|
13639
|
+
|
13640
|
+
data, status_code, headers = api_instance.update_event_forwarder_with_http_info(body)
|
13641
|
+
p status_code # => 2xx
|
13642
|
+
p headers # => { ... }
|
13643
|
+
p data # => Object
|
13644
|
+
rescue Akeyless::ApiError => e
|
13645
|
+
puts "Error when calling V2Api->update_event_forwarder_with_http_info: #{e}"
|
13646
|
+
end
|
13647
|
+
```
|
13648
|
+
|
13649
|
+
### Parameters
|
13650
|
+
|
13651
|
+
| Name | Type | Description | Notes |
|
13652
|
+
| ---- | ---- | ----------- | ----- |
|
13653
|
+
| **body** | [**UpdateEventForwarder**](UpdateEventForwarder.md) | | |
|
13654
|
+
|
13655
|
+
### Return type
|
13656
|
+
|
13657
|
+
**Object**
|
13658
|
+
|
13659
|
+
### Authorization
|
13660
|
+
|
13661
|
+
No authorization required
|
13662
|
+
|
13663
|
+
### HTTP request headers
|
13664
|
+
|
13665
|
+
- **Content-Type**: application/json
|
13666
|
+
- **Accept**: application/json
|
13667
|
+
|
13668
|
+
|
13355
13669
|
## update_gcp_target
|
13356
13670
|
|
13357
13671
|
> <UpdateGcpTargetOutput> update_gcp_target(body)
|