write
Engine.write_merge_bootstrap_key(merge_bootstrap_key, filename)- Saves the merge bootstrap key to the specified path.
- Input:
- MergeBootstrapKey
- filename: str
- Can be an absolute or relative path.
- Output:
- None
Examples
Using an absolute path
from desilofhe import Engine
engine = Engine(for_bootstrap=True)
secret_key = engine.create_secret_key()
merge_bootstrap_key = engine.create_merge_bootstrap_key(secret_key)
engine.write_merge_bootstrap_key(
merge_bootstrap_key, "/opt/desilo/merge_bootstrap_key"
)
Using a relative path