Generate a presigned download URL for one B2 file or every file under a
prefix.
Modes:
source ending in / → prefix mode. List the prefix and emit one
presigned URL per file (capped by max-results). All URLs share the
same b2_get_download_authorization token because the auth scope is
prefix-based; we just expand it into one URL per matched object.
Otherwise → single-file mode (the original behavior).
Every URL is masked via core.setSecret so subsequent log lines redact
them. The first URL is also exposed as the presigned-url step output
for the most common one-file workflow.
Generate a presigned download URL for one B2 file or every file under a prefix.
Modes:
sourceending in/→ prefix mode. List the prefix and emit one presigned URL per file (capped bymax-results). All URLs share the sameb2_get_download_authorizationtoken because the auth scope is prefix-based; we just expand it into one URL per matched object.Every URL is masked via
core.setSecretso subsequent log lines redact them. The first URL is also exposed as thepresigned-urlstep output for the most common one-file workflow.