---
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', required — Describes the kind of secret.
  - `name` string, required — Name of the Secret resource.

## Other responses

- `default` — Error

---

[API](https://skmtc.net/azure/apis/service-fabric-client-apis.md) · [All operations](https://skmtc.net/azure/apis/service-fabric-client-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/service-fabric-client-apis/versions/6df9f2f4d542/schema)
