write
Engine.write_bootstrap_key(bootstrap_key, filename)
- 지정된 경로에 부트스트랩 키를 저장합니다.
- 인풋:
- BootstrapKey
- filename: str
- 절대 경로, 상대 경로 전부 가능합니다.
- 아웃풋:
- 없음
예시
절대 경로
from desilofhe import Engine
engine = Engine(for_bootstrap=True)
secret_key = engine.create_secret_key()
bootstrap_key = engine.create_bootstrap_key(secret_key)
engine.write_bootstrap_key(bootstrap_key, "/opt/desilo/bootstrap_key")
상대 경로