---
title: "Get Secret"
description: "Local-first visual environment for building and running AI workflows. Build agents visually, deploy anywhere, privacy by design."
canonical: https://docs.nodetool.ai/nodes/lib/secret/getsecret
markdown: https://docs.nodetool.ai/nodes/lib/secret/getsecret.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/lib/secret/getsecret.md
---

# Get Secret

**Type:** `lib.secret.GetSecret`

**Namespace:** `lib.secret`

## Description

Get a secret value from configuration.
    secrets, credentials, configuration

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| name | `str` | Secret key name | `` |
| default | `str` | Default value if not found | `` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `str` |  |

## Related Nodes

Browse other nodes in the [lib.secret](./) namespace.
