Using Cloud Security SDKs
The BMC Helix Cloud Security software development kit (SDK) provides access to Innovation Suite APIs and SDKs, the core building blocks for developers. The SDK provides a normalized and homogeneous interface to manage your cloud and other on-premises software. The SDK can be used to directly use the Cloud Security API by embedding a .jar file into development code to enable the API to be invoked programatically.
This topic contains the following sections:
Prerequisites for installing the SDK
The following table details the SDKs used and the prerequisites for each use case.
Use case | SDKs used | Prerequisites |
---|---|---|
|
| |
| ||
|
| |
| ||
|
|
To install Java
Install OpenJDK 11.0.2
To set up a Maven project in Eclipse
- Create a Maven project in Eclipse.
Add the cloudsecurity-sdk-java.jar dependency in the pom.xml file.
For example:
<dependency>
<groupId>com.bmc.dem.caas</groupId>
<artifactId>cloudsecurity-sdk-java</artifactId>
<version>0.0.70</version>
<scope>system</scope>
<systemPath>${basedir}/lib/cloudsecurity-sdk-java.jar</systemPath>
</dependency>Add the cred.json file containing gateway details in the config directory.
For example:
Examples of creds.json files:
"user": "QLVCR7nkHt6TqdSHchIU",
"password": "****************",
"endpoints": {
"ifm": "https://bmchelix-cloudopsapi.onbmc.com"
}
}