You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/azure/storage-account/backplane/README.md
+29Lines changed: 29 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,13 @@ The module supports two modes of operation:
12
12
1.**Existing Service Principals**: Use `existing_principal_ids` to grant permissions to already existing service principals
13
13
2.**Create New Service Principal**: Use `create_service_principal_name` to create a single new service principal and automatically grant it permissions
14
14
15
+
## Authentication Methods
16
+
17
+
When creating a new service principal, you can choose between two authentication methods:
18
+
19
+
-**Application Password** (default): A traditional client secret will be created
20
+
-**Workload Identity Federation**: Configure federated identity credentials for passwordless authentication (e.g., from GitHub Actions, Azure DevOps, or other OIDC providers)
| <aname="input_existing_principal_ids"></a> [existing\_principal\_ids](#input\_existing\_principal\_ids)| set of existing principal ids that will be granted permissions to deploy the building block |`set(string)`|`[]`| no |
91
117
| <aname="input_name"></a> [name](#input\_name)| name of the building block, used for naming resources |`string`| n/a | yes |
92
118
| <aname="input_scope"></a> [scope](#input\_scope)| Scope where the building block should be deployable, typically the parent of all Landing Zones. |`string`| n/a | yes |
119
+
| <aname="input_workload_identity_federation"></a> [workload\_identity\_federation](#input\_workload\_identity\_federation)| Configuration for workload identity federation. If not provided, an application password will be created instead. | <pre>object({<br> issuer = string<br> subject = string<br> })</pre> |`null`| no |
93
120
94
121
## Outputs
95
122
96
123
| Name | Description |
97
124
|------|-------------|
125
+
| <aname="output_application_password"></a> [application\_password](#output\_application\_password)| Information about the created application password (excludes the actual password value for security). |
98
126
| <aname="output_created_application"></a> [created\_application](#output\_created\_application)| Information about the created Azure AD application. |
99
127
| <aname="output_created_service_principal"></a> [created\_service\_principal](#output\_created\_service\_principal)| Information about the created service principal. |
100
128
| <aname="output_documentation_md"></a> [documentation\_md](#output\_documentation\_md)| Markdown documentation with information about the Storage Account Building Block building block backplane |
@@ -103,4 +131,5 @@ No modules.
103
131
| <aname="output_role_definition_id"></a> [role\_definition\_id](#output\_role\_definition\_id)| The ID of the role definition that enables deployment of the building block to subscriptions. |
104
132
| <aname="output_role_definition_name"></a> [role\_definition\_name](#output\_role\_definition\_name)| The name of the role definition that enables deployment of the building block to subscriptions. |
105
133
| <aname="output_scope"></a> [scope](#output\_scope)| The scope where the role definition and role assignments are applied. |
134
+
| <aname="output_workload_identity_federation"></a> [workload\_identity\_federation](#output\_workload\_identity\_federation)| Information about the created workload identity federation credential. |
0 commit comments