benchling_sdk.auth.api_key_auth module

class ApiKeyAuth

Bases: benchling_api_client.v2.benchling_client.AuthorizationMethod

API Key Authorization.

Use in combination with the Benchling() client constructor to be authorized with HTTP Basic Authorization

Parameters

api_key – The Benchling-provided API key to use.

__init__(api_key: str) None

Method generated by attrs for class ApiKeyAuth.

api_key: str
get_authorization_header(base_url: str) str

Get content for a HTTP Authorization header.