Import-PSUSecret
SYNOPSIS
Imports secret from configured secret vaults.
SYNTAX
Import-PSUSecret [-ComputerName <String>] [-AppToken <String>] [-Credential <PSCredential>]
[-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
[<CommonParameters>]DESCRIPTION
Imports secret from configured secret vaults.
EXAMPLES
Example 1
PS C:\> Import-PSUSecretPARAMETERS
-AppToken
App token used to connect to the PSU server.
-ComputerName
The URL of the PSU server.
-Integrated
Not supported
-UseDefaultCredentials
Whether to use the default Windows credentials
-Credential
Credentials to login to the PowerShell Universal Management API.
-TrustCertificate
Whether the cmdlet should ignore certificate issues.
-Cookies
Reuses and persists authentication cookies for the current PowerShell session.
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable, and -ProgressAction. For more information, see about_CommonParameters.
INPUTS
None
OUTPUTS
System.Object
NOTES
RELATED LINKS
PERMISSIONS
The access token requires platform.variables/update to list secret metadata from configured vaults remotely. The cmdlet does not return secret values.
Last updated
Was this helpful?