Encrypt using a static key
Encrypt a message value using a static key.
The static key must be a secret reference to a 256-bit (32-byte) base64-encoded string, or the key itself as a string. We recommend using secret references to avoid exposing sensitive data in your configuration.
Prerequisites
-
A static key named
my-static-key. -
A corresponding Decrypt policy.