How to Get Default Account Password Policy Using AWS API ?

0

Hello Community, We are using this APIs https://docs.aws.amazon.com/sdk-for-go/api to Get Account Password Policy but we are not able to discover default password policy with this API , can anyone help me out which API is used to discover default password policy ?

Thanks.

asked 2 years ago232 views
1 Answer
0

The API to get the account-level password policy is IAM GetAccountPasswordPolicy (https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetAccountPasswordPolicy.html)

The relevant portion of the Go SDK is: https://docs.aws.amazon.com/sdk-for-go/api/service/iam/#IAM.GetAccountPasswordPolicy

AWS
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions