CredentialType

Each type only applies to a cerntain number of services. For example, types with OAuth prefix only works for connecting REST endpoints.

Enums
CREDENTIAL_TYPE_UNSPECIFIED
USERNAME_AND_PASSWORD Regular username/password pair.
API_KEY API key.
OAUTH2_AUTHORIZATION_CODE OAuth 2.0 Authorization Code Grant Type.
OAUTH2_IMPLICIT OAuth 2.0 Implicit Grant Type.
OAUTH2_CLIENT_CREDENTIALS OAuth 2.0 Client Credentials Grant Type.
OAUTH2_RESOURCE_OWNER_CREDENTIALS OAuth 2.0 Resource Owner Credentials Grant Type.
JWT JWT Token.
AUTH_TOKEN Auth Token, e.g. bearer token.
SERVICE_ACCOUNT Service Account which can be used to generate token for authentication.
CLIENT_CERTIFICATE_ONLY Client Certificate only.