> ## Documentation Index
> Fetch the complete documentation index at: https://docs.devin.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# シークレットの作成

> 組織内に新しいシークレットを作成する

Devin セッションで使用できる、新しい暗号化されたシークレットを作成します。シークレットは、追加後に作成されるすべてのセッションで利用可能になります。

<div id="request-body">
  ## リクエストボディ
</div>

<ParamField body="type" type="string" required>
  シークレットの種類。`cookie`、`key-value`、`totp` のいずれかである必要があります。
</ParamField>

<ParamField body="key" type="string" required>
  シークレットのユーザー定義名。組織内で一意である必要があります。
</ParamField>

<ParamField body="value" type="string" required>
  保存するシークレットの値。保存時に暗号化されます。
</ParamField>

<ParamField body="sensitive" type="boolean" required>
  シークレットを機密情報として扱い、ログ内でマスクするかどうか。
</ParamField>

<ParamField body="note" type="string" required>
  シークレットの目的を説明する任意のメモ。
</ParamField>

<div id="response">
  ## レスポンス
</div>

<ResponseField name="id" type="string">
  作成されたシークレットの一意の識別子
</ResponseField>
