Skip to main content

verify_account_key

Function verify_account_key 

Source
pub(super) async fn verify_account_key(
    mstore: Arc<Store>,
    identity_store: Arc<Store>,
    broker: Arc<Broker>,
    data: Value,
) -> Result<AccountKeyVerifyResult, String>
Expand description

Connectors → Accounts: validate (optional) and securely store an API key. The plaintext goes to the Vault (an account that already keeps its key in the OS keychain keeps it there); the DB row keeps only the SecretRef pointer, the masked tail and non-secret metadata. See docs/specs/archive/SPEC_TRUST_CENTER_2026_06_15.md §5/§6.