read

Engine.read_bootstrap_key(filename)
파일을 읽어서 부트스트랩 키를 생성합니다.
  • 인풋:
    • filename: str
      • 절대 경로, 상대 경로 전부 가능합니다.
  • 아웃풋:
    • BootstrapKey

예시

절대 경로

from desilofhe import Engine

engine = Engine(for_bootstrap=True)
bootstrap_key = engine.read_bootstrap_key("/opt/desilo/bootstrap_key")

상대 경로

from desilofhe import Engine

engine = Engine(for_bootstrap=True)
bootstrap_key = engine.read_bootstrap_key("bootstrap_key")