reqsign-oracle 3.0.6

Oracle Cloud signing implementation for reqsign.
Documentation

reqsign-oracle

Oracle Cloud Infrastructure request signing implementation for reqsign.

The default credential provider checks OCI environment variables and then the OCI configuration file at ~/.oci/config. The config path and profile can be selected with OCI_CONFIG_FILE and OCI_PROFILE.

Quick Start

use reqsign_core::{Context, OsEnv, Signer};
use reqsign_file_read_tokio::TokioFileRead;
use reqsign_oracle::{DefaultCredentialProvider, RequestSigner};

let context = Context::new()
    .with_file_read(TokioFileRead)
    .with_env(OsEnv);

let signer = Signer::new(
    context,
    DefaultCredentialProvider::new(),
    RequestSigner::new(),
);

The environment provider reads OCI_USER, OCI_TENANCY, OCI_KEY_FILE, and OCI_FINGERPRINT. Use StaticCredentialProvider or DefaultCredentialProvider::builder() for explicit configuration.

Examples

License

Licensed under Apache License, Version 2.0.