Get secret detail
    • PDF

    Get secret detail

    • PDF

    Article summary

    Summary

    View secret details.

    GET https://secretmanager.apigw.ntruss.com/api/v1/secrets/{secretId}
    

    Request

    Request parameters

    Parameter nameTypeDescription
    secretIdStringSecret ID

    Request body

    None
    

    Response

    Response body

    {
      "code": "SUCCESS",
      "data": {
        "secretId": "string",
        "secretName": "string",
        "secretStatus": "ENABLE",
        "secretType": "string",
        "memo": "string",
        "region": "string",
        "expectedDestroyDate": 0,
        "updateDate": 0,
        "registerDate": 0,
        "autoRotationYN": "Y",
        "autoRotationPeriod": 0,
        "nextRotationDate": 0,
        "rotationPhase": "NONE",
        "lastRotationDate": 0,
        "lastRotationResultId": "string",
        "trigger": {
          "id": "string",
          "name": "string",
          "url": "string"
        },
        "protectionKey": {
          "type": "DEFAULT",
          "kmsKeyTag": "string",
          "kmsKeyName": "string"
        }
      }
    }
    
    Parameter nameTypeDescription
    secretIdStringSecret ID
    secretNameStringSecret name
    secretStatusStringSecret status (ENABLE, DISABLE, REVOKE, ROTATING, DESTROYED)
    secretTypeStringSecret type (BASIC)
    memoStringNotes
    regionStringRegion code
    expectedDestroyDateIntegerEstimated destruction date
    updateDateIntegerUpdate date
    registerDateIntegerRegistration date
    autoRotationYNStringAutomatic rotation status (Y)
    autoRotationPeriodIntegerAutomatic rotation cycle
    nextRotationDateIntegerNext rotation date
    rotationPhaseStringRotation step (NONE)
    lastRotationDateIntegerLast rotation date
    lastRotationResultIdStringLast rotation result ID
    trigger.idStringTrigger ID
    content.namestringTrigger name
    trigger.urlStringTrigger URL
    protectionKey.typeStringSecret protection key type (DEFAULT, USER_MANAGED_KEY)
    protectionKey.kmsKeyTagStringKMS key tag
    protectionKey.kmsKeyNameStringKMS key name

    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.