Basically, you need to make an Update call on the Uri for the node's SNMPv3 credential object and set the "PrivacyMethod" property. Like this:
from orionsdk import SwisClient # Connect to SWIS swis = SwisClient('localhost', 'admin', '') # Get the Uri for the SNMPv3 credentials for Node #42 results = swis.query("SELECT Nodes.SNMPv3Credentials.Uri FROM Orion.Nodes WHERE Nodes.NodeID=20") uri = results['results']['Uri'] # Set the privacy method swis.update(uri, PrivacyMethod='AES256')
Note that the PrivacyMethod value must be one of these: DES56, AES128, AES192, AES256
It can't just be "AES"
Thanks tdanner, much appreciated for your help