Passer au contenu

Get AWS parameters

Requête

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

Sécurité
basicAuth and sslCertificate
Chemin
lraIdstringobligatoire

Local Registration Authority (LRA) identifier.

Requête
serviceIdstringobligatoire

The service name.

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

Réponses

AWS credentials for the specified service.

Corpsapplication/json
serviceIdstring

The service name.

Exemple:"SERVICE_NAME"
arnstring

Amazon Resource Name (ARN) of the IAM role.

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

AWS access key ID.

Exemple:"AKIAIOSFODNN0EXAMPLE"
secretAccessKeystring

AWS secret access key.

Exemple:"wJalrXUtnFEMI0K7MDENG0bPxRfiCYEXAMPLEKEY"
Réponse
{ "serviceId": "SERVICE_NAME", "arn": "arn:aws:iam::000000000000:role/ExampleRole", "accessKey": "AKIAIOSFODNN0EXAMPLE", "secretAccessKey": "wJalrXUtnFEMI0K7MDENG0bPxRfiCYEXAMPLEKEY" }