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

# testExternalSecretReference

> Reads a secret reference with the saved settings, without returning the secret. A failed read is a `CONNECTION_TEST_FAILED` error. Needs `external_secrets:write`, and external secret managers enabled for the company.



**mutation** `testExternalSecretReference(input: TestExternalSecretReferenceInput!): TestExternalSecretReferencePayload!`

## Arguments

**`input`**: `TestExternalSecretReferenceInput!` (required)

The reference.

## Returns

`TestExternalSecretReferencePayload!`

**`provider`**: `ExternalSecretsProviderName!`

The provider that read it.

---

**`testedAt`**: `DateTime!`

When the test ran.

## Examples

```graphql Mutation
mutation TestExternalSecretReference($input: TestExternalSecretReferenceInput!) {
  testExternalSecretReference(input: $input) {
    provider
    testedAt
  }
}
```

```json Variables
{
  "input": {
    "reference": "string"
  }
}
```

```json Response
{
  "data": {
    "testExternalSecretReference": {
      "provider": "AWS",
      "testedAt": "value"
    }
  }
}
```


## Related topics

- [Administration API: Integrations](https://docs.paradime.io/developers/graphql-api/admin-api/integrations.md)
- [Admin client: integrations](https://docs.paradime.io/developers/python-sdk/modules/admin/integrations.md)
- [GCP Secret Manager](https://docs.paradime.io/integrations/gcp-secret-manager.md)
- [API Reference](https://docs.paradime.io/developers/graphql-api/api-reference/index.md)
- [Azure Key Vault](https://docs.paradime.io/integrations/azure-key-vault.md)


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