akeyless 3.3.11 → 3.3.13

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 (39) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -1
  3. data/docs/AccessPermissionAssignment.md +20 -0
  4. data/docs/AuthMethodRoleAssociation.md +2 -0
  5. data/docs/CreateAuthMethodEmail.md +36 -0
  6. data/docs/CreateAuthMethodEmailOutput.md +18 -0
  7. data/docs/CreatePKICertIssuer.md +2 -0
  8. data/docs/EsmDeleteSecretOutput.md +18 -0
  9. data/docs/EsmGetSecretOutput.md +2 -0
  10. data/docs/EsmUpdateSecretOutput.md +2 -0
  11. data/docs/GoogleChronicleForwardingConfig.md +24 -0
  12. data/docs/ItemGeneralInfo.md +2 -0
  13. data/docs/LogForwardingConfigPart.md +2 -0
  14. data/docs/OidcClientInfo.md +34 -0
  15. data/docs/UpdatePKICertIssuer.md +2 -0
  16. data/docs/V2Api.md +319 -4
  17. data/lib/akeyless/api/v2_api.rb +323 -3
  18. data/lib/akeyless/models/access_permission_assignment.rb +230 -0
  19. data/lib/akeyless/models/auth_method_role_association.rb +10 -1
  20. data/lib/akeyless/models/create_auth_method_email.rb +331 -0
  21. data/lib/akeyless/models/create_auth_method_email_output.rb +219 -0
  22. data/lib/akeyless/models/create_pki_cert_issuer.rb +11 -1
  23. data/lib/akeyless/models/esm_delete_secret_output.rb +219 -0
  24. data/lib/akeyless/models/esm_get_secret_output.rb +10 -1
  25. data/lib/akeyless/models/esm_update_secret_output.rb +10 -1
  26. data/lib/akeyless/models/google_chronicle_forwarding_config.rb +246 -0
  27. data/lib/akeyless/models/item_general_info.rb +10 -1
  28. data/lib/akeyless/models/log_forwarding_config_part.rb +10 -1
  29. data/lib/akeyless/models/oidc_client_info.rb +305 -0
  30. data/lib/akeyless/models/update_pki_cert_issuer.rb +11 -1
  31. data/lib/akeyless/version.rb +1 -1
  32. data/lib/akeyless.rb +6 -0
  33. data/spec/models/access_permission_assignment_spec.rb +40 -0
  34. data/spec/models/create_auth_method_email_output_spec.rb +34 -0
  35. data/spec/models/create_auth_method_email_spec.rb +88 -0
  36. data/spec/models/esm_delete_secret_output_spec.rb +34 -0
  37. data/spec/models/google_chronicle_forwarding_config_spec.rb +52 -0
  38. data/spec/models/oidc_client_info_spec.rb +82 -0
  39. metadata +649 -625
data/docs/V2Api.md CHANGED
@@ -14,6 +14,7 @@ All URIs are relative to *https://api.akeyless.io*
14
14
  | [**create_auth_method_awsiam**](V2Api.md#create_auth_method_awsiam) | **POST** /create-auth-method-aws-iam | |
15
15
  | [**create_auth_method_azure_ad**](V2Api.md#create_auth_method_azure_ad) | **POST** /create-auth-method-azure-ad | |
16
16
  | [**create_auth_method_cert**](V2Api.md#create_auth_method_cert) | **POST** /create-auth-method-cert | |
17
+ | [**create_auth_method_email**](V2Api.md#create_auth_method_email) | **POST** /create-auth-method-email | |
17
18
  | [**create_auth_method_gcp**](V2Api.md#create_auth_method_gcp) | **POST** /create-auth-method-gcp | |
18
19
  | [**create_auth_method_huawei**](V2Api.md#create_auth_method_huawei) | **POST** /create-auth-method-huawei | |
19
20
  | [**create_auth_method_k8_s**](V2Api.md#create_auth_method_k8_s) | **POST** /create-auth-method-k8s | |
@@ -88,6 +89,7 @@ All URIs are relative to *https://api.akeyless.io*
88
89
  | [**esm_update**](V2Api.md#esm_update) | **POST** /esm-update | |
89
90
  | [**event_action**](V2Api.md#event_action) | **POST** /event-action | |
90
91
  | [**export_classic_key**](V2Api.md#export_classic_key) | **POST** /export-classic-key | |
92
+ | [**gateway_create_allowed_access**](V2Api.md#gateway_create_allowed_access) | **POST** /gateway-create-allowed-access | |
91
93
  | [**gateway_create_k8_s_auth_config**](V2Api.md#gateway_create_k8_s_auth_config) | **POST** /gateway-create-k8s-auth-config | |
92
94
  | [**gateway_create_migration**](V2Api.md#gateway_create_migration) | **POST** /gateway-create-migration | |
93
95
  | [**gateway_create_producer_artifactory**](V2Api.md#gateway_create_producer_artifactory) | **POST** /gateway-create-producer-artifactory | |
@@ -115,10 +117,12 @@ All URIs are relative to *https://api.akeyless.io*
115
117
  | [**gateway_create_producer_redis**](V2Api.md#gateway_create_producer_redis) | **POST** /gateway-create-producer-Redis | |
116
118
  | [**gateway_create_producer_redshift**](V2Api.md#gateway_create_producer_redshift) | **POST** /gateway-create-producer-redshift | |
117
119
  | [**gateway_create_producer_snowflake**](V2Api.md#gateway_create_producer_snowflake) | **POST** /gateway-create-producer-snowflake | |
120
+ | [**gateway_delete_allowed_access**](V2Api.md#gateway_delete_allowed_access) | **DELETE** /gateway-delete-allowed-access | |
118
121
  | [**gateway_delete_k8_s_auth_config**](V2Api.md#gateway_delete_k8_s_auth_config) | **POST** /gateway-delete-k8s-auth-config | |
119
122
  | [**gateway_delete_migration**](V2Api.md#gateway_delete_migration) | **POST** /gateway-delete-migration | |
120
123
  | [**gateway_delete_producer**](V2Api.md#gateway_delete_producer) | **POST** /gateway-delete-producer | |
121
124
  | [**gateway_download_customer_fragments**](V2Api.md#gateway_download_customer_fragments) | **POST** /gateway-download-customer-fragments | |
125
+ | [**gateway_get_allowed_access**](V2Api.md#gateway_get_allowed_access) | **GET** /gateway-get-allowed-access | |
122
126
  | [**gateway_get_config**](V2Api.md#gateway_get_config) | **POST** /gateway-get-config | |
123
127
  | [**gateway_get_k8_s_auth_config**](V2Api.md#gateway_get_k8_s_auth_config) | **POST** /gateway-get-k8s-auth-config | |
124
128
  | [**gateway_get_ldap_auth_config**](V2Api.md#gateway_get_ldap_auth_config) | **POST** /gateway-get-ldap-auth-config | |
@@ -134,6 +138,7 @@ All URIs are relative to *https://api.akeyless.io*
134
138
  | [**gateway_status_migration**](V2Api.md#gateway_status_migration) | **POST** /gateway-migration-status | |
135
139
  | [**gateway_stop_producer**](V2Api.md#gateway_stop_producer) | **POST** /gateway-stop-producer | |
136
140
  | [**gateway_sync_migration**](V2Api.md#gateway_sync_migration) | **POST** /gateway-sync-migration | |
141
+ | [**gateway_update_allowed_access**](V2Api.md#gateway_update_allowed_access) | **POST** /gateway-update-allowed-access | |
137
142
  | [**gateway_update_item**](V2Api.md#gateway_update_item) | **POST** /gateway-update-item | |
138
143
  | [**gateway_update_k8_s_auth_config**](V2Api.md#gateway_update_k8_s_auth_config) | **POST** /gateway-update-k8s-auth-config | |
139
144
  | [**gateway_update_ldap_auth_config**](V2Api.md#gateway_update_ldap_auth_config) | **POST** /gateway-update-ldap-auth-config | |
@@ -907,6 +912,68 @@ No authorization required
907
912
  - **Accept**: application/json
908
913
 
909
914
 
915
+ ## create_auth_method_email
916
+
917
+ > <CreateAuthMethodEmailOutput> create_auth_method_email(body)
918
+
919
+
920
+
921
+ ### Examples
922
+
923
+ ```ruby
924
+ require 'time'
925
+ require 'akeyless'
926
+
927
+ api_instance = Akeyless::V2Api.new
928
+ body = Akeyless::CreateAuthMethodEmail.new({email: 'email_example', name: 'name_example'}) # CreateAuthMethodEmail |
929
+
930
+ begin
931
+
932
+ result = api_instance.create_auth_method_email(body)
933
+ p result
934
+ rescue Akeyless::ApiError => e
935
+ puts "Error when calling V2Api->create_auth_method_email: #{e}"
936
+ end
937
+ ```
938
+
939
+ #### Using the create_auth_method_email_with_http_info variant
940
+
941
+ This returns an Array which contains the response data, status code and headers.
942
+
943
+ > <Array(<CreateAuthMethodEmailOutput>, Integer, Hash)> create_auth_method_email_with_http_info(body)
944
+
945
+ ```ruby
946
+ begin
947
+
948
+ data, status_code, headers = api_instance.create_auth_method_email_with_http_info(body)
949
+ p status_code # => 2xx
950
+ p headers # => { ... }
951
+ p data # => <CreateAuthMethodEmailOutput>
952
+ rescue Akeyless::ApiError => e
953
+ puts "Error when calling V2Api->create_auth_method_email_with_http_info: #{e}"
954
+ end
955
+ ```
956
+
957
+ ### Parameters
958
+
959
+ | Name | Type | Description | Notes |
960
+ | ---- | ---- | ----------- | ----- |
961
+ | **body** | [**CreateAuthMethodEmail**](CreateAuthMethodEmail.md) | | |
962
+
963
+ ### Return type
964
+
965
+ [**CreateAuthMethodEmailOutput**](CreateAuthMethodEmailOutput.md)
966
+
967
+ ### Authorization
968
+
969
+ No authorization required
970
+
971
+ ### HTTP request headers
972
+
973
+ - **Content-Type**: application/json
974
+ - **Accept**: application/json
975
+
976
+
910
977
  ## create_auth_method_gcp
911
978
 
912
979
  > <CreateAuthMethodGCPOutput> create_auth_method_gcp(body)
@@ -5125,7 +5192,7 @@ No authorization required
5125
5192
 
5126
5193
  ## esm_delete
5127
5194
 
5128
- > Object esm_delete(body)
5195
+ > <EsmDeleteSecretOutput> esm_delete(body)
5129
5196
 
5130
5197
 
5131
5198
 
@@ -5151,7 +5218,7 @@ end
5151
5218
 
5152
5219
  This returns an Array which contains the response data, status code and headers.
5153
5220
 
5154
- > <Array(Object, Integer, Hash)> esm_delete_with_http_info(body)
5221
+ > <Array(<EsmDeleteSecretOutput>, Integer, Hash)> esm_delete_with_http_info(body)
5155
5222
 
5156
5223
  ```ruby
5157
5224
  begin
@@ -5159,7 +5226,7 @@ begin
5159
5226
  data, status_code, headers = api_instance.esm_delete_with_http_info(body)
5160
5227
  p status_code # => 2xx
5161
5228
  p headers # => { ... }
5162
- p data # => Object
5229
+ p data # => <EsmDeleteSecretOutput>
5163
5230
  rescue Akeyless::ApiError => e
5164
5231
  puts "Error when calling V2Api->esm_delete_with_http_info: #{e}"
5165
5232
  end
@@ -5173,7 +5240,7 @@ end
5173
5240
 
5174
5241
  ### Return type
5175
5242
 
5176
- **Object**
5243
+ [**EsmDeleteSecretOutput**](EsmDeleteSecretOutput.md)
5177
5244
 
5178
5245
  ### Authorization
5179
5246
 
@@ -5492,6 +5559,68 @@ No authorization required
5492
5559
  - **Accept**: application/json
5493
5560
 
5494
5561
 
5562
+ ## gateway_create_allowed_access
5563
+
5564
+ > <AllowedAccess> gateway_create_allowed_access(body)
5565
+
5566
+
5567
+
5568
+ ### Examples
5569
+
5570
+ ```ruby
5571
+ require 'time'
5572
+ require 'akeyless'
5573
+
5574
+ api_instance = Akeyless::V2Api.new
5575
+ body = Akeyless::AllowedAccessArgs.new({access_id: 'access_id_example', name: 'name_example'}) # AllowedAccessArgs |
5576
+
5577
+ begin
5578
+
5579
+ result = api_instance.gateway_create_allowed_access(body)
5580
+ p result
5581
+ rescue Akeyless::ApiError => e
5582
+ puts "Error when calling V2Api->gateway_create_allowed_access: #{e}"
5583
+ end
5584
+ ```
5585
+
5586
+ #### Using the gateway_create_allowed_access_with_http_info variant
5587
+
5588
+ This returns an Array which contains the response data, status code and headers.
5589
+
5590
+ > <Array(<AllowedAccess>, Integer, Hash)> gateway_create_allowed_access_with_http_info(body)
5591
+
5592
+ ```ruby
5593
+ begin
5594
+
5595
+ data, status_code, headers = api_instance.gateway_create_allowed_access_with_http_info(body)
5596
+ p status_code # => 2xx
5597
+ p headers # => { ... }
5598
+ p data # => <AllowedAccess>
5599
+ rescue Akeyless::ApiError => e
5600
+ puts "Error when calling V2Api->gateway_create_allowed_access_with_http_info: #{e}"
5601
+ end
5602
+ ```
5603
+
5604
+ ### Parameters
5605
+
5606
+ | Name | Type | Description | Notes |
5607
+ | ---- | ---- | ----------- | ----- |
5608
+ | **body** | [**AllowedAccessArgs**](AllowedAccessArgs.md) | | |
5609
+
5610
+ ### Return type
5611
+
5612
+ [**AllowedAccess**](AllowedAccess.md)
5613
+
5614
+ ### Authorization
5615
+
5616
+ No authorization required
5617
+
5618
+ ### HTTP request headers
5619
+
5620
+ - **Content-Type**: application/json
5621
+ - **Accept**: application/json
5622
+
5623
+
5495
5624
  ## gateway_create_k8_s_auth_config
5496
5625
 
5497
5626
  > <GatewayCreateK8SAuthConfigOutput> gateway_create_k8_s_auth_config(body)
@@ -7168,6 +7297,68 @@ No authorization required
7168
7297
  - **Accept**: application/json
7169
7298
 
7170
7299
 
7300
+ ## gateway_delete_allowed_access
7301
+
7302
+ > <GatewayDeleteAllowedAccessOutput> gateway_delete_allowed_access(body)
7303
+
7304
+
7305
+
7306
+ ### Examples
7307
+
7308
+ ```ruby
7309
+ require 'time'
7310
+ require 'akeyless'
7311
+
7312
+ api_instance = Akeyless::V2Api.new
7313
+ body = Akeyless::AllowedAccessDeleteArgs.new({name: 'name_example'}) # AllowedAccessDeleteArgs |
7314
+
7315
+ begin
7316
+
7317
+ result = api_instance.gateway_delete_allowed_access(body)
7318
+ p result
7319
+ rescue Akeyless::ApiError => e
7320
+ puts "Error when calling V2Api->gateway_delete_allowed_access: #{e}"
7321
+ end
7322
+ ```
7323
+
7324
+ #### Using the gateway_delete_allowed_access_with_http_info variant
7325
+
7326
+ This returns an Array which contains the response data, status code and headers.
7327
+
7328
+ > <Array(<GatewayDeleteAllowedAccessOutput>, Integer, Hash)> gateway_delete_allowed_access_with_http_info(body)
7329
+
7330
+ ```ruby
7331
+ begin
7332
+
7333
+ data, status_code, headers = api_instance.gateway_delete_allowed_access_with_http_info(body)
7334
+ p status_code # => 2xx
7335
+ p headers # => { ... }
7336
+ p data # => <GatewayDeleteAllowedAccessOutput>
7337
+ rescue Akeyless::ApiError => e
7338
+ puts "Error when calling V2Api->gateway_delete_allowed_access_with_http_info: #{e}"
7339
+ end
7340
+ ```
7341
+
7342
+ ### Parameters
7343
+
7344
+ | Name | Type | Description | Notes |
7345
+ | ---- | ---- | ----------- | ----- |
7346
+ | **body** | [**AllowedAccessDeleteArgs**](AllowedAccessDeleteArgs.md) | | |
7347
+
7348
+ ### Return type
7349
+
7350
+ [**GatewayDeleteAllowedAccessOutput**](GatewayDeleteAllowedAccessOutput.md)
7351
+
7352
+ ### Authorization
7353
+
7354
+ No authorization required
7355
+
7356
+ ### HTTP request headers
7357
+
7358
+ - **Content-Type**: application/json
7359
+ - **Accept**: application/json
7360
+
7361
+
7171
7362
  ## gateway_delete_k8_s_auth_config
7172
7363
 
7173
7364
  > <GatewayDeleteK8SAuthConfigOutput> gateway_delete_k8_s_auth_config(body)
@@ -7416,6 +7607,68 @@ No authorization required
7416
7607
  - **Accept**: application/json
7417
7608
 
7418
7609
 
7610
+ ## gateway_get_allowed_access
7611
+
7612
+ > <AllowedAccess> gateway_get_allowed_access(body)
7613
+
7614
+
7615
+
7616
+ ### Examples
7617
+
7618
+ ```ruby
7619
+ require 'time'
7620
+ require 'akeyless'
7621
+
7622
+ api_instance = Akeyless::V2Api.new
7623
+ body = Akeyless::AllowedAccessArgs.new({access_id: 'access_id_example', name: 'name_example'}) # AllowedAccessArgs |
7624
+
7625
+ begin
7626
+
7627
+ result = api_instance.gateway_get_allowed_access(body)
7628
+ p result
7629
+ rescue Akeyless::ApiError => e
7630
+ puts "Error when calling V2Api->gateway_get_allowed_access: #{e}"
7631
+ end
7632
+ ```
7633
+
7634
+ #### Using the gateway_get_allowed_access_with_http_info variant
7635
+
7636
+ This returns an Array which contains the response data, status code and headers.
7637
+
7638
+ > <Array(<AllowedAccess>, Integer, Hash)> gateway_get_allowed_access_with_http_info(body)
7639
+
7640
+ ```ruby
7641
+ begin
7642
+
7643
+ data, status_code, headers = api_instance.gateway_get_allowed_access_with_http_info(body)
7644
+ p status_code # => 2xx
7645
+ p headers # => { ... }
7646
+ p data # => <AllowedAccess>
7647
+ rescue Akeyless::ApiError => e
7648
+ puts "Error when calling V2Api->gateway_get_allowed_access_with_http_info: #{e}"
7649
+ end
7650
+ ```
7651
+
7652
+ ### Parameters
7653
+
7654
+ | Name | Type | Description | Notes |
7655
+ | ---- | ---- | ----------- | ----- |
7656
+ | **body** | [**AllowedAccessArgs**](AllowedAccessArgs.md) | | |
7657
+
7658
+ ### Return type
7659
+
7660
+ [**AllowedAccess**](AllowedAccess.md)
7661
+
7662
+ ### Authorization
7663
+
7664
+ No authorization required
7665
+
7666
+ ### HTTP request headers
7667
+
7668
+ - **Content-Type**: application/json
7669
+ - **Accept**: application/json
7670
+
7671
+
7419
7672
  ## gateway_get_config
7420
7673
 
7421
7674
  > <AkeylessGatewayConfig> gateway_get_config(body)
@@ -8347,6 +8600,68 @@ No authorization required
8347
8600
  - **Accept**: application/json
8348
8601
 
8349
8602
 
8603
+ ## gateway_update_allowed_access
8604
+
8605
+ > <AllowedAccess> gateway_update_allowed_access(body)
8606
+
8607
+
8608
+
8609
+ ### Examples
8610
+
8611
+ ```ruby
8612
+ require 'time'
8613
+ require 'akeyless'
8614
+
8615
+ api_instance = Akeyless::V2Api.new
8616
+ body = Akeyless::AllowedAccessUpdateArgs.new({access_id: 'access_id_example', name: 'name_example'}) # AllowedAccessUpdateArgs |
8617
+
8618
+ begin
8619
+
8620
+ result = api_instance.gateway_update_allowed_access(body)
8621
+ p result
8622
+ rescue Akeyless::ApiError => e
8623
+ puts "Error when calling V2Api->gateway_update_allowed_access: #{e}"
8624
+ end
8625
+ ```
8626
+
8627
+ #### Using the gateway_update_allowed_access_with_http_info variant
8628
+
8629
+ This returns an Array which contains the response data, status code and headers.
8630
+
8631
+ > <Array(<AllowedAccess>, Integer, Hash)> gateway_update_allowed_access_with_http_info(body)
8632
+
8633
+ ```ruby
8634
+ begin
8635
+
8636
+ data, status_code, headers = api_instance.gateway_update_allowed_access_with_http_info(body)
8637
+ p status_code # => 2xx
8638
+ p headers # => { ... }
8639
+ p data # => <AllowedAccess>
8640
+ rescue Akeyless::ApiError => e
8641
+ puts "Error when calling V2Api->gateway_update_allowed_access_with_http_info: #{e}"
8642
+ end
8643
+ ```
8644
+
8645
+ ### Parameters
8646
+
8647
+ | Name | Type | Description | Notes |
8648
+ | ---- | ---- | ----------- | ----- |
8649
+ | **body** | [**AllowedAccessUpdateArgs**](AllowedAccessUpdateArgs.md) | | |
8650
+
8651
+ ### Return type
8652
+
8653
+ [**AllowedAccess**](AllowedAccess.md)
8654
+
8655
+ ### Authorization
8656
+
8657
+ No authorization required
8658
+
8659
+ ### HTTP request headers
8660
+
8661
+ - **Content-Type**: application/json
8662
+ - **Accept**: application/json
8663
+
8664
+
8350
8665
  ## gateway_update_item
8351
8666
 
8352
8667
  > <GatewayUpdateItemOutput> gateway_update_item(body)