MFCLI Enhancements for 202404

Starting from Fabric version 202404 GA, MFCLI has been enhanced with the following commands:

Commands to manage Admin Server Jobs

get-jobs the command exports list of jobs under the specified environment:

  • for Cloud environment
    java -jar mfcli.jar get-jobs -u <user> -p <password> -t <account id> -clurl <cloud url> -e <environment name> -f <file name>
  • for On-premises installation
    java -jar mfcli.jar get-jobs -u <user> -p <password> -au <Identity URL> -cu <Console URL> -e <environment name> -f <file name>
    

get-job the command exports details of particular job under the specified environment:

  • for Cloud environment
    java -jar mfcli.jar get-job -u <user> -p <password> -t <account id> -clurl <cloud url> -e <environment name> -f <file name> -j <JobName>
  • for On-premises installation
    java -jar mfcli.jar get-job -u <user> -p <password> -au <Identity URL> -cu <Console URL> -e <environment name> -f <file name> -j <JobName>

For more information on how to App Services Console > Logs, refer to Admin Logs

edit-job the command edits the details of specific job in the specified environment:

  • for Cloud environment
    java -jar mfcli.jar edit-job -u <user> -p <password> -t <account id> -clurl <cloud url> -e <environment name> -f <file name>
  • for On-premises installation
    java -jar mfcli.jar edit-job -u <user> -p <password> -au <Identity URL> -cu <Console URL> -e <environment name> -f <file name>

delete-job the command deletes details of particular job under the specified environment:

  • for Cloud environment
    java -jar mfcli.jar delete-job -u <user> -p <password> -t <account id> -clurl <cloud url> -e <environment name> -j <JobName>
  • for On-premises installation
    java -jar mfcli.jar delete-job -u <user> -p <password> -au <Identity URL> -cu <Console URL> -e <environment name> -j <JobName>

Commands to add SSL certificates

get-sslcertificates the command exports list of ssl certificates under the specified environment:

  • for Cloud environment
    java -jar mfcli.jar get-sslcertificates -u <user> -p <password> -t <account id> -clurl <cloud url> -e <environment name> -f <file name>
  • for On-premises installation
    java -jar mfcli.jar get-sslcertificates -u <user> -p <password> -au <Identity URL> -cu <Console URL> -e <environment name> -f <file name>

 

add-sslcertificate the command adds ssl certificate to the specified environment:

  • for Cloud environment
    java -jar mfcli.jar add-sslcertificate -u <user> -p <password> -t <account id> -clurl <cloud url> 
    -e <environment name> -f <file name> -d <discriminator> -ca <certAlias> -td <targetDomains> -k <keypass> -pk <-privatekey>
  • for On-premises installation
    java -jar mfcli.jar add-sslcertificate -u <user> -p <password> -au <Identity URL> -cu <Console URL> 
    -e <environment name> -f <file name> -d <discriminator> -ca <certAlias> -td <targetDomains> -k <keypass> -pk <-privatekey>

Command to get SMTP configurations details

get-kpns-mail-config the command exports SMTP configuration under the specified environment:

  • for Cloud environment
    java -jar mfcli.jar get-kpns-mail-config -u <user> -p <password> -t <account id> -clurl <cloud url> -e <environment name> -f <file name>
  • for On-premises installation
    java -jar mfcli.jar get-kpns-mail-config -u <user> -p <password> -au <Identity URL> -cu <Console URL> -e <environment name> -f <file name>

Additional Information: