MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / build_identity

Function build_identity

crates/openshell-supervisor-network/src/sigv4.rs:216–225  ·  view source on GitHub ↗
(access_key: &str, secret_key: &str, session_token: Option<&str>)

Source from the content-addressed store, hash-verified

214}
215
216fn build_identity(access_key: &str, secret_key: &str, session_token: Option<&str>) -> Identity {
217 Credentials::new(
218 access_key,
219 secret_key,
220 session_token.map(ToString::to_string),
221 None,
222 "openshell",
223 )
224 .into()
225}
226
227fn rebuild_request(
228 parts: &RequestParts<'_>,

Callers 2

apply_sigv4_to_requestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected