Working with AWS Secrets Manager
Your applications under test may use AWS Secrets Manger to manage secrets, such as authentication credentials or other confidential information.
You can set up a connection with the AWS service by adding dedicated API functions to your Vuser script. The API functions support access to the secure data, and the retrieval of credentials.
You manually insert the API function into your script, so that when the script is run, it sends a query to the AWS service. The required arguments include the URL for the web request, and the secret key and ID.
The returned value is saved to a parameter.
The API functions are:
Language | Function |
---|---|
C | lr_aws_get_secret |
Java | lr.aws_get_secret |
.NET/C# | lr.aws_get_secret |
JavaScript | lr.awsGetSecret |
For details, see the Function Reference.
See also: