blob: 9e4475f44a9613b02488e59ba4657a5ed9fd8792 [file] [log] [blame] [edit]
// Copyright 2018 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef VM_TOOLS_CONCIERGE_SSH_KEYS_H_
#define VM_TOOLS_CONCIERGE_SSH_KEYS_H_
#include <string>
#include "vm_tools/common/vm_id.h"
namespace vm_tools::concierge {
// Erases all of the SSH keys generated for the specified |vm_id|. Should be
// called when a VM disk image is destroyed. Returns false if there were any
// failures deleting the keys, true otherwise.
bool EraseGuestSshKeys(const VmId& vm_id);
} // namespace vm_tools::concierge
#endif // VM_TOOLS_CONCIERGE_SSH_KEYS_H_