58 lines
3.9 KiB
Go
58 lines
3.9 KiB
Go
package guardiand
|
|
|
|
// Hardcoded telemetry GCP service account. Does not grant any access except for writing logs.
|
|
//
|
|
// Network operators can opt to send their logs to a shared Cloud Logging project for debugging.
|
|
// Logs are available to all network operators. There is no secret data logged anywhere.
|
|
//
|
|
// We encrypt the service account using a hardcoded symmetric key shared with guardians to
|
|
// prevent GitHub credential checkers from freaking out and to stop people from sending gigabytes of "gm".
|
|
//
|
|
// By using a separate key, we can keep the configuration decoupled from the telemetry backend,
|
|
// allowing the key to be replaced or even a different provider to be used without changing the config.
|
|
|
|
const telemetryProject = "projects/wormhole-logging"
|
|
|
|
const telemetryServiceAccount = `
|
|
RcLwG218oFn9tVWlsl6ZbYQdiny2w13G49Be5UucgwFAdxYP5DilBQhhd0lN900VM25k3joR2VHwtZ90
|
|
GCQQjjbjqQ7Pm9aAkH0Yp3ngHO111IhFm6yCQMYXl+t7hjEN/0rvju19sm+vdLJx1ECzogAnBRFAlf8I
|
|
k1jTzxA+elAWIT6/C6wfFpE69eJbFCKt6g4LnpajOu1OI812gR+3k8r6gyoVUlhUY36RjTjsE/2Fxxz9
|
|
LjT761ZTG8S3+AFLYb+pLLRTsCwo60WJxFfPDvRb752RTXPzbVyAdebRjIWsUlb2Cugbh9qMcWhlprIw
|
|
HWHoYGqGecN0kwDPbMGogV5KY0f+H8OXAY0B0YRzcpN+T0RkX9xj2Oru8Z1B5U36laoWm1AnWsps9EJ3
|
|
s4ZGn8SGpRX7d1yL9K2CxWsMgmN3NGUQ+vF15eskg9e9x1jGj69QJA9hqc4gg2iZ9Ks0UuhHVeKlFDDD
|
|
FBh9Zjl0M7CrJrP+3LaHw8zW7ttdDGY/mGZnvWQ4RZhkxpHpngmcUoGxIYEOejYe37ptCAGZBsw+WKIu
|
|
b66NYoaj29/0t5Py80J3YVlGnWhIjXeFhnZpecm2piTuljXIpskz5mNPAgN2RLAw1SS+sVDF1Zls91+8
|
|
KGzjP7sO2yyzm+sZ4WDHFR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