---
title: "Gets the Secret resource with the given name."
method: GET
path: "/Resources/Secrets/{secretResourceName}"
tags: ["MeshSecrets"]
---

# Gets the Secret resource with the given name.

`GET /Resources/Secrets/{secretResourceName}`

Gets the information about the Secret resource with the given name. The information include the description and other properties of the Secret.

## Path parameters

- `secretResourceName` string, required

## Query parameters

- `api-version` '6.4-preview', required

## Response `200`

OK

- SecretResourceDescription — This type describes a secret resource.
  - `properties` SecretResourceProperties, required — This type describes the properties of a secret resource, including its kind.
    - `kind` 'inlinedValue' | 'keyVaultVersionedReference', required — Describes the kind of secret.
  - `name` string, required — Name of the Secret resource.

## Other responses

- `default` — Error

---

[API](https://skmtc.net/azure/apis/servicefabric-servicefabric.md) · [All operations](https://skmtc.net/azure/apis/servicefabric-servicefabric/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/servicefabric-servicefabric/revisions/8fd479ce0f16/schema)
