MCPcopy Create free account
hub / github.com/aws/amazon-q-developer-cli / is_sigv4_enabled

Function is_sigv4_enabled

crates/chat-cli/src/util/env_var.rs:84–86  ·  view source on GitHub ↗

Check if SigV4 authentication is enabled

(env: &Env)

Source from the content-addressed store, hash-verified

82
83/// Check if SigV4 authentication is enabled
84pub fn is_sigv4_enabled(env: &Env) -> bool {
85 env.get(AMAZON_Q_SIGV4).is_ok_and(|v| !v.is_empty())
86}
87
88/// Get all environment variables
89pub fn get_all_env_vars() -> std::env::Vars {

Callers 3

newMethod · 0.85
newMethod · 0.85
is_logged_inFunction · 0.85

Calls 2

getMethod · 0.45
is_emptyMethod · 0.45

Tested by

no test coverage detected