ApiKeyAuth Model
ApiKeyAuth Model documentation for Python SDK
Configuration for classic API-key authentication.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| inline_secret | str | Secret stored directly in GoodMem (mutually exclusive with secretRef) | [optional] |
| secret_ref | SecretReference | [optional] | |
| header_name | str | Desired HTTP header to carry the credential (defaults to Authorization) | [optional] |
| prefix | str | Optional 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