For the complete documentation index, see llms.txt. This page is also available as Markdown.

Invoke-CloudSecret

Invoke a secret retrieved from Azure Key Vault.

Property
Value

Module

OSD

Platform

WinPE (amd64 / arm64)

Description

Loads the named secret with Get-CloudSecret and either invokes it directly, writes it to a temporary file, or runs it elevated depending on the selected invoke mode.

Syntax

Invoke-CloudSecret [-VaultName] <String> [-Name] <String> [-Invoke <String>]
 [-ProgressAction <ActionPreference>] [<CommonParameters>]

Parameters

Parameter
Type
Required
Description

-VaultName

String

True

Name of the Key Vault that contains the secret.

-Name

String

True

Name of the secret to read.

-Invoke

String

False

Choose how to run the secret content: Command, File, or FileRunas.

Examples

Example

Example

Last updated

Was this helpful?