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

# Get Secret

Get a single secret by ID.

<Note>
  External Documentation

  To learn more, visit the [Delinea documentation](https://updates.thycotic.net/secretserver/restapiguide/11.6.3/TokenAuth/#tag/Secrets/operation/SecretsService_GetSecretV2).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter | Description                                                    |
  | --------- | -------------------------------------------------------------- |
  | Secret ID | Secret ID. Can be retrieved from the 'Get All Secrets' action. |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter                | Description                                         |
  | ------------------------ | --------------------------------------------------- |
  | Include Inactive Secrets | Whether to include inactive secrets in the results. |
</div>

## Example Output

```json theme={"dark"}
{
	"id": 275,
	"name": "<string>",
	"secretTemplateId": 865,
	"folderId": 881,
	"active": false,
	"items": [
		{
			"itemId": 724,
			"fileAttachmentId": null,
			"filename": null,
			"itemValue": "<string>",
			"fieldId": 803,
			"fieldName": "<string>",
			"slug": "<string>",
			"fieldDescription": "<string>",
			"isFile": true,
			"isNotes": true,
			"isPassword": false,
			"isList": true,
			"listType": "<string>"
		}
	],
	"launcherConnectAsSecretId": 965,
	"checkOutMinutesRemaining": 729,
	"checkedOut": false,
	"checkOutUserDisplayName": "<string>",
	"checkOutUserId": 153,
	"isRestricted": false,
	"isOutOfSync": true,
	"outOfSyncReason": "<string>",
	"autoChangeEnabled": false,
	"autoChangeNextPassword": "<string>",
	"requiresApprovalForAccess": false,
	"requiresComment": false,
	"checkOutEnabled": false,
	"checkOutIntervalMinutes": 482,
	"checkOutChangePasswordEnabled": false,
	"accessRequestWorkflowMapId": 289,
	"proxyEnabled": true,
	"sessionRecordingEnabled": true,
	"restrictSshCommands": false,
	"jumpboxRouteId": null,
	"allowOwnersUnrestrictedSshCommands": true,
	"isDoubleLock": false,
	"doubleLockId": 413,
	"enableInheritPermissions": true,
	"passwordTypeWebScriptId": 575,
	"siteId": 17,
	"enableInheritSecretPolicy": false,
	"secretPolicyId": 656,
	"lastHeartBeatStatus": "<string>",
	"lastHeartBeatCheck": "2020-08-27T08:44:21",
	"failedPasswordChangeAttempts": 822,
	"lastPasswordChangeAttempt": null,
	"secretTemplateName": "<string>",
	"responseCodes": [],
	"webLauncherRequiresIncognitoMode": true
}
```

## Workflow Library Example

[Get Secret with Delinea and Send Results Via Email](https://library.blinkops.com/workflows/get-secret-with-delinea-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/get-secret-with-delinea-and-send-results-via-email/canvas" />
</div>
