---
title: "GET /v1/storages/{storage_id}/access-info"
method: GET
path: "/v1/storages/{storage_id}/access-info"
tags: ["Storages"]
---

# GET /v1/storages/{storage_id}/access-info

`GET /v1/storages/{storage_id}/access-info`

## Request

- The document declares no server URL.
- Auth: none declared

Get access info of a registered storage backend

## Path parameters

- `storage_id` string, required

## Response `200`

Storage Access-info  available

- StorageAccessInfoResponse
  - `id` string
  - `rest` RestAccessInfoResponse
    - `host` string, required
    - `port` string, required
    - `username` string, required
    - `password` string
  - `ssh` SSHAccessInfoResponse
    - `host` string, required
    - `port` string, required
    - `username` string, required
    - `password` string
    - `pub_key` string
    - `pub_key_type` 'ed25519' | 'ecdsa' | 'rsa'
  - `cli` CLIAccessInfoResponse
    - `host` string, required
    - `port` string, required
    - `username` string, required
    - `password` string
  - `smis` SMISAccessInfoResponse
    - `host` string, required
    - `port` string, required
    - `username` string, required
    - `password` string
    - `namespace` string, required
  - `vendor` string
  - `model` string
  - `extra_attributes` object

## Other responses

- `401`: NotAuthorized
- `403`: Forbidden
- `500`: An unexpected error occured.

## Changes

- **2021-02-02** `97ad4728b0b0`: 2 info
  - added the optional property `cli` to the response with the `200` status
  - added the optional property `smis` to the response with the `200` status
- **2020-08-24** `d0b031044a4c`: 2 breaking
  - the response property `ssh/pub_key` became optional for the status `200`
  - the response property `ssh/pub_key_type` became optional for the status `200`
- **2020-07-29** `d529ded8b1d2`: 2 warning, 2 info
  - removed the optional property `port` from the response with the `200` status
  - removed the optional property `username` from the response with the `200` status
  - added the optional property `rest` to the response with the `200` status
  - added the optional property `ssh` to the response with the `200` status
- **2020-06-22** `5bf6b72adec1`: 1 info
  - api operation id `GetStorageAccessInfobyID` removed and replaced with `GettorageAccessInfobyID`
- **2020-06-22** `e50f7d699db5`: 6 breaking, 10 info
  - removed the required property `code` from the response with the `401` status
  - removed the required property `code` from the response with the `403` status
  - removed the required property `code` from the response with the `500` status
  - removed the required property `message` from the response with the `401` status
  - …12 more

[Operation history](https://skmtc.dev/sodafoundation/apis/soda-infrastructure-management-api/changes/v1/storages/:storage_id/access-info/get.md)

---

[API](https://skmtc.dev/sodafoundation/apis/soda-infrastructure-management-api.md) - [All operations](https://skmtc.dev/sodafoundation/apis/soda-infrastructure-management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sodafoundation/apis/soda-infrastructure-management-api/revisions/b2017613d719?raw)
