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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add service principal id, key and tenant id as environment variables #30

Closed
JCZuurmond opened this issue Dec 28, 2020 · 22 comments
Closed
Assignees
Labels
backlog Planned for future

Comments

@JCZuurmond
Copy link

Similarly to the addSpnToEnvironment: true option in the Azure CLI task for a Azure DevOps pipeline, can we add the service principal id, key and tenant id as environment variables by setting a flag to true?

From the Azure DevOps pipeline Azure CLI Task:

  "loc.input.help.addSpnToEnvironment": "Adds service principal id, service principal key and tenant id of the Azure endpoint you chose to the script's execution environment. You can use variables: `servicePrincipalId`, `servicePrincipalKey` and `tenantId` in your script.\n\nThis is honored only when the Azure endpoint has Service Principal authentication scheme.\n\nSyntax to access environment variables based on script type.\n\nPowershell script: $env:servicePrincipalId\n\nBatch script: %servicePrincipalId% \n\nShell script: $servicePrincipalId",
@github-actions
Copy link

This issue is marked default for generating issues report.

@github-actions
Copy link

github-actions bot commented Jan 4, 2021

This issue is stale because it has been open for 7 days with no activity.

@github-actions github-actions bot added the stale 90 days old label Jan 4, 2021
@JCZuurmond
Copy link
Author

It should not be marked stale, it is waiting for a response

@github-actions github-actions bot removed stale 90 days old default labels Jan 4, 2021
@github-actions
Copy link

github-actions bot commented Jan 4, 2021

This issue is marked default for generating issues report.

@kanika1894
Copy link
Contributor

@bishal-pdMSFT any insights on this?

@github-actions github-actions bot removed the default label Jan 11, 2021
@github-actions
Copy link

This issue is marked default for generating issues report.

@bishal-pdMSFT
Copy link
Contributor

This makes sense to me. @pulkitaggarwl any objection with this?

@github-actions github-actions bot removed the default label Jan 12, 2021
@github-actions
Copy link

This issue is marked default for generating issues report.

@github-actions
Copy link

This issue is stale because it has been open for 7 days with no activity.

@github-actions github-actions bot added the stale 90 days old label Jan 19, 2021
@JCZuurmond
Copy link
Author

Not stale, waiting for response from @pulkitaggarwl

@github-actions github-actions bot removed stale 90 days old default labels Jan 20, 2021
@github-actions
Copy link

This issue is marked default for generating issues report.

@github-actions
Copy link

This issue is stale because it has been open for 7 days with no activity.

@github-actions github-actions bot added the stale 90 days old label Jan 27, 2021
@pulkitaggarwl
Copy link

@JCZuurmond my bad here. this one slipped through cracks. This definitely makes sense. i am adding it as a feature request. however wanted to check if you will be willing to contribute here and raise a PR for the same.

cc @N-Usha

@JCZuurmond
Copy link
Author

I am not familiar with type script, so I recon it is going me to take me a lot of time. Would be great if you could pick it up!

@github-actions github-actions bot removed stale 90 days old default labels Feb 17, 2021
@github-actions
Copy link

This issue is marked default for generating issues report.

@github-actions
Copy link

This issue is stale because it has been open for 7 days with no activity.

@github-actions github-actions bot added the stale 90 days old label Feb 24, 2021
@anuragc617
Copy link

@bishal-pdMSFT @pulkitaggarwl this issue is marked as stale. Are we planning to enhance this action to include spn id, key and tenant id as environment variables?

@pulkitaggarwl
Copy link

@N-Usha can you please help prioritise this issue.

@github-actions github-actions bot removed stale 90 days old default labels Apr 7, 2021
@github-actions
Copy link

github-actions bot commented Apr 7, 2021

This issue is marked default for generating issues report.

@github-actions
Copy link

This issue is stale because it has been open for 7 days with no activity.

@github-actions github-actions bot added the stale 90 days old label Apr 14, 2021
@github-actions
Copy link

This issue is idle because it has been open for 14 days with no activity.

@github-actions github-actions bot added the idle Inactive for 14 days label Jun 27, 2021
@t-dedah t-dedah added backlog Planned for future and removed stale 90 days old default idle Inactive for 14 days labels Nov 25, 2021
@t-dedah t-dedah mentioned this issue Apr 15, 2022
3 tasks
@t-dedah
Copy link
Contributor

t-dedah commented Apr 15, 2022

This request is being tracked here #77
Closing this issue.

@t-dedah t-dedah closed this as completed Apr 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Planned for future
Projects
None yet
Development

No branches or pull requests

7 participants