Best Practice Of Object Storage Access API
Last updated on JUNE 11, 2018
Applies to:Oracle Storage Cloud Service - Version N/A and later
Information in this document applies to any platform.
Store pictures into Oracle storage classic by API (Java call), and then access these pictures by API.
UI (Frontend) will be JSP/H5 page that allow customer to upload picture , preview picture and download picture.
From Oracle storage classic documentation, we can use API.
1] Do we need to generate Auth token first , then access the API that operate files. Does it require "two steps" operation ? Do we have any workaround that only one time authentication (Auth token will change as time flying), e.g. base64 authentication. then end users can upload and download pictures easily, no need to get token every time.
If no , any best practice for this scenario?
2] If we want to accept basic auth, using username & password, how to leverage that?
3] Can we use the script to update auth token when it expires ?
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms