# SecretStore API

Interface definition for a secret store implementation

---
Canonical: /handbook/api/interfaces/_purista_core.SecretStore/
Source: core/SecretStore/types/SecretStore.ts
Format: Markdown for agents
---

Interface definition for a secret store implementation

Package: `@purista/core`

## Signature

```typescript
interface SecretStore
```

## Members

### Properties

- `getSecret: SecretGetterFunction` — get a secret
- `name: string` — name of store
- `removeSecret: SecretDeleteFunction` — delete a secret
- `setSecret: SecretSetterFunction` — set a secret

### Methods

- `destroy(): Promise<void>` — disconnects and shuts down the secret store
