1 Answer
- Newest
- Most votes
- Most comments
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
answered 4 years ago
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 4 years ago

I have Default AccountPasswordPolicy in My Account When I Execute this https://docs.aws.amazon.com/sdk-for-go/api/service/iam/#IAM.GetAccountPasswordPolicyabove SDK, It didn't give me DefaultAccountPasswordPolicy Data But If I Create any custom AccountPasswordPolicy than it Responds with CustomePolicy Data. So Basically I want to Get DefaultAccountPasswordPolicy, So How Can I Get Using Go SDK ?