ConvertTo-PSKeyVaultSecret
Converts a value to an Azure Key Vault Secret
Module
OSD
Platform
WinPE (amd64 / arm64)
Description
Converts a value to an Azure Key Vault Secret
Syntax
FromUriContent (Default)
ConvertTo-PSKeyVaultSecret -VaultName <String> -Name <String> -Uri <Uri> [-ProgressAction <ActionPreference>]
[<CommonParameters>]FromClipboard
ConvertTo-PSKeyVaultSecret -VaultName <String> -Name <String> [-Clipboard] [-ProgressAction <ActionPreference>]
[<CommonParameters>]FromFile
ConvertTo-PSKeyVaultSecret -VaultName <String> -Name <String> -File <FileInfo>
[-ProgressAction <ActionPreference>] [<CommonParameters>]FromString
Parameters
-VaultName
String
True
Specifies the name of the key vault to which the secret belongs. This cmdlet constructs the fully qualified domain name (FQDN) of a key vault based on the name that this parameter specifies and your current environment.
-Name
String
True
Specifies the name of the secret to set
-Uri
Uri
True
Uri content to set as the Azure Key Vault secret
-Clipboard
SwitchParameter
True
Clipboard raw text to set as the Azure Key Vault secret
-File
FileInfo
True
File content to set as the Azure Key Vault secret
-String
String
True
String to set as the Azure Key Vault secret
Examples
No examples provided in source documentation.
Related
Last updated
Was this helpful?

