write
Engine.write_roll_key(roll_key, file_path)- Saves the roll key to the specified path.
- Input:
- RollKey
- file_path: str or pathlib.Path
- 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()
roll_key = engine.create_roll_key(secret_key)
engine.write_roll_key(roll_key, "/opt/desilo/roll_key")
Using a relative path