Skip to content
garage
Esc
navigateopen⌘Jpreview

Share repository access

Create and revoke a time-limited link for one repository.

Create a read-only link that expires after 24 hours:

garage share my-api --role read --ttl 24h

Use --role write when the recipient must push changes. Treat the returned URL as a credential. Send it only to the intended recipient.

List the shares you created:

garage share list

Revoke a share before it expires:

garage share revoke <share-id>

See Repository shares for accepted roles, lifetime limits, and all management commands.

Was this page helpful?