GitHubModelResource.Key Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the API key (PAT or GitHub App minted token) for accessing GitHub Models.
public Aspire.Hosting.ApplicationModel.ParameterResource Key { get; }
member this.Key : Aspire.Hosting.ApplicationModel.ParameterResource
Public ReadOnly Property Key As ParameterResource
Property Value
Remarks
The token must have the models: read
permission if using a fine-grained PAT or GitHub App minted token.