v1

latestSwagger 2.02026-07-17107130444.8 KB
Secret

Inspect a secret

get/secrets/{id}

Path parameters

idstring required

ID of the secret

Response

no error

IDstring
CreatedAtstring dateTime
UpdatedAtstring dateTime

Example response

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