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

# Provide Key 1

> Provide the first key to unlock the locker



## OpenAPI

````yaml rust_locker_open_api_spec post /custodian/key1
openapi: 3.0.2
info:
  title: Tartarus - OpenAPI 3.0
  description: >-
    This is the OpenAPI 3.0 specification for the card locker.

    This is used by the [hyperswitch](https://github.com/juspay/hyperswitch) for
    storing card information securely.
  version: '1.0'
servers: []
security: []
tags:
  - name: Key Custodian
    description: API used to initialize the locker after deployment.
  - name: Data
    description: CRUD APIs for working with data to be stored in the locker
  - name: Cards
    description: >-
      CRUD APIs for working with cards data to be stored in the locker
      (deprecated)
paths:
  /custodian/key1:
    post:
      tags:
        - Key Custodian
      summary: Provide Key 1
      description: Provide the first key to unlock the locker
      operationId: setKey1
      parameters:
        - in: header
          name: x-tenant-id
          schema:
            type: string
      requestBody:
        description: Provide key 1 to unlock the locker
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Key'
        required: true
      responses:
        '200':
          description: Key 1 provided
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Key1Set'
components:
  schemas:
    Key:
      type: object
      properties:
        key:
          type: string
          example: 801bb63c1bd51820acbc8ac20c674675
      required:
        - key
    Key1Set:
      title: Key1Set
      type: string
      description: Received Key1
      example: Received Key1

````