Copy Page/assoc-target-itempost https://api.akeyless.io/assoc-target-itemRecent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Body ParamsassocTargetItem is a command that creates an association between target and item.bind-ssl-profilesarray of stringsBind the provisioned certificate to an existing client-ssl/server-ssl profile, in the format :: (relevant only for F5 BIG-IP certificate provisioning). Leave the partition empty to use the certificate's partition. For a profile in a folder, add the folder to the partition, for example client-ssl:Common/Shared:my-profile. Repeat the parameter to bind several profiles.bind-ssl-profilesADD stringcertificate-arnstringThe ARN of an existing imported ACM certificate to re-import into, which replaces its certificate and key; if empty, a new ACM certificate is created on every provisioning, including after renewal (relevant only for AWS certificate provisioning)certificate-formatstringDefaults to pemThe format the certificate will be provisioned with, available options: pem,pfx,jks (jks uses --jks-password); pfx requires gateway version 5.5.0 or higher, and jks and pfx for Azure Key Vault require 5.8.0 or higher, or the association is rejected (relevant only for certificate provisioning)certificate-namestringThe name of the certificate object in the cloud provider (relevant only for AWS, Azure, and GCP certificate provisioning)certificate-pathstringA path on the target to store the certificate pem file (relevant only for certificate provisioning)chain-pathstringA path on the target to store the full chain pem file (relevant only for certificate provisioning)disable-previous-key-versionbooleanDefaults to falseAutomatically disable previous key version (required for azure targets)truefalseexternal-key-namestringThe external key name to associate with the classic key (Relevant only for Classic Key AWS/Azure/GCP targets)f5-save-configbooleanDefaults to falseSave the F5 running configuration after each successful provisioning, so the certificate survives a reboot. This also saves any other unsaved change on the device (relevant only for F5 BIG-IP certificate provisioning)truefalsef5-sync-device-groupstringSync the F5 configuration to this device group after each successful provisioning, so the HA peer serves the same certificate. This overwrites unsynced changes on the other members of the group. Implies f5-save-config (relevant only for F5 BIG-IP certificate provisioning)iis-binding-hostnamestringThe optional host name of the IIS binding, which enables SNI for a binding that is created (requires gateway version 5.8.0 or higher, or the association is rejected; relevant only for Windows certificate provisioning, requires --certificate-format pfx and a --certificate-path of the form Cert:\LocalMachine<store>, for example Cert:\LocalMachine\My)iis-binding-ip-addressstringComma-separated IP addresses of the IIS bindings to update (or create with --iis-create-binding), one binding per address, or * for all unassigned addresses; required with --iis-website-name (requires gateway version 5.8.0 or higher, or the association is rejected; relevant only for Windows certificate provisioning, requires --certificate-format pfx and a --certificate-path of the form Cert:\LocalMachine<store>, for example Cert:\LocalMachine\My)iis-binding-portint64The port of the IIS binding, 443 when omitted (requires gateway version 5.8.0 or higher, or the association is rejected; relevant only for Windows certificate provisioning, requires --certificate-format pfx and a --certificate-path of the form Cert:\LocalMachine<store>, for example Cert:\LocalMachine\My)iis-create-bindingbooleanDefaults to falseCreate the IIS https binding if the website has none matching the given IP addresses, port and host name; without it the run fails when such a binding does not exist (requires gateway version 5.8.0 or higher, or the association is rejected; relevant only for Windows certificate provisioning, requires --certificate-format pfx and a --certificate-path of the form Cert:\LocalMachine<store>, for example Cert:\LocalMachine\My)truefalseiis-restart-websitebooleanDefaults to falseRestart the IIS website after the certificate is bound (requires gateway version 5.8.0 or higher, or the association is rejected; relevant only for Windows certificate provisioning, requires --certificate-format pfx and a --certificate-path of the form Cert:\LocalMachine<store>, for example Cert:\LocalMachine\My)truefalseiis-website-namestringThe IIS website to bind the provisioned certificate to (requires gateway version 5.8.0 or higher, or the association is rejected; relevant only for Windows certificate provisioning, requires --certificate-format pfx and a --certificate-path of the form Cert:\LocalMachine<store>, for example Cert:\LocalMachine\My)jks-passwordstringJKS file password; required when certificate-format is jks (relevant only for certificate provisioning)jsonbooleanDefaults to falseSet output format to JSONtruefalsekey-aliasstringAlias the entry is stored under in the JKS file, default certificate (max 128 characters). Only relevant when --certificate-format=jkskey-operationsarray of stringsA list of allowed operations for the key (required for azure targets)key-operationsADD stringkey-vaultstringThe Azure Key Vault name to provision the certificate to (relevant only for Azure certificate provisioning)keyring-namestringKeyring name of the GCP KMS (required for gcp targets)kms-algorithmstringAlgorithm of the key in GCP KMS (required for gcp targets)location-idstringLocation id of the GCP KMS (required for gcp targets)location-scopestringThe GCP Certificate Manager location to provision the certificate to: global or a region such as us-central1 (relevant only for GCP certificate provisioning)multi-regionstringDefaults to falseSet to 'true' to create a multi-region managed key. (Relevant only for Classic Key AWS targets)namestringrequiredThe item to associatepfx-passwordstringPFX file password; required when certificate-format is pfx (relevant only for certificate provisioning)post-provision-commandstringA custom command to run on the remote target after successful provisioning (relevant only for SSH and Windows certificate provisioning, not supported for F5 BIG-IP)private-key-pathstringA path on the target to store the private key (relevant only for certificate provisioning)project-idstringProject id of the GCP KMS (required for gcp targets)protection-levelstringDefaults to softwareProtection level of the key [software/hardware] (relevant for gcp targets)provisioning-schedule-daysstringComma-separated UTC weekdays (sun,mon,tue,wed,thu,fri,sat) on which the certificate is provisioned after a renewal, together with provisioning-schedule-time. Provisioning is not run when the association is created. Without a schedule, provisioning runs right away (relevant only for certificate provisioning)provisioning-schedule-timestringThe UTC time of day, as HH:MM, at which the certificate is provisioned on the scheduled days. A renewed certificate waits for the first such time (relevant only for certificate provisioning)purposestringPurpose of the key in GCP KMS (required for gcp targets)regionsarray of stringsThe list of regions to create a copy of the key in (relevant for aws targets)regionsADD stringsra-associationbooleanDefaults to falseIs the target to associate is for sra, relevant only for linked target association for ldap rotated secrettruefalsetarget-namestringrequiredThe target to associatetenant-secret-typestringThe tenant secret type [Data/SearchIndex/Analytics] (required for salesforce targets)tokenstringAuthentication token (see /auth and /configure)uid-tokenstringThe universal identity token, Required only for universal_identity authenticationvault-namestringName of the vault used (required for azure targets)Responses 200assocTargetItemResponse wraps response body. defaulterrorResponse wraps any error to return it as a JSON object with one "error" field.Updated about 2 months ago /kmip-sunset-ca/create-artifactory-targetDid this page help you?YesNo