{
  "name": "s3-list",
  "title": "List objects under an S3 prefix",
  "description": "List the objects under a prefix in an Amazon S3 bucket with the AWS CLI, using credentials read from a Kubernetes Secret.",
  "category": "Object storage",
  "tags": [
    "aws-cli",
    "object-storage"
  ],
  "latestVersion": "1.0.2",
  "versions": [
    "1.0.2",
    "1.0.1",
    "1.0.0"
  ],
  "parameters": [
    "bucket",
    "aws-access-key-id-key",
    "aws-secret-access-key-key",
    "aws-secret-name",
    "prefix",
    "region"
  ],
  "images": [
    "amazon/aws-cli@sha256:d557b3524475d70dd3104cf44d96568ee3188897b73a6ece2b37aa50e1af362f"
  ],
  "url": "https://catalog.dagweave.com/api/v1/items/s3-list.json",
  "templateUrl": "https://catalog.dagweave.com/api/v1/items/s3-list/latest/template.yaml",
  "page": "https://catalog.dagweave.com/items/s3-list/",
  "entrypoint": "list",
  "parameterDetails": [
    {
      "name": "bucket",
      "title": "Bucket",
      "description": "S3 bucket name to list (no s3:// prefix).",
      "type": "string",
      "required": true,
      "example": "my-data-bucket"
    },
    {
      "name": "aws-access-key-id-key",
      "title": "Access key id secret key",
      "description": "Key within the Secret that holds the AWS access key id.",
      "type": "string",
      "required": false,
      "default": "access-key-id"
    },
    {
      "name": "aws-secret-access-key-key",
      "title": "Secret access key secret key",
      "description": "Key within the Secret that holds the AWS secret access key.",
      "type": "string",
      "required": false,
      "default": "secret-access-key"
    },
    {
      "name": "aws-secret-name",
      "title": "AWS secret name",
      "description": "Name of the Kubernetes Secret in the run namespace holding the AWS credentials.",
      "type": "string",
      "required": false,
      "default": "aws-credentials"
    },
    {
      "name": "prefix",
      "title": "Prefix",
      "description": "Key prefix to list under. Empty lists the whole bucket.",
      "type": "string",
      "required": false,
      "default": "",
      "example": "reports/2026/"
    },
    {
      "name": "region",
      "title": "AWS region",
      "description": "AWS region of the bucket.",
      "type": "string",
      "required": false,
      "default": "us-east-1"
    }
  ],
  "imageDetails": [
    {
      "ref": "amazon/aws-cli@sha256:d557b3524475d70dd3104cf44d96568ee3188897b73a6ece2b37aa50e1af362f",
      "repository": "amazon/aws-cli",
      "tag": "2.39.3",
      "digest": "sha256:d557b3524475d70dd3104cf44d96568ee3188897b73a6ece2b37aa50e1af362f"
    }
  ],
  "versionDetails": [
    {
      "version": "1.0.2",
      "date": "2026-08-11",
      "notes": "Move amazon/aws-cli from 2.36.14 to 2.36.20. Clears all 8 fixable OS advisories and the image scans clean again. The six patch releases in between carry service model updates only, and `aws s3 ls --recursive` was round-tripped against MinIO on both digests.",
      "latest": true,
      "installable": true,
      "url": "https://catalog.dagweave.com/api/v1/items/s3-list/1.0.2.json",
      "templateUrl": "https://catalog.dagweave.com/api/v1/items/s3-list/1.0.2/template.yaml"
    },
    {
      "version": "1.0.1",
      "date": "2026-08-02",
      "notes": "Move amazon/aws-cli from 2.17.19 to 2.36.14. Clears all 90 fixable CRITICAL/HIGH; the image now scans clean.",
      "latest": false,
      "installable": false,
      "url": "https://catalog.dagweave.com/api/v1/items/s3-list/1.0.1.json"
    },
    {
      "version": "1.0.0",
      "date": "2026-07-16",
      "notes": "Initial release.",
      "latest": false,
      "installable": false,
      "url": "https://catalog.dagweave.com/api/v1/items/s3-list/1.0.0.json"
    }
  ],
  "source": "https://github.com/dagweave/catalog/tree/67458f74dbbf913b03177f3cefc69424be85eb1d/catalog/s3-list",
  "catalogSha": "67458f74dbbf913b03177f3cefc69424be85eb1d"
}
