v1

latestOpenAPI 3.0.02026-07-1410578280.2 KB
Secret

Inspect a secret

get/secrets/{id}

Path parameters

idstring required

ID of the secret

Response

no error

CreatedAtstring dateTime
IDstring
UpdatedAtstring dateTime

Example response

{
  "CreatedAt": "2017-07-20T13:55:28.678958722Z",
  "ID": "blt1owaxmitz71s9v5zh81zun",
  "Spec": {
    "Driver": {
      "Name": "some-driver",
      "Options": {
        "OptionA": "value for driver-specific option A",
        "OptionB": "value for driver-specific option B"
      }
    },
    "Labels": {
      "com.example.some-label": "some-value",
      "com.example.some-other-label": "some-other-value"
    }
  },
  "UpdatedAt": "2017-07-20T13:55:28.678958722Z",
  "Version": {
    "Index": 373531
  }
}