neuron-secret-gcp 0.4.0

Stub secret resolver for GCP Secret Manager
Documentation

neuron-secret-gcp

Secret resolver for GCP Secret Manager — neuron backend (stub)

crates.io docs.rs license

Overview

neuron-secret-gcp will implement SecretResolver backed by Google Cloud Secret Manager. It reads the project, secret name, and version from the SecretSource config, and authenticates via Application Default Credentials (ADC).

Status: stub. The trait implementation and config types are defined; the GCP client integration is in progress. The interface is stable.

Usage

[dependencies]
neuron-secret-gcp = "0.4"
neuron-secret = "0.4"
use neuron_secret_gcp::GcpSecretsResolver;
use neuron_secret::SecretResolver;
use std::sync::Arc;

// Uses Application Default Credentials (GOOGLE_APPLICATION_CREDENTIALS or metadata server)
let resolver: Arc<dyn SecretResolver> = Arc::new(
    GcpSecretsResolver::from_adc().await?
);

Part of the neuron workspace

neuron is a composable async agentic AI framework for Rust. See the book for architecture and guides.