Share
Invite teammates to a project and manage their access permissions.
Share
The storemyapi share commands manage access to the linked project. All commands require a .storemyapi.json in the current directory.
Invite a teammate
storemyapi share add <email> <permission>Sends an invite to the given email address. Permission must be either read or write.
| Permission | Can do |
|---|---|
read | Pull keys, view key list, use env run |
write | Everything read can do, plus push keys, set/delete individual keys |
Examples:
storemyapi share add alice@company.com read
storemyapi share add bob@company.com writeThe invited user will see the invite when they run storemyapi share invites.
List collaborators
storemyapi share listLists everyone who has access to the linked project, including their email and permission level.
Remove access
storemyapi share remove <email>Immediately revokes the user's access to the project.
storemyapi share remove alice@company.comAccepting invites (invitee side)
View pending invites
storemyapi share invitesShows all pending invites across all projects. Presents an interactive dropdown where you can accept or decline each one in a single flow.
Accept by ID
storemyapi share accept <inviteId>Decline by ID
storemyapi share decline <inviteId>After accepting an invite, run storemyapi link to connect a local folder to that project, then storemyapi pull to get the keys.