AWS Security ChangesHomeSearch

AWS cli medium security documentation change

Service: cli · 2025-10-28 · Security-related medium

File: cli/latest/reference/location/describe-key.md

Summary

Updated API key description to include Android/Apple app restrictions and modified validation patterns

Security assessment

Added app origin restrictions and updated security validation patterns matching create-key changes, enforcing stricter client validation

Diff

diff --git a/cli/latest/reference/location/describe-key.md b/cli/latest/reference/location/describe-key.md
index f5f0056e7..a707d83aa 100644
--- a//cli/latest/reference/location/describe-key.md
+++ b//cli/latest/reference/location/describe-key.md
@@ -15 +15 @@
-  * [AWS CLI 2.31.21 Command Reference](../../index.html) »
+  * [AWS CLI 2.31.23 Command Reference](../../index.html) »
@@ -60,0 +61,2 @@ Retrieves the API key resource details.
+For more information, see [Use API keys to authenticate](https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html) in the _Amazon Location Service Developer Guide_ .
+
@@ -348 +350 @@ Restrictions -> (structure)
->>   * min: `1`
+>>   * min: `0`
@@ -359 +361,59 @@ Restrictions -> (structure)
->>>   * pattern: `([$\-._+!*\x{60}(),;/?:@=&\w]|%([0-9a-fA-F?]{2}|[0-9a-fA-F?]?[*]))+`
+>>>   * pattern: `([\w!$&()*+,./:;=?@\x{60}-]|%([\dA-Fa-f]{2}|[\dA-Fa-f]?\*))+`
+>>> 
+
+> 
+> AllowAndroidApps -> (list)
+>
+>> An optional list of allowed Android applications for which requests must originate from. Requests using this API key from other sources will not be allowed.
+>> 
+>> Constraints:
+>> 
+>>   * min: `0`
+>>   * max: `5`
+>> 
+
+>> 
+>> (structure)
+>>
+>>> Unique identifying information for an Android app. Consists of a package name and a 20 byte SHA-1 certificate fingerprint.
+>>> 
+>>> Package -> (string) [required]
+>>>
+>>>> Unique package name for an Android app.
+>>>> 
+>>>> Constraints:
+>>>> 
+>>>>   * min: `1`
+>>>>   * max: `255`
+>>>>   * pattern: `([A-Za-z][A-Za-z\d_]*\.)+[A-Za-z][A-Za-z\d_]*`
+>>>> 
+
+>>> 
+>>> CertificateFingerprint -> (string) [required]
+>>>
+>>>> 20 byte SHA-1 certificate fingerprint associated with the Android app signing certificate.
+>>>> 
+>>>> Constraints:
+>>>> 
+>>>>   * min: `59`
+>>>>   * max: `59`
+>>>>   * pattern: `([A-Fa-f0-9]{2}:){19}[A-Fa-f0-9]{2}`
+>>>> 
+
+> 
+> AllowAppleApps -> (list)
+>
+>> An optional list of allowed Apple applications for which requests must originate from. Requests using this API key from other sources will not be allowed.
+>> 
+>> Constraints:
+>> 
+>>   * min: `0`
+>>   * max: `5`
+>> 
+
+>> 
+>> (structure)
+>>
+>>> Unique identifying information for an Apple app (iOS, macOS, tvOS and watchOS). Consists of an Apple Bundle ID.
+>>> 
+>>> BundleId -> (string) [required]
@@ -360,0 +421,8 @@ Restrictions -> (structure)
+>>>> The unique identifier of the app across all Apple platforms (iOS, macOS, tvOS, watchOS, etc.)
+>>>> 
+>>>> Constraints:
+>>>> 
+>>>>   * min: `1`
+>>>>   * max: `155`
+>>>>   * pattern: `[A-Za-z0-9\-]+(\.[A-Za-z0-9\-]+)+`
+>>>> 
@@ -427 +495 @@ Tags -> (map)
-  * [AWS CLI 2.31.21 Command Reference](../../index.html) »
+  * [AWS CLI 2.31.23 Command Reference](../../index.html) »