Machina Client SDK Version 2.1.2
Ionic Security Machina Client SDK for Python users
|
Class used to request multiple keys with varying attributes. More...
Classes | |
class | KeyRequest |
Inner class for CreateKeyRequest to hold groups of counts and attributes. More... | |
Public Member Functions | |
def | __init__ (self, metadata=None, simulate=False) |
Constructor for CreateKeyRequest. More... | |
def | addkeyrequest (self, ref, count, attributes, mutableattributes=None) |
Method for adding a request for a number of keys with given attributes to the multiple key request. More... | |
Public Attributes | |
metadata | |
(dict) metadata associated with the request | |
simulate | |
(bool) whether to check if the key is retrievable, or actually retrieve it. | |
keys | |
(list) list of keys to request | |
Class used to request multiple keys with varying attributes.
def ionicsdk.agent.CreateKeysRequest.__init__ | ( | self, | |
metadata = None , |
|||
simulate = False |
|||
) |
Constructor for CreateKeyRequest.
metadata | (MetadataDict) Optional metadata to add to the call |
simulate | (boolean) If true, allows for testing of whether a create call would succeed without creating any keys. The response will contain keys that are allowed to be created with empty ID and key byte values. |
def ionicsdk.agent.CreateKeysRequest.addkeyrequest | ( | self, | |
ref, | |||
count, | |||
attributes, | |||
mutableattributes = None |
|||
) |
Method for adding a request for a number of keys with given attributes to the multiple key request.
ref | (String) A string value that will be included with the created keys that can be used to match them with the provided attributes |
count | (int) The number of keys with the given attributes to be created |
attributes | (KeyAttributesDict) The attributes to be set for these keys |
mutableattributes | (KeyAttributesDict) The mutable attributes to be set for these keys |
You acknowledge your access, review and use of the documentation on this page is subject to the Ionic Security Inc. Documentation Use Rights.
© 2016-2021 Ionic Security Inc. All rights reserved. -
Generated on Wed Jul 21 2021 16:23:36 for Machina Client SDK Version 2.1.2 by
1.8.18