Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support AZURE_CREDENTIALS #2005

Open
danielrbradley opened this issue Sep 30, 2022 · 1 comment
Open

Support AZURE_CREDENTIALS #2005

danielrbradley opened this issue Sep 30, 2022 · 1 comment
Labels
kind/enhancement Improvements or new features

Comments

@danielrbradley
Copy link
Member

danielrbradley commented Sep 30, 2022

Hello!

  • Vote on this issue by adding a 馃憤 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

Allow setting Azure credentials via a single environment variable. This simplify CI setup so only a single secret must be configured.

When authenticating with the GitHub Azure Login action, it details how to use the CLI to create a service principal secret which contains a JSON blob in the shape below. By also supporting this variable in our provider directly and reading the individual fields it would make integrations in GitHub more simple as it's only a single secret to configure.

{
    "clientId": "xxx",
    "clientSecret": "xxx",
    "subscriptionId": "xxx",
    "tenantId": "xxx"
}

Original Question

Is there a way to have Pulumi yml interact with Azure using Azure-Login?
It works now by specifically adding each property of Azure credentials (Tenant ID, Sub ID, App ID, Cleint Secret) but to save space and time I wonder if this would work with Azure Login (with one GitHub secret for AZURE_CREDENTIALS) instead?

Original suggestion source

@danielrbradley danielrbradley added kind/enhancement Improvements or new features needs-triage Needs attention from the triage team labels Sep 30, 2022
@viveklak viveklak removed the needs-triage Needs attention from the triage team label Oct 3, 2022
@viveklak
Copy link
Contributor

viveklak commented Oct 3, 2022

Dropping triage flag and adding Azure squad for prioritization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Improvements or new features
Projects
None yet
Development

No branches or pull requests

3 participants