akeyless 5.0.19 → 5.0.21
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.
- checksums.yaml +4 -4
- data/README.md +28 -1
- data/docs/CertificateStore.md +2 -0
- data/docs/CreateUSC.md +2 -0
- data/docs/GCPPayload.md +5 -1
- data/docs/GatewayCreateMigration.md +5 -1
- data/docs/GatewayUpdateMigration.md +5 -1
- data/docs/GatewayUpdateTlsCert.md +2 -0
- data/docs/GeneralConfigPart.md +6 -0
- data/docs/GetKubeExecCreds.md +1 -1
- data/docs/GetPKICertificate.md +1 -1
- data/docs/LetsEncryptTargetDetails.md +38 -0
- data/docs/PoliciesCreateOutput.md +18 -0
- data/docs/PoliciesDelete.md +24 -0
- data/docs/PoliciesGet.md +24 -0
- data/docs/PoliciesGetOutput.md +18 -0
- data/docs/PoliciesList.md +30 -0
- data/docs/PoliciesListOutput.md +18 -0
- data/docs/PolicyCreateKeys.md +34 -0
- data/docs/PolicyOutput.md +34 -0
- data/docs/PolicyUpdateKeys.md +36 -0
- data/docs/RotatedSecretCreateAws.md +4 -2
- data/docs/RotatedSecretCreateAzure.md +4 -2
- data/docs/RotatedSecretCreateCassandra.md +1 -1
- data/docs/RotatedSecretCreateCustom.md +1 -1
- data/docs/RotatedSecretCreateDockerhub.md +1 -1
- data/docs/RotatedSecretCreateGcp.md +4 -2
- data/docs/RotatedSecretCreateHanadb.md +1 -1
- data/docs/RotatedSecretCreateLdap.md +1 -1
- data/docs/RotatedSecretCreateMongodb.md +1 -1
- data/docs/RotatedSecretCreateMssql.md +1 -1
- data/docs/RotatedSecretCreateMysql.md +1 -1
- data/docs/RotatedSecretCreateOpenAI.md +1 -1
- data/docs/RotatedSecretCreateOracledb.md +1 -1
- data/docs/RotatedSecretCreatePostgresql.md +1 -1
- data/docs/RotatedSecretCreateRedis.md +1 -1
- data/docs/RotatedSecretCreateRedshift.md +1 -1
- data/docs/RotatedSecretCreateSnowflake.md +1 -1
- data/docs/RotatedSecretCreateSplunk.md +68 -0
- data/docs/RotatedSecretCreateSsh.md +1 -1
- data/docs/RotatedSecretCreateWindows.md +1 -1
- data/docs/RotatedSecretDetailsInfo.md +2 -0
- data/docs/RotatedSecretUpdateAws.md +3 -1
- data/docs/RotatedSecretUpdateAzure.md +3 -1
- data/docs/RotatedSecretUpdateGcp.md +3 -1
- data/docs/RotatedSecretUpdateSplunk.md +64 -0
- data/docs/SecretInfo.md +2 -0
- data/docs/SplunkPayload.md +30 -0
- data/docs/SplunkTargetDetails.md +34 -0
- data/docs/TargetCreateLetsEncrypt.md +46 -0
- data/docs/TargetCreateSplunk.md +42 -0
- data/docs/TargetTypeDetailsInput.md +4 -0
- data/docs/TargetUpdateLetsEncrypt.md +50 -0
- data/docs/UpdateItem.md +2 -0
- data/docs/UscCreate.md +2 -0
- data/docs/V2Api.md +659 -29
- data/lib/akeyless/api/v2_api.rb +640 -0
- data/lib/akeyless/models/certificate_store.rb +12 -1
- data/lib/akeyless/models/create_usc.rb +11 -1
- data/lib/akeyless/models/gateway_create_migration.rb +24 -4
- data/lib/akeyless/models/gateway_update_migration.rb +24 -4
- data/lib/akeyless/models/gateway_update_tls_cert.rb +13 -1
- data/lib/akeyless/models/gcp_payload.rb +22 -4
- data/lib/akeyless/models/general_config_part.rb +30 -1
- data/lib/akeyless/models/get_kube_exec_creds.rb +1 -1
- data/lib/akeyless/models/get_pki_certificate.rb +1 -1
- data/lib/akeyless/models/lets_encrypt_target_details.rb +315 -0
- data/lib/akeyless/models/policies_create_output.rb +214 -0
- data/lib/akeyless/models/policies_delete.rb +254 -0
- data/lib/akeyless/models/policies_get.rb +254 -0
- data/lib/akeyless/models/policies_get_output.rb +214 -0
- data/lib/akeyless/models/policies_list.rb +283 -0
- data/lib/akeyless/models/policies_list_output.rb +216 -0
- data/lib/akeyless/models/policy_create_keys.rb +312 -0
- data/lib/akeyless/models/policy_output.rb +295 -0
- data/lib/akeyless/models/policy_update_keys.rb +322 -0
- data/lib/akeyless/models/rotated_secret_create_aws.rb +13 -3
- data/lib/akeyless/models/rotated_secret_create_azure.rb +13 -3
- data/lib/akeyless/models/rotated_secret_create_cassandra.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_custom.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_dockerhub.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_gcp.rb +13 -3
- data/lib/akeyless/models/rotated_secret_create_hanadb.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_ldap.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_mongodb.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_mssql.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_mysql.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_open_ai.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_oracledb.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_postgresql.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_redis.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_redshift.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_snowflake.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_splunk.rb +497 -0
- data/lib/akeyless/models/rotated_secret_create_ssh.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_windows.rb +1 -1
- data/lib/akeyless/models/rotated_secret_details_info.rb +10 -1
- data/lib/akeyless/models/rotated_secret_update_aws.rb +12 -2
- data/lib/akeyless/models/rotated_secret_update_azure.rb +12 -2
- data/lib/akeyless/models/rotated_secret_update_gcp.rb +12 -2
- data/lib/akeyless/models/rotated_secret_update_splunk.rb +467 -0
- data/lib/akeyless/models/secret_info.rb +10 -1
- data/lib/akeyless/models/splunk_payload.rb +268 -0
- data/lib/akeyless/models/splunk_target_details.rb +294 -0
- data/lib/akeyless/models/target_create_lets_encrypt.rb +368 -0
- data/lib/akeyless/models/target_create_splunk.rb +354 -0
- data/lib/akeyless/models/target_type_details_input.rb +19 -1
- data/lib/akeyless/models/target_update_lets_encrypt.rb +388 -0
- data/lib/akeyless/models/update_item.rb +11 -1
- data/lib/akeyless/models/usc_create.rb +11 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +17 -0
- data/spec/models/lets_encrypt_target_details_spec.rb +96 -0
- data/spec/models/policies_create_output_spec.rb +36 -0
- data/spec/models/policies_delete_spec.rb +54 -0
- data/spec/models/policies_get_output_spec.rb +36 -0
- data/spec/models/policies_get_spec.rb +54 -0
- data/spec/models/policies_list_output_spec.rb +36 -0
- data/spec/models/policies_list_spec.rb +72 -0
- data/spec/models/policy_create_keys_spec.rb +84 -0
- data/spec/models/policy_output_spec.rb +84 -0
- data/spec/models/policy_update_keys_spec.rb +90 -0
- data/spec/models/rotated_secret_create_splunk_spec.rb +186 -0
- data/spec/models/rotated_secret_update_splunk_spec.rb +174 -0
- data/spec/models/splunk_payload_spec.rb +72 -0
- data/spec/models/splunk_target_details_spec.rb +84 -0
- data/spec/models/target_create_lets_encrypt_spec.rb +120 -0
- data/spec/models/target_create_splunk_spec.rb +108 -0
- data/spec/models/target_update_lets_encrypt_spec.rb +132 -0
- metadata +69 -1
data/docs/V2Api.md
CHANGED
|
@@ -388,6 +388,11 @@ All URIs are relative to *https://api.akeyless.io*
|
|
|
388
388
|
| [**list_sra_sessions**](V2Api.md#list_sra_sessions) | **POST** /list-sra-sessions | |
|
|
389
389
|
| [**list_targets**](V2Api.md#list_targets) | **POST** /list-targets | |
|
|
390
390
|
| [**move_objects**](V2Api.md#move_objects) | **POST** /move-objects | |
|
|
391
|
+
| [**policies_delete**](V2Api.md#policies_delete) | **POST** /policy-delete | |
|
|
392
|
+
| [**policies_get**](V2Api.md#policies_get) | **POST** /policy-get | |
|
|
393
|
+
| [**policies_list**](V2Api.md#policies_list) | **POST** /policy-list | |
|
|
394
|
+
| [**policy_create_keys**](V2Api.md#policy_create_keys) | **POST** /policy-create-keys | |
|
|
395
|
+
| [**policy_update_keys**](V2Api.md#policy_update_keys) | **POST** /policy-update-keys | |
|
|
391
396
|
| [**provision_certificate**](V2Api.md#provision_certificate) | **POST** /provision-certificate | |
|
|
392
397
|
| [**raw_creds**](V2Api.md#raw_creds) | **POST** /raw-creds | |
|
|
393
398
|
| [**refresh_key**](V2Api.md#refresh_key) | **POST** /refresh-key | |
|
|
@@ -418,6 +423,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
|
418
423
|
| [**rotated_secret_create_redis**](V2Api.md#rotated_secret_create_redis) | **POST** /rotated-secret-create-redis | |
|
|
419
424
|
| [**rotated_secret_create_redshift**](V2Api.md#rotated_secret_create_redshift) | **POST** /rotated-secret-create-redshift | |
|
|
420
425
|
| [**rotated_secret_create_snowflake**](V2Api.md#rotated_secret_create_snowflake) | **POST** /rotated-secret-create-snowflake | |
|
|
426
|
+
| [**rotated_secret_create_splunk**](V2Api.md#rotated_secret_create_splunk) | **POST** /rotated-secret-create-splunk | |
|
|
421
427
|
| [**rotated_secret_create_ssh**](V2Api.md#rotated_secret_create_ssh) | **POST** /rotated-secret-create-ssh | |
|
|
422
428
|
| [**rotated_secret_create_windows**](V2Api.md#rotated_secret_create_windows) | **POST** /rotated-secret-create-windows | |
|
|
423
429
|
| [**rotated_secret_delete**](V2Api.md#rotated_secret_delete) | **POST** /rotated-secret-delete | |
|
|
@@ -442,6 +448,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
|
442
448
|
| [**rotated_secret_update_redis**](V2Api.md#rotated_secret_update_redis) | **POST** /rotated-secret-update-redis | |
|
|
443
449
|
| [**rotated_secret_update_redshift**](V2Api.md#rotated_secret_update_redshift) | **POST** /rotated-secret-update-redshift | |
|
|
444
450
|
| [**rotated_secret_update_snowflake**](V2Api.md#rotated_secret_update_snowflake) | **POST** /rotated-secret-update-snowflake | |
|
|
451
|
+
| [**rotated_secret_update_splunk**](V2Api.md#rotated_secret_update_splunk) | **POST** /rotated-secret-update-splunk | |
|
|
445
452
|
| [**rotated_secret_update_ssh**](V2Api.md#rotated_secret_update_ssh) | **POST** /rotated-secret-update-ssh | |
|
|
446
453
|
| [**rotated_secret_update_windows**](V2Api.md#rotated_secret_update_windows) | **POST** /rotated-secret-update-windows | |
|
|
447
454
|
| [**set_item_state**](V2Api.md#set_item_state) | **POST** /set-item-state | |
|
|
@@ -474,12 +481,14 @@ All URIs are relative to *https://api.akeyless.io*
|
|
|
474
481
|
| [**target_create_hashi_vault**](V2Api.md#target_create_hashi_vault) | **POST** /target-create-hashi-vault | |
|
|
475
482
|
| [**target_create_k8s**](V2Api.md#target_create_k8s) | **POST** /target-create-k8s | |
|
|
476
483
|
| [**target_create_ldap**](V2Api.md#target_create_ldap) | **POST** /target-create-ldap | |
|
|
484
|
+
| [**target_create_lets_encrypt**](V2Api.md#target_create_lets_encrypt) | **POST** /target-create-lets-encrypt | |
|
|
477
485
|
| [**target_create_linked**](V2Api.md#target_create_linked) | **POST** /target-create-linked | |
|
|
478
486
|
| [**target_create_open_ai**](V2Api.md#target_create_open_ai) | **POST** /target-create-openai | |
|
|
479
487
|
| [**target_create_ping**](V2Api.md#target_create_ping) | **POST** /target-create-ping | |
|
|
480
488
|
| [**target_create_rabbit_mq**](V2Api.md#target_create_rabbit_mq) | **POST** /target-create-rabbitmq | |
|
|
481
489
|
| [**target_create_salesforce**](V2Api.md#target_create_salesforce) | **POST** /target-create-salesforce | |
|
|
482
490
|
| [**target_create_sectigo**](V2Api.md#target_create_sectigo) | **POST** /target-create-sectigo | |
|
|
491
|
+
| [**target_create_splunk**](V2Api.md#target_create_splunk) | **POST** /target-create-splunk | |
|
|
483
492
|
| [**target_create_ssh**](V2Api.md#target_create_ssh) | **POST** /target-create-ssh | |
|
|
484
493
|
| [**target_create_web**](V2Api.md#target_create_web) | **POST** /target-create-web | |
|
|
485
494
|
| [**target_create_windows**](V2Api.md#target_create_windows) | **POST** /target-create-windows | |
|
|
@@ -505,6 +514,7 @@ All URIs are relative to *https://api.akeyless.io*
|
|
|
505
514
|
| [**target_update_hashi_vault**](V2Api.md#target_update_hashi_vault) | **POST** /target-update-hashi-vault | |
|
|
506
515
|
| [**target_update_k8s**](V2Api.md#target_update_k8s) | **POST** /target-update-k8s | |
|
|
507
516
|
| [**target_update_ldap**](V2Api.md#target_update_ldap) | **POST** /target-update-ldap | |
|
|
517
|
+
| [**target_update_lets_encrypt**](V2Api.md#target_update_lets_encrypt) | **POST** /target-update-lets-encrypt | |
|
|
508
518
|
| [**target_update_linked**](V2Api.md#target_update_linked) | **POST** /target-update-linked | |
|
|
509
519
|
| [**target_update_open_ai**](V2Api.md#target_update_open_ai) | **POST** /target-update-openai | |
|
|
510
520
|
| [**target_update_ping**](V2Api.md#target_update_ping) | **POST** /target-update-ping | |
|
|
@@ -24433,6 +24443,316 @@ No authorization required
|
|
|
24433
24443
|
- **Accept**: application/json
|
|
24434
24444
|
|
|
24435
24445
|
|
|
24446
|
+
## policies_delete
|
|
24447
|
+
|
|
24448
|
+
> Object policies_delete(policies_delete)
|
|
24449
|
+
|
|
24450
|
+
|
|
24451
|
+
|
|
24452
|
+
### Examples
|
|
24453
|
+
|
|
24454
|
+
```ruby
|
|
24455
|
+
require 'time'
|
|
24456
|
+
require 'akeyless'
|
|
24457
|
+
|
|
24458
|
+
api_instance = Akeyless::V2Api.new
|
|
24459
|
+
policies_delete = Akeyless::PoliciesDelete.new({id: 'id_example'}) # PoliciesDelete |
|
|
24460
|
+
|
|
24461
|
+
begin
|
|
24462
|
+
|
|
24463
|
+
result = api_instance.policies_delete(policies_delete)
|
|
24464
|
+
p result
|
|
24465
|
+
rescue Akeyless::ApiError => e
|
|
24466
|
+
puts "Error when calling V2Api->policies_delete: #{e}"
|
|
24467
|
+
end
|
|
24468
|
+
```
|
|
24469
|
+
|
|
24470
|
+
#### Using the policies_delete_with_http_info variant
|
|
24471
|
+
|
|
24472
|
+
This returns an Array which contains the response data, status code and headers.
|
|
24473
|
+
|
|
24474
|
+
> <Array(Object, Integer, Hash)> policies_delete_with_http_info(policies_delete)
|
|
24475
|
+
|
|
24476
|
+
```ruby
|
|
24477
|
+
begin
|
|
24478
|
+
|
|
24479
|
+
data, status_code, headers = api_instance.policies_delete_with_http_info(policies_delete)
|
|
24480
|
+
p status_code # => 2xx
|
|
24481
|
+
p headers # => { ... }
|
|
24482
|
+
p data # => Object
|
|
24483
|
+
rescue Akeyless::ApiError => e
|
|
24484
|
+
puts "Error when calling V2Api->policies_delete_with_http_info: #{e}"
|
|
24485
|
+
end
|
|
24486
|
+
```
|
|
24487
|
+
|
|
24488
|
+
### Parameters
|
|
24489
|
+
|
|
24490
|
+
| Name | Type | Description | Notes |
|
|
24491
|
+
| ---- | ---- | ----------- | ----- |
|
|
24492
|
+
| **policies_delete** | [**PoliciesDelete**](PoliciesDelete.md) | | |
|
|
24493
|
+
|
|
24494
|
+
### Return type
|
|
24495
|
+
|
|
24496
|
+
**Object**
|
|
24497
|
+
|
|
24498
|
+
### Authorization
|
|
24499
|
+
|
|
24500
|
+
No authorization required
|
|
24501
|
+
|
|
24502
|
+
### HTTP request headers
|
|
24503
|
+
|
|
24504
|
+
- **Content-Type**: application/json
|
|
24505
|
+
- **Accept**: application/json
|
|
24506
|
+
|
|
24507
|
+
|
|
24508
|
+
## policies_get
|
|
24509
|
+
|
|
24510
|
+
> <PoliciesGetOutput> policies_get(policies_get)
|
|
24511
|
+
|
|
24512
|
+
|
|
24513
|
+
|
|
24514
|
+
### Examples
|
|
24515
|
+
|
|
24516
|
+
```ruby
|
|
24517
|
+
require 'time'
|
|
24518
|
+
require 'akeyless'
|
|
24519
|
+
|
|
24520
|
+
api_instance = Akeyless::V2Api.new
|
|
24521
|
+
policies_get = Akeyless::PoliciesGet.new({id: 'id_example'}) # PoliciesGet |
|
|
24522
|
+
|
|
24523
|
+
begin
|
|
24524
|
+
|
|
24525
|
+
result = api_instance.policies_get(policies_get)
|
|
24526
|
+
p result
|
|
24527
|
+
rescue Akeyless::ApiError => e
|
|
24528
|
+
puts "Error when calling V2Api->policies_get: #{e}"
|
|
24529
|
+
end
|
|
24530
|
+
```
|
|
24531
|
+
|
|
24532
|
+
#### Using the policies_get_with_http_info variant
|
|
24533
|
+
|
|
24534
|
+
This returns an Array which contains the response data, status code and headers.
|
|
24535
|
+
|
|
24536
|
+
> <Array(<PoliciesGetOutput>, Integer, Hash)> policies_get_with_http_info(policies_get)
|
|
24537
|
+
|
|
24538
|
+
```ruby
|
|
24539
|
+
begin
|
|
24540
|
+
|
|
24541
|
+
data, status_code, headers = api_instance.policies_get_with_http_info(policies_get)
|
|
24542
|
+
p status_code # => 2xx
|
|
24543
|
+
p headers # => { ... }
|
|
24544
|
+
p data # => <PoliciesGetOutput>
|
|
24545
|
+
rescue Akeyless::ApiError => e
|
|
24546
|
+
puts "Error when calling V2Api->policies_get_with_http_info: #{e}"
|
|
24547
|
+
end
|
|
24548
|
+
```
|
|
24549
|
+
|
|
24550
|
+
### Parameters
|
|
24551
|
+
|
|
24552
|
+
| Name | Type | Description | Notes |
|
|
24553
|
+
| ---- | ---- | ----------- | ----- |
|
|
24554
|
+
| **policies_get** | [**PoliciesGet**](PoliciesGet.md) | | |
|
|
24555
|
+
|
|
24556
|
+
### Return type
|
|
24557
|
+
|
|
24558
|
+
[**PoliciesGetOutput**](PoliciesGetOutput.md)
|
|
24559
|
+
|
|
24560
|
+
### Authorization
|
|
24561
|
+
|
|
24562
|
+
No authorization required
|
|
24563
|
+
|
|
24564
|
+
### HTTP request headers
|
|
24565
|
+
|
|
24566
|
+
- **Content-Type**: application/json
|
|
24567
|
+
- **Accept**: application/json
|
|
24568
|
+
|
|
24569
|
+
|
|
24570
|
+
## policies_list
|
|
24571
|
+
|
|
24572
|
+
> <PoliciesListOutput> policies_list(policies_list)
|
|
24573
|
+
|
|
24574
|
+
|
|
24575
|
+
|
|
24576
|
+
### Examples
|
|
24577
|
+
|
|
24578
|
+
```ruby
|
|
24579
|
+
require 'time'
|
|
24580
|
+
require 'akeyless'
|
|
24581
|
+
|
|
24582
|
+
api_instance = Akeyless::V2Api.new
|
|
24583
|
+
policies_list = Akeyless::PoliciesList.new # PoliciesList |
|
|
24584
|
+
|
|
24585
|
+
begin
|
|
24586
|
+
|
|
24587
|
+
result = api_instance.policies_list(policies_list)
|
|
24588
|
+
p result
|
|
24589
|
+
rescue Akeyless::ApiError => e
|
|
24590
|
+
puts "Error when calling V2Api->policies_list: #{e}"
|
|
24591
|
+
end
|
|
24592
|
+
```
|
|
24593
|
+
|
|
24594
|
+
#### Using the policies_list_with_http_info variant
|
|
24595
|
+
|
|
24596
|
+
This returns an Array which contains the response data, status code and headers.
|
|
24597
|
+
|
|
24598
|
+
> <Array(<PoliciesListOutput>, Integer, Hash)> policies_list_with_http_info(policies_list)
|
|
24599
|
+
|
|
24600
|
+
```ruby
|
|
24601
|
+
begin
|
|
24602
|
+
|
|
24603
|
+
data, status_code, headers = api_instance.policies_list_with_http_info(policies_list)
|
|
24604
|
+
p status_code # => 2xx
|
|
24605
|
+
p headers # => { ... }
|
|
24606
|
+
p data # => <PoliciesListOutput>
|
|
24607
|
+
rescue Akeyless::ApiError => e
|
|
24608
|
+
puts "Error when calling V2Api->policies_list_with_http_info: #{e}"
|
|
24609
|
+
end
|
|
24610
|
+
```
|
|
24611
|
+
|
|
24612
|
+
### Parameters
|
|
24613
|
+
|
|
24614
|
+
| Name | Type | Description | Notes |
|
|
24615
|
+
| ---- | ---- | ----------- | ----- |
|
|
24616
|
+
| **policies_list** | [**PoliciesList**](PoliciesList.md) | | |
|
|
24617
|
+
|
|
24618
|
+
### Return type
|
|
24619
|
+
|
|
24620
|
+
[**PoliciesListOutput**](PoliciesListOutput.md)
|
|
24621
|
+
|
|
24622
|
+
### Authorization
|
|
24623
|
+
|
|
24624
|
+
No authorization required
|
|
24625
|
+
|
|
24626
|
+
### HTTP request headers
|
|
24627
|
+
|
|
24628
|
+
- **Content-Type**: application/json
|
|
24629
|
+
- **Accept**: application/json
|
|
24630
|
+
|
|
24631
|
+
|
|
24632
|
+
## policy_create_keys
|
|
24633
|
+
|
|
24634
|
+
> <PoliciesCreateOutput> policy_create_keys(policy_create_keys)
|
|
24635
|
+
|
|
24636
|
+
|
|
24637
|
+
|
|
24638
|
+
### Examples
|
|
24639
|
+
|
|
24640
|
+
```ruby
|
|
24641
|
+
require 'time'
|
|
24642
|
+
require 'akeyless'
|
|
24643
|
+
|
|
24644
|
+
api_instance = Akeyless::V2Api.new
|
|
24645
|
+
policy_create_keys = Akeyless::PolicyCreateKeys.new({path: 'path_example'}) # PolicyCreateKeys |
|
|
24646
|
+
|
|
24647
|
+
begin
|
|
24648
|
+
|
|
24649
|
+
result = api_instance.policy_create_keys(policy_create_keys)
|
|
24650
|
+
p result
|
|
24651
|
+
rescue Akeyless::ApiError => e
|
|
24652
|
+
puts "Error when calling V2Api->policy_create_keys: #{e}"
|
|
24653
|
+
end
|
|
24654
|
+
```
|
|
24655
|
+
|
|
24656
|
+
#### Using the policy_create_keys_with_http_info variant
|
|
24657
|
+
|
|
24658
|
+
This returns an Array which contains the response data, status code and headers.
|
|
24659
|
+
|
|
24660
|
+
> <Array(<PoliciesCreateOutput>, Integer, Hash)> policy_create_keys_with_http_info(policy_create_keys)
|
|
24661
|
+
|
|
24662
|
+
```ruby
|
|
24663
|
+
begin
|
|
24664
|
+
|
|
24665
|
+
data, status_code, headers = api_instance.policy_create_keys_with_http_info(policy_create_keys)
|
|
24666
|
+
p status_code # => 2xx
|
|
24667
|
+
p headers # => { ... }
|
|
24668
|
+
p data # => <PoliciesCreateOutput>
|
|
24669
|
+
rescue Akeyless::ApiError => e
|
|
24670
|
+
puts "Error when calling V2Api->policy_create_keys_with_http_info: #{e}"
|
|
24671
|
+
end
|
|
24672
|
+
```
|
|
24673
|
+
|
|
24674
|
+
### Parameters
|
|
24675
|
+
|
|
24676
|
+
| Name | Type | Description | Notes |
|
|
24677
|
+
| ---- | ---- | ----------- | ----- |
|
|
24678
|
+
| **policy_create_keys** | [**PolicyCreateKeys**](PolicyCreateKeys.md) | | |
|
|
24679
|
+
|
|
24680
|
+
### Return type
|
|
24681
|
+
|
|
24682
|
+
[**PoliciesCreateOutput**](PoliciesCreateOutput.md)
|
|
24683
|
+
|
|
24684
|
+
### Authorization
|
|
24685
|
+
|
|
24686
|
+
No authorization required
|
|
24687
|
+
|
|
24688
|
+
### HTTP request headers
|
|
24689
|
+
|
|
24690
|
+
- **Content-Type**: application/json
|
|
24691
|
+
- **Accept**: application/json
|
|
24692
|
+
|
|
24693
|
+
|
|
24694
|
+
## policy_update_keys
|
|
24695
|
+
|
|
24696
|
+
> Object policy_update_keys(policy_update_keys)
|
|
24697
|
+
|
|
24698
|
+
|
|
24699
|
+
|
|
24700
|
+
### Examples
|
|
24701
|
+
|
|
24702
|
+
```ruby
|
|
24703
|
+
require 'time'
|
|
24704
|
+
require 'akeyless'
|
|
24705
|
+
|
|
24706
|
+
api_instance = Akeyless::V2Api.new
|
|
24707
|
+
policy_update_keys = Akeyless::PolicyUpdateKeys.new({id: 'id_example'}) # PolicyUpdateKeys |
|
|
24708
|
+
|
|
24709
|
+
begin
|
|
24710
|
+
|
|
24711
|
+
result = api_instance.policy_update_keys(policy_update_keys)
|
|
24712
|
+
p result
|
|
24713
|
+
rescue Akeyless::ApiError => e
|
|
24714
|
+
puts "Error when calling V2Api->policy_update_keys: #{e}"
|
|
24715
|
+
end
|
|
24716
|
+
```
|
|
24717
|
+
|
|
24718
|
+
#### Using the policy_update_keys_with_http_info variant
|
|
24719
|
+
|
|
24720
|
+
This returns an Array which contains the response data, status code and headers.
|
|
24721
|
+
|
|
24722
|
+
> <Array(Object, Integer, Hash)> policy_update_keys_with_http_info(policy_update_keys)
|
|
24723
|
+
|
|
24724
|
+
```ruby
|
|
24725
|
+
begin
|
|
24726
|
+
|
|
24727
|
+
data, status_code, headers = api_instance.policy_update_keys_with_http_info(policy_update_keys)
|
|
24728
|
+
p status_code # => 2xx
|
|
24729
|
+
p headers # => { ... }
|
|
24730
|
+
p data # => Object
|
|
24731
|
+
rescue Akeyless::ApiError => e
|
|
24732
|
+
puts "Error when calling V2Api->policy_update_keys_with_http_info: #{e}"
|
|
24733
|
+
end
|
|
24734
|
+
```
|
|
24735
|
+
|
|
24736
|
+
### Parameters
|
|
24737
|
+
|
|
24738
|
+
| Name | Type | Description | Notes |
|
|
24739
|
+
| ---- | ---- | ----------- | ----- |
|
|
24740
|
+
| **policy_update_keys** | [**PolicyUpdateKeys**](PolicyUpdateKeys.md) | | |
|
|
24741
|
+
|
|
24742
|
+
### Return type
|
|
24743
|
+
|
|
24744
|
+
**Object**
|
|
24745
|
+
|
|
24746
|
+
### Authorization
|
|
24747
|
+
|
|
24748
|
+
No authorization required
|
|
24749
|
+
|
|
24750
|
+
### HTTP request headers
|
|
24751
|
+
|
|
24752
|
+
- **Content-Type**: application/json
|
|
24753
|
+
- **Accept**: application/json
|
|
24754
|
+
|
|
24755
|
+
|
|
24436
24756
|
## provision_certificate
|
|
24437
24757
|
|
|
24438
24758
|
> <ProvisionCertificateOutput> provision_certificate(provision_certificate)
|
|
@@ -26108,7 +26428,69 @@ No authorization required
|
|
|
26108
26428
|
|
|
26109
26429
|
## rotated_secret_create_redis
|
|
26110
26430
|
|
|
26111
|
-
> <RotatedSecretCreateOutput> rotated_secret_create_redis(rotated_secret_create_redis)
|
|
26431
|
+
> <RotatedSecretCreateOutput> rotated_secret_create_redis(rotated_secret_create_redis)
|
|
26432
|
+
|
|
26433
|
+
|
|
26434
|
+
|
|
26435
|
+
### Examples
|
|
26436
|
+
|
|
26437
|
+
```ruby
|
|
26438
|
+
require 'time'
|
|
26439
|
+
require 'akeyless'
|
|
26440
|
+
|
|
26441
|
+
api_instance = Akeyless::V2Api.new
|
|
26442
|
+
rotated_secret_create_redis = Akeyless::RotatedSecretCreateRedis.new({name: 'name_example', rotator_type: 'rotator_type_example', target_name: 'target_name_example'}) # RotatedSecretCreateRedis |
|
|
26443
|
+
|
|
26444
|
+
begin
|
|
26445
|
+
|
|
26446
|
+
result = api_instance.rotated_secret_create_redis(rotated_secret_create_redis)
|
|
26447
|
+
p result
|
|
26448
|
+
rescue Akeyless::ApiError => e
|
|
26449
|
+
puts "Error when calling V2Api->rotated_secret_create_redis: #{e}"
|
|
26450
|
+
end
|
|
26451
|
+
```
|
|
26452
|
+
|
|
26453
|
+
#### Using the rotated_secret_create_redis_with_http_info variant
|
|
26454
|
+
|
|
26455
|
+
This returns an Array which contains the response data, status code and headers.
|
|
26456
|
+
|
|
26457
|
+
> <Array(<RotatedSecretCreateOutput>, Integer, Hash)> rotated_secret_create_redis_with_http_info(rotated_secret_create_redis)
|
|
26458
|
+
|
|
26459
|
+
```ruby
|
|
26460
|
+
begin
|
|
26461
|
+
|
|
26462
|
+
data, status_code, headers = api_instance.rotated_secret_create_redis_with_http_info(rotated_secret_create_redis)
|
|
26463
|
+
p status_code # => 2xx
|
|
26464
|
+
p headers # => { ... }
|
|
26465
|
+
p data # => <RotatedSecretCreateOutput>
|
|
26466
|
+
rescue Akeyless::ApiError => e
|
|
26467
|
+
puts "Error when calling V2Api->rotated_secret_create_redis_with_http_info: #{e}"
|
|
26468
|
+
end
|
|
26469
|
+
```
|
|
26470
|
+
|
|
26471
|
+
### Parameters
|
|
26472
|
+
|
|
26473
|
+
| Name | Type | Description | Notes |
|
|
26474
|
+
| ---- | ---- | ----------- | ----- |
|
|
26475
|
+
| **rotated_secret_create_redis** | [**RotatedSecretCreateRedis**](RotatedSecretCreateRedis.md) | | |
|
|
26476
|
+
|
|
26477
|
+
### Return type
|
|
26478
|
+
|
|
26479
|
+
[**RotatedSecretCreateOutput**](RotatedSecretCreateOutput.md)
|
|
26480
|
+
|
|
26481
|
+
### Authorization
|
|
26482
|
+
|
|
26483
|
+
No authorization required
|
|
26484
|
+
|
|
26485
|
+
### HTTP request headers
|
|
26486
|
+
|
|
26487
|
+
- **Content-Type**: application/json
|
|
26488
|
+
- **Accept**: application/json
|
|
26489
|
+
|
|
26490
|
+
|
|
26491
|
+
## rotated_secret_create_redshift
|
|
26492
|
+
|
|
26493
|
+
> <RotatedSecretCreateOutput> rotated_secret_create_redshift(rotated_secret_create_redshift)
|
|
26112
26494
|
|
|
26113
26495
|
|
|
26114
26496
|
|
|
@@ -26119,32 +26501,32 @@ require 'time'
|
|
|
26119
26501
|
require 'akeyless'
|
|
26120
26502
|
|
|
26121
26503
|
api_instance = Akeyless::V2Api.new
|
|
26122
|
-
|
|
26504
|
+
rotated_secret_create_redshift = Akeyless::RotatedSecretCreateRedshift.new({name: 'name_example', rotator_type: 'rotator_type_example', target_name: 'target_name_example'}) # RotatedSecretCreateRedshift |
|
|
26123
26505
|
|
|
26124
26506
|
begin
|
|
26125
26507
|
|
|
26126
|
-
result = api_instance.
|
|
26508
|
+
result = api_instance.rotated_secret_create_redshift(rotated_secret_create_redshift)
|
|
26127
26509
|
p result
|
|
26128
26510
|
rescue Akeyless::ApiError => e
|
|
26129
|
-
puts "Error when calling V2Api->
|
|
26511
|
+
puts "Error when calling V2Api->rotated_secret_create_redshift: #{e}"
|
|
26130
26512
|
end
|
|
26131
26513
|
```
|
|
26132
26514
|
|
|
26133
|
-
#### Using the
|
|
26515
|
+
#### Using the rotated_secret_create_redshift_with_http_info variant
|
|
26134
26516
|
|
|
26135
26517
|
This returns an Array which contains the response data, status code and headers.
|
|
26136
26518
|
|
|
26137
|
-
> <Array(<RotatedSecretCreateOutput>, Integer, Hash)>
|
|
26519
|
+
> <Array(<RotatedSecretCreateOutput>, Integer, Hash)> rotated_secret_create_redshift_with_http_info(rotated_secret_create_redshift)
|
|
26138
26520
|
|
|
26139
26521
|
```ruby
|
|
26140
26522
|
begin
|
|
26141
26523
|
|
|
26142
|
-
data, status_code, headers = api_instance.
|
|
26524
|
+
data, status_code, headers = api_instance.rotated_secret_create_redshift_with_http_info(rotated_secret_create_redshift)
|
|
26143
26525
|
p status_code # => 2xx
|
|
26144
26526
|
p headers # => { ... }
|
|
26145
26527
|
p data # => <RotatedSecretCreateOutput>
|
|
26146
26528
|
rescue Akeyless::ApiError => e
|
|
26147
|
-
puts "Error when calling V2Api->
|
|
26529
|
+
puts "Error when calling V2Api->rotated_secret_create_redshift_with_http_info: #{e}"
|
|
26148
26530
|
end
|
|
26149
26531
|
```
|
|
26150
26532
|
|
|
@@ -26152,7 +26534,7 @@ end
|
|
|
26152
26534
|
|
|
26153
26535
|
| Name | Type | Description | Notes |
|
|
26154
26536
|
| ---- | ---- | ----------- | ----- |
|
|
26155
|
-
| **
|
|
26537
|
+
| **rotated_secret_create_redshift** | [**RotatedSecretCreateRedshift**](RotatedSecretCreateRedshift.md) | | |
|
|
26156
26538
|
|
|
26157
26539
|
### Return type
|
|
26158
26540
|
|
|
@@ -26168,9 +26550,9 @@ No authorization required
|
|
|
26168
26550
|
- **Accept**: application/json
|
|
26169
26551
|
|
|
26170
26552
|
|
|
26171
|
-
##
|
|
26553
|
+
## rotated_secret_create_snowflake
|
|
26172
26554
|
|
|
26173
|
-
> <RotatedSecretCreateOutput>
|
|
26555
|
+
> <RotatedSecretCreateOutput> rotated_secret_create_snowflake(rotated_secret_create_snowflake)
|
|
26174
26556
|
|
|
26175
26557
|
|
|
26176
26558
|
|
|
@@ -26181,32 +26563,32 @@ require 'time'
|
|
|
26181
26563
|
require 'akeyless'
|
|
26182
26564
|
|
|
26183
26565
|
api_instance = Akeyless::V2Api.new
|
|
26184
|
-
|
|
26566
|
+
rotated_secret_create_snowflake = Akeyless::RotatedSecretCreateSnowflake.new({name: 'name_example', rotator_type: 'rotator_type_example', target_name: 'target_name_example'}) # RotatedSecretCreateSnowflake |
|
|
26185
26567
|
|
|
26186
26568
|
begin
|
|
26187
26569
|
|
|
26188
|
-
result = api_instance.
|
|
26570
|
+
result = api_instance.rotated_secret_create_snowflake(rotated_secret_create_snowflake)
|
|
26189
26571
|
p result
|
|
26190
26572
|
rescue Akeyless::ApiError => e
|
|
26191
|
-
puts "Error when calling V2Api->
|
|
26573
|
+
puts "Error when calling V2Api->rotated_secret_create_snowflake: #{e}"
|
|
26192
26574
|
end
|
|
26193
26575
|
```
|
|
26194
26576
|
|
|
26195
|
-
#### Using the
|
|
26577
|
+
#### Using the rotated_secret_create_snowflake_with_http_info variant
|
|
26196
26578
|
|
|
26197
26579
|
This returns an Array which contains the response data, status code and headers.
|
|
26198
26580
|
|
|
26199
|
-
> <Array(<RotatedSecretCreateOutput>, Integer, Hash)>
|
|
26581
|
+
> <Array(<RotatedSecretCreateOutput>, Integer, Hash)> rotated_secret_create_snowflake_with_http_info(rotated_secret_create_snowflake)
|
|
26200
26582
|
|
|
26201
26583
|
```ruby
|
|
26202
26584
|
begin
|
|
26203
26585
|
|
|
26204
|
-
data, status_code, headers = api_instance.
|
|
26586
|
+
data, status_code, headers = api_instance.rotated_secret_create_snowflake_with_http_info(rotated_secret_create_snowflake)
|
|
26205
26587
|
p status_code # => 2xx
|
|
26206
26588
|
p headers # => { ... }
|
|
26207
26589
|
p data # => <RotatedSecretCreateOutput>
|
|
26208
26590
|
rescue Akeyless::ApiError => e
|
|
26209
|
-
puts "Error when calling V2Api->
|
|
26591
|
+
puts "Error when calling V2Api->rotated_secret_create_snowflake_with_http_info: #{e}"
|
|
26210
26592
|
end
|
|
26211
26593
|
```
|
|
26212
26594
|
|
|
@@ -26214,7 +26596,7 @@ end
|
|
|
26214
26596
|
|
|
26215
26597
|
| Name | Type | Description | Notes |
|
|
26216
26598
|
| ---- | ---- | ----------- | ----- |
|
|
26217
|
-
| **
|
|
26599
|
+
| **rotated_secret_create_snowflake** | [**RotatedSecretCreateSnowflake**](RotatedSecretCreateSnowflake.md) | | |
|
|
26218
26600
|
|
|
26219
26601
|
### Return type
|
|
26220
26602
|
|
|
@@ -26230,9 +26612,9 @@ No authorization required
|
|
|
26230
26612
|
- **Accept**: application/json
|
|
26231
26613
|
|
|
26232
26614
|
|
|
26233
|
-
##
|
|
26615
|
+
## rotated_secret_create_splunk
|
|
26234
26616
|
|
|
26235
|
-
> <RotatedSecretCreateOutput>
|
|
26617
|
+
> <RotatedSecretCreateOutput> rotated_secret_create_splunk(rotated_secret_create_splunk)
|
|
26236
26618
|
|
|
26237
26619
|
|
|
26238
26620
|
|
|
@@ -26243,32 +26625,32 @@ require 'time'
|
|
|
26243
26625
|
require 'akeyless'
|
|
26244
26626
|
|
|
26245
26627
|
api_instance = Akeyless::V2Api.new
|
|
26246
|
-
|
|
26628
|
+
rotated_secret_create_splunk = Akeyless::RotatedSecretCreateSplunk.new({name: 'name_example', rotator_type: 'rotator_type_example', target_name: 'target_name_example'}) # RotatedSecretCreateSplunk |
|
|
26247
26629
|
|
|
26248
26630
|
begin
|
|
26249
26631
|
|
|
26250
|
-
result = api_instance.
|
|
26632
|
+
result = api_instance.rotated_secret_create_splunk(rotated_secret_create_splunk)
|
|
26251
26633
|
p result
|
|
26252
26634
|
rescue Akeyless::ApiError => e
|
|
26253
|
-
puts "Error when calling V2Api->
|
|
26635
|
+
puts "Error when calling V2Api->rotated_secret_create_splunk: #{e}"
|
|
26254
26636
|
end
|
|
26255
26637
|
```
|
|
26256
26638
|
|
|
26257
|
-
#### Using the
|
|
26639
|
+
#### Using the rotated_secret_create_splunk_with_http_info variant
|
|
26258
26640
|
|
|
26259
26641
|
This returns an Array which contains the response data, status code and headers.
|
|
26260
26642
|
|
|
26261
|
-
> <Array(<RotatedSecretCreateOutput>, Integer, Hash)>
|
|
26643
|
+
> <Array(<RotatedSecretCreateOutput>, Integer, Hash)> rotated_secret_create_splunk_with_http_info(rotated_secret_create_splunk)
|
|
26262
26644
|
|
|
26263
26645
|
```ruby
|
|
26264
26646
|
begin
|
|
26265
26647
|
|
|
26266
|
-
data, status_code, headers = api_instance.
|
|
26648
|
+
data, status_code, headers = api_instance.rotated_secret_create_splunk_with_http_info(rotated_secret_create_splunk)
|
|
26267
26649
|
p status_code # => 2xx
|
|
26268
26650
|
p headers # => { ... }
|
|
26269
26651
|
p data # => <RotatedSecretCreateOutput>
|
|
26270
26652
|
rescue Akeyless::ApiError => e
|
|
26271
|
-
puts "Error when calling V2Api->
|
|
26653
|
+
puts "Error when calling V2Api->rotated_secret_create_splunk_with_http_info: #{e}"
|
|
26272
26654
|
end
|
|
26273
26655
|
```
|
|
26274
26656
|
|
|
@@ -26276,7 +26658,7 @@ end
|
|
|
26276
26658
|
|
|
26277
26659
|
| Name | Type | Description | Notes |
|
|
26278
26660
|
| ---- | ---- | ----------- | ----- |
|
|
26279
|
-
| **
|
|
26661
|
+
| **rotated_secret_create_splunk** | [**RotatedSecretCreateSplunk**](RotatedSecretCreateSplunk.md) | | |
|
|
26280
26662
|
|
|
26281
26663
|
### Return type
|
|
26282
26664
|
|
|
@@ -27780,6 +28162,68 @@ No authorization required
|
|
|
27780
28162
|
- **Accept**: application/json
|
|
27781
28163
|
|
|
27782
28164
|
|
|
28165
|
+
## rotated_secret_update_splunk
|
|
28166
|
+
|
|
28167
|
+
> <RotatedSecretUpdateOutput> rotated_secret_update_splunk(rotated_secret_update_splunk)
|
|
28168
|
+
|
|
28169
|
+
|
|
28170
|
+
|
|
28171
|
+
### Examples
|
|
28172
|
+
|
|
28173
|
+
```ruby
|
|
28174
|
+
require 'time'
|
|
28175
|
+
require 'akeyless'
|
|
28176
|
+
|
|
28177
|
+
api_instance = Akeyless::V2Api.new
|
|
28178
|
+
rotated_secret_update_splunk = Akeyless::RotatedSecretUpdateSplunk.new({name: 'name_example'}) # RotatedSecretUpdateSplunk |
|
|
28179
|
+
|
|
28180
|
+
begin
|
|
28181
|
+
|
|
28182
|
+
result = api_instance.rotated_secret_update_splunk(rotated_secret_update_splunk)
|
|
28183
|
+
p result
|
|
28184
|
+
rescue Akeyless::ApiError => e
|
|
28185
|
+
puts "Error when calling V2Api->rotated_secret_update_splunk: #{e}"
|
|
28186
|
+
end
|
|
28187
|
+
```
|
|
28188
|
+
|
|
28189
|
+
#### Using the rotated_secret_update_splunk_with_http_info variant
|
|
28190
|
+
|
|
28191
|
+
This returns an Array which contains the response data, status code and headers.
|
|
28192
|
+
|
|
28193
|
+
> <Array(<RotatedSecretUpdateOutput>, Integer, Hash)> rotated_secret_update_splunk_with_http_info(rotated_secret_update_splunk)
|
|
28194
|
+
|
|
28195
|
+
```ruby
|
|
28196
|
+
begin
|
|
28197
|
+
|
|
28198
|
+
data, status_code, headers = api_instance.rotated_secret_update_splunk_with_http_info(rotated_secret_update_splunk)
|
|
28199
|
+
p status_code # => 2xx
|
|
28200
|
+
p headers # => { ... }
|
|
28201
|
+
p data # => <RotatedSecretUpdateOutput>
|
|
28202
|
+
rescue Akeyless::ApiError => e
|
|
28203
|
+
puts "Error when calling V2Api->rotated_secret_update_splunk_with_http_info: #{e}"
|
|
28204
|
+
end
|
|
28205
|
+
```
|
|
28206
|
+
|
|
28207
|
+
### Parameters
|
|
28208
|
+
|
|
28209
|
+
| Name | Type | Description | Notes |
|
|
28210
|
+
| ---- | ---- | ----------- | ----- |
|
|
28211
|
+
| **rotated_secret_update_splunk** | [**RotatedSecretUpdateSplunk**](RotatedSecretUpdateSplunk.md) | | |
|
|
28212
|
+
|
|
28213
|
+
### Return type
|
|
28214
|
+
|
|
28215
|
+
[**RotatedSecretUpdateOutput**](RotatedSecretUpdateOutput.md)
|
|
28216
|
+
|
|
28217
|
+
### Authorization
|
|
28218
|
+
|
|
28219
|
+
No authorization required
|
|
28220
|
+
|
|
28221
|
+
### HTTP request headers
|
|
28222
|
+
|
|
28223
|
+
- **Content-Type**: application/json
|
|
28224
|
+
- **Accept**: application/json
|
|
28225
|
+
|
|
28226
|
+
|
|
27783
28227
|
## rotated_secret_update_ssh
|
|
27784
28228
|
|
|
27785
28229
|
> <RotatedSecretUpdateOutput> rotated_secret_update_ssh(rotated_secret_update_ssh)
|
|
@@ -29764,6 +30208,68 @@ No authorization required
|
|
|
29764
30208
|
- **Accept**: application/json
|
|
29765
30209
|
|
|
29766
30210
|
|
|
30211
|
+
## target_create_lets_encrypt
|
|
30212
|
+
|
|
30213
|
+
> <TargetCreateOutput> target_create_lets_encrypt(target_create_lets_encrypt)
|
|
30214
|
+
|
|
30215
|
+
|
|
30216
|
+
|
|
30217
|
+
### Examples
|
|
30218
|
+
|
|
30219
|
+
```ruby
|
|
30220
|
+
require 'time'
|
|
30221
|
+
require 'akeyless'
|
|
30222
|
+
|
|
30223
|
+
api_instance = Akeyless::V2Api.new
|
|
30224
|
+
target_create_lets_encrypt = Akeyless::TargetCreateLetsEncrypt.new({name: 'name_example'}) # TargetCreateLetsEncrypt |
|
|
30225
|
+
|
|
30226
|
+
begin
|
|
30227
|
+
|
|
30228
|
+
result = api_instance.target_create_lets_encrypt(target_create_lets_encrypt)
|
|
30229
|
+
p result
|
|
30230
|
+
rescue Akeyless::ApiError => e
|
|
30231
|
+
puts "Error when calling V2Api->target_create_lets_encrypt: #{e}"
|
|
30232
|
+
end
|
|
30233
|
+
```
|
|
30234
|
+
|
|
30235
|
+
#### Using the target_create_lets_encrypt_with_http_info variant
|
|
30236
|
+
|
|
30237
|
+
This returns an Array which contains the response data, status code and headers.
|
|
30238
|
+
|
|
30239
|
+
> <Array(<TargetCreateOutput>, Integer, Hash)> target_create_lets_encrypt_with_http_info(target_create_lets_encrypt)
|
|
30240
|
+
|
|
30241
|
+
```ruby
|
|
30242
|
+
begin
|
|
30243
|
+
|
|
30244
|
+
data, status_code, headers = api_instance.target_create_lets_encrypt_with_http_info(target_create_lets_encrypt)
|
|
30245
|
+
p status_code # => 2xx
|
|
30246
|
+
p headers # => { ... }
|
|
30247
|
+
p data # => <TargetCreateOutput>
|
|
30248
|
+
rescue Akeyless::ApiError => e
|
|
30249
|
+
puts "Error when calling V2Api->target_create_lets_encrypt_with_http_info: #{e}"
|
|
30250
|
+
end
|
|
30251
|
+
```
|
|
30252
|
+
|
|
30253
|
+
### Parameters
|
|
30254
|
+
|
|
30255
|
+
| Name | Type | Description | Notes |
|
|
30256
|
+
| ---- | ---- | ----------- | ----- |
|
|
30257
|
+
| **target_create_lets_encrypt** | [**TargetCreateLetsEncrypt**](TargetCreateLetsEncrypt.md) | | |
|
|
30258
|
+
|
|
30259
|
+
### Return type
|
|
30260
|
+
|
|
30261
|
+
[**TargetCreateOutput**](TargetCreateOutput.md)
|
|
30262
|
+
|
|
30263
|
+
### Authorization
|
|
30264
|
+
|
|
30265
|
+
No authorization required
|
|
30266
|
+
|
|
30267
|
+
### HTTP request headers
|
|
30268
|
+
|
|
30269
|
+
- **Content-Type**: application/json
|
|
30270
|
+
- **Accept**: application/json
|
|
30271
|
+
|
|
30272
|
+
|
|
29767
30273
|
## target_create_linked
|
|
29768
30274
|
|
|
29769
30275
|
> <TargetCreateOutput> target_create_linked(target_create_linked)
|
|
@@ -30136,6 +30642,68 @@ No authorization required
|
|
|
30136
30642
|
- **Accept**: application/json
|
|
30137
30643
|
|
|
30138
30644
|
|
|
30645
|
+
## target_create_splunk
|
|
30646
|
+
|
|
30647
|
+
> <TargetCreateOutput> target_create_splunk(target_create_splunk)
|
|
30648
|
+
|
|
30649
|
+
|
|
30650
|
+
|
|
30651
|
+
### Examples
|
|
30652
|
+
|
|
30653
|
+
```ruby
|
|
30654
|
+
require 'time'
|
|
30655
|
+
require 'akeyless'
|
|
30656
|
+
|
|
30657
|
+
api_instance = Akeyless::V2Api.new
|
|
30658
|
+
target_create_splunk = Akeyless::TargetCreateSplunk.new({name: 'name_example', url: 'url_example'}) # TargetCreateSplunk |
|
|
30659
|
+
|
|
30660
|
+
begin
|
|
30661
|
+
|
|
30662
|
+
result = api_instance.target_create_splunk(target_create_splunk)
|
|
30663
|
+
p result
|
|
30664
|
+
rescue Akeyless::ApiError => e
|
|
30665
|
+
puts "Error when calling V2Api->target_create_splunk: #{e}"
|
|
30666
|
+
end
|
|
30667
|
+
```
|
|
30668
|
+
|
|
30669
|
+
#### Using the target_create_splunk_with_http_info variant
|
|
30670
|
+
|
|
30671
|
+
This returns an Array which contains the response data, status code and headers.
|
|
30672
|
+
|
|
30673
|
+
> <Array(<TargetCreateOutput>, Integer, Hash)> target_create_splunk_with_http_info(target_create_splunk)
|
|
30674
|
+
|
|
30675
|
+
```ruby
|
|
30676
|
+
begin
|
|
30677
|
+
|
|
30678
|
+
data, status_code, headers = api_instance.target_create_splunk_with_http_info(target_create_splunk)
|
|
30679
|
+
p status_code # => 2xx
|
|
30680
|
+
p headers # => { ... }
|
|
30681
|
+
p data # => <TargetCreateOutput>
|
|
30682
|
+
rescue Akeyless::ApiError => e
|
|
30683
|
+
puts "Error when calling V2Api->target_create_splunk_with_http_info: #{e}"
|
|
30684
|
+
end
|
|
30685
|
+
```
|
|
30686
|
+
|
|
30687
|
+
### Parameters
|
|
30688
|
+
|
|
30689
|
+
| Name | Type | Description | Notes |
|
|
30690
|
+
| ---- | ---- | ----------- | ----- |
|
|
30691
|
+
| **target_create_splunk** | [**TargetCreateSplunk**](TargetCreateSplunk.md) | | |
|
|
30692
|
+
|
|
30693
|
+
### Return type
|
|
30694
|
+
|
|
30695
|
+
[**TargetCreateOutput**](TargetCreateOutput.md)
|
|
30696
|
+
|
|
30697
|
+
### Authorization
|
|
30698
|
+
|
|
30699
|
+
No authorization required
|
|
30700
|
+
|
|
30701
|
+
### HTTP request headers
|
|
30702
|
+
|
|
30703
|
+
- **Content-Type**: application/json
|
|
30704
|
+
- **Accept**: application/json
|
|
30705
|
+
|
|
30706
|
+
|
|
30139
30707
|
## target_create_ssh
|
|
30140
30708
|
|
|
30141
30709
|
> <TargetCreateOutput> target_create_ssh(target_create_ssh)
|
|
@@ -31686,6 +32254,68 @@ No authorization required
|
|
|
31686
32254
|
- **Accept**: application/json
|
|
31687
32255
|
|
|
31688
32256
|
|
|
32257
|
+
## target_update_lets_encrypt
|
|
32258
|
+
|
|
32259
|
+
> <TargetUpdateOutput> target_update_lets_encrypt(target_update_lets_encrypt)
|
|
32260
|
+
|
|
32261
|
+
|
|
32262
|
+
|
|
32263
|
+
### Examples
|
|
32264
|
+
|
|
32265
|
+
```ruby
|
|
32266
|
+
require 'time'
|
|
32267
|
+
require 'akeyless'
|
|
32268
|
+
|
|
32269
|
+
api_instance = Akeyless::V2Api.new
|
|
32270
|
+
target_update_lets_encrypt = Akeyless::TargetUpdateLetsEncrypt.new({name: 'name_example'}) # TargetUpdateLetsEncrypt |
|
|
32271
|
+
|
|
32272
|
+
begin
|
|
32273
|
+
|
|
32274
|
+
result = api_instance.target_update_lets_encrypt(target_update_lets_encrypt)
|
|
32275
|
+
p result
|
|
32276
|
+
rescue Akeyless::ApiError => e
|
|
32277
|
+
puts "Error when calling V2Api->target_update_lets_encrypt: #{e}"
|
|
32278
|
+
end
|
|
32279
|
+
```
|
|
32280
|
+
|
|
32281
|
+
#### Using the target_update_lets_encrypt_with_http_info variant
|
|
32282
|
+
|
|
32283
|
+
This returns an Array which contains the response data, status code and headers.
|
|
32284
|
+
|
|
32285
|
+
> <Array(<TargetUpdateOutput>, Integer, Hash)> target_update_lets_encrypt_with_http_info(target_update_lets_encrypt)
|
|
32286
|
+
|
|
32287
|
+
```ruby
|
|
32288
|
+
begin
|
|
32289
|
+
|
|
32290
|
+
data, status_code, headers = api_instance.target_update_lets_encrypt_with_http_info(target_update_lets_encrypt)
|
|
32291
|
+
p status_code # => 2xx
|
|
32292
|
+
p headers # => { ... }
|
|
32293
|
+
p data # => <TargetUpdateOutput>
|
|
32294
|
+
rescue Akeyless::ApiError => e
|
|
32295
|
+
puts "Error when calling V2Api->target_update_lets_encrypt_with_http_info: #{e}"
|
|
32296
|
+
end
|
|
32297
|
+
```
|
|
32298
|
+
|
|
32299
|
+
### Parameters
|
|
32300
|
+
|
|
32301
|
+
| Name | Type | Description | Notes |
|
|
32302
|
+
| ---- | ---- | ----------- | ----- |
|
|
32303
|
+
| **target_update_lets_encrypt** | [**TargetUpdateLetsEncrypt**](TargetUpdateLetsEncrypt.md) | | |
|
|
32304
|
+
|
|
32305
|
+
### Return type
|
|
32306
|
+
|
|
32307
|
+
[**TargetUpdateOutput**](TargetUpdateOutput.md)
|
|
32308
|
+
|
|
32309
|
+
### Authorization
|
|
32310
|
+
|
|
32311
|
+
No authorization required
|
|
32312
|
+
|
|
32313
|
+
### HTTP request headers
|
|
32314
|
+
|
|
32315
|
+
- **Content-Type**: application/json
|
|
32316
|
+
- **Accept**: application/json
|
|
32317
|
+
|
|
32318
|
+
|
|
31689
32319
|
## target_update_linked
|
|
31690
32320
|
|
|
31691
32321
|
> <TargetUpdateOutput> target_update_linked(target_update_linked)
|