Retrieves a list of objects stored on the KMIP server. You can specify the following properties:

--uuid=<object uuid>

The UUID of the KMIP server object. If this parameter is not specified, the command returns a list of the KMIP objects on the server. For example, the following command gets a specific KMIP object. 

$ hicli kmipsrv_obj fetch --uuid=997dd60b-e2c9-11e8-9997-000c299ae5eb --noattr
CryptographicUsageMask : Encrypt Verify
InitialDate : 2018-11-07T20:13:32+00:00
State : PreActive
CryptographicAlgorithm : RSA
LastChangeDate : 2018-11-07T20:13:32+00:00
CryptographicLength : 4096
ObjectType : PublicKey

hicli ignores the --noattr option when using the --uuid one.


--noattr

Only include the object UUIDs in the returned list. For example, the following command gets only the UUIDs for the first four KMIP objects:

$ hicli kmipsrv_obj fetch --count=4 --offset=0 --noattr
bec40e89-e2c9-11e8-9997-000c299ae5eb
bec39ac3-e2c9-11e8-9997-000c299ae5eb
997dd60b-e2c9-11e8-9997-000c299ae5eb
996b5f4c-e2c9-11e8-9997-000c299ae5eb

hicli ignores the --noattr option when using the --uuid one.

--count=<list size>

The number of KMIP objects to retrieve. For example, the following command retrieves the details for the first 4 objects:

$ hicli kmipsrv_obj fetch --count=4 --offset=0
Object UUID Type State Initial Date Last Change Identification Description
----------- ---- ----- ------------ ----------- -------------- -----------
bec40e89-e2c9-11e8-9997-000c299ae5eb PublicKey PreActive 2018-11-07T20:14:35+00:00 2018-11-07T20:14:35+00:00 [] None
bec39ac3-e2c9-11e8-9997-000c299ae5eb PrivateKey PreActive 2018-11-07T20:14:35+00:00 2018-11-07T20:14:35+00:00 [] None
997dd60b-e2c9-11e8-9997-000c299ae5eb PublicKey PreActive 2018-11-07T20:13:32+00:00 2018-11-07T20:13:32+00:00 [] None
996b5f4c-e2c9-11e8-9997-000c299ae5eb PrivateKey PreActive 2018-11-07T20:13:32+00:00 2018-11-07T20:13:32+00:00 [] None

--offset=<offset>

The index of the first object to retrieve in the list. If you specify 0 (zero) for this parameter, the command starts at the top of the list.

--total_count

Include the total number of objects stored on the KMIP server in the response. For example, the following command gets the total number of KMIP objects stored on the server:

$ hicli kmipsrv_obj fetch --total_count
Total number of KMIP objects: 10