Skip to content

Implement ApiKeyCredential/AzureKeyCredential + corresponding auth policy in Core/Identity #6216

Closed
@antkmsft

Description

@antkmsft

AppConfig lists ApiKey as one of the authentication types for its clients.

Currently, we consider https://github.com/Azure/autorest.cpp/issues/398 as blocking the release of AppConfig?

Our CodeGen warns when it sees "apiKey" as one of the authentication types, and emits an assertion fail message saying that it does not know how to generate code for it. It does not fail the code generation, it only prints the warning message and does not generate a corresponding constructor overload.

We can implement it for CodeGen, but we need to implement the corresponding credential and pipeline policy in the SDK first.

cc @ahsonkhan

Metadata

Metadata

Assignees

Labels

Azure.Identitydesign-discussionAn area of design currently under discussion and open to team and community feedback.feature-requestThis issue requires a new behavior in the product in order be resolved.

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions