---
title: "overlane egress grants show"
description: "Show one credential grant and whether it is still active"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.overlane.app/llms.txt
> Use this file to discover all available pages before exploring further.

# overlane egress grants show

{/* Generated by apps/docs/scripts/generate.mjs (CLI pages from the command registry in packages/cli). Do not edit; run `pnpm --filter @overlane/docs gen`. */}

Prints one grant: the task, the hosts, the secret's name, the lifetime, how often the proxy used it and its status. No value is ever shown.

## Usage

```sh
overlane egress grants show grant-id
```

## Arguments

| Argument | Required | Description |
| --- | --- | --- |
| `grant-id` | yes | The grant from `overlane egress grants` |

## Examples

```sh
overlane egress grants show grt_abc123
```

## Behavior

- Effect: `read` (changes nothing).
- Needs credentials: yes. Uses the network: yes.
- Supports `--dry-run`: no. Accepts `--force`: no.
- Machine-readable description: `overlane schema egress grants show`.

## Result

With `--json` (the default when stdout is not a terminal) the command prints this JSON Schema's shape on stdout.

```json
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "scope": {
      "type": "string"
    },
    "taskId": {
      "type": [
        "string",
        "null"
      ]
    },
    "secretName": {
      "type": "string"
    },
    "hosts": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "uses": {
      "type": "number"
    },
    "expiresAt": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "status",
    "scope",
    "taskId",
    "secretName",
    "hosts",
    "uses",
    "expiresAt"
  ],
  "additionalProperties": {}
}
```

See [exit codes](/cli/#exit-codes) for the status the process returns.

Source: https://docs.overlane.app/cli/egress-grants-show/index.mdx
