AWS cli documentation change
Summary
Updated CLI version reference, clarified policy decoding behavior across SDKs, and added API documentation links for GetPolicy/GetPolicyVersion
Security assessment
Changes improve documentation clarity about policy retrieval and decoding processes. While related to security controls (IAM policies), this is routine documentation maintenance without addressing specific vulnerabilities or adding new security guidance.
Diff
diff --git a/cli/latest/reference/iam/get-user-policy.md b/cli/latest/reference/iam/get-user-policy.md index 7c4025774..bb0a858e6 100644 --- a//cli/latest/reference/iam/get-user-policy.md +++ b//cli/latest/reference/iam/get-user-policy.md @@ -15 +15 @@ - * [AWS CLI 2.27.45 Command Reference](../../index.html) » + * [AWS CLI 2.27.46 Command Reference](../../index.html) » @@ -64 +64 @@ Retrieves the specified inline policy document that is embedded in the specified -Policies returned by this operation are URL-encoded compliant with [RFC 3986](https://tools.ietf.org/html/rfc3986) . You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the `decode` method of the `java.net.URLDecoder` utility class in the Java SDK. Other languages and SDKs provide similar functionality. +Policies returned by this operation are URL-encoded compliant with [RFC 3986](https://tools.ietf.org/html/rfc3986) . You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the `decode` method of the `java.net.URLDecoder` utility class in the Java SDK. Other languages and SDKs provide similar functionality, and some SDKs do this decoding automatically. @@ -66 +66 @@ Policies returned by this operation are URL-encoded compliant with [RFC 3986](ht -An IAM user can also have managed policies attached to it. To retrieve a managed policy document that is attached to a user, use GetPolicy to determine the policy’s default version. Then use GetPolicyVersion to retrieve the policy document. +An IAM user can also have managed policies attached to it. To retrieve a managed policy document that is attached to a user, use [GetPolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetPolicy.html) to determine the policy’s default version. Then use [GetPolicyVersion](https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetPolicyVersion.html) to retrieve the policy document. @@ -278 +278 @@ PolicyDocument -> (string) - * [AWS CLI 2.27.45 Command Reference](../../index.html) » + * [AWS CLI 2.27.46 Command Reference](../../index.html) »