AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
This is the response object from the DescribeCustomKeyStores operation.
Namespace: Amazon.KeyManagementService.Model
Assembly: AWSSDK.KeyManagementService.dll
Version: 3.x.y.z
public class DescribeCustomKeyStoresResponse : AmazonWebServiceResponse
The DescribeCustomKeyStoresResponse type exposes the following members
Name | Description | |
---|---|---|
DescribeCustomKeyStoresResponse() |
Name | Type | Description | |
---|---|---|---|
ContentLength | System.Int64 | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
CustomKeyStores | System.Collections.Generic.List<Amazon.KeyManagementService.Model.CustomKeyStoresListEntry> |
Gets and sets the property CustomKeyStores. Contains metadata about each custom key store. |
|
HttpStatusCode | System.Net.HttpStatusCode | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
NextMarker | System.String |
Gets and sets the property NextMarker.
When |
|
ResponseMetadata | Amazon.Runtime.ResponseMetadata | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
Truncated | System.Boolean |
Gets and sets the property Truncated.
A flag that indicates whether there are more items in the list. When this value is
true, the list in this response is truncated. To get more items, pass the value of
the |
This example gets detailed information about all AWS KMS custom key stores in an AWS account and Region. To get all key stores, do not enter a custom key store name or ID.
var client = new AmazonKeyManagementServiceClient(); var response = client.DescribeCustomKeyStores(new DescribeCustomKeyStoresRequest { }); List<CustomKeyStoresListEntry> customKeyStores = response.CustomKeyStores; // Details about each custom key store in the account and Region.
This example gets detailed information about a particular AWS CloudHSM key store by specifying its friendly name. To limit the output to a particular custom key store, provide either the custom key store name or ID.
var client = new AmazonKeyManagementServiceClient(); var response = client.DescribeCustomKeyStores(new DescribeCustomKeyStoresRequest { CustomKeyStoreName = "ExampleKeyStore" // The friendly name of the custom key store. }); List<CustomKeyStoresListEntry> customKeyStores = response.CustomKeyStores; // Detailed information about the specified custom key store.
This example gets detailed information about an external key store by specifying its ID. The example external key store proxy uses public endpoint connectivity.
var client = new AmazonKeyManagementServiceClient(); var response = client.DescribeCustomKeyStores(new DescribeCustomKeyStoresRequest { CustomKeyStoreId = "cks-9876543210fedcba9" // The ID of the custom key store. }); List<CustomKeyStoresListEntry> customKeyStores = response.CustomKeyStores; // Detailed information about the specified custom key store.
This example gets detailed information about a particular external key store by specifying its friendly name. To limit the output to a particular custom key store, provide either the custom key store name or ID. The proxy URI path for this external key store includes an optional prefix. Also, because this example external key store uses VPC endpoint connectivity, the response includes the associated VPC endpoint service name.
var client = new AmazonKeyManagementServiceClient(); var response = client.DescribeCustomKeyStores(new DescribeCustomKeyStoresRequest { CustomKeyStoreName = "VPCExternalKeystore" }); List<CustomKeyStoresListEntry> customKeyStores = response.CustomKeyStores; // Detailed information about the specified custom key store.
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5