v1

latestOpenAPI 3.1.02026-07-24239123562.1 KB
Data Acquisition

Agent Temp AWS Credentials

This endpoint returns temporary credentials for a given organization based on Data Hub policy. When using those credentials, client can upload files to their Amazon S3 bucket and write log to Amazon CloudWatch. Returned credentials have expiration time 60 minutes.

post/v1/data-acquisition/agent/credentials

Request body

agentIdstring required

This is the sourceId for a user-defined integration. Need to copy from the TDP web UI, where the user-defined integration is created. For existing TetraScience agent who can connect to the TDP{ directly, provide the agentId to this field.

agentVersionstring required

The Agent version, such as "v1.0.0".

Response

200

AccessKeyIdstring
SecretAccessKeystring
SessionTokenstring
Expirationstring

Example response

{
  "AccessKeyId": "ASIA2JC5GY25RFP7QTVZ",
  "SecretAccessKey": "0dj+fAT3MosSGZ10hhcvpGK8PHL4J+9k9LKW42Qi",
  "SessionToken": "FwoGZXIvYXdzEMT//////////wEaDLiAcEBD4vwx6kFB7SLaAfm5fV73dYiSq9GdpEQ5IkqwrC7yzy6woVfzgdlpufjYQeNpYauarCH+uR5HmW04mzcD/KpPUhBzy4MYZQmpW2iXLsLxnS53psjvDGsyMAivHL6eVVJBve3SepNJzB+Itx1kDO2J/y9Ahty4iClyP2KKD638AWcbix85SHpBAZjpsjYZ1IVlS037VOmtaKLRlkZrbzylEmisBXXKGLXGES3/mZaAbTMpFNp+rv1SASCi0vGBJlFQzGHPuB9Qv3VYQcHWqE4EKrQ6JPZjU0cMx0Zq7gV7jcI0XdPvKIak8/cFMm+pQINw6D/rcKPNgN6VH78kutuWJR0i0mln2FSauwvfsRGANzXDBpCa4jA23IkKm5fGP5/kfT7M8uxykcfjCOpkOZ1KnNERwKz2hyS4siVxrdGammaNRHwgf1zJgLDViwxWlfCYHxbg5INlvKsaqCU=",
  "Expiration": "2020-07-01T19:12:22.000Z"
}