Retrieves information about the specified server certificate.
Access
public
Parameters
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
|
Required |
The name of the server certificate you want to retrieve information about. [Constraints: The value must be between 1 and 128 characters, and must match the following regular expression pattern: |
|
|
|
Optional |
An associative array of parameters that can have the following keys:
|
Returns
Type |
Description |
|---|---|
|
A |
Examples
Get a server certificate.
// Instantiate the class
$iam = new AmazonIAM();
$response = $iam->get_server_certificate('my-server-cert');
// Success?
var_dump($response->isOK());
Result:
bool(true)
Source
Method defined in services/iam.class.php | Toggle source view (7 lines) | View on GitHub

