You need to enable JavaScript to run this app.
Volcengine Kubernetes Engine

Volcengine Kubernetes Engine

Copy page
Download PDF
General FAQs
FAQ about using the command line for Base64 encoding
Copy page
Download PDF
FAQ about using the command line for Base64 encoding
Issue description​
When you use Linux command-line tools on macOS to Base64-encode username and password, the system automatically adds a newline character (\n) at the end. If you directly use Base64-encoded content, the program or business may fail to run.​
Solution​
If you need to Base64-encode passwords and similar data by using Linux command-line tools, we recommend that you use the following command:​
​
echo -n ${your_password} | base64​
​
tip​
Replace ${your_password} with your actual password. For example: echo -n password123 | base64.​
​
Last updated: 2026.07.23 14:31:45