---
updatedAt: 2026-10-06T17:39:05.000Z
agentTools:
  projectIndex: https://docs.akeyless.io/llms.txt
---

# /get-dynamic-secret-value

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "contact": {
      "email": "support@akeyless.io",
      "name": "Akeyless",
      "url": "http://akeyless.io"
    },
    "description": "The purpose of this application is to provide access to Akeyless API.",
    "title": "Secrets & keys",
    "version": "3.0"
  },
  "paths": {
    "/get-dynamic-secret-value": {
      "post": {
        "operationId": "getDynamicSecretValue",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/getDynamicSecretValue"
              }
            }
          },
          "required": true,
          "x-go-name": "Body"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/getDynamicSecretValueResponse"
          },
          "default": {
            "$ref": "#/components/responses/errorResponse"
          }
        },
        "tags": [
          "Dynamic Secrets"
        ],
        "x-docs-category": "Secrets & keys",
        "x-docs-group": "Dynamic Secrets"
      }
    }
  },
  "tags": [
    {
      "name": "Dynamic Secrets"
    }
  ],
  "x-readme": {
    "apply-tag-changes": true
  },
  "servers": [
    {
      "url": "https://api.akeyless.io"
    }
  ],
  "components": {
    "responses": {
      "errorResponse": {
        "description": "errorResponse wraps any error to return it as a JSON object with one \"error\"\nfield.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/JSONError"
            }
          }
        }
      },
      "getDynamicSecretValueResponse": {
        "description": "getDynamicSecretValueResponse wraps response body.",
        "content": {
          "application/json": {
            "schema": {
              "additionalProperties": {},
              "type": "object"
            }
          }
        }
      }
    },
    "schemas": {
      "JSONError": {
        "properties": {
          "error": {
            "type": "string",
            "x-go-name": "Err"
          }
        },
        "title": "JSONError wraps an error with JSON object.",
        "type": "object",
        "x-go-package": "akeyless.io/akeyless-main-repo/go/src/client"
      },
      "getDynamicSecretValue": {
        "properties": {
          "args": {
            "description": "Optional arguments as key=value pairs or JSON strings, e.g -\n\\\"--args=csr=base64_encoded_csr --args=common_name=bar\\\" or\nargs='{\\\"csr\\\":\\\"base64_encoded_csr\\\"}. It is possible to combine both\nformats.'",
            "items": {
              "type": "string"
            },
            "type": "array",
            "x-go-name": "Arguments"
          },
          "dbname": {
            "description": "DBName: Optional override DB name (works only if DS allows it. only relevant for MSSQL)",
            "type": "string",
            "x-go-name": "DBName"
          },
          "host": {
            "description": "Host",
            "type": "string",
            "x-go-name": "Host"
          },
          "json": {
            "default": false,
            "description": "Set output format to JSON",
            "type": "boolean",
            "x-go-name": "Json"
          },
          "name": {
            "description": "Dynamic secret name",
            "type": "string",
            "x-go-name": "DynamicSecretName"
          },
          "target": {
            "description": "Target Name",
            "type": "string",
            "x-go-name": "TargetName"
          },
          "timeout": {
            "default": 15,
            "description": "Timeout in seconds",
            "format": "int64",
            "type": "integer",
            "x-go-name": "TimeoutSec"
          },
          "token": {
            "description": "Authentication token (see `/auth` and `/configure`)",
            "type": "string",
            "x-go-name": "Profile"
          },
          "uid-token": {
            "description": "The universal identity token, Required only for universal_identity authentication",
            "type": "string",
            "x-go-name": "UIDToken"
          }
        },
        "required": [
          "name"
        ],
        "title": "getDynamicSecretValue is a command that gets dynamic secret value.",
        "type": "object",
        "x-go-package": "akeyless.io/akeyless-main-repo/go/src/client/commands"
      }
    }
  }
}
```