<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<!--
Copyright 2019 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<busconfig>
<!-- Allow the Chrome browser process to run this service. -->
<policy user="chronos">
<allow own="org.chromium.CryptohomeKeyDelegate"/>
</policy>
<!-- Allow Tast integration tests (running as root) to run this service. -->
<policy user="root">
<allow own="org.chromium.TestingCryptohomeKeyDelegate"/>
</policy>
<!-- Allow the cryptohomed daemon (running as root) to use this service. -->
<policy user="root">
<allow send_destination="org.chromium.CryptohomeKeyDelegate"
send_interface="org.chromium.CryptohomeKeyDelegateInterface" />
<allow send_destination="org.chromium.TestingCryptohomeKeyDelegate"
send_interface="org.chromium.CryptohomeKeyDelegateInterface" />
</policy>
</busconfig>