tree: 5eb515a18ba2d180265de3a37b08cf7d9e786ba8 [search]
  1. src/
  2. Cargo.toml
  3. README.md
context/command-execute-tokio/README.md

reqsign-command-execute-tokio

Tokio-based command execution for reqsign.

This crate provides TokioCommandExecute, an implementation of reqsign_core::CommandExecute backed by tokio::process. It is intended for credential providers that invoke external programs, such as AWS credential processes and cloud provider CLIs.

Usage

use reqsign_command_execute_tokio::TokioCommandExecute;
use reqsign_core::Context;

let context = Context::new().with_command_execute(TokioCommandExecute);

Command execution is supported on native targets. On WebAssembly targets the implementation returns an unsupported-operation error.

License

Licensed under Apache License, Version 2.0.