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 --noattrCryptographicUsageMask : Encrypt VerifyInitialDate : 2018-11-07T20:13:32+00:00State : PreActiveCryptographicAlgorithm : RSALastChangeDate : 2018-11-07T20:13:32+00:00CryptographicLength : 4096ObjectType : PublicKeyhicli 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 --noattrbec40e89-e2c9-11e8-9997-000c299ae5ebbec39ac3-e2c9-11e8-9997-000c299ae5eb997dd60b-e2c9-11e8-9997-000c299ae5eb996b5f4c-e2c9-11e8-9997-000c299ae5ebhicli 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=0Object 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 [] Nonebec39ac3-e2c9-11e8-9997-000c299ae5eb PrivateKey PreActive 2018-11-07T20:14:35+00:00 2018-11-07T20:14:35+00:00 [] None997dd60b-e2c9-11e8-9997-000c299ae5eb PublicKey PreActive 2018-11-07T20:13:32+00:00 2018-11-07T20:13:32+00:00 [] None996b5f4c-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_countTotal number of KMIP objects: 10