GoodMem
ReferenceClient SDKsPython SDKModels

ApiKeyAuth Model

ApiKeyAuth Model documentation for Python SDK

Configuration for classic API-key authentication.

Properties

NameTypeDescriptionNotes
inline_secretstrSecret stored directly in GoodMem (mutually exclusive with secretRef)[optional]
secret_refSecretReference[optional]
header_namestrDesired HTTP header to carry the credential (defaults to Authorization)[optional]
prefixstrOptional prefix prepended to the secret (e.g., "Bearer ")[optional]

Example

from goodmem_client.models.api_key_auth import ApiKeyAuth

# TODO update the JSON string below
json = "{}"
# create an instance of ApiKeyAuth from a JSON string
api_key_auth_instance = ApiKeyAuth.from_json(json)
# print the JSON string representation of the object
print(ApiKeyAuth.to_json())

# convert the object into a dict
api_key_auth_dict = api_key_auth_instance.to_dict()
# create an instance of ApiKeyAuth from a dict
api_key_auth_from_dict = ApiKeyAuth.from_dict(api_key_auth_dict)

↑ Back to Python SDK ↑ Back to Python SDK ↑ Back to Python SDK

On this page