mirror of https://github.com/OpenKMIP/PyKMIP.git
Examples: ``` $ kmip/demos/pie/get_attributes.py -s ./vault-client.conf -i ca4a423c-d7a3-8771-028c-58feb78afca3 -a 'State' -a 'Object Type' 2019-03-25 19:28:25,868 - demo - INFO - Successfully retrieved 2 attributes: 2019-03-25 19:28:25,868 - demo - INFO - Attribute State: State.ACTIVE 2019-03-25 19:28:25,868 - demo - INFO - Attribute Object Type: ObjectType.SYMMETRIC_KEY ``` All attributes: ``` $ kmip/demos/pie/get_attributes.py -s ./vault-client.conf -i ca4a423c-d7a3-8771-028c-58feb78afca3 2019-03-25 19:28:29,985 - demo - INFO - Successfully retrieved 8 attributes: 2019-03-25 19:28:29,985 - demo - INFO - Attribute Unique Identifier: ca4a423c-d7a3-8771-028c-58feb78afca3 2019-03-25 19:28:29,985 - demo - INFO - Attribute Object Type: ObjectType.SYMMETRIC_KEY 2019-03-25 19:28:29,985 - demo - INFO - Attribute Cryptographic Algorithm: CryptographicAlgorithm.AES 2019-03-25 19:28:29,985 - demo - INFO - Attribute Cryptographic Length: 256 2019-03-25 19:28:29,985 - demo - INFO - Attribute Cryptographic Usage Mask: 12 2019-03-25 19:28:29,985 - demo - INFO - Attribute State: State.ACTIVE 2019-03-25 19:28:29,985 - demo - INFO - Attribute Initial Date: Mon Mar 25 14:28:44 2019 2019-03-25 19:28:29,985 - demo - INFO - Attribute Last Change Date: Mon Mar 25 14:28:44 2019 ``` |
||
---|---|---|
.. | ||
__init__.py | ||
create.py | ||
create_key_pair.py | ||
decrypt.py | ||
derive_key.py | ||
destroy.py | ||
encrypt.py | ||
get.py | ||
get_attribute_list.py | ||
get_attributes.py | ||
locate.py | ||
mac.py | ||
register_certificate.py | ||
register_opaque_object.py | ||
register_private_key.py | ||
register_public_key.py | ||
register_secret_data.py | ||
register_symmetric_key.py | ||
sign.py | ||
signature_verify.py |