New-AzCloudServiceVaultSecretGroupObject
Create a in-memory object for Vault Secret Group
Syntax
New-AzCloudServiceVaultSecretGroupObject
[-Id <String>]
[-CertificateUrl <String[]>]
[<CommonParameters>]
Description
Create a in-memory object for Secret Group
Examples
Example 1: Create vault secret group object
$keyVault = Get-AzKeyVault -VaultName 'ContosoKeyVault'
$certificate = Get-AzKeyVaultCertificate -VaultName 'ContosoKeyVault' -Name 'ContosoCert'
$secretGroup = New-AzCloudServiceVaultSecretGroupObject -Id $keyVault.ResourceId -CertificateUrl $certificate.SecretId
This command creates vault secret group object which is used for creating or updating a cloud service. For more details see New-AzCloudService.
Parameters
-CertificateUrl
This is the URL of a certificate that has been uploaded to Key Vault as a secret.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Id
Key Vault Resource Id.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure PowerShell