pub struct SharedPolicyStoreSection {
pub creates_shared_store: bool,
pub export_to_ssm: bool,
pub ssm_path: Option<String>,
pub templates: Vec<String>,
}Expand description
[shared_policy_store] section — AVP/Cedar shared-policy-store declaration.
Emitted only by the reference SQL server ([server] is_reference = true),
which provisions a single shared policy store + a set of Cedar templates that
all sibling SQL servers attach to (rather than each minting its own store).
Additive per the REF-01 superset invariant (Plan 85-01). The toolkit parses this verbatim — SSM export and store provisioning are deployment-time concerns handled outside config parsing (D-02 parse-only + lazy startup).
Fields§
Whether this server creates the shared policy store for all SQL servers.
export_to_ssm: boolWhether the created store’s identifier is exported to SSM Parameter Store.
ssm_path: Option<String>SSM Parameter Store path the store identifier is exported to (when
export_to_ssm = true).
templates: Vec<String>Cedar policy-template names included in the shared store (e.g.
"PermitAllSelects", "ForbidAllDeletes").
Trait Implementations§
Source§fn clone(&self) -> SharedPolicyStoreSection
fn clone(&self) -> SharedPolicyStoreSection
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§fn default() -> SharedPolicyStoreSection
fn default() -> SharedPolicyStoreSection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§fn eq(&self, other: &SharedPolicyStoreSection) -> bool
fn eq(&self, other: &SharedPolicyStoreSection) -> bool
self and other values to be equal, and is used by ==.Auto Trait Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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>
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>
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 more