G
GithubApi
Arcade Native

GetEnvironmentSecretInfo

GithubApi.GetEnvironmentSecretInfo

Arcade Native Built and maintained by Arcade with full support
Supported by Arcade

Description

Retrieve details of an environment secret on GitHub.

Fetches metadata about a specific GitHub environment secret. This tool is useful for getting information like the name and existence of a secret without revealing its encrypted value. Authentication with a token having `repo` scope or `secrets` permission is required.

Input Parameters

{
  "parameters": [
    {
      "name": "environment_name",
      "required": true,
      "inferrable": true,
      "description": "The name of the environment to access the secret from. Required to specify which environment's secret details to retrieve.",
      "value_schema": {
        "val_type": "string"
      }
    },
    {
      "name": "repository_id",
      "required": true,
      "inferrable": true,
      "description": "The unique identifier of the GitHub repository.",
      "value_schema": {
        "val_type": "integer"
      }
    },
    {
      "name": "secret_name",
      "required": true,
      "inferrable": true,
      "description": "The name of the environment secret to retrieve information about.",
      "value_schema": {
        "val_type": "string"
      }
    }
  ]
}

Output

{
  "description": "Response from the API endpoint 'actions/get-environment-secret'.",
  "value_schema": {
    "val_type": "json"
  },
  "available_modes": [
    "value",
    "error"
  ]
}