Global InfraGlobal Infra Cloud
Secret Storage

Update a secret

Updates an existing secret.

PUT
/api/v1/giservices/secret_storage/secrets/{id}

Authorization

AuthorizationBearer <token>

Okta Bearer token

In: header

Path Parameters

id*string

Asset unique identifier

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PUT "https://example.com/api/v1/giservices/secret_storage/secrets/string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "string",
  "name": "string",
  "description": "string",
  "service": "string",
  "attributes": {
    "metadata": {
      "property1": "string",
      "property2": "string"
    },
    "mount_path": "string",
    "name": "string",
    "path": "string",
    "secrets": {
      "property1": "string",
      "property2": "string"
    },
    "store": "postbox",
    "version": 0
  },
  "platform": "string",
  "region": "string",
  "tenant": "string"
}
Empty
Empty
Empty
Empty