< Back

Get-BuildSecrets

Sun Jan 19, 2020 6:18 pm

NAME Get-BuildSecrets



SYNOPSIS

Gets all secrets currently set in the environment





SYNTAX

Get-BuildSecrets [-KeyVaultName] <String[]> [-SecretName <String>] [-ShowValue] [-SubscriptionID <String>]

[<CommonParameters>]





DESCRIPTION

Gets all secrets currently set in the environment. The user has to login to azure first using "az login"



Important: The - character will automatically be replaced with the _ character.





PARAMETERS

-KeyVaultName <String[]>

The name of the key vault containing the environment



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-SecretName <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ShowValue [<SwitchParameter>]

If specified the secret value will be written to the console



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-SubscriptionID <String>

Allows the user to specify a subscription id if required. if not specified, the default subscription will be

used.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS





RELATED LINKS