Skip to main content
SecretsCreate Secrets and store sensitive information in the vault.
TestMu AI
StatusCommunityBlog
Secrets

Create Secrets and store sensitive information in the vault.

This API allows you to securely [create and save secrets](https://www.lambdatest.com/support/docs/hyperexecute-how-to-save-and-manage-secrets/#create-a-new-secret) like API keys or sensitive data, ensuring they remain protected throughout your testing. Industry-standard algorithms encrypt each secret.

PUT
/v1.0/secrets/create
Create Secrets and store sensitive information in the vault.
curl --request PUT \
--url "https://api.hyperexecute.cloud/v1.0/secrets/create" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"secretKey": "<secretKey>",
"secretValue": "<secretValue>",
"username": "<username>",
"orgID": "<orgID>"
}'
{
"message": "Secret created successfully",
"status": "success"
}

Authorizations

Authorizationstringheaderrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
secretKeystringrequired
secretValuestring
usernamestring
orgIDstring

Response

application/json

Successful operation

messagestring
statusstring
Create Secrets and store sensitive information in the vault.
curl --request PUT \
--url "https://api.hyperexecute.cloud/v1.0/secrets/create" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"secretKey": "<secretKey>",
"secretValue": "<secretValue>",
"username": "<username>",
"orgID": "<orgID>"
}'
{
"message": "Secret created successfully",
"status": "success"
}