akeyless 5.0.20 → 5.0.22
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 +40 -1
- data/docs/AccountGeneralSettings.md +2 -0
- data/docs/ActiveDirectoryPayload.md +6 -0
- data/docs/Auth.md +2 -0
- data/docs/AuthMethodCreateCert.md +2 -0
- data/docs/AuthMethodUpdateCert.md +2 -0
- data/docs/AzureADAccessRules.md +2 -0
- data/docs/AzureTargetDetails.md +2 -0
- data/docs/CertAccessRules.md +2 -0
- data/docs/CertificateChainInfo.md +2 -0
- data/docs/Configure.md +2 -0
- data/docs/ConjurMigration.md +20 -0
- data/docs/ConjurPayload.md +24 -0
- data/docs/CreateAuthMethodCert.md +2 -0
- data/docs/CreateAzureTarget.md +2 -0
- data/docs/CreateUSC.md +10 -0
- data/docs/DSProducerDetails.md +2 -0
- data/docs/DefaultAuthMethodSettings.md +20 -0
- data/docs/GCPPayload.md +5 -1
- data/docs/GatewayCreateMigration.md +20 -2
- data/docs/GatewayUpdateMigration.md +19 -1
- data/docs/GetPKICertificateOutput.md +2 -0
- data/docs/GithubMetadata.md +28 -0
- data/docs/HTTPChallengeInfo.md +26 -0
- data/docs/IssuerOverviewInfo.md +22 -0
- data/docs/ItemGeneralInfo.md +2 -0
- data/docs/LetsEncryptTargetDetails.md +38 -0
- data/docs/MigrationStatusReplyObj.md +2 -0
- data/docs/MigrationsConfigPart.md +2 -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/TargetCreateAzure.md +2 -0
- data/docs/TargetCreateLetsEncrypt.md +46 -0
- data/docs/TargetCreateSplunk.md +42 -0
- data/docs/TargetTypeDetailsInput.md +4 -0
- data/docs/TargetUpdateAzure.md +2 -0
- data/docs/TargetUpdateLetsEncrypt.md +50 -0
- data/docs/UpdateAuthMethodCert.md +2 -0
- data/docs/UpdateAzureTarget.md +2 -0
- data/docs/V2Api.md +756 -0
- data/docs/ValidateCertificateChallenge.md +30 -0
- data/docs/ValidateCertificateChallengeOutput.md +24 -0
- data/docs/VaultAddress.md +20 -0
- data/docs/VaultAddressOutput.md +20 -0
- data/lib/akeyless/api/v2_api.rb +775 -7
- data/lib/akeyless/models/account_general_settings.rb +10 -1
- data/lib/akeyless/models/active_directory_payload.rb +30 -1
- data/lib/akeyless/models/auth.rb +13 -1
- data/lib/akeyless/models/auth_method_create_cert.rb +11 -1
- data/lib/akeyless/models/auth_method_update_cert.rb +11 -1
- data/lib/akeyless/models/azure_ad_access_rules.rb +11 -1
- data/lib/akeyless/models/azure_target_details.rb +10 -1
- data/lib/akeyless/models/cert_access_rules.rb +11 -1
- data/lib/akeyless/models/certificate_chain_info.rb +11 -1
- data/lib/akeyless/models/configure.rb +13 -1
- data/lib/akeyless/models/conjur_migration.rb +223 -0
- data/lib/akeyless/models/conjur_payload.rb +241 -0
- data/lib/akeyless/models/create_auth_method_cert.rb +11 -1
- data/lib/akeyless/models/create_azure_target.rb +13 -1
- data/lib/akeyless/models/create_usc.rb +54 -1
- data/lib/akeyless/models/default_auth_method_settings.rb +223 -0
- data/lib/akeyless/models/ds_producer_details.rb +10 -1
- data/lib/akeyless/models/gateway_create_migration.rb +97 -5
- data/lib/akeyless/models/gateway_update_migration.rb +96 -4
- data/lib/akeyless/models/gcp_payload.rb +22 -4
- data/lib/akeyless/models/get_pki_certificate_output.rb +10 -1
- data/lib/akeyless/models/github_metadata.rb +259 -0
- data/lib/akeyless/models/http_challenge_info.rb +251 -0
- data/lib/akeyless/models/issuer_overview_info.rb +232 -0
- data/lib/akeyless/models/item_general_info.rb +10 -1
- data/lib/akeyless/models/lets_encrypt_target_details.rb +315 -0
- data/lib/akeyless/models/migration_status_reply_obj.rb +10 -1
- data/lib/akeyless/models/migrations_config_part.rb +12 -1
- 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_azure.rb +13 -1
- 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_azure.rb +13 -1
- data/lib/akeyless/models/target_update_lets_encrypt.rb +388 -0
- data/lib/akeyless/models/update_auth_method_cert.rb +11 -1
- data/lib/akeyless/models/update_azure_target.rb +13 -1
- data/lib/akeyless/models/validate_certificate_challenge.rb +279 -0
- data/lib/akeyless/models/validate_certificate_challenge_output.rb +242 -0
- data/lib/akeyless/models/vault_address.rb +227 -0
- data/lib/akeyless/models/vault_address_output.rb +223 -0
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +27 -0
- data/spec/models/conjur_migration_spec.rb +42 -0
- data/spec/models/conjur_payload_spec.rb +54 -0
- data/spec/models/default_auth_method_settings_spec.rb +42 -0
- data/spec/models/github_metadata_spec.rb +66 -0
- data/spec/models/http_challenge_info_spec.rb +60 -0
- data/spec/models/issuer_overview_info_spec.rb +48 -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
- data/spec/models/validate_certificate_challenge_output_spec.rb +54 -0
- data/spec/models/validate_certificate_challenge_spec.rb +72 -0
- data/spec/models/vault_address_output_spec.rb +42 -0
- data/spec/models/vault_address_spec.rb +42 -0
- metadata +109 -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 | |
|
|
@@ -588,7 +598,9 @@ All URIs are relative to *https://api.akeyless.io*
|
|
|
588
598
|
| [**usc_get**](V2Api.md#usc_get) | **POST** /usc-get | |
|
|
589
599
|
| [**usc_list**](V2Api.md#usc_list) | **POST** /usc-list | |
|
|
590
600
|
| [**usc_update**](V2Api.md#usc_update) | **POST** /usc-update | |
|
|
601
|
+
| [**validate_certificate_challenge**](V2Api.md#validate_certificate_challenge) | **POST** /validate-certificate-challenge | |
|
|
591
602
|
| [**validate_token**](V2Api.md#validate_token) | **POST** /validate-token | |
|
|
603
|
+
| [**vault_address**](V2Api.md#vault_address) | **POST** /vault-address | |
|
|
592
604
|
| [**verify_data_with_classic_key**](V2Api.md#verify_data_with_classic_key) | **POST** /verify-data-with-classic-key | |
|
|
593
605
|
| [**verify_ec_dsa**](V2Api.md#verify_ec_dsa) | **POST** /verify-ecdsa | |
|
|
594
606
|
| [**verify_gpg**](V2Api.md#verify_gpg) | **POST** /verify-gpg | |
|
|
@@ -24433,6 +24445,316 @@ No authorization required
|
|
|
24433
24445
|
- **Accept**: application/json
|
|
24434
24446
|
|
|
24435
24447
|
|
|
24448
|
+
## policies_delete
|
|
24449
|
+
|
|
24450
|
+
> Object policies_delete(policies_delete)
|
|
24451
|
+
|
|
24452
|
+
|
|
24453
|
+
|
|
24454
|
+
### Examples
|
|
24455
|
+
|
|
24456
|
+
```ruby
|
|
24457
|
+
require 'time'
|
|
24458
|
+
require 'akeyless'
|
|
24459
|
+
|
|
24460
|
+
api_instance = Akeyless::V2Api.new
|
|
24461
|
+
policies_delete = Akeyless::PoliciesDelete.new({id: 'id_example'}) # PoliciesDelete |
|
|
24462
|
+
|
|
24463
|
+
begin
|
|
24464
|
+
|
|
24465
|
+
result = api_instance.policies_delete(policies_delete)
|
|
24466
|
+
p result
|
|
24467
|
+
rescue Akeyless::ApiError => e
|
|
24468
|
+
puts "Error when calling V2Api->policies_delete: #{e}"
|
|
24469
|
+
end
|
|
24470
|
+
```
|
|
24471
|
+
|
|
24472
|
+
#### Using the policies_delete_with_http_info variant
|
|
24473
|
+
|
|
24474
|
+
This returns an Array which contains the response data, status code and headers.
|
|
24475
|
+
|
|
24476
|
+
> <Array(Object, Integer, Hash)> policies_delete_with_http_info(policies_delete)
|
|
24477
|
+
|
|
24478
|
+
```ruby
|
|
24479
|
+
begin
|
|
24480
|
+
|
|
24481
|
+
data, status_code, headers = api_instance.policies_delete_with_http_info(policies_delete)
|
|
24482
|
+
p status_code # => 2xx
|
|
24483
|
+
p headers # => { ... }
|
|
24484
|
+
p data # => Object
|
|
24485
|
+
rescue Akeyless::ApiError => e
|
|
24486
|
+
puts "Error when calling V2Api->policies_delete_with_http_info: #{e}"
|
|
24487
|
+
end
|
|
24488
|
+
```
|
|
24489
|
+
|
|
24490
|
+
### Parameters
|
|
24491
|
+
|
|
24492
|
+
| Name | Type | Description | Notes |
|
|
24493
|
+
| ---- | ---- | ----------- | ----- |
|
|
24494
|
+
| **policies_delete** | [**PoliciesDelete**](PoliciesDelete.md) | | |
|
|
24495
|
+
|
|
24496
|
+
### Return type
|
|
24497
|
+
|
|
24498
|
+
**Object**
|
|
24499
|
+
|
|
24500
|
+
### Authorization
|
|
24501
|
+
|
|
24502
|
+
No authorization required
|
|
24503
|
+
|
|
24504
|
+
### HTTP request headers
|
|
24505
|
+
|
|
24506
|
+
- **Content-Type**: application/json
|
|
24507
|
+
- **Accept**: application/json
|
|
24508
|
+
|
|
24509
|
+
|
|
24510
|
+
## policies_get
|
|
24511
|
+
|
|
24512
|
+
> <PoliciesGetOutput> policies_get(policies_get)
|
|
24513
|
+
|
|
24514
|
+
|
|
24515
|
+
|
|
24516
|
+
### Examples
|
|
24517
|
+
|
|
24518
|
+
```ruby
|
|
24519
|
+
require 'time'
|
|
24520
|
+
require 'akeyless'
|
|
24521
|
+
|
|
24522
|
+
api_instance = Akeyless::V2Api.new
|
|
24523
|
+
policies_get = Akeyless::PoliciesGet.new({id: 'id_example'}) # PoliciesGet |
|
|
24524
|
+
|
|
24525
|
+
begin
|
|
24526
|
+
|
|
24527
|
+
result = api_instance.policies_get(policies_get)
|
|
24528
|
+
p result
|
|
24529
|
+
rescue Akeyless::ApiError => e
|
|
24530
|
+
puts "Error when calling V2Api->policies_get: #{e}"
|
|
24531
|
+
end
|
|
24532
|
+
```
|
|
24533
|
+
|
|
24534
|
+
#### Using the policies_get_with_http_info variant
|
|
24535
|
+
|
|
24536
|
+
This returns an Array which contains the response data, status code and headers.
|
|
24537
|
+
|
|
24538
|
+
> <Array(<PoliciesGetOutput>, Integer, Hash)> policies_get_with_http_info(policies_get)
|
|
24539
|
+
|
|
24540
|
+
```ruby
|
|
24541
|
+
begin
|
|
24542
|
+
|
|
24543
|
+
data, status_code, headers = api_instance.policies_get_with_http_info(policies_get)
|
|
24544
|
+
p status_code # => 2xx
|
|
24545
|
+
p headers # => { ... }
|
|
24546
|
+
p data # => <PoliciesGetOutput>
|
|
24547
|
+
rescue Akeyless::ApiError => e
|
|
24548
|
+
puts "Error when calling V2Api->policies_get_with_http_info: #{e}"
|
|
24549
|
+
end
|
|
24550
|
+
```
|
|
24551
|
+
|
|
24552
|
+
### Parameters
|
|
24553
|
+
|
|
24554
|
+
| Name | Type | Description | Notes |
|
|
24555
|
+
| ---- | ---- | ----------- | ----- |
|
|
24556
|
+
| **policies_get** | [**PoliciesGet**](PoliciesGet.md) | | |
|
|
24557
|
+
|
|
24558
|
+
### Return type
|
|
24559
|
+
|
|
24560
|
+
[**PoliciesGetOutput**](PoliciesGetOutput.md)
|
|
24561
|
+
|
|
24562
|
+
### Authorization
|
|
24563
|
+
|
|
24564
|
+
No authorization required
|
|
24565
|
+
|
|
24566
|
+
### HTTP request headers
|
|
24567
|
+
|
|
24568
|
+
- **Content-Type**: application/json
|
|
24569
|
+
- **Accept**: application/json
|
|
24570
|
+
|
|
24571
|
+
|
|
24572
|
+
## policies_list
|
|
24573
|
+
|
|
24574
|
+
> <PoliciesListOutput> policies_list(policies_list)
|
|
24575
|
+
|
|
24576
|
+
|
|
24577
|
+
|
|
24578
|
+
### Examples
|
|
24579
|
+
|
|
24580
|
+
```ruby
|
|
24581
|
+
require 'time'
|
|
24582
|
+
require 'akeyless'
|
|
24583
|
+
|
|
24584
|
+
api_instance = Akeyless::V2Api.new
|
|
24585
|
+
policies_list = Akeyless::PoliciesList.new # PoliciesList |
|
|
24586
|
+
|
|
24587
|
+
begin
|
|
24588
|
+
|
|
24589
|
+
result = api_instance.policies_list(policies_list)
|
|
24590
|
+
p result
|
|
24591
|
+
rescue Akeyless::ApiError => e
|
|
24592
|
+
puts "Error when calling V2Api->policies_list: #{e}"
|
|
24593
|
+
end
|
|
24594
|
+
```
|
|
24595
|
+
|
|
24596
|
+
#### Using the policies_list_with_http_info variant
|
|
24597
|
+
|
|
24598
|
+
This returns an Array which contains the response data, status code and headers.
|
|
24599
|
+
|
|
24600
|
+
> <Array(<PoliciesListOutput>, Integer, Hash)> policies_list_with_http_info(policies_list)
|
|
24601
|
+
|
|
24602
|
+
```ruby
|
|
24603
|
+
begin
|
|
24604
|
+
|
|
24605
|
+
data, status_code, headers = api_instance.policies_list_with_http_info(policies_list)
|
|
24606
|
+
p status_code # => 2xx
|
|
24607
|
+
p headers # => { ... }
|
|
24608
|
+
p data # => <PoliciesListOutput>
|
|
24609
|
+
rescue Akeyless::ApiError => e
|
|
24610
|
+
puts "Error when calling V2Api->policies_list_with_http_info: #{e}"
|
|
24611
|
+
end
|
|
24612
|
+
```
|
|
24613
|
+
|
|
24614
|
+
### Parameters
|
|
24615
|
+
|
|
24616
|
+
| Name | Type | Description | Notes |
|
|
24617
|
+
| ---- | ---- | ----------- | ----- |
|
|
24618
|
+
| **policies_list** | [**PoliciesList**](PoliciesList.md) | | |
|
|
24619
|
+
|
|
24620
|
+
### Return type
|
|
24621
|
+
|
|
24622
|
+
[**PoliciesListOutput**](PoliciesListOutput.md)
|
|
24623
|
+
|
|
24624
|
+
### Authorization
|
|
24625
|
+
|
|
24626
|
+
No authorization required
|
|
24627
|
+
|
|
24628
|
+
### HTTP request headers
|
|
24629
|
+
|
|
24630
|
+
- **Content-Type**: application/json
|
|
24631
|
+
- **Accept**: application/json
|
|
24632
|
+
|
|
24633
|
+
|
|
24634
|
+
## policy_create_keys
|
|
24635
|
+
|
|
24636
|
+
> <PoliciesCreateOutput> policy_create_keys(policy_create_keys)
|
|
24637
|
+
|
|
24638
|
+
|
|
24639
|
+
|
|
24640
|
+
### Examples
|
|
24641
|
+
|
|
24642
|
+
```ruby
|
|
24643
|
+
require 'time'
|
|
24644
|
+
require 'akeyless'
|
|
24645
|
+
|
|
24646
|
+
api_instance = Akeyless::V2Api.new
|
|
24647
|
+
policy_create_keys = Akeyless::PolicyCreateKeys.new({path: 'path_example'}) # PolicyCreateKeys |
|
|
24648
|
+
|
|
24649
|
+
begin
|
|
24650
|
+
|
|
24651
|
+
result = api_instance.policy_create_keys(policy_create_keys)
|
|
24652
|
+
p result
|
|
24653
|
+
rescue Akeyless::ApiError => e
|
|
24654
|
+
puts "Error when calling V2Api->policy_create_keys: #{e}"
|
|
24655
|
+
end
|
|
24656
|
+
```
|
|
24657
|
+
|
|
24658
|
+
#### Using the policy_create_keys_with_http_info variant
|
|
24659
|
+
|
|
24660
|
+
This returns an Array which contains the response data, status code and headers.
|
|
24661
|
+
|
|
24662
|
+
> <Array(<PoliciesCreateOutput>, Integer, Hash)> policy_create_keys_with_http_info(policy_create_keys)
|
|
24663
|
+
|
|
24664
|
+
```ruby
|
|
24665
|
+
begin
|
|
24666
|
+
|
|
24667
|
+
data, status_code, headers = api_instance.policy_create_keys_with_http_info(policy_create_keys)
|
|
24668
|
+
p status_code # => 2xx
|
|
24669
|
+
p headers # => { ... }
|
|
24670
|
+
p data # => <PoliciesCreateOutput>
|
|
24671
|
+
rescue Akeyless::ApiError => e
|
|
24672
|
+
puts "Error when calling V2Api->policy_create_keys_with_http_info: #{e}"
|
|
24673
|
+
end
|
|
24674
|
+
```
|
|
24675
|
+
|
|
24676
|
+
### Parameters
|
|
24677
|
+
|
|
24678
|
+
| Name | Type | Description | Notes |
|
|
24679
|
+
| ---- | ---- | ----------- | ----- |
|
|
24680
|
+
| **policy_create_keys** | [**PolicyCreateKeys**](PolicyCreateKeys.md) | | |
|
|
24681
|
+
|
|
24682
|
+
### Return type
|
|
24683
|
+
|
|
24684
|
+
[**PoliciesCreateOutput**](PoliciesCreateOutput.md)
|
|
24685
|
+
|
|
24686
|
+
### Authorization
|
|
24687
|
+
|
|
24688
|
+
No authorization required
|
|
24689
|
+
|
|
24690
|
+
### HTTP request headers
|
|
24691
|
+
|
|
24692
|
+
- **Content-Type**: application/json
|
|
24693
|
+
- **Accept**: application/json
|
|
24694
|
+
|
|
24695
|
+
|
|
24696
|
+
## policy_update_keys
|
|
24697
|
+
|
|
24698
|
+
> Object policy_update_keys(policy_update_keys)
|
|
24699
|
+
|
|
24700
|
+
|
|
24701
|
+
|
|
24702
|
+
### Examples
|
|
24703
|
+
|
|
24704
|
+
```ruby
|
|
24705
|
+
require 'time'
|
|
24706
|
+
require 'akeyless'
|
|
24707
|
+
|
|
24708
|
+
api_instance = Akeyless::V2Api.new
|
|
24709
|
+
policy_update_keys = Akeyless::PolicyUpdateKeys.new({id: 'id_example'}) # PolicyUpdateKeys |
|
|
24710
|
+
|
|
24711
|
+
begin
|
|
24712
|
+
|
|
24713
|
+
result = api_instance.policy_update_keys(policy_update_keys)
|
|
24714
|
+
p result
|
|
24715
|
+
rescue Akeyless::ApiError => e
|
|
24716
|
+
puts "Error when calling V2Api->policy_update_keys: #{e}"
|
|
24717
|
+
end
|
|
24718
|
+
```
|
|
24719
|
+
|
|
24720
|
+
#### Using the policy_update_keys_with_http_info variant
|
|
24721
|
+
|
|
24722
|
+
This returns an Array which contains the response data, status code and headers.
|
|
24723
|
+
|
|
24724
|
+
> <Array(Object, Integer, Hash)> policy_update_keys_with_http_info(policy_update_keys)
|
|
24725
|
+
|
|
24726
|
+
```ruby
|
|
24727
|
+
begin
|
|
24728
|
+
|
|
24729
|
+
data, status_code, headers = api_instance.policy_update_keys_with_http_info(policy_update_keys)
|
|
24730
|
+
p status_code # => 2xx
|
|
24731
|
+
p headers # => { ... }
|
|
24732
|
+
p data # => Object
|
|
24733
|
+
rescue Akeyless::ApiError => e
|
|
24734
|
+
puts "Error when calling V2Api->policy_update_keys_with_http_info: #{e}"
|
|
24735
|
+
end
|
|
24736
|
+
```
|
|
24737
|
+
|
|
24738
|
+
### Parameters
|
|
24739
|
+
|
|
24740
|
+
| Name | Type | Description | Notes |
|
|
24741
|
+
| ---- | ---- | ----------- | ----- |
|
|
24742
|
+
| **policy_update_keys** | [**PolicyUpdateKeys**](PolicyUpdateKeys.md) | | |
|
|
24743
|
+
|
|
24744
|
+
### Return type
|
|
24745
|
+
|
|
24746
|
+
**Object**
|
|
24747
|
+
|
|
24748
|
+
### Authorization
|
|
24749
|
+
|
|
24750
|
+
No authorization required
|
|
24751
|
+
|
|
24752
|
+
### HTTP request headers
|
|
24753
|
+
|
|
24754
|
+
- **Content-Type**: application/json
|
|
24755
|
+
- **Accept**: application/json
|
|
24756
|
+
|
|
24757
|
+
|
|
24436
24758
|
## provision_certificate
|
|
24437
24759
|
|
|
24438
24760
|
> <ProvisionCertificateOutput> provision_certificate(provision_certificate)
|
|
@@ -26292,6 +26614,68 @@ No authorization required
|
|
|
26292
26614
|
- **Accept**: application/json
|
|
26293
26615
|
|
|
26294
26616
|
|
|
26617
|
+
## rotated_secret_create_splunk
|
|
26618
|
+
|
|
26619
|
+
> <RotatedSecretCreateOutput> rotated_secret_create_splunk(rotated_secret_create_splunk)
|
|
26620
|
+
|
|
26621
|
+
|
|
26622
|
+
|
|
26623
|
+
### Examples
|
|
26624
|
+
|
|
26625
|
+
```ruby
|
|
26626
|
+
require 'time'
|
|
26627
|
+
require 'akeyless'
|
|
26628
|
+
|
|
26629
|
+
api_instance = Akeyless::V2Api.new
|
|
26630
|
+
rotated_secret_create_splunk = Akeyless::RotatedSecretCreateSplunk.new({name: 'name_example', rotator_type: 'rotator_type_example', target_name: 'target_name_example'}) # RotatedSecretCreateSplunk |
|
|
26631
|
+
|
|
26632
|
+
begin
|
|
26633
|
+
|
|
26634
|
+
result = api_instance.rotated_secret_create_splunk(rotated_secret_create_splunk)
|
|
26635
|
+
p result
|
|
26636
|
+
rescue Akeyless::ApiError => e
|
|
26637
|
+
puts "Error when calling V2Api->rotated_secret_create_splunk: #{e}"
|
|
26638
|
+
end
|
|
26639
|
+
```
|
|
26640
|
+
|
|
26641
|
+
#### Using the rotated_secret_create_splunk_with_http_info variant
|
|
26642
|
+
|
|
26643
|
+
This returns an Array which contains the response data, status code and headers.
|
|
26644
|
+
|
|
26645
|
+
> <Array(<RotatedSecretCreateOutput>, Integer, Hash)> rotated_secret_create_splunk_with_http_info(rotated_secret_create_splunk)
|
|
26646
|
+
|
|
26647
|
+
```ruby
|
|
26648
|
+
begin
|
|
26649
|
+
|
|
26650
|
+
data, status_code, headers = api_instance.rotated_secret_create_splunk_with_http_info(rotated_secret_create_splunk)
|
|
26651
|
+
p status_code # => 2xx
|
|
26652
|
+
p headers # => { ... }
|
|
26653
|
+
p data # => <RotatedSecretCreateOutput>
|
|
26654
|
+
rescue Akeyless::ApiError => e
|
|
26655
|
+
puts "Error when calling V2Api->rotated_secret_create_splunk_with_http_info: #{e}"
|
|
26656
|
+
end
|
|
26657
|
+
```
|
|
26658
|
+
|
|
26659
|
+
### Parameters
|
|
26660
|
+
|
|
26661
|
+
| Name | Type | Description | Notes |
|
|
26662
|
+
| ---- | ---- | ----------- | ----- |
|
|
26663
|
+
| **rotated_secret_create_splunk** | [**RotatedSecretCreateSplunk**](RotatedSecretCreateSplunk.md) | | |
|
|
26664
|
+
|
|
26665
|
+
### Return type
|
|
26666
|
+
|
|
26667
|
+
[**RotatedSecretCreateOutput**](RotatedSecretCreateOutput.md)
|
|
26668
|
+
|
|
26669
|
+
### Authorization
|
|
26670
|
+
|
|
26671
|
+
No authorization required
|
|
26672
|
+
|
|
26673
|
+
### HTTP request headers
|
|
26674
|
+
|
|
26675
|
+
- **Content-Type**: application/json
|
|
26676
|
+
- **Accept**: application/json
|
|
26677
|
+
|
|
26678
|
+
|
|
26295
26679
|
## rotated_secret_create_ssh
|
|
26296
26680
|
|
|
26297
26681
|
> <RotatedSecretCreateOutput> rotated_secret_create_ssh(rotated_secret_create_ssh)
|
|
@@ -27780,6 +28164,68 @@ No authorization required
|
|
|
27780
28164
|
- **Accept**: application/json
|
|
27781
28165
|
|
|
27782
28166
|
|
|
28167
|
+
## rotated_secret_update_splunk
|
|
28168
|
+
|
|
28169
|
+
> <RotatedSecretUpdateOutput> rotated_secret_update_splunk(rotated_secret_update_splunk)
|
|
28170
|
+
|
|
28171
|
+
|
|
28172
|
+
|
|
28173
|
+
### Examples
|
|
28174
|
+
|
|
28175
|
+
```ruby
|
|
28176
|
+
require 'time'
|
|
28177
|
+
require 'akeyless'
|
|
28178
|
+
|
|
28179
|
+
api_instance = Akeyless::V2Api.new
|
|
28180
|
+
rotated_secret_update_splunk = Akeyless::RotatedSecretUpdateSplunk.new({name: 'name_example'}) # RotatedSecretUpdateSplunk |
|
|
28181
|
+
|
|
28182
|
+
begin
|
|
28183
|
+
|
|
28184
|
+
result = api_instance.rotated_secret_update_splunk(rotated_secret_update_splunk)
|
|
28185
|
+
p result
|
|
28186
|
+
rescue Akeyless::ApiError => e
|
|
28187
|
+
puts "Error when calling V2Api->rotated_secret_update_splunk: #{e}"
|
|
28188
|
+
end
|
|
28189
|
+
```
|
|
28190
|
+
|
|
28191
|
+
#### Using the rotated_secret_update_splunk_with_http_info variant
|
|
28192
|
+
|
|
28193
|
+
This returns an Array which contains the response data, status code and headers.
|
|
28194
|
+
|
|
28195
|
+
> <Array(<RotatedSecretUpdateOutput>, Integer, Hash)> rotated_secret_update_splunk_with_http_info(rotated_secret_update_splunk)
|
|
28196
|
+
|
|
28197
|
+
```ruby
|
|
28198
|
+
begin
|
|
28199
|
+
|
|
28200
|
+
data, status_code, headers = api_instance.rotated_secret_update_splunk_with_http_info(rotated_secret_update_splunk)
|
|
28201
|
+
p status_code # => 2xx
|
|
28202
|
+
p headers # => { ... }
|
|
28203
|
+
p data # => <RotatedSecretUpdateOutput>
|
|
28204
|
+
rescue Akeyless::ApiError => e
|
|
28205
|
+
puts "Error when calling V2Api->rotated_secret_update_splunk_with_http_info: #{e}"
|
|
28206
|
+
end
|
|
28207
|
+
```
|
|
28208
|
+
|
|
28209
|
+
### Parameters
|
|
28210
|
+
|
|
28211
|
+
| Name | Type | Description | Notes |
|
|
28212
|
+
| ---- | ---- | ----------- | ----- |
|
|
28213
|
+
| **rotated_secret_update_splunk** | [**RotatedSecretUpdateSplunk**](RotatedSecretUpdateSplunk.md) | | |
|
|
28214
|
+
|
|
28215
|
+
### Return type
|
|
28216
|
+
|
|
28217
|
+
[**RotatedSecretUpdateOutput**](RotatedSecretUpdateOutput.md)
|
|
28218
|
+
|
|
28219
|
+
### Authorization
|
|
28220
|
+
|
|
28221
|
+
No authorization required
|
|
28222
|
+
|
|
28223
|
+
### HTTP request headers
|
|
28224
|
+
|
|
28225
|
+
- **Content-Type**: application/json
|
|
28226
|
+
- **Accept**: application/json
|
|
28227
|
+
|
|
28228
|
+
|
|
27783
28229
|
## rotated_secret_update_ssh
|
|
27784
28230
|
|
|
27785
28231
|
> <RotatedSecretUpdateOutput> rotated_secret_update_ssh(rotated_secret_update_ssh)
|
|
@@ -29764,6 +30210,68 @@ No authorization required
|
|
|
29764
30210
|
- **Accept**: application/json
|
|
29765
30211
|
|
|
29766
30212
|
|
|
30213
|
+
## target_create_lets_encrypt
|
|
30214
|
+
|
|
30215
|
+
> <TargetCreateOutput> target_create_lets_encrypt(target_create_lets_encrypt)
|
|
30216
|
+
|
|
30217
|
+
|
|
30218
|
+
|
|
30219
|
+
### Examples
|
|
30220
|
+
|
|
30221
|
+
```ruby
|
|
30222
|
+
require 'time'
|
|
30223
|
+
require 'akeyless'
|
|
30224
|
+
|
|
30225
|
+
api_instance = Akeyless::V2Api.new
|
|
30226
|
+
target_create_lets_encrypt = Akeyless::TargetCreateLetsEncrypt.new({name: 'name_example'}) # TargetCreateLetsEncrypt |
|
|
30227
|
+
|
|
30228
|
+
begin
|
|
30229
|
+
|
|
30230
|
+
result = api_instance.target_create_lets_encrypt(target_create_lets_encrypt)
|
|
30231
|
+
p result
|
|
30232
|
+
rescue Akeyless::ApiError => e
|
|
30233
|
+
puts "Error when calling V2Api->target_create_lets_encrypt: #{e}"
|
|
30234
|
+
end
|
|
30235
|
+
```
|
|
30236
|
+
|
|
30237
|
+
#### Using the target_create_lets_encrypt_with_http_info variant
|
|
30238
|
+
|
|
30239
|
+
This returns an Array which contains the response data, status code and headers.
|
|
30240
|
+
|
|
30241
|
+
> <Array(<TargetCreateOutput>, Integer, Hash)> target_create_lets_encrypt_with_http_info(target_create_lets_encrypt)
|
|
30242
|
+
|
|
30243
|
+
```ruby
|
|
30244
|
+
begin
|
|
30245
|
+
|
|
30246
|
+
data, status_code, headers = api_instance.target_create_lets_encrypt_with_http_info(target_create_lets_encrypt)
|
|
30247
|
+
p status_code # => 2xx
|
|
30248
|
+
p headers # => { ... }
|
|
30249
|
+
p data # => <TargetCreateOutput>
|
|
30250
|
+
rescue Akeyless::ApiError => e
|
|
30251
|
+
puts "Error when calling V2Api->target_create_lets_encrypt_with_http_info: #{e}"
|
|
30252
|
+
end
|
|
30253
|
+
```
|
|
30254
|
+
|
|
30255
|
+
### Parameters
|
|
30256
|
+
|
|
30257
|
+
| Name | Type | Description | Notes |
|
|
30258
|
+
| ---- | ---- | ----------- | ----- |
|
|
30259
|
+
| **target_create_lets_encrypt** | [**TargetCreateLetsEncrypt**](TargetCreateLetsEncrypt.md) | | |
|
|
30260
|
+
|
|
30261
|
+
### Return type
|
|
30262
|
+
|
|
30263
|
+
[**TargetCreateOutput**](TargetCreateOutput.md)
|
|
30264
|
+
|
|
30265
|
+
### Authorization
|
|
30266
|
+
|
|
30267
|
+
No authorization required
|
|
30268
|
+
|
|
30269
|
+
### HTTP request headers
|
|
30270
|
+
|
|
30271
|
+
- **Content-Type**: application/json
|
|
30272
|
+
- **Accept**: application/json
|
|
30273
|
+
|
|
30274
|
+
|
|
29767
30275
|
## target_create_linked
|
|
29768
30276
|
|
|
29769
30277
|
> <TargetCreateOutput> target_create_linked(target_create_linked)
|
|
@@ -30136,6 +30644,68 @@ No authorization required
|
|
|
30136
30644
|
- **Accept**: application/json
|
|
30137
30645
|
|
|
30138
30646
|
|
|
30647
|
+
## target_create_splunk
|
|
30648
|
+
|
|
30649
|
+
> <TargetCreateOutput> target_create_splunk(target_create_splunk)
|
|
30650
|
+
|
|
30651
|
+
|
|
30652
|
+
|
|
30653
|
+
### Examples
|
|
30654
|
+
|
|
30655
|
+
```ruby
|
|
30656
|
+
require 'time'
|
|
30657
|
+
require 'akeyless'
|
|
30658
|
+
|
|
30659
|
+
api_instance = Akeyless::V2Api.new
|
|
30660
|
+
target_create_splunk = Akeyless::TargetCreateSplunk.new({name: 'name_example', url: 'url_example'}) # TargetCreateSplunk |
|
|
30661
|
+
|
|
30662
|
+
begin
|
|
30663
|
+
|
|
30664
|
+
result = api_instance.target_create_splunk(target_create_splunk)
|
|
30665
|
+
p result
|
|
30666
|
+
rescue Akeyless::ApiError => e
|
|
30667
|
+
puts "Error when calling V2Api->target_create_splunk: #{e}"
|
|
30668
|
+
end
|
|
30669
|
+
```
|
|
30670
|
+
|
|
30671
|
+
#### Using the target_create_splunk_with_http_info variant
|
|
30672
|
+
|
|
30673
|
+
This returns an Array which contains the response data, status code and headers.
|
|
30674
|
+
|
|
30675
|
+
> <Array(<TargetCreateOutput>, Integer, Hash)> target_create_splunk_with_http_info(target_create_splunk)
|
|
30676
|
+
|
|
30677
|
+
```ruby
|
|
30678
|
+
begin
|
|
30679
|
+
|
|
30680
|
+
data, status_code, headers = api_instance.target_create_splunk_with_http_info(target_create_splunk)
|
|
30681
|
+
p status_code # => 2xx
|
|
30682
|
+
p headers # => { ... }
|
|
30683
|
+
p data # => <TargetCreateOutput>
|
|
30684
|
+
rescue Akeyless::ApiError => e
|
|
30685
|
+
puts "Error when calling V2Api->target_create_splunk_with_http_info: #{e}"
|
|
30686
|
+
end
|
|
30687
|
+
```
|
|
30688
|
+
|
|
30689
|
+
### Parameters
|
|
30690
|
+
|
|
30691
|
+
| Name | Type | Description | Notes |
|
|
30692
|
+
| ---- | ---- | ----------- | ----- |
|
|
30693
|
+
| **target_create_splunk** | [**TargetCreateSplunk**](TargetCreateSplunk.md) | | |
|
|
30694
|
+
|
|
30695
|
+
### Return type
|
|
30696
|
+
|
|
30697
|
+
[**TargetCreateOutput**](TargetCreateOutput.md)
|
|
30698
|
+
|
|
30699
|
+
### Authorization
|
|
30700
|
+
|
|
30701
|
+
No authorization required
|
|
30702
|
+
|
|
30703
|
+
### HTTP request headers
|
|
30704
|
+
|
|
30705
|
+
- **Content-Type**: application/json
|
|
30706
|
+
- **Accept**: application/json
|
|
30707
|
+
|
|
30708
|
+
|
|
30139
30709
|
## target_create_ssh
|
|
30140
30710
|
|
|
30141
30711
|
> <TargetCreateOutput> target_create_ssh(target_create_ssh)
|
|
@@ -31686,6 +32256,68 @@ No authorization required
|
|
|
31686
32256
|
- **Accept**: application/json
|
|
31687
32257
|
|
|
31688
32258
|
|
|
32259
|
+
## target_update_lets_encrypt
|
|
32260
|
+
|
|
32261
|
+
> <TargetUpdateOutput> target_update_lets_encrypt(target_update_lets_encrypt)
|
|
32262
|
+
|
|
32263
|
+
|
|
32264
|
+
|
|
32265
|
+
### Examples
|
|
32266
|
+
|
|
32267
|
+
```ruby
|
|
32268
|
+
require 'time'
|
|
32269
|
+
require 'akeyless'
|
|
32270
|
+
|
|
32271
|
+
api_instance = Akeyless::V2Api.new
|
|
32272
|
+
target_update_lets_encrypt = Akeyless::TargetUpdateLetsEncrypt.new({name: 'name_example'}) # TargetUpdateLetsEncrypt |
|
|
32273
|
+
|
|
32274
|
+
begin
|
|
32275
|
+
|
|
32276
|
+
result = api_instance.target_update_lets_encrypt(target_update_lets_encrypt)
|
|
32277
|
+
p result
|
|
32278
|
+
rescue Akeyless::ApiError => e
|
|
32279
|
+
puts "Error when calling V2Api->target_update_lets_encrypt: #{e}"
|
|
32280
|
+
end
|
|
32281
|
+
```
|
|
32282
|
+
|
|
32283
|
+
#### Using the target_update_lets_encrypt_with_http_info variant
|
|
32284
|
+
|
|
32285
|
+
This returns an Array which contains the response data, status code and headers.
|
|
32286
|
+
|
|
32287
|
+
> <Array(<TargetUpdateOutput>, Integer, Hash)> target_update_lets_encrypt_with_http_info(target_update_lets_encrypt)
|
|
32288
|
+
|
|
32289
|
+
```ruby
|
|
32290
|
+
begin
|
|
32291
|
+
|
|
32292
|
+
data, status_code, headers = api_instance.target_update_lets_encrypt_with_http_info(target_update_lets_encrypt)
|
|
32293
|
+
p status_code # => 2xx
|
|
32294
|
+
p headers # => { ... }
|
|
32295
|
+
p data # => <TargetUpdateOutput>
|
|
32296
|
+
rescue Akeyless::ApiError => e
|
|
32297
|
+
puts "Error when calling V2Api->target_update_lets_encrypt_with_http_info: #{e}"
|
|
32298
|
+
end
|
|
32299
|
+
```
|
|
32300
|
+
|
|
32301
|
+
### Parameters
|
|
32302
|
+
|
|
32303
|
+
| Name | Type | Description | Notes |
|
|
32304
|
+
| ---- | ---- | ----------- | ----- |
|
|
32305
|
+
| **target_update_lets_encrypt** | [**TargetUpdateLetsEncrypt**](TargetUpdateLetsEncrypt.md) | | |
|
|
32306
|
+
|
|
32307
|
+
### Return type
|
|
32308
|
+
|
|
32309
|
+
[**TargetUpdateOutput**](TargetUpdateOutput.md)
|
|
32310
|
+
|
|
32311
|
+
### Authorization
|
|
32312
|
+
|
|
32313
|
+
No authorization required
|
|
32314
|
+
|
|
32315
|
+
### HTTP request headers
|
|
32316
|
+
|
|
32317
|
+
- **Content-Type**: application/json
|
|
32318
|
+
- **Accept**: application/json
|
|
32319
|
+
|
|
32320
|
+
|
|
31689
32321
|
## target_update_linked
|
|
31690
32322
|
|
|
31691
32323
|
> <TargetUpdateOutput> target_update_linked(target_update_linked)
|
|
@@ -36832,6 +37464,68 @@ No authorization required
|
|
|
36832
37464
|
- **Accept**: application/json
|
|
36833
37465
|
|
|
36834
37466
|
|
|
37467
|
+
## validate_certificate_challenge
|
|
37468
|
+
|
|
37469
|
+
> <ValidateCertificateChallengeOutput> validate_certificate_challenge(validate_certificate_challenge)
|
|
37470
|
+
|
|
37471
|
+
|
|
37472
|
+
|
|
37473
|
+
### Examples
|
|
37474
|
+
|
|
37475
|
+
```ruby
|
|
37476
|
+
require 'time'
|
|
37477
|
+
require 'akeyless'
|
|
37478
|
+
|
|
37479
|
+
api_instance = Akeyless::V2Api.new
|
|
37480
|
+
validate_certificate_challenge = Akeyless::ValidateCertificateChallenge.new # ValidateCertificateChallenge |
|
|
37481
|
+
|
|
37482
|
+
begin
|
|
37483
|
+
|
|
37484
|
+
result = api_instance.validate_certificate_challenge(validate_certificate_challenge)
|
|
37485
|
+
p result
|
|
37486
|
+
rescue Akeyless::ApiError => e
|
|
37487
|
+
puts "Error when calling V2Api->validate_certificate_challenge: #{e}"
|
|
37488
|
+
end
|
|
37489
|
+
```
|
|
37490
|
+
|
|
37491
|
+
#### Using the validate_certificate_challenge_with_http_info variant
|
|
37492
|
+
|
|
37493
|
+
This returns an Array which contains the response data, status code and headers.
|
|
37494
|
+
|
|
37495
|
+
> <Array(<ValidateCertificateChallengeOutput>, Integer, Hash)> validate_certificate_challenge_with_http_info(validate_certificate_challenge)
|
|
37496
|
+
|
|
37497
|
+
```ruby
|
|
37498
|
+
begin
|
|
37499
|
+
|
|
37500
|
+
data, status_code, headers = api_instance.validate_certificate_challenge_with_http_info(validate_certificate_challenge)
|
|
37501
|
+
p status_code # => 2xx
|
|
37502
|
+
p headers # => { ... }
|
|
37503
|
+
p data # => <ValidateCertificateChallengeOutput>
|
|
37504
|
+
rescue Akeyless::ApiError => e
|
|
37505
|
+
puts "Error when calling V2Api->validate_certificate_challenge_with_http_info: #{e}"
|
|
37506
|
+
end
|
|
37507
|
+
```
|
|
37508
|
+
|
|
37509
|
+
### Parameters
|
|
37510
|
+
|
|
37511
|
+
| Name | Type | Description | Notes |
|
|
37512
|
+
| ---- | ---- | ----------- | ----- |
|
|
37513
|
+
| **validate_certificate_challenge** | [**ValidateCertificateChallenge**](ValidateCertificateChallenge.md) | | |
|
|
37514
|
+
|
|
37515
|
+
### Return type
|
|
37516
|
+
|
|
37517
|
+
[**ValidateCertificateChallengeOutput**](ValidateCertificateChallengeOutput.md)
|
|
37518
|
+
|
|
37519
|
+
### Authorization
|
|
37520
|
+
|
|
37521
|
+
No authorization required
|
|
37522
|
+
|
|
37523
|
+
### HTTP request headers
|
|
37524
|
+
|
|
37525
|
+
- **Content-Type**: application/json
|
|
37526
|
+
- **Accept**: application/json
|
|
37527
|
+
|
|
37528
|
+
|
|
36835
37529
|
## validate_token
|
|
36836
37530
|
|
|
36837
37531
|
> <ValidateTokenOutput> validate_token(validate_token)
|
|
@@ -36894,6 +37588,68 @@ No authorization required
|
|
|
36894
37588
|
- **Accept**: application/json
|
|
36895
37589
|
|
|
36896
37590
|
|
|
37591
|
+
## vault_address
|
|
37592
|
+
|
|
37593
|
+
> <VaultAddressOutput> vault_address(vault_address)
|
|
37594
|
+
|
|
37595
|
+
|
|
37596
|
+
|
|
37597
|
+
### Examples
|
|
37598
|
+
|
|
37599
|
+
```ruby
|
|
37600
|
+
require 'time'
|
|
37601
|
+
require 'akeyless'
|
|
37602
|
+
|
|
37603
|
+
api_instance = Akeyless::V2Api.new
|
|
37604
|
+
vault_address = Akeyless::VaultAddress.new # VaultAddress |
|
|
37605
|
+
|
|
37606
|
+
begin
|
|
37607
|
+
|
|
37608
|
+
result = api_instance.vault_address(vault_address)
|
|
37609
|
+
p result
|
|
37610
|
+
rescue Akeyless::ApiError => e
|
|
37611
|
+
puts "Error when calling V2Api->vault_address: #{e}"
|
|
37612
|
+
end
|
|
37613
|
+
```
|
|
37614
|
+
|
|
37615
|
+
#### Using the vault_address_with_http_info variant
|
|
37616
|
+
|
|
37617
|
+
This returns an Array which contains the response data, status code and headers.
|
|
37618
|
+
|
|
37619
|
+
> <Array(<VaultAddressOutput>, Integer, Hash)> vault_address_with_http_info(vault_address)
|
|
37620
|
+
|
|
37621
|
+
```ruby
|
|
37622
|
+
begin
|
|
37623
|
+
|
|
37624
|
+
data, status_code, headers = api_instance.vault_address_with_http_info(vault_address)
|
|
37625
|
+
p status_code # => 2xx
|
|
37626
|
+
p headers # => { ... }
|
|
37627
|
+
p data # => <VaultAddressOutput>
|
|
37628
|
+
rescue Akeyless::ApiError => e
|
|
37629
|
+
puts "Error when calling V2Api->vault_address_with_http_info: #{e}"
|
|
37630
|
+
end
|
|
37631
|
+
```
|
|
37632
|
+
|
|
37633
|
+
### Parameters
|
|
37634
|
+
|
|
37635
|
+
| Name | Type | Description | Notes |
|
|
37636
|
+
| ---- | ---- | ----------- | ----- |
|
|
37637
|
+
| **vault_address** | [**VaultAddress**](VaultAddress.md) | | |
|
|
37638
|
+
|
|
37639
|
+
### Return type
|
|
37640
|
+
|
|
37641
|
+
[**VaultAddressOutput**](VaultAddressOutput.md)
|
|
37642
|
+
|
|
37643
|
+
### Authorization
|
|
37644
|
+
|
|
37645
|
+
No authorization required
|
|
37646
|
+
|
|
37647
|
+
### HTTP request headers
|
|
37648
|
+
|
|
37649
|
+
- **Content-Type**: application/json
|
|
37650
|
+
- **Accept**: application/json
|
|
37651
|
+
|
|
37652
|
+
|
|
36897
37653
|
## verify_data_with_classic_key
|
|
36898
37654
|
|
|
36899
37655
|
> <VerifyPKICertOutput> verify_data_with_classic_key(verify_data_with_classic_key)
|