Skip to main content

add

Function add 

Source
pub fn add(
    store: &LocalFsStore,
    flags: &OpFlags,
    payload: Option<TrustRootAddPayload>,
) -> Result<OpOutcome, OpError>
Expand description

op env trust-root add — validate the (key_id, public_pem) pair and persist it (idempotent on case-insensitive key_id).