SecretString: { "[opaque]": "Secret" }

A secret that is a string.

This opaque type makes it clearer when secrets are being used and enforces the need for explicit casting if they must be used as a string.

Type declaration

  • Readonly[opaque]: "Secret"