Class BearerTokenConfig (2.0.0)

BearerTokenConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Config for authentication using bearer token.

Attributes

Name Description
token str
Optional. The text token appended to the text Bearer to the request Authorization header. `Session parameters reference
secret_version_for_token str
Optional. The name of the SecretManager secret version resource storing the Bearer token. If this field is set, the token field will be ignored. Format: projects/{project}/secrets/{secret}/versions/{version}