write
Engine.write_secret_key(secret_key, filename)
- Saves the secret key to the specified path.
- Input:
- SecretKey
- 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()
engine.write(secret_key, "/opt/desilo/secret_key")
Using a relative path