Skip to content

@usine/orchestrator/credentials

const gitHubCredentialLayer: (config) => Layer.Layer<CredentialProvider, never, GitHubApp>

Mints renewable single-repository GitHub App tokens for each Attempt. Project access is discovered on the first mint and cached, so a GitHub outage cannot block startup, and a repository added to the installation later is found by the refresh that follows a miss.

Parameter Type
config UsineConfig

Layer.Layer<CredentialProvider, never, GitHubApp>