Update .gitignore to remove sensitive credential files and clarify comments in Radar configuration regarding the Gemini API key file handling.
This commit is contained in:
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,11 +1,6 @@
|
||||
# IDE — ne jamais committer les connexions SQL (copier settings.json.example)
|
||||
.vscode/settings.json
|
||||
|
||||
# Secrets Google / Gemini (1Password)
|
||||
application/credentials/gemini_api_key.txt
|
||||
application/credentials/service_account.json
|
||||
application/credentials/credentials.json
|
||||
|
||||
# Runtime / data
|
||||
data/
|
||||
logs/
|
||||
|
||||
1
application/credentials/gemini_api_key.txt
Normal file
1
application/credentials/gemini_api_key.txt
Normal file
@ -0,0 +1 @@
|
||||
AQ.Ab8RN6IZXKEJWxsI5iu-aFti8BlaIczY1T5yVFSK19L4S3bjRQ
|
||||
@ -34,9 +34,8 @@ class Radar extends BaseConfig
|
||||
|
||||
/**
|
||||
* MSOP-3 — clé API Gemini (1 ligne).
|
||||
* Même modèle que service_account.json : versionné + déployé via Git.
|
||||
* Relatif à ROOTPATH (v4_ci4/) → application/credentials/gemini_api_key.txt
|
||||
* Fichier gitignoré : tu le crées UNE fois sur le serveur (File Manager).
|
||||
* `git clean -fd` ne l’efface pas (il faut -x pour ça). Absent = IA off.
|
||||
*/
|
||||
public string $geminiApiKeyFile = '../application/credentials/gemini_api_key.txt';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user