Skipper configuration.
credentials is one of:
{:file, path}— service-account JSON key file{:base64, encoded}— base64-encoded service-account JSON (CI secrets){:service_account, map}— inline service-account fields (string or atom keys)
Summary
Functions
Build a config from the environment: SKIPPER_SPREADSHEET_ID, credentials
from SKIPPER_CREDENTIALS_FILE (wins) or GOOGLE_CREDS_B64, optional
SKIPPER_SHEET_NAME and comma-separated SKIPPER_REFERENCE_SHEETS.
Returns nil when Skipper is not configured.
Resolve the credentials to a service-account map (string keys).
Types
Functions
@spec from_env() :: t() | nil
Build a config from the environment: SKIPPER_SPREADSHEET_ID, credentials
from SKIPPER_CREDENTIALS_FILE (wins) or GOOGLE_CREDS_B64, optional
SKIPPER_SHEET_NAME and comma-separated SKIPPER_REFERENCE_SHEETS.
Returns nil when Skipper is not configured.
@spec service_account(credentials()) :: {:ok, map()} | {:error, String.t()}
Resolve the credentials to a service-account map (string keys).