Vai al contenuto

Get AWS parameters

Richiesta

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

Sicurezza
basicAuth and sslCertificate
Percorso
lraIdstringobbligatorio

Local Registration Authority (LRA) identifier.

Query
serviceIdstringobbligatorio

The service name.

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

Risposte

AWS credentials for the specified service.

Corpoapplication/json
serviceIdstring

The service name.

Esempio:"SERVICE_NAME"
arnstring

Amazon Resource Name (ARN) of the IAM role.

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

AWS access key ID.

Esempio:"AKIAIOSFODNN0EXAMPLE"
secretAccessKeystring

AWS secret access key.

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