Logo

    Home

    Documentation

    Use Cases

    Training

    Applications

    Release Notes

    Using secrets in Security Hub

    Using secrets in Security Hub

    • 1. Overview
    • 2. Step by Dtep Guide
    • Create a secret
    • read a secret
    • 3. Documentation

    1. Overview

    Secrets can be stored in SecurityHub using the Secrets API

    image

    2. Step by Dtep Guide

    Create a secret

    To create a secret, a POST request is made to the /v1/secrets endpoint, with the following payload

    image

    the path is the location where you want to store the secret (for example /service/jira)

    data is the secret you want to store. This is normally in a keypair , for example {”token”:”value”}

    The ABL SDK can also be used to create secrets. The following code sample shows how to create a secret

    image

    read a secret

    To read a secrets, a GET request is made to the /v1/secrets endpoint, with a query parameters path set to the location you want to retrieve the secret from

    The ABL SDK can also be used to read secrets. The following code sample shows how to read a secret

    3. Documentation

    To find more information, you can check the following documentation.

    Security-HubSecurity-Hub

    Back to Use CasesUse Cases

    Back to Home Page

    Logo