Skip to main content

Module api_keys

Module api_keys 

Source
Expand description

Helpers for store/distributor/billing API key references (opaque refs only; no secrets).

URIs follow secrets://<env>/<tenant>/<team|_>/<category>/<name>:

  • Store → Repo API keys: category store, name repo__{repo_ref}__api-key
  • Distributor API keys: category distributor, name {distributor_ref}__api-key
  • Billing provider API keys: category billing, name {billing_provider_id}__api-key

Functions§

billing_api_key_uri
Build the canonical URI for a billing provider API key reference.
distributor_api_key_uri
Build the canonical URI for a distributor API key reference.
get_billing_provider_api_key_ref
Retrieve a billing provider API key reference.
get_distributor_api_key_ref
Retrieve a distributor API key reference.
get_repo_api_key_ref
Retrieve a repo API key reference.
repo_api_key_uri
Build the canonical URI for a repo API key reference.