Ana içeriğe atla

Endpoint

GET /apiops/projects/{projectName}/keystores/

Authentication

Requires a Personal API Access Token.
Authorization: Bearer YOUR_TOKEN

Request

Headers

HeaderValueRequired
AuthorizationBearer {token}Yes

Path Parameters

ParameterTypeRequiredDescription
projectNamestringYesProject name

Query Parameters

None.

Response

Success Response (200 OK)

{
  "success": true,
  "resultList": [
    {
      "name": "my-keystore",
      "description": "Keystore for API security",
      "projectId": "project-id",
      "keyStoreEnvironmentList": [
        {
          "environmentId": "env-id-123",
          "file": "encrypted-keystore-file-content",
          "password": "encrypted-password",
          "alias": "my-alias",
          "keyStoreType": "JKS"
        }
      ]
    }
  ]
}

Response Fields

FieldTypeDescription
successbooleanIndicates if the request was successful
resultListarray[object]List of keystores

Keystore Object

FieldTypeDescription
namestringKeystore name
descriptionstringKeystore description
projectIdstringProject ID where keystore belongs
keyStoreEnvironmentListarray[object]List of keystore environments

Keystore Environment Object

FieldTypeDescription
environmentIdstringEnvironment ID (internal identifier)
filestringEncrypted keystore file content (base64-encoded)
passwordstringEncrypted keystore password
aliasstringDefault alias for the keystore
keyStoreTypestringKeystore type: JKS or PKCS12
Note: Response contains environmentId (not environmentName). To get environment names, use the Get Keystore endpoint or refer to environment management APIs.

cURL Example

curl -X GET \
  "https://demo.apinizer.com/apiops/projects/MyProject/keystores/" \
  -H "Authorization: Bearer YOUR_TOKEN"

Notes and Warnings

  • Keystore Content:
    • Keystore file content is encrypted and included in the response
    • Handle keystore data securely
    • File content is base64-encoded and encrypted
  • Multiple Environments:
    • Each keystore can be deployed to multiple environments
    • Each environment has separate keystore configuration
    • Different environments can have different passwords and file content
  • Environment ID:
    • Response contains environmentId (internal identifier)
    • To get environment names, use the Get Keystore endpoint

Permissions

User must have any permission in the project (read access).