JavaAmazonProductAdvertisingClient | Amazon Product Services API using Java
kandi X-RAY | JavaAmazonProductAdvertisingClient Summary
kandi X-RAY | JavaAmazonProductAdvertisingClient Summary
Amazon Product Services API using Java. I'm releasing this to the wild because I found it rather difficult to get Amazon Commerce Services API working. In theory you can use Amazon's WSDL to generate Web Service stubs. For various reasons I could not get this to work. So here is a pretty much abandoned REST client (I moved on to other projects) that uses the generated JAXB objects from the WSDL and Commons HTTP Client. Copy sample.properties to a file called my.properties and add your AWS credentials and your associate tag.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Dump the item ID
- Creates a parameter map from the given query string
- Can be used to canonicalize the query string
- Compute the HMAC value
- Sign the request with the given parameters
- Generates an ISO - 8601 timestamp
- Sends a GET request to a resource
- Get signed resource
- Converts a Document to a XML String
- Extracts the XML document from an input stream
- Percent - encode a string
- Perform an HTTP GET on the resource
- Searches for an item search
- Get the item s similarity
- Construct a private request helper instance
- Gets an object from a resource
JavaAmazonProductAdvertisingClient Key Features
JavaAmazonProductAdvertisingClient Examples and Code Snippets
Community Discussions
Trending Discussions on JavaAmazonProductAdvertisingClient
QUESTION
Recently Google provided alert to one of my Apps that
Your Amazon Web Services credentials may be exposed. This exposure of your credentials could lead to unauthorized access to your AWS account, which may include associated excessive charges, and potentially unauthorized access to your data and your users' data.
In the application, I'm using Amazon Product Advertising API to get and display the information related to some products.
I'm using SignedRequestsHelper class provided by the Amazon to request the data.
I need to know how can I protect my AWS keys in the Android app.
Thanks.
...ANSWER
Answered 2018-Aug-22 at 19:18I need to know how can I protect my AWS keys in the Android app.
As soon the credentials are at the client side, you can consider them compromised. Storing credentials in the app is usually wrong idea.
you provided no other requirements or constraits, so without assuming anything I could only suggest a few ideas
- use credentials with only necessary permissions (e. g. read s3 files, dynamodb records,...)
- implement API (called by the app) and store the aws credentials on the server. Then there's a question how would you reliably authenticate / authorize the mobile app
- use aws cognito to acquire temporary limited aws credentials based on a custom user pool or social login
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install JavaAmazonProductAdvertisingClient
You can use JavaAmazonProductAdvertisingClient like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the JavaAmazonProductAdvertisingClient component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page