first pass of merging in warp (doesn't build)

This commit is contained in:
Ryan Ward
2026-07-01 16:08:58 -05:00
parent 2f64909469
commit 4770ac06b5
3662 changed files with 414574 additions and 89772 deletions
+15 -1
View File
@@ -6,7 +6,7 @@ use warp_multi_agent_api as api;
/// Temporary AWS credentials loaded from the AWS SDK.
/// These are not persisted and are only used at runtime.
#[derive(Debug, Clone, PartialEq, Eq)]
#[derive(Clone, PartialEq, Eq)]
pub struct AwsCredentials {
access_key: String,
secret_key: String,
@@ -14,6 +14,20 @@ pub struct AwsCredentials {
expires_at: Option<SystemTime>,
}
impl std::fmt::Debug for AwsCredentials {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
f.debug_struct("AwsCredentials")
.field("access_key", &"<redacted>")
.field("secret_key", &"<redacted>")
.field(
"session_token",
&self.session_token.as_ref().map(|_| "<redacted>"),
)
.field("expires_at", &self.expires_at)
.finish()
}
}
impl AwsCredentials {
pub fn new(
access_key: String,