Gatana Documentation
RoutesSecret storesStoreidMappings

/secret-stores/{storeId}/mappings

Create a new secret mapping

POST
/secret-stores/{storeId}/mappings
AuthorizationBearer <token>

In: header

Path Parameters

storeId*string

Request Body

application/json

name*string
Match^[a-z][a-z0-9_]*$
Length1 <= length <= 100
secretIdentifier*string
Length1 <= length

Response Body

application/json

curl -X POST "https://YOUR_ORG_ID.gatana.ai/api/v1/secret-stores/string/mappings" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "secretIdentifier": "string"  }'
{
  "name": "string",
  "secretIdentifier": "string",
  "createdAt": "string",
  "updatedAt": "string"
}