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
HelpMessage="Set ClientId of the multi-tenant application to be used in conjunction with the user-assigned identity for cross-tenant customer-managed-keys server-side encryption on the storage account.")]
thrownewArgumentException("KeyVaultUserAssignedIdentityIdcan only be specified when specify KeyVaultUri and KeyName together.","KeyVaultUserAssignedIdentityId");
773
+
thrownewArgumentException("KeyVaultUserAssignedIdentityId, KeyVaultFederatedClientId can only be specified when specify KeyVaultUri and KeyName together.","KeyVaultUserAssignedIdentityId, KeyVaultFederatedClientId");
768
774
}
769
775
770
776
if(createParameters.Encryption==null)
@@ -785,10 +791,11 @@ public override void ExecuteCmdlet()
HelpMessage="Set ClientId of the multi-tenant application to be used in conjunction with the user-assigned identity for cross-tenant customer-managed-keys server-side encryption on the storage account.")]
195
+
[ValidateNotNull]
196
+
publicstringKeyVaultFederatedClientId{get;set;}
197
+
192
198
[Parameter(
193
199
Mandatory=false,
194
200
HelpMessage="Set the new Storage Account Identity type, the idenetity is for use with key management services like Azure KeyVault.")]
@@ -626,17 +632,18 @@ public override void ExecuteCmdlet()
The command creates account with DnsEndpointType as AzureDnsZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier.
@@ -900,6 +924,21 @@ Accept pipeline input: False
900
924
Accept wildcard characters: False
901
925
```
902
926
927
+
### -KeyVaultFederatedClientId
928
+
Set ClientId of the multi-tenant application to be used in conjunction with the user-assigned identity for cross-tenant customer-managed-keys server-side encryption on the storage account.
This command updates a storage account with Keyvault from another tenant (access Keyvault with FederatedClientId).
431
+
407
432
## PARAMETERS
408
433
409
434
### -AccessTier
@@ -905,6 +930,21 @@ Accept pipeline input: False
905
930
Accept wildcard characters: False
906
931
```
907
932
933
+
### -KeyVaultFederatedClientId
934
+
Set ClientId of the multi-tenant application to be used in conjunction with the user-assigned identity for cross-tenant customer-managed-keys server-side encryption on the storage account.
935
+
936
+
```yaml
937
+
Type: System.String
938
+
Parameter Sets: (All)
939
+
Aliases:
940
+
941
+
Required: False
942
+
Position: Named
943
+
Default value: None
944
+
Accept pipeline input: False
945
+
Accept wildcard characters: False
946
+
```
947
+
908
948
### -KeyVaultUri
909
949
When using Key Vault Encryption by specifying the -KeyvaultEncryption parameter, use this option to specify the URI to the Key Vault.
0 commit comments