Secret

apiVersion: v1
kind: Secret
metadata:
  name: mysecret
data:
  username: am9obg== # (echo "john"   | base64)
  password: Zm9vYmFy # (echo "foobar" | base64)

official documentation