microsoft / microsoft/finops-toolkit
[PowerShell] New-FinOpsServicePrincipal – Manage billing account service principals
Open
@MSBrett is already working on this.
Since May 30, 2023.
Tool: PowerShell
Type: Feature 💎
- Dominant language
- PowerShell
- Stars
- 603
- Forks
- 248
- Avg merge
- 7d 11h
- Merged PRs (30d)
- 11
Description
📝 Scenario
As an Enterprise Agreement billing account administrator, I need to create service principals in order to automate Cost Management and Billing API integration
💎 Solution
Create functions to manage service principals for EA accounts:
Add-<prefix>ServicePrincipalGet-<prefix>ServicePrincipalRemove-<prefix>ServicePrincipalUpdate-<prefix>ServicePrincipal
We need to determine what prefix we want to use for these, since this isn't a native Az module function. Some ideas:
FinOpsif we want to maintain branding of the toolkit/module.Toolkitif we want to be very explicit that this is a toolkit feature. Main downside is the length.Azureto differentiate from anything we might do in the future for non-Azure clouds (e.g., manageBillingsince this only applies to billing scopes.Accountif we want to support each billing scope in its own function. (I'm thinking one for all scopes with a-Scopeparameter for simplicity.)
Examples:
Add-FinOpsToolkitAzureBillingAccountServicePrincipalAdd-FinOpsAzureBillingServicePrincipalAdd-AzureBillingServicePrincipalAdd-FinOpsServicePrincipal
🙋♀️ Ask for the community
We could use your help:
- Please vote this issue up (👍) to prioritize it.
- Leave comments to help us solidify the vision.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.