This document describes a user story where an end-user Alice decides to 'undo' a previous decision to share a credential.
This user story description was an input to this user story:
Alice decides that she no longer wants to share her Verifiable Credential that she previously shared (in user story S2.A).
She goes to the VC's Share screen in LCW, and clicks 'Unshare credential'.
LCW sends a DELETE request to the VC's location on her attached storage instance, which removes the VC from attached storage.
Subsequent GET requests to the URL of that VC will result in an HTTP 404 Not Found response.
did:key
authorized to read/write a Space/space/:spaceUuid/vc
DELETE /space/:spaceUuid/vc
with an HTTP Signature from an authorized keyWe seek to socialize this user story widely as a core user story for the Wallet Attached Storage protocol.
Plan of conversation:
If you want to be a part of the conversation, please publish feedback and link to Wallet Attached Storage.
This section describes how to confirm that an implementation has satisfied the user story.
Given
when
/space/:spaceUuid/vc
as described in User Story: Space Controller Shares a Credential Publicly/space/:spaceUuid/vc
and follows response redirectsthen
200
, 204
/space/:spaceUuid/:name
DELETE /space/:spaceUuid/:name HTTP/1.1
Authorization: Signature keyId="did:key:{mk}#{mk}"…
wallet-attached-storage-server intends to implement this user story.
@wallet.storage/wasup is a CLI and supports sending DELETE requests as described above like
wasfetch [--identity ~/.ssh/id_ed25519_was_test] <url> -m delete