Last updated

Working With Apps

If you have an application that needs to handle long-running jobs you can register it as a trusted application in the seismic store. A seismic store application is able to exchange user credentials with impersonation credentials. These credentials can be refreshed by the application itself.

Register an application in seismic store

  • Required Role: user.datalake.admin
  • Description: register a service email as an application in a seismic store tenant
  • Notes: the service email must be a member of the data partition users group (registered user)
# seistore app API call
curl -s -X POST \"https://HOST/seistore-svc/api/v3/app?email=APPLICATION_EMAIL&sdpath=sd://TENANT_NAME/SUBPROJECT_NAME\" \\
    -H \"accept: application/json\" \\
    -H \"Content-Type: application/json\" \\
    -H \"Authorization: Bearer STOKEN\" 

# this api returns an empty response

List available applications in a tenant

  • Required Role: user.datalake.admin
  • Description: list all service emails registered as applications in a seismic store tenant
# seistore app API call
curl -s -X GET \"https://HOST/seistore-svc/api/v3/app?sdpath=sd://TENANT_NAME/SUBPROJECT_NAME\" \\
    -H \"accept: application/json\" \\
    -H \"Authorization: Bearer STOKEN\" 

# API response
[
  \"APPLICATION_EMAIL\"
]

Mark an application as trusted in seismic store

  • Required Role: user.datalake.admin
  • Description: mark a service email address as a trusted application in a seismic store tenant
  • Notes: the service email must have been pre-registered as an application in the same tenant
# seistore app API call
curl -s -X POST \"https://HOST/seistore-svc/api/v3/app/trusted?email=APPLICATION_EMAIL&sdpath=sd://TENANT_NAME/SUBPROJECT_NAME\" \\
    -H \"accept: application/json\" \\
    -H \"Content-Type: application/json\" \\
    -H \"Authorization: Bearer STOKEN\"

# this api returns an empty response

List available trusted applications in a tenant

  • Required Role: user.datalake.admin
  • Description: list all service emails registered as applications in a seismic store tenant
# seistore app API call
curl -s -X GET \"https://HOST/seistore-svc/api/v3/app/trusted?sdpath=sd://TENANT_NAME/SUBPROJECT_NAME\" \\
    -H \"accept: application/json\" \\
    -H \"Authorization: Bearer STOKEN\"

# API response
[
  \"APPLICATION_EMAIL\"
]