Skip to main content
All CollectionsHow-tosArticlesAuthentication guides
Aqua Security Authentication Guide
Aqua Security Authentication Guide

How to authenticate Aqua for use with Tines

Daniel Stoeski avatar
Written by Daniel Stoeski
Updated over 7 months ago

Aqua Security is the largest pure-play cloud-native security company, allowing customers to innovate and run their businesses with minimal friction. The Aqua Cloud Native Security Platform provides prevention, detection, and response automation across the entire application lifecycle to secure the build, secure cloud infrastructure, and secure running workloads wherever they are deployed.

To create an Aqua credential, you will need your Aqua:

  • userid - Ensure that your userid has sufficient privileges to access the relevant API endpoints

  • password

Create an Aqua resource and credentials in Tines

  1. Login to your Tines tenant

  2. Navigate to the team that will be using the API and click "Resource"

  3. Click "+ New Resource"

  4. Input the values for the Aqua resource

    • Name: "aqua_userid"

    • Description: Optional

    • Builder: Your userid

  5. Optional

    • Access: What other teams can also use the resource

  6. Click "Save resource"

You will need to create two credentials:

  • One Text type: "aqua_password"

  • One HTTP request type: "aqua_api"

Text type

  1. Navigate to the team that will be using the API and click "Credentials"

  2. Click "+ New Credential" and select "Text"

  3. Input the values for the Aqua credential

    1. Name: "aqua_password"

    2. Description: Optional

    3. Value: Your password

  4. Optional

    1. Domains: Ensure this credential can only be used when making HTTP requests to specific domains.

    2. Access: What other teams can also use the API

  5. Click "Save"

HTTP request type

  1. Click "+ New Credential" and select "HTTP Request"

  2. Input the values for the Aqua credential

    1. Name: "aqua_api"

    2. Description: Optional

    3. URL: The URL for your region, e.g. https://eu-1.api.cloudsploit.com/v2/signin

    4. Content Type: JSON

    5. Method: post

    6. Payload: Copy the below object and paste it into the "Plain code" section:

      {
      "email": "<<RESOURCE.aqua_userid>>",
      "password": "<<CREDENTIAL.aqua_password>>"
      }

    7. Click "Run options", navigate to the token key and double-click on the key

    8. Location of token from response: Paste the path to the token in the value pill, i.e. <<aqua_api.body.data.token>>

  3. Optional

    1. Domains: Ensure this credential can only be used when making HTTP requests to specific domains

    2. Access: What other teams can also use the API

  4. Click "Save"

Your credential should look like the following:

More on creating credentials in Tines here.

You can also find a selection of Aqua stories in the story library.

Did this answer your question?