Type Alias GCPKMSProviderConfiguration

GCPKMSProviderConfiguration: {
    email: string;
    endpoint?: string;
    privateKey: string | Buffer;
} | {
    accessToken: string;
}

Type declaration

  • email: string

    The service account email to authenticate

  • Optionalendpoint?: string

    If present, a host with optional port. E.g. "example.com" or "example.com:443". Defaults to "oauth2.googleapis.com"

  • privateKey: string | Buffer

    A PKCS#8 encrypted key. This can either be a base64 string or a binary representation

Type declaration

  • accessToken: string

    If present, an access token to authenticate with GCP.