Skip to content

A new type for data that should never be logged. #11519

Closed
@Eh2406

Description

@Eh2406

Cargo occasionally deals with secrets. We should have a new type that does not implement Display that is used in the type system to mark "this value is secret and should not be printed". Types that should be converted are plaintext tokens and PASETO after they've been generated.

cc:

Metadata

Metadata

Assignees

Labels

A-registry-authenticationArea: registry authentication and authorization (authn authz)Z-asymmetric-tokenNightly: asymmetric-token authentication

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions