fn::toBase64
The fn::toBase64 built-in function encodes a binary value using Base64. 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 | binary | The value to encode. |
Returns
The encoded data.
Thank you for your feedback!
If you have a question about how to use Pulumi, reach out in Community Slack.
Open an issue on GitHub to report a problem or suggest an improvement.