fn::toBase64
The fn::toBase64 built-in function encodes a string using standard Base64 encoding. If the input to fn::toBase64 is a secret, the encoded value is also a secret.
Declaration
fn::toBase64: value-to-encode
Parameters
| Property | Type | Description |
|---|---|---|
value-to-encode | string | The string to encode. |
Returns
The Base64-encoded string.