akeyless 5.0.21 → 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.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +13 -1
  3. data/docs/AccountGeneralSettings.md +2 -0
  4. data/docs/ActiveDirectoryPayload.md +6 -0
  5. data/docs/Auth.md +2 -0
  6. data/docs/AuthMethodCreateCert.md +2 -0
  7. data/docs/AuthMethodUpdateCert.md +2 -0
  8. data/docs/AzureADAccessRules.md +2 -0
  9. data/docs/AzureTargetDetails.md +2 -0
  10. data/docs/CertAccessRules.md +2 -0
  11. data/docs/CertificateChainInfo.md +2 -0
  12. data/docs/Configure.md +2 -0
  13. data/docs/ConjurMigration.md +20 -0
  14. data/docs/ConjurPayload.md +24 -0
  15. data/docs/CreateAuthMethodCert.md +2 -0
  16. data/docs/CreateAzureTarget.md +2 -0
  17. data/docs/CreateUSC.md +10 -0
  18. data/docs/DSProducerDetails.md +2 -0
  19. data/docs/DefaultAuthMethodSettings.md +20 -0
  20. data/docs/GatewayCreateMigration.md +15 -1
  21. data/docs/GatewayUpdateMigration.md +14 -0
  22. data/docs/GetPKICertificateOutput.md +2 -0
  23. data/docs/GithubMetadata.md +28 -0
  24. data/docs/HTTPChallengeInfo.md +26 -0
  25. data/docs/IssuerOverviewInfo.md +22 -0
  26. data/docs/ItemGeneralInfo.md +2 -0
  27. data/docs/MigrationStatusReplyObj.md +2 -0
  28. data/docs/MigrationsConfigPart.md +2 -0
  29. data/docs/SecretInfo.md +2 -0
  30. data/docs/TargetCreateAzure.md +2 -0
  31. data/docs/TargetUpdateAzure.md +2 -0
  32. data/docs/UpdateAuthMethodCert.md +2 -0
  33. data/docs/UpdateAzureTarget.md +2 -0
  34. data/docs/V2Api.md +126 -0
  35. data/docs/ValidateCertificateChallenge.md +30 -0
  36. data/docs/ValidateCertificateChallengeOutput.md +24 -0
  37. data/docs/VaultAddress.md +20 -0
  38. data/docs/VaultAddressOutput.md +20 -0
  39. data/lib/akeyless/api/v2_api.rb +128 -0
  40. data/lib/akeyless/models/account_general_settings.rb +10 -1
  41. data/lib/akeyless/models/active_directory_payload.rb +30 -1
  42. data/lib/akeyless/models/auth.rb +13 -1
  43. data/lib/akeyless/models/auth_method_create_cert.rb +11 -1
  44. data/lib/akeyless/models/auth_method_update_cert.rb +11 -1
  45. data/lib/akeyless/models/azure_ad_access_rules.rb +11 -1
  46. data/lib/akeyless/models/azure_target_details.rb +10 -1
  47. data/lib/akeyless/models/cert_access_rules.rb +11 -1
  48. data/lib/akeyless/models/certificate_chain_info.rb +11 -1
  49. data/lib/akeyless/models/configure.rb +13 -1
  50. data/lib/akeyless/models/conjur_migration.rb +223 -0
  51. data/lib/akeyless/models/conjur_payload.rb +241 -0
  52. data/lib/akeyless/models/create_auth_method_cert.rb +11 -1
  53. data/lib/akeyless/models/create_azure_target.rb +13 -1
  54. data/lib/akeyless/models/create_usc.rb +54 -1
  55. data/lib/akeyless/models/default_auth_method_settings.rb +223 -0
  56. data/lib/akeyless/models/ds_producer_details.rb +10 -1
  57. data/lib/akeyless/models/gateway_create_migration.rb +74 -2
  58. data/lib/akeyless/models/gateway_update_migration.rb +73 -1
  59. data/lib/akeyless/models/get_pki_certificate_output.rb +10 -1
  60. data/lib/akeyless/models/github_metadata.rb +259 -0
  61. data/lib/akeyless/models/http_challenge_info.rb +251 -0
  62. data/lib/akeyless/models/issuer_overview_info.rb +232 -0
  63. data/lib/akeyless/models/item_general_info.rb +10 -1
  64. data/lib/akeyless/models/migration_status_reply_obj.rb +10 -1
  65. data/lib/akeyless/models/migrations_config_part.rb +12 -1
  66. data/lib/akeyless/models/secret_info.rb +10 -1
  67. data/lib/akeyless/models/target_create_azure.rb +13 -1
  68. data/lib/akeyless/models/target_update_azure.rb +13 -1
  69. data/lib/akeyless/models/update_auth_method_cert.rb +11 -1
  70. data/lib/akeyless/models/update_azure_target.rb +13 -1
  71. data/lib/akeyless/models/validate_certificate_challenge.rb +279 -0
  72. data/lib/akeyless/models/validate_certificate_challenge_output.rb +242 -0
  73. data/lib/akeyless/models/vault_address.rb +227 -0
  74. data/lib/akeyless/models/vault_address_output.rb +223 -0
  75. data/lib/akeyless/version.rb +1 -1
  76. data/lib/akeyless.rb +10 -0
  77. data/spec/models/conjur_migration_spec.rb +42 -0
  78. data/spec/models/conjur_payload_spec.rb +54 -0
  79. data/spec/models/default_auth_method_settings_spec.rb +42 -0
  80. data/spec/models/github_metadata_spec.rb +66 -0
  81. data/spec/models/http_challenge_info_spec.rb +60 -0
  82. data/spec/models/issuer_overview_info_spec.rb +48 -0
  83. data/spec/models/validate_certificate_challenge_output_spec.rb +54 -0
  84. data/spec/models/validate_certificate_challenge_spec.rb +72 -0
  85. data/spec/models/vault_address_output_spec.rb +42 -0
  86. data/spec/models/vault_address_spec.rb +42 -0
  87. metadata +41 -1
@@ -14,6 +14,7 @@
14
14
  | **dynamic_secret_producer_details** | [**DynamicSecretProducerInfo**](DynamicSecretProducerInfo.md) | | [optional] |
15
15
  | **expiration_events** | [**Array<CertificateExpirationEvent>**](CertificateExpirationEvent.md) | | [optional] |
16
16
  | **importer_info** | [**ImporterInfo**](ImporterInfo.md) | | [optional] |
17
+ | **issuer_overview_info** | [**IssuerOverviewInfo**](IssuerOverviewInfo.md) | | [optional] |
17
18
  | **next_rotation_events** | [**Array<NextAutoRotationEvent>**](NextAutoRotationEvent.md) | | [optional] |
18
19
  | **oidc_client_info** | [**OidcClientInfo**](OidcClientInfo.md) | | [optional] |
19
20
  | **password_policy** | [**PasswordPolicyInfo**](PasswordPolicyInfo.md) | | [optional] |
@@ -38,6 +39,7 @@ instance = Akeyless::ItemGeneralInfo.new(
38
39
  dynamic_secret_producer_details: null,
39
40
  expiration_events: null,
40
41
  importer_info: null,
42
+ issuer_overview_info: null,
41
43
  next_rotation_events: null,
42
44
  oidc_client_info: null,
43
45
  password_policy: null,
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **certificates** | [**MigrationItems**](MigrationItems.md) | | [optional] |
7
8
  | **computers** | **Integer** | | [optional] |
8
9
  | **duration_time** | **String** | | [optional] |
9
10
  | **error** | **String** | | [optional] |
@@ -26,6 +27,7 @@
26
27
  require 'akeyless'
27
28
 
28
29
  instance = Akeyless::MigrationStatusReplyObj.new(
30
+ certificates: null,
29
31
  computers: null,
30
32
  duration_time: null,
31
33
  error: null,
@@ -8,6 +8,7 @@
8
8
  | **aws_secrets_migrations** | [**Array<AWSSecretsMigration>**](AWSSecretsMigration.md) | | [optional] |
9
9
  | **azure_kv_migrations** | [**Array<AzureKeyVaultMigration>**](AzureKeyVaultMigration.md) | | [optional] |
10
10
  | **certificate_migrations** | [**Array<CertificateMigration>**](CertificateMigration.md) | | [optional] |
11
+ | **conjur_migrations** | [**Array<ConjurMigration>**](ConjurMigration.md) | | [optional] |
11
12
  | **gcp_secrets_migrations** | [**Array<GCPSecretsMigration>**](GCPSecretsMigration.md) | | [optional] |
12
13
  | **hashi_migrations** | [**Array<HashiMigration>**](HashiMigration.md) | | [optional] |
13
14
  | **k8s_migrations** | [**Array<K8SMigration>**](K8SMigration.md) | | [optional] |
@@ -25,6 +26,7 @@ instance = Akeyless::MigrationsConfigPart.new(
25
26
  aws_secrets_migrations: null,
26
27
  azure_kv_migrations: null,
27
28
  certificate_migrations: null,
29
+ conjur_migrations: null,
28
30
  gcp_secrets_migrations: null,
29
31
  hashi_migrations: null,
30
32
  k8s_migrations: null,
data/docs/SecretInfo.md CHANGED
@@ -7,6 +7,7 @@
7
7
  | **created** | **Time** | | [optional] |
8
8
  | **description** | **String** | | [optional] |
9
9
  | **expiration** | **Time** | | [optional] |
10
+ | **github** | [**GithubMetadata**](GithubMetadata.md) | | [optional] |
10
11
  | **key_id** | **String** | | [optional] |
11
12
  | **last_retrieved** | **Time** | | [optional] |
12
13
  | **location** | **Object** | | [optional] |
@@ -28,6 +29,7 @@ instance = Akeyless::SecretInfo.new(
28
29
  created: null,
29
30
  description: null,
30
31
  expiration: null,
32
+ github: null,
31
33
  key_id: null,
32
34
  last_retrieved: null,
33
35
  location: null,
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **azure_cloud** | **String** | Azure cloud environment to use. Values: AzureCloud (default), AzureUSGovernment, AzureChinaCloud. | [optional][default to 'AzureCloud'] |
7
8
  | **client_id** | **String** | Azure client/application id | [optional] |
8
9
  | **client_secret** | **String** | Azure client secret | [optional] |
9
10
  | **connection_type** | **String** | Type of connection [credentials/cloud-identity] | [optional][default to 'credentials'] |
@@ -26,6 +27,7 @@
26
27
  require 'akeyless'
27
28
 
28
29
  instance = Akeyless::TargetCreateAzure.new(
30
+ azure_cloud: null,
29
31
  client_id: null,
30
32
  client_secret: null,
31
33
  connection_type: null,
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **azure_cloud** | **String** | Azure cloud environment to use. Values: AzureCloud (default), AzureUSGovernment, AzureChinaCloud. | [optional][default to 'AzureCloud'] |
7
8
  | **client_id** | **String** | Azure client/application id | [optional] |
8
9
  | **client_secret** | **String** | Azure client secret | [optional] |
9
10
  | **connection_type** | **String** | Type of connection [credentials/cloud-identity] | [optional][default to 'credentials'] |
@@ -28,6 +29,7 @@
28
29
  require 'akeyless'
29
30
 
30
31
  instance = Akeyless::TargetUpdateAzure.new(
32
+ azure_cloud: null,
31
33
  client_id: null,
32
34
  client_secret: null,
33
35
  connection_type: null,
@@ -26,6 +26,7 @@
26
26
  | **name** | **String** | Auth Method name | |
27
27
  | **new_name** | **String** | Auth Method new name | [optional] |
28
28
  | **product_type** | **Array<String>** | Choose the relevant product type for the auth method [sm, sra, pm, dp, ca] | [optional] |
29
+ | **require_crl_dp** | **Boolean** | Require certificate CRL distribution points (CDP) and enforce CRL validation during authentication. | [optional] |
29
30
  | **revoked_cert_ids** | **Array<String>** | A list of revoked cert ids | [optional] |
30
31
  | **token** | **String** | Authentication token (see `/auth` and `/configure`) | [optional] |
31
32
  | **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
@@ -59,6 +60,7 @@ instance = Akeyless::UpdateAuthMethodCert.new(
59
60
  name: null,
60
61
  new_name: null,
61
62
  product_type: null,
63
+ require_crl_dp: null,
62
64
  revoked_cert_ids: null,
63
65
  token: null,
64
66
  uid_token: null,
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **azure_cloud** | **String** | Azure cloud environment to use. Values: AzureCloud (default), AzureUSGovernment, AzureChinaCloud. | [optional][default to 'AzureCloud'] |
7
8
  | **client_id** | **String** | Azure client/application id | [optional] |
8
9
  | **client_secret** | **String** | Azure client secret | [optional] |
9
10
  | **comment** | **String** | Deprecated - use description | [optional] |
@@ -30,6 +31,7 @@
30
31
  require 'akeyless'
31
32
 
32
33
  instance = Akeyless::UpdateAzureTarget.new(
34
+ azure_cloud: null,
33
35
  client_id: null,
34
36
  client_secret: null,
35
37
  comment: null,
data/docs/V2Api.md CHANGED
@@ -598,7 +598,9 @@ All URIs are relative to *https://api.akeyless.io*
598
598
  | [**usc_get**](V2Api.md#usc_get) | **POST** /usc-get | |
599
599
  | [**usc_list**](V2Api.md#usc_list) | **POST** /usc-list | |
600
600
  | [**usc_update**](V2Api.md#usc_update) | **POST** /usc-update | |
601
+ | [**validate_certificate_challenge**](V2Api.md#validate_certificate_challenge) | **POST** /validate-certificate-challenge | |
601
602
  | [**validate_token**](V2Api.md#validate_token) | **POST** /validate-token | |
603
+ | [**vault_address**](V2Api.md#vault_address) | **POST** /vault-address | |
602
604
  | [**verify_data_with_classic_key**](V2Api.md#verify_data_with_classic_key) | **POST** /verify-data-with-classic-key | |
603
605
  | [**verify_ec_dsa**](V2Api.md#verify_ec_dsa) | **POST** /verify-ecdsa | |
604
606
  | [**verify_gpg**](V2Api.md#verify_gpg) | **POST** /verify-gpg | |
@@ -37462,6 +37464,68 @@ No authorization required
37462
37464
  - **Accept**: application/json
37463
37465
 
37464
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
+
37465
37529
  ## validate_token
37466
37530
 
37467
37531
  > <ValidateTokenOutput> validate_token(validate_token)
@@ -37524,6 +37588,68 @@ No authorization required
37524
37588
  - **Accept**: application/json
37525
37589
 
37526
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
+
37527
37653
  ## verify_data_with_classic_key
37528
37654
 
37529
37655
  > <VerifyPKICertOutput> verify_data_with_classic_key(verify_data_with_classic_key)
@@ -0,0 +1,30 @@
1
+ # Akeyless::ValidateCertificateChallenge
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **result** | [**ValidateCertificateChallengeOutput**](ValidateCertificateChallengeOutput.md) | | [optional] |
8
+ | **cert_display_id** | **String** | Certificate display ID from Phase 1 | [optional] |
9
+ | **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
10
+ | **name** | **String** | Certificate name (alternative to cert-display-id) | [optional] |
11
+ | **timeout** | **Integer** | Validation timeout in seconds | [optional][default to 120] |
12
+ | **token** | **String** | Authentication token (see &#x60;/auth&#x60; and &#x60;/configure&#x60;) | [optional] |
13
+ | **uid_token** | **String** | The universal identity token, Required only for universal_identity authentication | [optional] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'akeyless'
19
+
20
+ instance = Akeyless::ValidateCertificateChallenge.new(
21
+ result: null,
22
+ cert_display_id: null,
23
+ json: null,
24
+ name: null,
25
+ timeout: null,
26
+ token: null,
27
+ uid_token: null
28
+ )
29
+ ```
30
+
@@ -0,0 +1,24 @@
1
+ # Akeyless::ValidateCertificateChallengeOutput
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **cert** | **String** | | [optional] |
8
+ | **cert_display_id** | **String** | | [optional] |
9
+ | **cert_item_id** | **Integer** | | [optional] |
10
+ | **status** | **String** | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'akeyless'
16
+
17
+ instance = Akeyless::ValidateCertificateChallengeOutput.new(
18
+ cert: null,
19
+ cert_display_id: null,
20
+ cert_item_id: null,
21
+ status: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,20 @@
1
+ # Akeyless::VaultAddress
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **access_id** | **String** | The access-id used to resolve the tenant URLs | [optional] |
8
+ | **json** | **Boolean** | Set output format to JSON | [optional][default to false] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'akeyless'
14
+
15
+ instance = Akeyless::VaultAddress.new(
16
+ access_id: null,
17
+ json: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # Akeyless::VaultAddressOutput
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **api_gw_url** | **String** | | [optional] |
8
+ | **vault_url** | **String** | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'akeyless'
14
+
15
+ instance = Akeyless::VaultAddressOutput.new(
16
+ api_gw_url: null,
17
+ vault_url: null
18
+ )
19
+ ```
20
+
@@ -37938,6 +37938,70 @@ module Akeyless
37938
37938
  return data, status_code, headers
37939
37939
  end
37940
37940
 
37941
+ # @param validate_certificate_challenge [ValidateCertificateChallenge]
37942
+ # @param [Hash] opts the optional parameters
37943
+ # @return [ValidateCertificateChallengeOutput]
37944
+ def validate_certificate_challenge(validate_certificate_challenge, opts = {})
37945
+ data, _status_code, _headers = validate_certificate_challenge_with_http_info(validate_certificate_challenge, opts)
37946
+ data
37947
+ end
37948
+
37949
+ # @param validate_certificate_challenge [ValidateCertificateChallenge]
37950
+ # @param [Hash] opts the optional parameters
37951
+ # @return [Array<(ValidateCertificateChallengeOutput, Integer, Hash)>] ValidateCertificateChallengeOutput data, response status code and response headers
37952
+ def validate_certificate_challenge_with_http_info(validate_certificate_challenge, opts = {})
37953
+ if @api_client.config.debugging
37954
+ @api_client.config.logger.debug 'Calling API: V2Api.validate_certificate_challenge ...'
37955
+ end
37956
+ # verify the required parameter 'validate_certificate_challenge' is set
37957
+ if @api_client.config.client_side_validation && validate_certificate_challenge.nil?
37958
+ fail ArgumentError, "Missing the required parameter 'validate_certificate_challenge' when calling V2Api.validate_certificate_challenge"
37959
+ end
37960
+ # resource path
37961
+ local_var_path = '/validate-certificate-challenge'
37962
+
37963
+ # query parameters
37964
+ query_params = opts[:query_params] || {}
37965
+
37966
+ # header parameters
37967
+ header_params = opts[:header_params] || {}
37968
+ # HTTP header 'Accept' (if needed)
37969
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
37970
+ # HTTP header 'Content-Type'
37971
+ content_type = @api_client.select_header_content_type(['application/json'])
37972
+ if !content_type.nil?
37973
+ header_params['Content-Type'] = content_type
37974
+ end
37975
+
37976
+ # form parameters
37977
+ form_params = opts[:form_params] || {}
37978
+
37979
+ # http body (model)
37980
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(validate_certificate_challenge)
37981
+
37982
+ # return_type
37983
+ return_type = opts[:debug_return_type] || 'ValidateCertificateChallengeOutput'
37984
+
37985
+ # auth_names
37986
+ auth_names = opts[:debug_auth_names] || []
37987
+
37988
+ new_options = opts.merge(
37989
+ :operation => :"V2Api.validate_certificate_challenge",
37990
+ :header_params => header_params,
37991
+ :query_params => query_params,
37992
+ :form_params => form_params,
37993
+ :body => post_body,
37994
+ :auth_names => auth_names,
37995
+ :return_type => return_type
37996
+ )
37997
+
37998
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
37999
+ if @api_client.config.debugging
38000
+ @api_client.config.logger.debug "API called: V2Api#validate_certificate_challenge\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
38001
+ end
38002
+ return data, status_code, headers
38003
+ end
38004
+
37941
38005
  # @param validate_token [ValidateToken]
37942
38006
  # @param [Hash] opts the optional parameters
37943
38007
  # @return [ValidateTokenOutput]
@@ -38002,6 +38066,70 @@ module Akeyless
38002
38066
  return data, status_code, headers
38003
38067
  end
38004
38068
 
38069
+ # @param vault_address [VaultAddress]
38070
+ # @param [Hash] opts the optional parameters
38071
+ # @return [VaultAddressOutput]
38072
+ def vault_address(vault_address, opts = {})
38073
+ data, _status_code, _headers = vault_address_with_http_info(vault_address, opts)
38074
+ data
38075
+ end
38076
+
38077
+ # @param vault_address [VaultAddress]
38078
+ # @param [Hash] opts the optional parameters
38079
+ # @return [Array<(VaultAddressOutput, Integer, Hash)>] VaultAddressOutput data, response status code and response headers
38080
+ def vault_address_with_http_info(vault_address, opts = {})
38081
+ if @api_client.config.debugging
38082
+ @api_client.config.logger.debug 'Calling API: V2Api.vault_address ...'
38083
+ end
38084
+ # verify the required parameter 'vault_address' is set
38085
+ if @api_client.config.client_side_validation && vault_address.nil?
38086
+ fail ArgumentError, "Missing the required parameter 'vault_address' when calling V2Api.vault_address"
38087
+ end
38088
+ # resource path
38089
+ local_var_path = '/vault-address'
38090
+
38091
+ # query parameters
38092
+ query_params = opts[:query_params] || {}
38093
+
38094
+ # header parameters
38095
+ header_params = opts[:header_params] || {}
38096
+ # HTTP header 'Accept' (if needed)
38097
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
38098
+ # HTTP header 'Content-Type'
38099
+ content_type = @api_client.select_header_content_type(['application/json'])
38100
+ if !content_type.nil?
38101
+ header_params['Content-Type'] = content_type
38102
+ end
38103
+
38104
+ # form parameters
38105
+ form_params = opts[:form_params] || {}
38106
+
38107
+ # http body (model)
38108
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(vault_address)
38109
+
38110
+ # return_type
38111
+ return_type = opts[:debug_return_type] || 'VaultAddressOutput'
38112
+
38113
+ # auth_names
38114
+ auth_names = opts[:debug_auth_names] || []
38115
+
38116
+ new_options = opts.merge(
38117
+ :operation => :"V2Api.vault_address",
38118
+ :header_params => header_params,
38119
+ :query_params => query_params,
38120
+ :form_params => form_params,
38121
+ :body => post_body,
38122
+ :auth_names => auth_names,
38123
+ :return_type => return_type
38124
+ )
38125
+
38126
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
38127
+ if @api_client.config.debugging
38128
+ @api_client.config.logger.debug "API called: V2Api#vault_address\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
38129
+ end
38130
+ return data, status_code, headers
38131
+ end
38132
+
38005
38133
  # @param verify_data_with_classic_key [VerifyDataWithClassicKey]
38006
38134
  # @param [Hash] opts the optional parameters
38007
38135
  # @return [VerifyPKICertOutput]
@@ -38,6 +38,8 @@ module Akeyless
38
38
 
39
39
  attr_accessor :data_protection_section
40
40
 
41
+ attr_accessor :default_auth_method
42
+
41
43
  attr_accessor :default_home_page
42
44
 
43
45
  attr_accessor :dynamic_secret_max_ttl
@@ -81,6 +83,7 @@ module Akeyless
81
83
  :'auth_usage_event' => :'auth_usage_event',
82
84
  :'certificate_expiration_events' => :'certificate_expiration_events',
83
85
  :'data_protection_section' => :'data_protection_section',
86
+ :'default_auth_method' => :'default_auth_method',
84
87
  :'default_home_page' => :'default_home_page',
85
88
  :'dynamic_secret_max_ttl' => :'dynamic_secret_max_ttl',
86
89
  :'enable_request_for_access' => :'enable_request_for_access',
@@ -116,6 +119,7 @@ module Akeyless
116
119
  :'auth_usage_event' => :'UsageEventSetting',
117
120
  :'certificate_expiration_events' => :'CertificateExpirationEventsSettings',
118
121
  :'data_protection_section' => :'DataProtectionSection',
122
+ :'default_auth_method' => :'DefaultAuthMethodSettings',
119
123
  :'default_home_page' => :'DefaultHomePage',
120
124
  :'dynamic_secret_max_ttl' => :'DynamicSecretMaxTtl',
121
125
  :'enable_request_for_access' => :'Boolean',
@@ -194,6 +198,10 @@ module Akeyless
194
198
  self.data_protection_section = attributes[:'data_protection_section']
195
199
  end
196
200
 
201
+ if attributes.key?(:'default_auth_method')
202
+ self.default_auth_method = attributes[:'default_auth_method']
203
+ end
204
+
197
205
  if attributes.key?(:'default_home_page')
198
206
  self.default_home_page = attributes[:'default_home_page']
199
207
  end
@@ -281,6 +289,7 @@ module Akeyless
281
289
  auth_usage_event == o.auth_usage_event &&
282
290
  certificate_expiration_events == o.certificate_expiration_events &&
283
291
  data_protection_section == o.data_protection_section &&
292
+ default_auth_method == o.default_auth_method &&
284
293
  default_home_page == o.default_home_page &&
285
294
  dynamic_secret_max_ttl == o.dynamic_secret_max_ttl &&
286
295
  enable_request_for_access == o.enable_request_for_access &&
@@ -306,7 +315,7 @@ module Akeyless
306
315
  # Calculates hash code according to all attributes.
307
316
  # @return [Integer] Hash code
308
317
  def hash
309
- [account_default_key_item_id, account_default_key_name, ai_insights, allow_auto_fill, allowed_client_types, allowed_clients_ips, allowed_gateways_ips, auth_usage_event, certificate_expiration_events, data_protection_section, default_home_page, dynamic_secret_max_ttl, enable_request_for_access, hide_personal_folder, hide_static_password, invalid_characters, item_usage_event, lock_default_key, password_expiration_info, password_policy, password_score, protect_items_by_default, rotation_secret_max_interval, sharing_policy].hash
318
+ [account_default_key_item_id, account_default_key_name, ai_insights, allow_auto_fill, allowed_client_types, allowed_clients_ips, allowed_gateways_ips, auth_usage_event, certificate_expiration_events, data_protection_section, default_auth_method, default_home_page, dynamic_secret_max_ttl, enable_request_for_access, hide_personal_folder, hide_static_password, invalid_characters, item_usage_event, lock_default_key, password_expiration_info, password_policy, password_score, protect_items_by_default, rotation_secret_max_interval, sharing_policy].hash
310
319
  end
311
320
 
312
321
  # Builds the object from hash
@@ -17,12 +17,18 @@ module Akeyless
17
17
  class ActiveDirectoryPayload
18
18
  attr_accessor :active_directory_target_id
19
19
 
20
+ attr_accessor :ai_certificate_discovery
21
+
20
22
  attr_accessor :auto_rotate
21
23
 
22
24
  attr_accessor :auto_rotate_interval_in_days
23
25
 
24
26
  attr_accessor :auto_rotate_rotation_hour
25
27
 
28
+ attr_accessor :certificates_expiration_events
29
+
30
+ attr_accessor :certificates_path_template
31
+
26
32
  attr_accessor :computer_base_dn
27
33
 
28
34
  attr_accessor :discover_iis_apps
@@ -66,9 +72,12 @@ module Akeyless
66
72
  def self.attribute_map
67
73
  {
68
74
  :'active_directory_target_id' => :'active_directory_target_id',
75
+ :'ai_certificate_discovery' => :'ai_certificate_discovery',
69
76
  :'auto_rotate' => :'auto_rotate',
70
77
  :'auto_rotate_interval_in_days' => :'auto_rotate_interval_in_days',
71
78
  :'auto_rotate_rotation_hour' => :'auto_rotate_rotation_hour',
79
+ :'certificates_expiration_events' => :'certificates_expiration_events',
80
+ :'certificates_path_template' => :'certificates_path_template',
72
81
  :'computer_base_dn' => :'computer_base_dn',
73
82
  :'discover_iis_apps' => :'discover_iis_apps',
74
83
  :'discover_local_users' => :'discover_local_users',
@@ -100,9 +109,12 @@ module Akeyless
100
109
  def self.openapi_types
101
110
  {
102
111
  :'active_directory_target_id' => :'Integer',
112
+ :'ai_certificate_discovery' => :'Boolean',
103
113
  :'auto_rotate' => :'Boolean',
104
114
  :'auto_rotate_interval_in_days' => :'Integer',
105
115
  :'auto_rotate_rotation_hour' => :'Integer',
116
+ :'certificates_expiration_events' => :'Array<CertificateExpirationEvent>',
117
+ :'certificates_path_template' => :'String',
106
118
  :'computer_base_dn' => :'String',
107
119
  :'discover_iis_apps' => :'Boolean',
108
120
  :'discover_local_users' => :'Boolean',
@@ -150,6 +162,10 @@ module Akeyless
150
162
  self.active_directory_target_id = attributes[:'active_directory_target_id']
151
163
  end
152
164
 
165
+ if attributes.key?(:'ai_certificate_discovery')
166
+ self.ai_certificate_discovery = attributes[:'ai_certificate_discovery']
167
+ end
168
+
153
169
  if attributes.key?(:'auto_rotate')
154
170
  self.auto_rotate = attributes[:'auto_rotate']
155
171
  end
@@ -162,6 +178,16 @@ module Akeyless
162
178
  self.auto_rotate_rotation_hour = attributes[:'auto_rotate_rotation_hour']
163
179
  end
164
180
 
181
+ if attributes.key?(:'certificates_expiration_events')
182
+ if (value = attributes[:'certificates_expiration_events']).is_a?(Array)
183
+ self.certificates_expiration_events = value
184
+ end
185
+ end
186
+
187
+ if attributes.key?(:'certificates_path_template')
188
+ self.certificates_path_template = attributes[:'certificates_path_template']
189
+ end
190
+
165
191
  if attributes.key?(:'computer_base_dn')
166
192
  self.computer_base_dn = attributes[:'computer_base_dn']
167
193
  end
@@ -266,9 +292,12 @@ module Akeyless
266
292
  return true if self.equal?(o)
267
293
  self.class == o.class &&
268
294
  active_directory_target_id == o.active_directory_target_id &&
295
+ ai_certificate_discovery == o.ai_certificate_discovery &&
269
296
  auto_rotate == o.auto_rotate &&
270
297
  auto_rotate_interval_in_days == o.auto_rotate_interval_in_days &&
271
298
  auto_rotate_rotation_hour == o.auto_rotate_rotation_hour &&
299
+ certificates_expiration_events == o.certificates_expiration_events &&
300
+ certificates_path_template == o.certificates_path_template &&
272
301
  computer_base_dn == o.computer_base_dn &&
273
302
  discover_iis_apps == o.discover_iis_apps &&
274
303
  discover_local_users == o.discover_local_users &&
@@ -299,7 +328,7 @@ module Akeyless
299
328
  # Calculates hash code according to all attributes.
300
329
  # @return [Integer] Hash code
301
330
  def hash
302
- [active_directory_target_id, auto_rotate, auto_rotate_interval_in_days, auto_rotate_rotation_hour, computer_base_dn, discover_iis_apps, discover_local_users, discover_services, discovery_types, domain_name, domain_server_targets_path_template, domain_users_rotated_secrets_path_template, enable_rdp_sra, local_users_ignore_list, local_users_rotated_secrets_path_template, os_filter, ssh_port, target_format, targets_type, user_base_dn, user_groups, winrm_over_http, winrm_port].hash
331
+ [active_directory_target_id, ai_certificate_discovery, auto_rotate, auto_rotate_interval_in_days, auto_rotate_rotation_hour, certificates_expiration_events, certificates_path_template, computer_base_dn, discover_iis_apps, discover_local_users, discover_services, discovery_types, domain_name, domain_server_targets_path_template, domain_users_rotated_secrets_path_template, enable_rdp_sra, local_users_ignore_list, local_users_rotated_secrets_path_template, os_filter, ssh_port, target_format, targets_type, user_base_dn, user_groups, winrm_over_http, winrm_port].hash
303
332
  end
304
333
 
305
334
  # Builds the object from hash