2
0
mirror of https://github.com/openkmip/pykmip synced 2025-12-14 23:33:19 +00:00

Adding ProxyKmipClient support for the GetAttributeList operation

This change adds support for the GetAttributeList operation to the
ProxyKmipClient. It updates the Pie client API and provides a demo
showing how to use the operation. All relevant test suites are updated
accordingly.
This commit is contained in:
Peter Hamilton
2015-08-05 08:39:32 -04:00
parent c2e6ffa048
commit 3970c0f211
6 changed files with 199 additions and 0 deletions

View File

@@ -161,6 +161,15 @@ def build_cli_parser(operation=None):
dest="format",
help=("Format in which to retrieve the secret. Supported formats "
"include: RAW, PKCS_1, PKCS_8, X_509"))
elif operation is Operation.GET_ATTRIBUTE_LIST:
parser.add_option(
"-i",
"--uuid",
action="store",
type="str",
default=None,
dest="uuid",
help="UID of a managed object")
elif operation is Operation.LOCATE:
parser.add_option(
"-n",