Initiating BMC AMI Cloud server API


This topic explains how to initiate the BMC AMI Cloud server API. 

Initiating management server policies from z/OS

The M9SAPI JCL procedure is used to edit and run BMC AMI Cloud policies directly from z/OS.


Customizing the M9SAPI procedure

The procedure and a sample job are located in the BMC AMI Cloud SAMPLIB data set. For more information, see Installing and Upgrading

Creating an API key

Important

Only applicable for BMC AMI Cloud administrators.

  1. Select Manage API Keys from the top left 3-dot menu: 

    assets_-Ma4P1R_Ef3vTtIth_YE_-MdbVICS8NOcYpSgkM4j_-MdbWUkqN7ErcQI9qc1G_image_png.png

  2. Create a new API key using the GENERATE NEW API KEY button: 

    assets_-Ma4P1R_Ef3vTtIth_YE_-MdbVICS8NOcYpSgkM4j_-MdbWXLhaqlzdTynaoOy_image_png.png

  3. A popup window is displayed. Enter the Delegated User name that is to be used by the job running the M9SAPI procedure and the if the API key should be allowed to edit policies: 

    spaces_FjLn5jeOh7WdpRxFCuQ4_uploads_lwyoQPb2BPZw7cwmLzDk_image_png.png

  4. Copy the API key to a sequential data set in the LPAR from which you intend to run M9SAPI: 

    assets_-Ma4P1R_Ef3vTtIth_YE_-MdbVICS8NOcYpSgkM4j_-MdbWawexQLSjIW4_jBr_image_png.png

  5. The API key can be updated by selecting Edit from the 3-dot menu: 

    assets_-Ma4P1R_Ef3vTtIth_YE_-MdbVICS8NOcYpSgkM4j_-MdbWczrC87YBZbcQqn2_image_png.png

  6. Update and save: 

    spaces_FjLn5jeOh7WdpRxFCuQ4_uploads_hKrdyBqCaStTCBSs6Thp_image_png.png


The API key can be deleted by selecting Delete from the 3-dot menu. 

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*