install.fairie/home/dot_config/gdrive3/personal/private_secret.json.tmpl
Brian Zalewski 04ca621076 Latest
2024-01-28 06:46:04 +00:00

4 lines
No EOL
518 B
Cheetah

{
"client_id": "{{ if (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "GOOGLE_DRIVE_CLIENT_ID")) }}{{- includeTemplate "secrets/GOOGLE_DRIVE_CLIENT_ID" | decrypt | trim -}}{{ else }}{{- env "GOOGLE_DRIVE_CLIENT_ID" -}}{{ end }}",
"client_secret": "{{ if (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "GOOGLE_DRIVE_CLIENT_SECRET")) }}{{- includeTemplate "secrets/GOOGLE_DRIVE_CLIENT_SECRET" | decrypt | trim -}}{{ else }}{{- env "GOOGLE_DRIVE_CLIENT_SECRET" -}}{{ end }}"
}