this is an example of gcp service account. Clearly, service account has a private key and a certificate.
So GCP uses public-key cryptography (+ certificate to validate wheather public key is falsificated) to authenticate the service account.
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"github.com/stellar/go/clients/horizonclient" | |
"github.com/stellar/go/protocols/horizon/operations" | |
) |
function showFields(target) { | |
for (var f in target) { | |
console.log(`${f}: ${target[f]}`); | |
} | |
} |