MENU
      Get Secret List

        Get Secret List


        Article summary

        Overview

        Get the list of secrets.

        GET https://secretmanager.apigw.ntruss.com/api/v1/secrets
        HTTP

        Request

        Request parameter

        {
          "pageNo": 0
        }
        JSON
        Parameter nameTypeDescription
        pageNoIntegerNo. of page requested

        Request body

        None
        JSON

        Response

        Response body

        {
          "code": "SUCCESS",
          "data": {
            "totalPageNo": 0,
            "currentPageNo": 0,
            "totalCount": 0,
            "secretList": [
              {
                "secretId": "string",
                "secretName": "string",
                "secretStatus": "ENABLE",
                "secretType": "string",
                "region": "string",
                "registerDate": 0
              }
            ]
          }
        }
        JSON
        Parameter nameTypeDescription
        totalPageNoIntegerTotal page number
        currentPageNoIntegerCurrent page number
        totalCountIntegerTotal secret count
        secretInfoListsecretInfo ListSecretInfo list
        secretList.secretIdStringSecret ID
        secretList.secretNameStringSecret name
        secretList.secretStatusStringSecret status (ENABLE, DISABLE, REVOKE, ROTATING, DESTROYED)
        secretList.secretTypeStringSecret type (BASIC)
        secretList.regionStringArea code
        secretList.registerDateLongRegistration date and time (timestamp)

        Was this article helpful?

        Changing your password will log you out immediately. Use the new password to log back in.
        First name must have atleast 2 characters. Numbers and special characters are not allowed.
        Last name must have atleast 1 characters. Numbers and special characters are not allowed.
        Enter a valid email
        Enter a valid password
        Your profile has been successfully updated.