wasmer_backend_api::query

Function generate_ssh_token

Source
pub async fn generate_ssh_token(
    client: &WasmerClient,
    app_id: Option<String>,
) -> Result<String, Error>
Expand description

Generate an SSH token for accesing Edge over SSH or SFTP.

If an app id is provided, the token will be scoped to that app, and using the token will open an ssh context for that app.