Skip to content

What should runtimes do with writeOnly in a definition? #248

@itowlson

Description

@itowlson

From the CNAB bundle spec: writeOnly: Indicates that the value of the parameter is sensitive and cannot be viewed once set or updated.

  • On a parameter, does this mean it must/should not be stored in the claim? If so it might be good to call this out in the Claims spec (which currently just offers the blanket opt-out of "implementations MAY choose not to store [parameters] for security or portability reasons".
  • On an output does it make any sense at all? Is there any point to an output that nobody is allowed to read the value of?

(For context the canonical usage in JSON Schema is for the asymmetric REST scenario again, e.g. a User resource has a Password attribute but you only want to send that in PUT not in GET.)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions