read

Engine.read_bootstrap_key(filename)
Creates a bootstrap key by reading data from a file.
  • Input:
    • filename: str
      • Can be an absolute or relative path.
  • Output:
    • BootstrapKey

Examples

Using an absolute path

from desilofhe import Engine

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

Using a relative path

from desilofhe import Engine

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