secure-connect-DBNAME.zip 上传到存储库是否安全?

Is the secure-connect-DBNAME.zip safe to upload to a repository?

我一直在使用 DataStax,我正准备推送到我的存储库,在存储库中使用 secure-connect-DBNANE.zip 是否安全?我想是的,因为它需要进行查询,但我不确定。

Datastax documentation确实提到:

Be careful when sharing connection details. Providing this information to another user grants them access to your Astra database and ownership capabilities, such as making modifications to the database.

For security, delete downloaded connection credentials after sending them to your teammate.

我觉得这不是你应该在 Git 存储库中拥有的东西。

当您在存储库的新克隆实例中需要它时,您应该 re-download 该文件。

Alternatively, you can right-click the Download credentials link, copy the link source, and then use a curl command to download the secure-connect-database_name.zip file:

curl -L "<secure-connect-database_name-download-URL>" > database_name.zip