Function |base64
std/secret::|base64
Usage
|base64(secret, name)
Parameters
↳ secret: Secret<string>
↳ name: string
Return
↴ Secret<string>
Secret made of the base64 encoding (standard, padded) of a string secret, computed when revealed.
Such as the credentials of HTTP Basic authentication: |base64(|format("{user}:{password}", ...), ...).