---
title: "Get redis credentials"
method: GET
path: "/api/projects/{projectName}/redises/{redisName}/credentials"
tags: ["redis"]
---

# Get redis credentials

`GET /api/projects/{projectName}/redises/{redisName}/credentials`

## Request

- Base URL: `https://api.hostim.dev`
- URL: `https://api.hostim.dev/api/projects/{projectName}/redises/{redisName}/credentials`
- Auth: HTTP bearer

Get redis credentials

## Path parameters

- `projectName` string, required
- `redisName` string, required

## Response `200`

OK

- RedisCredentials
  - `hostname` string, required: The Redis hostname
  - `port` integer, required: The Redis port
  - `password` string, required: The Redis password

## Other responses

- `401`: User is not authorized
- `404`: Redis not found
- `500`: Internal server error

---

[API](https://skmtc.dev/hostim/apis/hostim-api.md) · [All operations](https://skmtc.dev/hostim/apis/hostim-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hostim/apis/hostim-api/revisions/37c35e1026a9?raw)
