8000 Use pipeline variable to reference MAR Status API resource/scope · Issue #1288 · dotnet/docker-tools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Use pipeline variable to reference MAR Status API resource/scope #1288
Open
@lbussell

Description

@lbussell

Currently we hardcode the resource scope for the MAR status API:

private const string McrStatusResource = "api://c00053c3-a979-4ee6-b94e-941881e62d8e";

This is very inflexible and requires changes to our source code if we need to change where this points to. Instead, we should accept a scope via the CLI and pass it in via an environment variable so that we can change it as needed without rebuilding ImageBuilder. We don't intend to frequently access this API on dev machines, so this should be an acceptable solution.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Current Release

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0