profiles
Module: profiles
Section titled “Module: profiles”Contents
Section titled “Contents”Structs
UnknownProfileError- Returned when a caller asks for a profile name we do not ship.
Functions
cedar_for- Resolve a profile name to its embedded cedar source.
Constants
DEFAULT_PROFILE- Profile name used when a caller does not request one explicitly.
firma_authority::profiles::DEFAULT_PROFILE
Section titled “firma_authority::profiles::DEFAULT_PROFILE”Constant: &str
Profile name used when a caller does not request one explicitly.
Single source of truth shared by the authority registry and the
firma run / firma-run config defaults.
firma_authority::profiles::UnknownProfileError
Section titled “firma_authority::profiles::UnknownProfileError”Struct
Returned when a caller asks for a profile name we do not ship.
Fields:
name: String
Traits: Error
Trait Implementations:
- Debug
fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
- Display
fn fmt(self: &Self, __formatter: & mut ::core::fmt::Formatter) -> ::core::fmt::Result
firma_authority::profiles::cedar_for
Section titled “firma_authority::profiles::cedar_for”Function
Resolve a profile name to its embedded cedar source.
Errors
Section titled “Errors”Returns [UnknownProfileError] when the name is not registered.
fn cedar_for(name: &str) -> Result<&'static str, UnknownProfileError>