Struct auraed::AuraedRuntime
source · pub struct AuraedRuntime {
pub auraed: AuraedPath,
pub ca_crt: PathBuf,
pub server_crt: PathBuf,
pub server_key: PathBuf,
pub runtime_dir: PathBuf,
pub library_dir: PathBuf,
}
Expand description
Each instance of Aurae holds internal state in memory. Below are the settings which can be configured for a given Aurae daemon instance.
Note: These fields represent file paths and not the actual authentication material. Each new instance of a subsystem will read these from the local filesystem at runtime in order to authenticate.
Fields§
§auraed: AuraedPath
Path to the auraed binary. Defaults to the symbolic link from /proc/self/exe.
ca_crt: PathBuf
Certificate Authority for an organization or mesh of Aurae instances.
server_crt: PathBuf
The signed server X509 certificate for this unique instance.
server_key: PathBuf
The secret key for this unique instance.
runtime_dir: PathBuf
Configurable runtime directory. Defaults to /var/run/aurae.
library_dir: PathBuf
Configurable library directory. Defaults to /var/lib/aurae.
Trait Implementations§
source§impl Debug for AuraedRuntime
impl Debug for AuraedRuntime
Auto Trait Implementations§
impl Freeze for AuraedRuntime
impl RefUnwindSafe for AuraedRuntime
impl Send for AuraedRuntime
impl Sync for AuraedRuntime
impl Unpin for AuraedRuntime
impl UnwindSafe for AuraedRuntime
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request