akeyless 5.0.22 → 5.0.24
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 +33 -5
- data/docs/AccountGeneralSettings.md +4 -0
- data/docs/AgenticRule.md +20 -0
- data/docs/AgenticRules.md +20 -0
- data/docs/AuthMethodCreateUniversalIdentity.md +4 -0
- data/docs/AuthMethodUpdateUniversalIdentity.md +4 -0
- data/docs/AwsStorage.md +2 -0
- data/docs/CreateAuthMethodUniversalIdentity.md +4 -0
- data/docs/CreateRole.md +2 -0
- data/docs/CreateRotatedSecret.md +3 -1
- data/docs/CreateSecret.md +2 -0
- data/docs/CreateUSC.md +6 -2
- data/docs/DSProducerDetails.md +2 -0
- data/docs/DeleteRoleRule.md +1 -1
- data/docs/DescribePermissions.md +1 -1
- data/docs/DigiCertTargetDetails.md +42 -0
- data/docs/EsmListSecretsOutput.md +5 -1
- data/docs/GatewayCreateMigration.md +4 -0
- data/docs/GatewayMigrationCreateOutput.md +2 -0
- data/docs/GatewayUpdateMigration.md +4 -0
- data/docs/GatewayUpdateRemoteAccessRdpRecordings.md +2 -0
- data/docs/GeneralConfigPart.md +4 -0
- data/docs/GoogleTrustTargetDetails.md +42 -0
- data/docs/HashiPayload.md +5 -1
- data/docs/Item.md +2 -0
- data/docs/ItemGeneralInfo.md +2 -0
- data/docs/ItemLockingSetting.md +20 -0
- data/docs/ListItems.md +2 -0
- data/docs/LockItem.md +28 -0
- data/docs/LockTarget.md +28 -0
- data/docs/LockingInfo.md +24 -0
- data/docs/MigrationStatusReplyObj.md +2 -0
- data/docs/NetappStorage.md +30 -0
- data/docs/ReverseRBAC.md +1 -1
- data/docs/RotatedSecretCreateAws.md +3 -1
- data/docs/RotatedSecretCreateAzure.md +3 -1
- data/docs/RotatedSecretCreateCustom.md +3 -1
- data/docs/RotatedSecretCreateLdap.md +3 -1
- data/docs/RotatedSecretCreateMongodb.md +3 -1
- data/docs/RotatedSecretCreateMssql.md +3 -1
- data/docs/RotatedSecretCreateMysql.md +3 -1
- data/docs/RotatedSecretCreateOracledb.md +3 -1
- data/docs/RotatedSecretCreatePostgresql.md +3 -1
- data/docs/RotatedSecretCreateRedshift.md +3 -1
- data/docs/RotatedSecretCreateSsh.md +3 -1
- data/docs/RotatedSecretCreateWindows.md +3 -1
- data/docs/RotatedSecretUpdateAws.md +3 -1
- data/docs/RotatedSecretUpdateAzure.md +3 -1
- data/docs/RotatedSecretUpdateCustom.md +3 -1
- data/docs/RotatedSecretUpdateLdap.md +3 -1
- data/docs/RotatedSecretUpdateMongodb.md +3 -1
- data/docs/RotatedSecretUpdateMssql.md +3 -1
- data/docs/RotatedSecretUpdateMysql.md +3 -1
- data/docs/RotatedSecretUpdateOracledb.md +3 -1
- data/docs/RotatedSecretUpdatePostgresql.md +3 -1
- data/docs/RotatedSecretUpdateRedshift.md +3 -1
- data/docs/RotatedSecretUpdateSsh.md +3 -1
- data/docs/RotatedSecretUpdateWindows.md +3 -1
- data/docs/RuntimeAuthorityCommand.md +28 -0
- data/docs/SecretInfo.md +2 -0
- data/docs/SecureRemoteAccess.md +4 -0
- data/docs/SetDefaultProfile.md +20 -0
- data/docs/SetDefaultProfileOutput.md +18 -0
- data/docs/SetRoleRule.md +1 -1
- data/docs/SyncCounters.md +22 -0
- data/docs/SystemAccessCredentialsReplyObj.md +2 -0
- data/docs/Target.md +4 -0
- data/docs/TargetCreateArtifactory.md +2 -0
- data/docs/TargetCreateAws.md +2 -0
- data/docs/TargetCreateAzure.md +2 -0
- data/docs/TargetCreateDB.md +2 -0
- data/docs/TargetCreateDigiCert.md +52 -0
- data/docs/TargetCreateDockerhub.md +2 -0
- data/docs/TargetCreateEks.md +2 -0
- data/docs/TargetCreateGcp.md +2 -0
- data/docs/TargetCreateGemini.md +2 -0
- data/docs/TargetCreateGithub.md +2 -0
- data/docs/TargetCreateGitlab.md +2 -0
- data/docs/TargetCreateGke.md +2 -0
- data/docs/TargetCreateGlobalSign.md +2 -0
- data/docs/TargetCreateGlobalSignAtlas.md +2 -0
- data/docs/TargetCreateGodaddy.md +2 -0
- data/docs/TargetCreateGoogleTrust.md +52 -0
- data/docs/TargetCreateHashiVault.md +2 -0
- data/docs/TargetCreateK8s.md +2 -0
- data/docs/TargetCreateLdap.md +2 -0
- data/docs/TargetCreateLetsEncrypt.md +3 -1
- data/docs/TargetCreateLinked.md +2 -0
- data/docs/TargetCreateOpenAI.md +2 -0
- data/docs/TargetCreatePing.md +2 -0
- data/docs/TargetCreateRabbitMq.md +2 -0
- data/docs/TargetCreateSalesforce.md +2 -0
- data/docs/TargetCreateSectigo.md +2 -0
- data/docs/TargetCreateSplunk.md +5 -1
- data/docs/TargetCreateSsh.md +2 -0
- data/docs/TargetCreateWeb.md +2 -0
- data/docs/TargetCreateWindows.md +2 -0
- data/docs/TargetCreateZeroSSL.md +2 -0
- data/docs/TargetTypeDetailsInput.md +4 -0
- data/docs/TargetUpdateArtifactory.md +2 -0
- data/docs/TargetUpdateAws.md +2 -0
- data/docs/TargetUpdateAzure.md +2 -0
- data/docs/TargetUpdateDB.md +2 -0
- data/docs/TargetUpdateDigiCert.md +54 -0
- data/docs/TargetUpdateDockerhub.md +2 -0
- data/docs/TargetUpdateEks.md +2 -0
- data/docs/TargetUpdateGcp.md +2 -0
- data/docs/TargetUpdateGemini.md +2 -0
- data/docs/TargetUpdateGithub.md +2 -0
- data/docs/TargetUpdateGitlab.md +2 -0
- data/docs/TargetUpdateGke.md +2 -0
- data/docs/TargetUpdateGlobalSign.md +2 -0
- data/docs/TargetUpdateGlobalSignAtlas.md +2 -0
- data/docs/TargetUpdateGodaddy.md +2 -0
- data/docs/TargetUpdateGoogleTrust.md +56 -0
- data/docs/TargetUpdateHashiVault.md +2 -0
- data/docs/TargetUpdateK8s.md +2 -0
- data/docs/TargetUpdateLdap.md +2 -0
- data/docs/TargetUpdateLetsEncrypt.md +3 -1
- data/docs/TargetUpdateOpenAI.md +2 -0
- data/docs/TargetUpdatePing.md +2 -0
- data/docs/TargetUpdateRabbitMq.md +2 -0
- data/docs/TargetUpdateSalesforce.md +2 -0
- data/docs/TargetUpdateSectigo.md +2 -0
- data/docs/TargetUpdateSsh.md +2 -0
- data/docs/TargetUpdateWeb.md +2 -0
- data/docs/TargetUpdateWindows.md +2 -0
- data/docs/TargetUpdateZeroSSL.md +2 -0
- data/docs/UniversalIdentityAccessRules.md +4 -0
- data/docs/UnlockItem.md +24 -0
- data/docs/UnlockTarget.md +24 -0
- data/docs/UpdateAccountSettings.md +4 -0
- data/docs/UpdateAuthMethodUniversalIdentity.md +4 -0
- data/docs/UpdateItem.md +8 -2
- data/docs/UpdateRole.md +2 -0
- data/docs/UpdateRotatedSecret.md +3 -1
- data/docs/UpdateTarget.md +2 -0
- data/docs/UscCreate.md +2 -0
- data/docs/UscDelete.md +4 -0
- data/docs/UscGet.md +4 -0
- data/docs/UscList.md +4 -0
- data/docs/UscListSecretsOutput.md +5 -1
- data/docs/UscUpdate.md +4 -0
- data/docs/V2Api.md +572 -6
- data/docs/WebBastionRdpRecord.md +2 -0
- data/lib/akeyless/api/v2_api.rb +580 -4
- data/lib/akeyless/models/account_general_settings.rb +19 -1
- data/lib/akeyless/models/agentic_rule.rb +223 -0
- data/lib/akeyless/models/agentic_rules.rb +227 -0
- data/lib/akeyless/models/auth_method_create_universal_identity.rb +25 -1
- data/lib/akeyless/models/auth_method_update_universal_identity.rb +25 -1
- data/lib/akeyless/models/aws_storage.rb +10 -1
- data/lib/akeyless/models/create_auth_method_universal_identity.rb +25 -1
- data/lib/akeyless/models/create_role.rb +11 -1
- data/lib/akeyless/models/create_rotated_secret.rb +12 -4
- data/lib/akeyless/models/create_secret.rb +11 -1
- data/lib/akeyless/models/create_usc.rb +25 -5
- data/lib/akeyless/models/delete_role_rule.rb +1 -1
- data/lib/akeyless/models/describe_permissions.rb +1 -1
- data/lib/akeyless/models/digi_cert_target_details.rb +333 -0
- data/lib/akeyless/models/ds_producer_details.rb +10 -1
- data/lib/akeyless/models/esm_list_secrets_output.rb +24 -4
- data/lib/akeyless/models/gateway_create_migration.rb +21 -1
- data/lib/akeyless/models/gateway_migration_create_output.rb +10 -1
- data/lib/akeyless/models/gateway_update_migration.rb +21 -1
- data/lib/akeyless/models/gateway_update_remote_access_rdp_recordings.rb +11 -1
- data/lib/akeyless/models/general_config_part.rb +19 -1
- data/lib/akeyless/models/google_trust_target_details.rb +335 -0
- data/lib/akeyless/models/hashi_payload.rb +22 -4
- data/lib/akeyless/models/item.rb +10 -1
- data/lib/akeyless/models/item_general_info.rb +10 -1
- data/lib/akeyless/models/item_locking_setting.rb +223 -0
- data/lib/akeyless/models/list_items.rb +13 -1
- data/lib/akeyless/models/lock_item.rb +274 -0
- data/lib/akeyless/models/lock_target.rb +274 -0
- data/lib/akeyless/models/locking_info.rb +243 -0
- data/lib/akeyless/models/migration_status_reply_obj.rb +10 -1
- data/lib/akeyless/models/netapp_storage.rb +268 -0
- data/lib/akeyless/models/reverse_rbac.rb +1 -1
- data/lib/akeyless/models/rotated_secret_create_aws.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_azure.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_custom.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_ldap.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_mongodb.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_mssql.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_mysql.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_oracledb.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_postgresql.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_redshift.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_ssh.rb +12 -4
- data/lib/akeyless/models/rotated_secret_create_windows.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_aws.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_azure.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_custom.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_ldap.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_mongodb.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_mssql.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_mysql.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_oracledb.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_postgresql.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_redshift.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_ssh.rb +12 -4
- data/lib/akeyless/models/rotated_secret_update_windows.rb +12 -4
- data/lib/akeyless/models/runtime_authority_command.rb +288 -0
- data/lib/akeyless/models/secret_info.rb +10 -1
- data/lib/akeyless/models/secure_remote_access.rb +19 -1
- data/lib/akeyless/models/set_default_profile.rb +234 -0
- data/lib/akeyless/models/set_default_profile_output.rb +214 -0
- data/lib/akeyless/models/set_role_rule.rb +1 -1
- data/lib/akeyless/models/sync_counters.rb +233 -0
- data/lib/akeyless/models/system_access_credentials_reply_obj.rb +11 -1
- data/lib/akeyless/models/target.rb +19 -1
- data/lib/akeyless/models/target_create_artifactory.rb +11 -1
- data/lib/akeyless/models/target_create_aws.rb +11 -1
- data/lib/akeyless/models/target_create_azure.rb +11 -1
- data/lib/akeyless/models/target_create_db.rb +11 -1
- data/lib/akeyless/models/target_create_digi_cert.rb +408 -0
- data/lib/akeyless/models/target_create_dockerhub.rb +11 -1
- data/lib/akeyless/models/target_create_eks.rb +11 -1
- data/lib/akeyless/models/target_create_gcp.rb +11 -1
- data/lib/akeyless/models/target_create_gemini.rb +11 -1
- data/lib/akeyless/models/target_create_github.rb +11 -1
- data/lib/akeyless/models/target_create_gitlab.rb +11 -1
- data/lib/akeyless/models/target_create_gke.rb +11 -1
- data/lib/akeyless/models/target_create_global_sign.rb +11 -1
- data/lib/akeyless/models/target_create_global_sign_atlas.rb +11 -1
- data/lib/akeyless/models/target_create_godaddy.rb +11 -1
- data/lib/akeyless/models/target_create_google_trust.rb +408 -0
- data/lib/akeyless/models/target_create_hashi_vault.rb +11 -1
- data/lib/akeyless/models/target_create_k8s.rb +11 -1
- data/lib/akeyless/models/target_create_ldap.rb +11 -1
- data/lib/akeyless/models/target_create_lets_encrypt.rb +18 -1
- data/lib/akeyless/models/target_create_linked.rb +11 -1
- data/lib/akeyless/models/target_create_open_ai.rb +11 -1
- data/lib/akeyless/models/target_create_ping.rb +11 -1
- data/lib/akeyless/models/target_create_rabbit_mq.rb +11 -1
- data/lib/akeyless/models/target_create_salesforce.rb +11 -1
- data/lib/akeyless/models/target_create_sectigo.rb +11 -1
- data/lib/akeyless/models/target_create_splunk.rb +21 -1
- data/lib/akeyless/models/target_create_ssh.rb +11 -1
- data/lib/akeyless/models/target_create_web.rb +11 -1
- data/lib/akeyless/models/target_create_windows.rb +11 -1
- data/lib/akeyless/models/target_create_zero_ssl.rb +11 -1
- data/lib/akeyless/models/target_type_details_input.rb +19 -1
- data/lib/akeyless/models/target_update_artifactory.rb +11 -1
- data/lib/akeyless/models/target_update_aws.rb +11 -1
- data/lib/akeyless/models/target_update_azure.rb +11 -1
- data/lib/akeyless/models/target_update_db.rb +11 -1
- data/lib/akeyless/models/target_update_digi_cert.rb +418 -0
- data/lib/akeyless/models/target_update_dockerhub.rb +11 -1
- data/lib/akeyless/models/target_update_eks.rb +11 -1
- data/lib/akeyless/models/target_update_gcp.rb +11 -1
- data/lib/akeyless/models/target_update_gemini.rb +11 -1
- data/lib/akeyless/models/target_update_github.rb +11 -1
- data/lib/akeyless/models/target_update_gitlab.rb +11 -1
- data/lib/akeyless/models/target_update_gke.rb +11 -1
- data/lib/akeyless/models/target_update_global_sign.rb +11 -1
- data/lib/akeyless/models/target_update_global_sign_atlas.rb +11 -1
- data/lib/akeyless/models/target_update_godaddy.rb +11 -1
- data/lib/akeyless/models/target_update_google_trust.rb +428 -0
- data/lib/akeyless/models/target_update_hashi_vault.rb +11 -1
- data/lib/akeyless/models/target_update_k8s.rb +11 -1
- data/lib/akeyless/models/target_update_ldap.rb +11 -1
- data/lib/akeyless/models/target_update_lets_encrypt.rb +18 -1
- data/lib/akeyless/models/target_update_open_ai.rb +11 -1
- data/lib/akeyless/models/target_update_ping.rb +11 -1
- data/lib/akeyless/models/target_update_rabbit_mq.rb +11 -1
- data/lib/akeyless/models/target_update_salesforce.rb +11 -1
- data/lib/akeyless/models/target_update_sectigo.rb +11 -1
- data/lib/akeyless/models/target_update_ssh.rb +11 -1
- data/lib/akeyless/models/target_update_web.rb +11 -1
- data/lib/akeyless/models/target_update_windows.rb +11 -1
- data/lib/akeyless/models/target_update_zero_ssl.rb +11 -1
- data/lib/akeyless/models/universal_identity_access_rules.rb +19 -1
- data/lib/akeyless/models/unlock_item.rb +254 -0
- data/lib/akeyless/models/unlock_target.rb +254 -0
- data/lib/akeyless/models/update_account_settings.rb +21 -1
- data/lib/akeyless/models/update_auth_method_universal_identity.rb +25 -1
- data/lib/akeyless/models/update_item.rb +35 -7
- data/lib/akeyless/models/update_role.rb +11 -1
- data/lib/akeyless/models/update_rotated_secret.rb +12 -4
- data/lib/akeyless/models/update_target.rb +11 -1
- data/lib/akeyless/models/usc_create.rb +10 -1
- data/lib/akeyless/models/usc_delete.rb +20 -1
- data/lib/akeyless/models/usc_get.rb +20 -1
- data/lib/akeyless/models/usc_list.rb +21 -1
- data/lib/akeyless/models/usc_list_secrets_output.rb +24 -4
- data/lib/akeyless/models/usc_update.rb +20 -1
- data/lib/akeyless/models/web_bastion_rdp_record.rb +10 -1
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +19 -0
- data/spec/models/agentic_rule_spec.rb +42 -0
- data/spec/models/agentic_rules_spec.rb +42 -0
- data/spec/models/digi_cert_target_details_spec.rb +108 -0
- data/spec/models/google_trust_target_details_spec.rb +108 -0
- data/spec/models/item_locking_setting_spec.rb +42 -0
- data/spec/models/lock_item_spec.rb +66 -0
- data/spec/models/lock_target_spec.rb +66 -0
- data/spec/models/locking_info_spec.rb +54 -0
- data/spec/models/netapp_storage_spec.rb +72 -0
- data/spec/models/runtime_authority_command_spec.rb +66 -0
- data/spec/models/set_default_profile_output_spec.rb +36 -0
- data/spec/models/set_default_profile_spec.rb +42 -0
- data/spec/models/sync_counters_spec.rb +48 -0
- data/spec/models/target_create_digi_cert_spec.rb +132 -0
- data/spec/models/target_create_google_trust_spec.rb +132 -0
- data/spec/models/target_update_digi_cert_spec.rb +144 -0
- data/spec/models/target_update_google_trust_spec.rb +144 -0
- data/spec/models/unlock_item_spec.rb +54 -0
- data/spec/models/unlock_target_spec.rb +54 -0
- metadata +1226 -1147
data/docs/WebBastionRdpRecord.md
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
| **azure** | [**AzureStorage**](AzureStorage.md) | | [optional] |
|
|
9
9
|
| **compress** | **Boolean** | | [optional] |
|
|
10
10
|
| **encryption_key** | **String** | | [optional] |
|
|
11
|
+
| **netapp** | [**NetappStorage**](NetappStorage.md) | | [optional] |
|
|
11
12
|
| **recording_quality** | **String** | | [optional] |
|
|
12
13
|
| **storage_type** | **String** | | [optional] |
|
|
13
14
|
|
|
@@ -21,6 +22,7 @@ instance = Akeyless::WebBastionRdpRecord.new(
|
|
|
21
22
|
azure: null,
|
|
22
23
|
compress: null,
|
|
23
24
|
encryption_key: null,
|
|
25
|
+
netapp: null,
|
|
24
26
|
recording_quality: null,
|
|
25
27
|
storage_type: null
|
|
26
28
|
)
|
data/lib/akeyless/api/v2_api.rb
CHANGED
|
@@ -9519,7 +9519,7 @@ module Akeyless
|
|
|
9519
9519
|
fail ArgumentError, "Missing the required parameter 'dynamic_secret_create_oracle_db' when calling V2Api.dynamic_secret_create_oracle_db"
|
|
9520
9520
|
end
|
|
9521
9521
|
# resource path
|
|
9522
|
-
local_var_path = '/dynamic-secret-create-
|
|
9522
|
+
local_var_path = '/dynamic-secret-create-oracledb'
|
|
9523
9523
|
|
|
9524
9524
|
# query parameters
|
|
9525
9525
|
query_params = opts[:query_params] || {}
|
|
@@ -10415,7 +10415,7 @@ module Akeyless
|
|
|
10415
10415
|
fail ArgumentError, "Missing the required parameter 'dynamic_secret_tmp_creds_get' when calling V2Api.dynamic_secret_tmp_creds_get"
|
|
10416
10416
|
end
|
|
10417
10417
|
# resource path
|
|
10418
|
-
local_var_path = '/dynamic-secret-tmp-creds-
|
|
10418
|
+
local_var_path = '/dynamic-secret-tmp-creds-get'
|
|
10419
10419
|
|
|
10420
10420
|
# query parameters
|
|
10421
10421
|
query_params = opts[:query_params] || {}
|
|
@@ -11307,7 +11307,7 @@ module Akeyless
|
|
|
11307
11307
|
fail ArgumentError, "Missing the required parameter 'dynamic_secret_update_hana_db' when calling V2Api.dynamic_secret_update_hana_db"
|
|
11308
11308
|
end
|
|
11309
11309
|
# resource path
|
|
11310
|
-
local_var_path = '/dynamic-secret-update-
|
|
11310
|
+
local_var_path = '/dynamic-secret-update-hanadb'
|
|
11311
11311
|
|
|
11312
11312
|
# query parameters
|
|
11313
11313
|
query_params = opts[:query_params] || {}
|
|
@@ -11499,7 +11499,7 @@ module Akeyless
|
|
|
11499
11499
|
fail ArgumentError, "Missing the required parameter 'dynamic_secret_update_mongo_db' when calling V2Api.dynamic_secret_update_mongo_db"
|
|
11500
11500
|
end
|
|
11501
11501
|
# resource path
|
|
11502
|
-
local_var_path = '/dynamic-secret-update-
|
|
11502
|
+
local_var_path = '/dynamic-secret-update-mongodb'
|
|
11503
11503
|
|
|
11504
11504
|
# query parameters
|
|
11505
11505
|
query_params = opts[:query_params] || {}
|
|
@@ -24449,6 +24449,134 @@ module Akeyless
|
|
|
24449
24449
|
return data, status_code, headers
|
|
24450
24450
|
end
|
|
24451
24451
|
|
|
24452
|
+
# @param lock_item [LockItem]
|
|
24453
|
+
# @param [Hash] opts the optional parameters
|
|
24454
|
+
# @return [Object]
|
|
24455
|
+
def lock_item(lock_item, opts = {})
|
|
24456
|
+
data, _status_code, _headers = lock_item_with_http_info(lock_item, opts)
|
|
24457
|
+
data
|
|
24458
|
+
end
|
|
24459
|
+
|
|
24460
|
+
# @param lock_item [LockItem]
|
|
24461
|
+
# @param [Hash] opts the optional parameters
|
|
24462
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
24463
|
+
def lock_item_with_http_info(lock_item, opts = {})
|
|
24464
|
+
if @api_client.config.debugging
|
|
24465
|
+
@api_client.config.logger.debug 'Calling API: V2Api.lock_item ...'
|
|
24466
|
+
end
|
|
24467
|
+
# verify the required parameter 'lock_item' is set
|
|
24468
|
+
if @api_client.config.client_side_validation && lock_item.nil?
|
|
24469
|
+
fail ArgumentError, "Missing the required parameter 'lock_item' when calling V2Api.lock_item"
|
|
24470
|
+
end
|
|
24471
|
+
# resource path
|
|
24472
|
+
local_var_path = '/lock-item'
|
|
24473
|
+
|
|
24474
|
+
# query parameters
|
|
24475
|
+
query_params = opts[:query_params] || {}
|
|
24476
|
+
|
|
24477
|
+
# header parameters
|
|
24478
|
+
header_params = opts[:header_params] || {}
|
|
24479
|
+
# HTTP header 'Accept' (if needed)
|
|
24480
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
24481
|
+
# HTTP header 'Content-Type'
|
|
24482
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
24483
|
+
if !content_type.nil?
|
|
24484
|
+
header_params['Content-Type'] = content_type
|
|
24485
|
+
end
|
|
24486
|
+
|
|
24487
|
+
# form parameters
|
|
24488
|
+
form_params = opts[:form_params] || {}
|
|
24489
|
+
|
|
24490
|
+
# http body (model)
|
|
24491
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(lock_item)
|
|
24492
|
+
|
|
24493
|
+
# return_type
|
|
24494
|
+
return_type = opts[:debug_return_type] || 'Object'
|
|
24495
|
+
|
|
24496
|
+
# auth_names
|
|
24497
|
+
auth_names = opts[:debug_auth_names] || []
|
|
24498
|
+
|
|
24499
|
+
new_options = opts.merge(
|
|
24500
|
+
:operation => :"V2Api.lock_item",
|
|
24501
|
+
:header_params => header_params,
|
|
24502
|
+
:query_params => query_params,
|
|
24503
|
+
:form_params => form_params,
|
|
24504
|
+
:body => post_body,
|
|
24505
|
+
:auth_names => auth_names,
|
|
24506
|
+
:return_type => return_type
|
|
24507
|
+
)
|
|
24508
|
+
|
|
24509
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
24510
|
+
if @api_client.config.debugging
|
|
24511
|
+
@api_client.config.logger.debug "API called: V2Api#lock_item\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
24512
|
+
end
|
|
24513
|
+
return data, status_code, headers
|
|
24514
|
+
end
|
|
24515
|
+
|
|
24516
|
+
# @param lock_target [LockTarget]
|
|
24517
|
+
# @param [Hash] opts the optional parameters
|
|
24518
|
+
# @return [Object]
|
|
24519
|
+
def lock_target(lock_target, opts = {})
|
|
24520
|
+
data, _status_code, _headers = lock_target_with_http_info(lock_target, opts)
|
|
24521
|
+
data
|
|
24522
|
+
end
|
|
24523
|
+
|
|
24524
|
+
# @param lock_target [LockTarget]
|
|
24525
|
+
# @param [Hash] opts the optional parameters
|
|
24526
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
24527
|
+
def lock_target_with_http_info(lock_target, opts = {})
|
|
24528
|
+
if @api_client.config.debugging
|
|
24529
|
+
@api_client.config.logger.debug 'Calling API: V2Api.lock_target ...'
|
|
24530
|
+
end
|
|
24531
|
+
# verify the required parameter 'lock_target' is set
|
|
24532
|
+
if @api_client.config.client_side_validation && lock_target.nil?
|
|
24533
|
+
fail ArgumentError, "Missing the required parameter 'lock_target' when calling V2Api.lock_target"
|
|
24534
|
+
end
|
|
24535
|
+
# resource path
|
|
24536
|
+
local_var_path = '/lock-target'
|
|
24537
|
+
|
|
24538
|
+
# query parameters
|
|
24539
|
+
query_params = opts[:query_params] || {}
|
|
24540
|
+
|
|
24541
|
+
# header parameters
|
|
24542
|
+
header_params = opts[:header_params] || {}
|
|
24543
|
+
# HTTP header 'Accept' (if needed)
|
|
24544
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
24545
|
+
# HTTP header 'Content-Type'
|
|
24546
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
24547
|
+
if !content_type.nil?
|
|
24548
|
+
header_params['Content-Type'] = content_type
|
|
24549
|
+
end
|
|
24550
|
+
|
|
24551
|
+
# form parameters
|
|
24552
|
+
form_params = opts[:form_params] || {}
|
|
24553
|
+
|
|
24554
|
+
# http body (model)
|
|
24555
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(lock_target)
|
|
24556
|
+
|
|
24557
|
+
# return_type
|
|
24558
|
+
return_type = opts[:debug_return_type] || 'Object'
|
|
24559
|
+
|
|
24560
|
+
# auth_names
|
|
24561
|
+
auth_names = opts[:debug_auth_names] || []
|
|
24562
|
+
|
|
24563
|
+
new_options = opts.merge(
|
|
24564
|
+
:operation => :"V2Api.lock_target",
|
|
24565
|
+
:header_params => header_params,
|
|
24566
|
+
:query_params => query_params,
|
|
24567
|
+
:form_params => form_params,
|
|
24568
|
+
:body => post_body,
|
|
24569
|
+
:auth_names => auth_names,
|
|
24570
|
+
:return_type => return_type
|
|
24571
|
+
)
|
|
24572
|
+
|
|
24573
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
24574
|
+
if @api_client.config.debugging
|
|
24575
|
+
@api_client.config.logger.debug "API called: V2Api#lock_target\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
24576
|
+
end
|
|
24577
|
+
return data, status_code, headers
|
|
24578
|
+
end
|
|
24579
|
+
|
|
24452
24580
|
# @param move_objects [MoveObjects]
|
|
24453
24581
|
# @param [Hash] opts the optional parameters
|
|
24454
24582
|
# @return [Object]
|
|
@@ -28530,6 +28658,70 @@ module Akeyless
|
|
|
28530
28658
|
return data, status_code, headers
|
|
28531
28659
|
end
|
|
28532
28660
|
|
|
28661
|
+
# @param runtime_authority_command [RuntimeAuthorityCommand]
|
|
28662
|
+
# @param [Hash] opts the optional parameters
|
|
28663
|
+
# @return [nil]
|
|
28664
|
+
def runtime_authority(runtime_authority_command, opts = {})
|
|
28665
|
+
runtime_authority_with_http_info(runtime_authority_command, opts)
|
|
28666
|
+
nil
|
|
28667
|
+
end
|
|
28668
|
+
|
|
28669
|
+
# @param runtime_authority_command [RuntimeAuthorityCommand]
|
|
28670
|
+
# @param [Hash] opts the optional parameters
|
|
28671
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
28672
|
+
def runtime_authority_with_http_info(runtime_authority_command, opts = {})
|
|
28673
|
+
if @api_client.config.debugging
|
|
28674
|
+
@api_client.config.logger.debug 'Calling API: V2Api.runtime_authority ...'
|
|
28675
|
+
end
|
|
28676
|
+
# verify the required parameter 'runtime_authority_command' is set
|
|
28677
|
+
if @api_client.config.client_side_validation && runtime_authority_command.nil?
|
|
28678
|
+
fail ArgumentError, "Missing the required parameter 'runtime_authority_command' when calling V2Api.runtime_authority"
|
|
28679
|
+
end
|
|
28680
|
+
# resource path
|
|
28681
|
+
local_var_path = '/runtime-authority'
|
|
28682
|
+
|
|
28683
|
+
# query parameters
|
|
28684
|
+
query_params = opts[:query_params] || {}
|
|
28685
|
+
|
|
28686
|
+
# header parameters
|
|
28687
|
+
header_params = opts[:header_params] || {}
|
|
28688
|
+
# HTTP header 'Accept' (if needed)
|
|
28689
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
28690
|
+
# HTTP header 'Content-Type'
|
|
28691
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
28692
|
+
if !content_type.nil?
|
|
28693
|
+
header_params['Content-Type'] = content_type
|
|
28694
|
+
end
|
|
28695
|
+
|
|
28696
|
+
# form parameters
|
|
28697
|
+
form_params = opts[:form_params] || {}
|
|
28698
|
+
|
|
28699
|
+
# http body (model)
|
|
28700
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(runtime_authority_command)
|
|
28701
|
+
|
|
28702
|
+
# return_type
|
|
28703
|
+
return_type = opts[:debug_return_type]
|
|
28704
|
+
|
|
28705
|
+
# auth_names
|
|
28706
|
+
auth_names = opts[:debug_auth_names] || []
|
|
28707
|
+
|
|
28708
|
+
new_options = opts.merge(
|
|
28709
|
+
:operation => :"V2Api.runtime_authority",
|
|
28710
|
+
:header_params => header_params,
|
|
28711
|
+
:query_params => query_params,
|
|
28712
|
+
:form_params => form_params,
|
|
28713
|
+
:body => post_body,
|
|
28714
|
+
:auth_names => auth_names,
|
|
28715
|
+
:return_type => return_type
|
|
28716
|
+
)
|
|
28717
|
+
|
|
28718
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
28719
|
+
if @api_client.config.debugging
|
|
28720
|
+
@api_client.config.logger.debug "API called: V2Api#runtime_authority\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
28721
|
+
end
|
|
28722
|
+
return data, status_code, headers
|
|
28723
|
+
end
|
|
28724
|
+
|
|
28533
28725
|
# @param set_item_state [SetItemState]
|
|
28534
28726
|
# @param [Hash] opts the optional parameters
|
|
28535
28727
|
# @return [Object]
|
|
@@ -29618,6 +29810,70 @@ module Akeyless
|
|
|
29618
29810
|
return data, status_code, headers
|
|
29619
29811
|
end
|
|
29620
29812
|
|
|
29813
|
+
# @param target_create_digi_cert [TargetCreateDigiCert]
|
|
29814
|
+
# @param [Hash] opts the optional parameters
|
|
29815
|
+
# @return [TargetCreateOutput]
|
|
29816
|
+
def target_create_digi_cert(target_create_digi_cert, opts = {})
|
|
29817
|
+
data, _status_code, _headers = target_create_digi_cert_with_http_info(target_create_digi_cert, opts)
|
|
29818
|
+
data
|
|
29819
|
+
end
|
|
29820
|
+
|
|
29821
|
+
# @param target_create_digi_cert [TargetCreateDigiCert]
|
|
29822
|
+
# @param [Hash] opts the optional parameters
|
|
29823
|
+
# @return [Array<(TargetCreateOutput, Integer, Hash)>] TargetCreateOutput data, response status code and response headers
|
|
29824
|
+
def target_create_digi_cert_with_http_info(target_create_digi_cert, opts = {})
|
|
29825
|
+
if @api_client.config.debugging
|
|
29826
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_create_digi_cert ...'
|
|
29827
|
+
end
|
|
29828
|
+
# verify the required parameter 'target_create_digi_cert' is set
|
|
29829
|
+
if @api_client.config.client_side_validation && target_create_digi_cert.nil?
|
|
29830
|
+
fail ArgumentError, "Missing the required parameter 'target_create_digi_cert' when calling V2Api.target_create_digi_cert"
|
|
29831
|
+
end
|
|
29832
|
+
# resource path
|
|
29833
|
+
local_var_path = '/target-create-digicert'
|
|
29834
|
+
|
|
29835
|
+
# query parameters
|
|
29836
|
+
query_params = opts[:query_params] || {}
|
|
29837
|
+
|
|
29838
|
+
# header parameters
|
|
29839
|
+
header_params = opts[:header_params] || {}
|
|
29840
|
+
# HTTP header 'Accept' (if needed)
|
|
29841
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
29842
|
+
# HTTP header 'Content-Type'
|
|
29843
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
29844
|
+
if !content_type.nil?
|
|
29845
|
+
header_params['Content-Type'] = content_type
|
|
29846
|
+
end
|
|
29847
|
+
|
|
29848
|
+
# form parameters
|
|
29849
|
+
form_params = opts[:form_params] || {}
|
|
29850
|
+
|
|
29851
|
+
# http body (model)
|
|
29852
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_create_digi_cert)
|
|
29853
|
+
|
|
29854
|
+
# return_type
|
|
29855
|
+
return_type = opts[:debug_return_type] || 'TargetCreateOutput'
|
|
29856
|
+
|
|
29857
|
+
# auth_names
|
|
29858
|
+
auth_names = opts[:debug_auth_names] || []
|
|
29859
|
+
|
|
29860
|
+
new_options = opts.merge(
|
|
29861
|
+
:operation => :"V2Api.target_create_digi_cert",
|
|
29862
|
+
:header_params => header_params,
|
|
29863
|
+
:query_params => query_params,
|
|
29864
|
+
:form_params => form_params,
|
|
29865
|
+
:body => post_body,
|
|
29866
|
+
:auth_names => auth_names,
|
|
29867
|
+
:return_type => return_type
|
|
29868
|
+
)
|
|
29869
|
+
|
|
29870
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
29871
|
+
if @api_client.config.debugging
|
|
29872
|
+
@api_client.config.logger.debug "API called: V2Api#target_create_digi_cert\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
29873
|
+
end
|
|
29874
|
+
return data, status_code, headers
|
|
29875
|
+
end
|
|
29876
|
+
|
|
29621
29877
|
# @param target_create_dockerhub [TargetCreateDockerhub]
|
|
29622
29878
|
# @param [Hash] opts the optional parameters
|
|
29623
29879
|
# @return [TargetCreateOutput]
|
|
@@ -30258,6 +30514,70 @@ module Akeyless
|
|
|
30258
30514
|
return data, status_code, headers
|
|
30259
30515
|
end
|
|
30260
30516
|
|
|
30517
|
+
# @param target_create_google_trust [TargetCreateGoogleTrust]
|
|
30518
|
+
# @param [Hash] opts the optional parameters
|
|
30519
|
+
# @return [TargetCreateOutput]
|
|
30520
|
+
def target_create_google_trust(target_create_google_trust, opts = {})
|
|
30521
|
+
data, _status_code, _headers = target_create_google_trust_with_http_info(target_create_google_trust, opts)
|
|
30522
|
+
data
|
|
30523
|
+
end
|
|
30524
|
+
|
|
30525
|
+
# @param target_create_google_trust [TargetCreateGoogleTrust]
|
|
30526
|
+
# @param [Hash] opts the optional parameters
|
|
30527
|
+
# @return [Array<(TargetCreateOutput, Integer, Hash)>] TargetCreateOutput data, response status code and response headers
|
|
30528
|
+
def target_create_google_trust_with_http_info(target_create_google_trust, opts = {})
|
|
30529
|
+
if @api_client.config.debugging
|
|
30530
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_create_google_trust ...'
|
|
30531
|
+
end
|
|
30532
|
+
# verify the required parameter 'target_create_google_trust' is set
|
|
30533
|
+
if @api_client.config.client_side_validation && target_create_google_trust.nil?
|
|
30534
|
+
fail ArgumentError, "Missing the required parameter 'target_create_google_trust' when calling V2Api.target_create_google_trust"
|
|
30535
|
+
end
|
|
30536
|
+
# resource path
|
|
30537
|
+
local_var_path = '/target-create-google-trust'
|
|
30538
|
+
|
|
30539
|
+
# query parameters
|
|
30540
|
+
query_params = opts[:query_params] || {}
|
|
30541
|
+
|
|
30542
|
+
# header parameters
|
|
30543
|
+
header_params = opts[:header_params] || {}
|
|
30544
|
+
# HTTP header 'Accept' (if needed)
|
|
30545
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
30546
|
+
# HTTP header 'Content-Type'
|
|
30547
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
30548
|
+
if !content_type.nil?
|
|
30549
|
+
header_params['Content-Type'] = content_type
|
|
30550
|
+
end
|
|
30551
|
+
|
|
30552
|
+
# form parameters
|
|
30553
|
+
form_params = opts[:form_params] || {}
|
|
30554
|
+
|
|
30555
|
+
# http body (model)
|
|
30556
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_create_google_trust)
|
|
30557
|
+
|
|
30558
|
+
# return_type
|
|
30559
|
+
return_type = opts[:debug_return_type] || 'TargetCreateOutput'
|
|
30560
|
+
|
|
30561
|
+
# auth_names
|
|
30562
|
+
auth_names = opts[:debug_auth_names] || []
|
|
30563
|
+
|
|
30564
|
+
new_options = opts.merge(
|
|
30565
|
+
:operation => :"V2Api.target_create_google_trust",
|
|
30566
|
+
:header_params => header_params,
|
|
30567
|
+
:query_params => query_params,
|
|
30568
|
+
:form_params => form_params,
|
|
30569
|
+
:body => post_body,
|
|
30570
|
+
:auth_names => auth_names,
|
|
30571
|
+
:return_type => return_type
|
|
30572
|
+
)
|
|
30573
|
+
|
|
30574
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
30575
|
+
if @api_client.config.debugging
|
|
30576
|
+
@api_client.config.logger.debug "API called: V2Api#target_create_google_trust\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
30577
|
+
end
|
|
30578
|
+
return data, status_code, headers
|
|
30579
|
+
end
|
|
30580
|
+
|
|
30261
30581
|
# @param target_create_hashi_vault [TargetCreateHashiVault]
|
|
30262
30582
|
# @param [Hash] opts the optional parameters
|
|
30263
30583
|
# @return [TargetCreateOutput]
|
|
@@ -31730,6 +32050,70 @@ module Akeyless
|
|
|
31730
32050
|
return data, status_code, headers
|
|
31731
32051
|
end
|
|
31732
32052
|
|
|
32053
|
+
# @param target_update_digi_cert [TargetUpdateDigiCert]
|
|
32054
|
+
# @param [Hash] opts the optional parameters
|
|
32055
|
+
# @return [TargetUpdateOutput]
|
|
32056
|
+
def target_update_digi_cert(target_update_digi_cert, opts = {})
|
|
32057
|
+
data, _status_code, _headers = target_update_digi_cert_with_http_info(target_update_digi_cert, opts)
|
|
32058
|
+
data
|
|
32059
|
+
end
|
|
32060
|
+
|
|
32061
|
+
# @param target_update_digi_cert [TargetUpdateDigiCert]
|
|
32062
|
+
# @param [Hash] opts the optional parameters
|
|
32063
|
+
# @return [Array<(TargetUpdateOutput, Integer, Hash)>] TargetUpdateOutput data, response status code and response headers
|
|
32064
|
+
def target_update_digi_cert_with_http_info(target_update_digi_cert, opts = {})
|
|
32065
|
+
if @api_client.config.debugging
|
|
32066
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_update_digi_cert ...'
|
|
32067
|
+
end
|
|
32068
|
+
# verify the required parameter 'target_update_digi_cert' is set
|
|
32069
|
+
if @api_client.config.client_side_validation && target_update_digi_cert.nil?
|
|
32070
|
+
fail ArgumentError, "Missing the required parameter 'target_update_digi_cert' when calling V2Api.target_update_digi_cert"
|
|
32071
|
+
end
|
|
32072
|
+
# resource path
|
|
32073
|
+
local_var_path = '/target-update-digicert'
|
|
32074
|
+
|
|
32075
|
+
# query parameters
|
|
32076
|
+
query_params = opts[:query_params] || {}
|
|
32077
|
+
|
|
32078
|
+
# header parameters
|
|
32079
|
+
header_params = opts[:header_params] || {}
|
|
32080
|
+
# HTTP header 'Accept' (if needed)
|
|
32081
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
32082
|
+
# HTTP header 'Content-Type'
|
|
32083
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
32084
|
+
if !content_type.nil?
|
|
32085
|
+
header_params['Content-Type'] = content_type
|
|
32086
|
+
end
|
|
32087
|
+
|
|
32088
|
+
# form parameters
|
|
32089
|
+
form_params = opts[:form_params] || {}
|
|
32090
|
+
|
|
32091
|
+
# http body (model)
|
|
32092
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_update_digi_cert)
|
|
32093
|
+
|
|
32094
|
+
# return_type
|
|
32095
|
+
return_type = opts[:debug_return_type] || 'TargetUpdateOutput'
|
|
32096
|
+
|
|
32097
|
+
# auth_names
|
|
32098
|
+
auth_names = opts[:debug_auth_names] || []
|
|
32099
|
+
|
|
32100
|
+
new_options = opts.merge(
|
|
32101
|
+
:operation => :"V2Api.target_update_digi_cert",
|
|
32102
|
+
:header_params => header_params,
|
|
32103
|
+
:query_params => query_params,
|
|
32104
|
+
:form_params => form_params,
|
|
32105
|
+
:body => post_body,
|
|
32106
|
+
:auth_names => auth_names,
|
|
32107
|
+
:return_type => return_type
|
|
32108
|
+
)
|
|
32109
|
+
|
|
32110
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
32111
|
+
if @api_client.config.debugging
|
|
32112
|
+
@api_client.config.logger.debug "API called: V2Api#target_update_digi_cert\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
32113
|
+
end
|
|
32114
|
+
return data, status_code, headers
|
|
32115
|
+
end
|
|
32116
|
+
|
|
31733
32117
|
# @param target_update_dockerhub [TargetUpdateDockerhub]
|
|
31734
32118
|
# @param [Hash] opts the optional parameters
|
|
31735
32119
|
# @return [TargetUpdateOutput]
|
|
@@ -32370,6 +32754,70 @@ module Akeyless
|
|
|
32370
32754
|
return data, status_code, headers
|
|
32371
32755
|
end
|
|
32372
32756
|
|
|
32757
|
+
# @param target_update_google_trust [TargetUpdateGoogleTrust]
|
|
32758
|
+
# @param [Hash] opts the optional parameters
|
|
32759
|
+
# @return [TargetUpdateOutput]
|
|
32760
|
+
def target_update_google_trust(target_update_google_trust, opts = {})
|
|
32761
|
+
data, _status_code, _headers = target_update_google_trust_with_http_info(target_update_google_trust, opts)
|
|
32762
|
+
data
|
|
32763
|
+
end
|
|
32764
|
+
|
|
32765
|
+
# @param target_update_google_trust [TargetUpdateGoogleTrust]
|
|
32766
|
+
# @param [Hash] opts the optional parameters
|
|
32767
|
+
# @return [Array<(TargetUpdateOutput, Integer, Hash)>] TargetUpdateOutput data, response status code and response headers
|
|
32768
|
+
def target_update_google_trust_with_http_info(target_update_google_trust, opts = {})
|
|
32769
|
+
if @api_client.config.debugging
|
|
32770
|
+
@api_client.config.logger.debug 'Calling API: V2Api.target_update_google_trust ...'
|
|
32771
|
+
end
|
|
32772
|
+
# verify the required parameter 'target_update_google_trust' is set
|
|
32773
|
+
if @api_client.config.client_side_validation && target_update_google_trust.nil?
|
|
32774
|
+
fail ArgumentError, "Missing the required parameter 'target_update_google_trust' when calling V2Api.target_update_google_trust"
|
|
32775
|
+
end
|
|
32776
|
+
# resource path
|
|
32777
|
+
local_var_path = '/target-update-google-trust'
|
|
32778
|
+
|
|
32779
|
+
# query parameters
|
|
32780
|
+
query_params = opts[:query_params] || {}
|
|
32781
|
+
|
|
32782
|
+
# header parameters
|
|
32783
|
+
header_params = opts[:header_params] || {}
|
|
32784
|
+
# HTTP header 'Accept' (if needed)
|
|
32785
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
32786
|
+
# HTTP header 'Content-Type'
|
|
32787
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
32788
|
+
if !content_type.nil?
|
|
32789
|
+
header_params['Content-Type'] = content_type
|
|
32790
|
+
end
|
|
32791
|
+
|
|
32792
|
+
# form parameters
|
|
32793
|
+
form_params = opts[:form_params] || {}
|
|
32794
|
+
|
|
32795
|
+
# http body (model)
|
|
32796
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(target_update_google_trust)
|
|
32797
|
+
|
|
32798
|
+
# return_type
|
|
32799
|
+
return_type = opts[:debug_return_type] || 'TargetUpdateOutput'
|
|
32800
|
+
|
|
32801
|
+
# auth_names
|
|
32802
|
+
auth_names = opts[:debug_auth_names] || []
|
|
32803
|
+
|
|
32804
|
+
new_options = opts.merge(
|
|
32805
|
+
:operation => :"V2Api.target_update_google_trust",
|
|
32806
|
+
:header_params => header_params,
|
|
32807
|
+
:query_params => query_params,
|
|
32808
|
+
:form_params => form_params,
|
|
32809
|
+
:body => post_body,
|
|
32810
|
+
:auth_names => auth_names,
|
|
32811
|
+
:return_type => return_type
|
|
32812
|
+
)
|
|
32813
|
+
|
|
32814
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
32815
|
+
if @api_client.config.debugging
|
|
32816
|
+
@api_client.config.logger.debug "API called: V2Api#target_update_google_trust\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
32817
|
+
end
|
|
32818
|
+
return data, status_code, headers
|
|
32819
|
+
end
|
|
32820
|
+
|
|
32373
32821
|
# @param target_update_hashi_vault [TargetUpdateHashiVault]
|
|
32374
32822
|
# @param [Hash] opts the optional parameters
|
|
32375
32823
|
# @return [TargetUpdateOutput]
|
|
@@ -33714,6 +34162,134 @@ module Akeyless
|
|
|
33714
34162
|
return data, status_code, headers
|
|
33715
34163
|
end
|
|
33716
34164
|
|
|
34165
|
+
# @param unlock_item [UnlockItem]
|
|
34166
|
+
# @param [Hash] opts the optional parameters
|
|
34167
|
+
# @return [Object]
|
|
34168
|
+
def unlock_item(unlock_item, opts = {})
|
|
34169
|
+
data, _status_code, _headers = unlock_item_with_http_info(unlock_item, opts)
|
|
34170
|
+
data
|
|
34171
|
+
end
|
|
34172
|
+
|
|
34173
|
+
# @param unlock_item [UnlockItem]
|
|
34174
|
+
# @param [Hash] opts the optional parameters
|
|
34175
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
34176
|
+
def unlock_item_with_http_info(unlock_item, opts = {})
|
|
34177
|
+
if @api_client.config.debugging
|
|
34178
|
+
@api_client.config.logger.debug 'Calling API: V2Api.unlock_item ...'
|
|
34179
|
+
end
|
|
34180
|
+
# verify the required parameter 'unlock_item' is set
|
|
34181
|
+
if @api_client.config.client_side_validation && unlock_item.nil?
|
|
34182
|
+
fail ArgumentError, "Missing the required parameter 'unlock_item' when calling V2Api.unlock_item"
|
|
34183
|
+
end
|
|
34184
|
+
# resource path
|
|
34185
|
+
local_var_path = '/unlock-item'
|
|
34186
|
+
|
|
34187
|
+
# query parameters
|
|
34188
|
+
query_params = opts[:query_params] || {}
|
|
34189
|
+
|
|
34190
|
+
# header parameters
|
|
34191
|
+
header_params = opts[:header_params] || {}
|
|
34192
|
+
# HTTP header 'Accept' (if needed)
|
|
34193
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
34194
|
+
# HTTP header 'Content-Type'
|
|
34195
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
34196
|
+
if !content_type.nil?
|
|
34197
|
+
header_params['Content-Type'] = content_type
|
|
34198
|
+
end
|
|
34199
|
+
|
|
34200
|
+
# form parameters
|
|
34201
|
+
form_params = opts[:form_params] || {}
|
|
34202
|
+
|
|
34203
|
+
# http body (model)
|
|
34204
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(unlock_item)
|
|
34205
|
+
|
|
34206
|
+
# return_type
|
|
34207
|
+
return_type = opts[:debug_return_type] || 'Object'
|
|
34208
|
+
|
|
34209
|
+
# auth_names
|
|
34210
|
+
auth_names = opts[:debug_auth_names] || []
|
|
34211
|
+
|
|
34212
|
+
new_options = opts.merge(
|
|
34213
|
+
:operation => :"V2Api.unlock_item",
|
|
34214
|
+
:header_params => header_params,
|
|
34215
|
+
:query_params => query_params,
|
|
34216
|
+
:form_params => form_params,
|
|
34217
|
+
:body => post_body,
|
|
34218
|
+
:auth_names => auth_names,
|
|
34219
|
+
:return_type => return_type
|
|
34220
|
+
)
|
|
34221
|
+
|
|
34222
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
34223
|
+
if @api_client.config.debugging
|
|
34224
|
+
@api_client.config.logger.debug "API called: V2Api#unlock_item\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
34225
|
+
end
|
|
34226
|
+
return data, status_code, headers
|
|
34227
|
+
end
|
|
34228
|
+
|
|
34229
|
+
# @param unlock_target [UnlockTarget]
|
|
34230
|
+
# @param [Hash] opts the optional parameters
|
|
34231
|
+
# @return [Object]
|
|
34232
|
+
def unlock_target(unlock_target, opts = {})
|
|
34233
|
+
data, _status_code, _headers = unlock_target_with_http_info(unlock_target, opts)
|
|
34234
|
+
data
|
|
34235
|
+
end
|
|
34236
|
+
|
|
34237
|
+
# @param unlock_target [UnlockTarget]
|
|
34238
|
+
# @param [Hash] opts the optional parameters
|
|
34239
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
34240
|
+
def unlock_target_with_http_info(unlock_target, opts = {})
|
|
34241
|
+
if @api_client.config.debugging
|
|
34242
|
+
@api_client.config.logger.debug 'Calling API: V2Api.unlock_target ...'
|
|
34243
|
+
end
|
|
34244
|
+
# verify the required parameter 'unlock_target' is set
|
|
34245
|
+
if @api_client.config.client_side_validation && unlock_target.nil?
|
|
34246
|
+
fail ArgumentError, "Missing the required parameter 'unlock_target' when calling V2Api.unlock_target"
|
|
34247
|
+
end
|
|
34248
|
+
# resource path
|
|
34249
|
+
local_var_path = '/unlock-target'
|
|
34250
|
+
|
|
34251
|
+
# query parameters
|
|
34252
|
+
query_params = opts[:query_params] || {}
|
|
34253
|
+
|
|
34254
|
+
# header parameters
|
|
34255
|
+
header_params = opts[:header_params] || {}
|
|
34256
|
+
# HTTP header 'Accept' (if needed)
|
|
34257
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
34258
|
+
# HTTP header 'Content-Type'
|
|
34259
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
34260
|
+
if !content_type.nil?
|
|
34261
|
+
header_params['Content-Type'] = content_type
|
|
34262
|
+
end
|
|
34263
|
+
|
|
34264
|
+
# form parameters
|
|
34265
|
+
form_params = opts[:form_params] || {}
|
|
34266
|
+
|
|
34267
|
+
# http body (model)
|
|
34268
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(unlock_target)
|
|
34269
|
+
|
|
34270
|
+
# return_type
|
|
34271
|
+
return_type = opts[:debug_return_type] || 'Object'
|
|
34272
|
+
|
|
34273
|
+
# auth_names
|
|
34274
|
+
auth_names = opts[:debug_auth_names] || []
|
|
34275
|
+
|
|
34276
|
+
new_options = opts.merge(
|
|
34277
|
+
:operation => :"V2Api.unlock_target",
|
|
34278
|
+
:header_params => header_params,
|
|
34279
|
+
:query_params => query_params,
|
|
34280
|
+
:form_params => form_params,
|
|
34281
|
+
:body => post_body,
|
|
34282
|
+
:auth_names => auth_names,
|
|
34283
|
+
:return_type => return_type
|
|
34284
|
+
)
|
|
34285
|
+
|
|
34286
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
34287
|
+
if @api_client.config.debugging
|
|
34288
|
+
@api_client.config.logger.debug "API called: V2Api#unlock_target\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
34289
|
+
end
|
|
34290
|
+
return data, status_code, headers
|
|
34291
|
+
end
|
|
34292
|
+
|
|
33717
34293
|
# @param unwrap_token [UnwrapToken]
|
|
33718
34294
|
# @param [Hash] opts the optional parameters
|
|
33719
34295
|
# @return [UnwrapTokenOutput]
|