Documentation
¶
Overview ¶
Package cloudtransfer resolves short-lived cloud credentials for staging (S3 / GCS).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NormalizeProvider ¶
NormalizeProvider maps common aliases to canonical provider ids used by the transfer agent.
Types ¶
type CloudBackend ¶
type CloudBackend struct {
Provider string
Bucket string
Prefix string
Object string
Region string
Endpoint string
}
CloudBackend identifies a cloud object location for transfers.
type CredentialMaterial ¶
CredentialMaterial is returned for minting JWE envelopes on remote agents.
func ResolveCredentialMaterial ¶
func ResolveCredentialMaterial(ctx context.Context, cloud CloudBackend, hints SigningHints) (CredentialMaterial, error)
ResolveCredentialMaterial loads cloud SDK credentials into a flat env map for the transfer agent.
type SigningHints ¶
SigningHints optionally scopes AWS/GCP credential loading (profiles, regions, project).
Click to show internal directories.
Click to hide internal directories.