< Back

Get-OTSSecretMetadata

Sat Jan 18, 2020 6:07 pm

NAME Get-OTSSecretMetadata



SYNOPSIS

Retrieve metadata of a secret





SYNTAX

Get-OTSSecretMetadata [-MetadataKey] <String> [<CommonParameters>]





DESCRIPTION

Every secret also has associated metadata. The metadata is intended to be used by the creator of the secret (i.e.

not the recipient) and should generally be kept private. You can safely use the metadata key to retrieve basic

information about the secret itself (e.g. if or when it was viewed) since the metadata key is different from the

secret key.





PARAMETERS

-MetadataKey <String>

The unique key for the metadata



Required? true

Position? 1

Default value

Accept pipeline input? true (ByPropertyName)

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

System.String





OUTPUTS

System.Management.Automation.PSObject





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-OTSSecretMetaData -MetaDataKey allrfe8gf7edstynihtvrblgfuhbbuz















RELATED LINKS