CmdID / aws / aws location
aws location create-key
Creates an API key resource in your Amazon Web Services account, which lets you grant actions for Amazon Location resources to the API key bearer. AWS CLI reference
6 options Its page in the AWS CLI reference
Options
--descriptionAn optional description for the API key resource.--expire-timeThe optional timestamp for when the API key resource will expire in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.--key-nameA custom name for the API key resource.--no-expiryOptionally set to true to set no expiration time for the API key.--restrictionsThe API key restrictions for the API key resource.--tagsApplies one or more tags to the map resource.