Skip to content

Get AWS parameters

Request

Retrieves AWS credentials for the specified LRA and service. Used when a video identification process stores evidence on AWS. See getAwsParameter.

Security
basicAuth and sslCertificate
Path
lraIdstringrequired

Local Registration Authority (LRA) identifier.

Query
serviceIdstringrequired

The service name.

curl -i -X GET \
  -u '<username>:<password>' \
  'https://lean.namirialtsp.com/RAWS_DISPOSABLE/api/document/{lraId}/getAwsParameter?serviceId=string'

Responses

AWS credentials for the specified service.

Bodyapplication/json
serviceIdstring

The service name.

Example:"SERVICE_NAME"
arnstring

Amazon Resource Name (ARN) of the IAM role.

Example:"arn:aws:iam::000000000000:role/ExampleRole"
accessKeystring

AWS access key ID.

Example:"AKIAIOSFODNN0EXAMPLE"
secretAccessKeystring

AWS secret access key.

Example:"wJalrXUtnFEMI0K7MDENG0bPxRfiCYEXAMPLEKEY"
Response
{ "serviceId": "SERVICE_NAME", "arn": "arn:aws:iam::000000000000:role/ExampleRole", "accessKey": "AKIAIOSFODNN0EXAMPLE", "secretAccessKey": "wJalrXUtnFEMI0K7MDENG0bPxRfiCYEXAMPLEKEY" }