Admin password policy

Get-IAMAdminPasswordPolicy

Synopsis

View password policy.

Syntax

Get-IAMAdminPasswordPolicy [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Retrieves the password policy for an account. You should use the values from this operation to set your user's password policy.

If you're not an admin, you should run the Get-IAMUserPasswordPolicy operation before setting your password policy.

Parameters

‑AccountSwitchKey

An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use Get-AccountSwitchKey.

‑EdgeRCFile

Your EdgeGrid resource file to authenticate your command. Defaults to ~/.edgerc.

‑Section

The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to default.

Related Links