MCPcopy Index your code
hub / github.com/jetify-com/devbox / CachedCredentials

Function CachedCredentials

internal/devbox/providers/nixcache/nixcache.go:65–67  ·  view source on GitHub ↗

CachedCredentials fetches short-lived credentials that grant access to the user's private cache.

(ctx context.Context)

Source from the content-addressed store, hash-verified

63// CachedCredentials fetches short-lived credentials that grant access to the user's
64// private cache.
65func CachedCredentials(ctx context.Context) (AWSCredentials, error) {
66 return cachedCredentials.Do(ctx)
67}
68
69// Caches return the list of caches the user has access to. If user is not
70// logged in, it returns nil, nil. (no error).

Callers 5

cacheCredentialsCmdFunction · 0.92
UploadProjectToCacheMethod · 0.92
UploadInstallableToCacheFunction · 0.92
S3ClientFunction · 0.85

Calls 1

DoMethod · 0.45

Tested by

no test coverage detected