write
Engine.write_rotation_key(rotation_key, filename)
- Saves the rotation key to the specified path.
- Input:
- RotationKey
- filename: str
- Can be an absolute or relative path.
- Output:
- None
Examples
Using an absolute path
from desilofhe import Engine
engine = Engine()
secret_key = engine.create_secret_key()
rotation_key = engine.create_rotation_key(secret_key)
engine.write(rotation_key, "/opt/desilo/rotation_key")
Using a relative path