Skip to main content

urma_node/platform/
exposure.rs

1//! Who may read a file the installer creates (URMA_NODE_INSTALL.md ยง2).
2#[derive(Clone, Copy, Debug, PartialEq, Eq)]
3pub enum Exposure {
4    /// The service account and administrators only: the peer key.
5    Private,
6    /// Also readable by local readers: the token (group on Linux, Users on Windows).
7    Readers,
8    /// Readable by everyone, writable by administrators: service.json, config.json.
9    Public,
10}