pub struct ServiceCredentialsPayload {
pub db_url: Option<SecretString>,
pub master_key_hex: Option<SecretString>,
pub nats_url: Option<String>,
}Expand description
Infrastructure credentials for services that advertise credential capabilities.
Fields are populated based on the service’s capability set:
database_access→db_urlis setnats_access→nats_urlis set (if controller has NATS)master_key_access→master_key_hexis set (if encryption enabled)
Security: This payload contains highly sensitive credentials. It must NEVER be published to NATS or any external transport. It is delivered exclusively over the authenticated WebSocket connection.
Fields§
§db_url: Option<SecretString>Database connection URL. Present when the service has database_access.
master_key_hex: Option<SecretString>Master encryption key as 64-char hex. Present when the service has
master_key_access and encryption is enabled on the controller.
nats_url: Option<String>NATS server URL. Present when the service has nats_access and
NATS is configured on the controller.
Trait Implementations§
Source§impl Clone for ServiceCredentialsPayload
impl Clone for ServiceCredentialsPayload
Source§fn clone(&self) -> ServiceCredentialsPayload
fn clone(&self) -> ServiceCredentialsPayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ServiceCredentialsPayload
impl Debug for ServiceCredentialsPayload
Source§impl<'de> Deserialize<'de> for ServiceCredentialsPayload
impl<'de> Deserialize<'de> for ServiceCredentialsPayload
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ServiceCredentialsPayload
impl StructuralPartialEq for ServiceCredentialsPayload
Auto Trait Implementations§
impl Freeze for ServiceCredentialsPayload
impl RefUnwindSafe for ServiceCredentialsPayload
impl Send for ServiceCredentialsPayload
impl Sync for ServiceCredentialsPayload
impl Unpin for ServiceCredentialsPayload
impl UnsafeUnpin for ServiceCredentialsPayload
impl UnwindSafe for ServiceCredentialsPayload
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
Compare self to
key and return true if they are equal.