AWS Tools for Windows PowerShell
Command Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Synopsis

Controls the display of sensitive information in the PowerShell console output. When set to true, sensitive data is shown in plain text in the console output.

Syntax

Set-AWSSensitiveDataConfiguration
-ShowSensitiveData <Boolean>
-Scope <VariableScope>

Description

Controls the display of sensitive information in the PowerShell console output. When set to false (default), sensitive data is masked in the console display. When set to true, sensitive data is shown in plain text. Note: This setting only affects console display - stored variables retain the original unmasked data regardless of this setting. This cmdlet sets a shell variable AWSPowerShell_Show_Sensitive_Data using the scope.

Parameters

-Scope <VariableScope>
Sets the scope of the shell variable AWSPowerShell_Show_Sensitive_Data. For details about variables scopes, see https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_scopes.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ShowSensitiveData <Boolean>
Controls whether sensitive data appears in PowerShell console output. When set to true, displays un-redacted sensitive data in the console. When set to false (default), automatically masks sensitive data in console output.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)

Outputs

Supported Version

AWS Tools for PowerShell: 2.x.y.z