Vend_credential
POST
Obtain a short-lived read credential for a URI within the Connection.
bearerAuthheader
AuthorizationBearer <token>connection_id*stringFormat
uuidapplication/json- body
uri*stringSuccess
application/json- response
credential*||A short-lived provider credential. Renew it before it expires.
curl -X POST 'https://api.spiraldb.dev/api/connections/497f6eca-6276-4993-bfeb-53cbbbba6f08/credentials' \ -H 'Content-Type: application/json' \ -d '{ "uri": "string"}'{ "credential": { "awsSession": { "accessKeyId": "string", "endpoint": "string", "expiresAtMicros": "string", "region": "string", "secretAccessKey": "string", "sessionToken": "string" }, "type": "awsSession" }}