You cannot encrypt your password in CloudConnect. However, you can encrypt the access password by setting it as a secure parameter when scheduling the graph run. The password you define in your connection would be a parameter value, for example, ${DB_PASSWORD}. When running the graph from the platform, this parameter will be replaced with the real value.
Limitation: This cannot be used for local runs.