Skip to content

Allow @secret on any data type #8519

@markcowl

Description

@markcowl

transferred from Azure/typespec-azure#3313

Allow data types other than scalar/modelProperty to be designated as secret using @secret

It is likely not necessary to decorate namespace, interfaces, or operations as secret, but types like Model, Union, Record, Enum and the like should be allowed.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions