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

# Sentinel For • AI Agent SDK

> sentinel_for: API reference for EgressGuardProtocol.sentinel_for

# sentinel\_for

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**EgressGuardProtocol**](../classes/EgressGuardProtocol) class in the [**secrets**](../modules/secrets) module.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def sentinel_for(ref: 'SecretRef') -> str
```

## Parameters

<ParamField query="ref" type="SecretRef" required={true}>
  No description available.
</ParamField>

### Returns

<ResponseField name="Returns" type="str">
  The result of the operation.
</ResponseField>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/secrets.py#L496">
  `praisonaiagents/secrets.py` at line 496
</Card>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.