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

# GH_EnvironmentSecret

> An environment-level GitHub Actions secret scoped to a specific deployment environment

<img noZoom src="https://mintcdn.com/specterops/tTIczgde9H07oLXf/assets/enterprise-AND-community-edition-pill-tag.svg?fit=max&auto=format&n=tTIczgde9H07oLXf&q=85&s=ad49a576589f4d2a8081df77d07fdf56" alt="Applies to BloodHound Enterprise and CE" width="482" height="45" data-path="assets/enterprise-AND-community-edition-pill-tag.svg" />

Represents an environment-level GitHub Actions secret. These secrets are scoped to a specific deployment environment and are only available to workflow jobs that reference that environment.

## Edges

<Note>
  The tables below list edges defined by the GitHub extension only. Additional edges to or from this node may be created by other extensions.
</Note>

### Inbound Edges

| Edge Type                                                        | Source Node Types                                                                                                                                                                                                | Traversable |
| ---------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| [GH\_Contains](/opengraph/extensions/github/edges/gh_contains)   | [GH\_Organization](/opengraph/extensions/github/nodes/gh_organization), [GH\_Repository](/opengraph/extensions/github/nodes/gh_repository), [GH\_Environment](/opengraph/extensions/github/nodes/gh_environment) | ❌           |
| [GH\_HasSecret](/opengraph/extensions/github/edges/gh_hassecret) | [GH\_Repository](/opengraph/extensions/github/nodes/gh_repository), [GH\_Environment](/opengraph/extensions/github/nodes/gh_environment)                                                                         | ✅           |

### Outbound Edges

No outbound edges are defined by the GitHub extension for this node.

## Properties

| Property Name                 | Data Type | Description                                                                       |
| ----------------------------- | --------- | --------------------------------------------------------------------------------- |
| objectid                      | string    | A deterministic ID in the format `GH_EnvironmentSecret_{envNodeId}_{secretName}`. |
| id                            | string    | Same as objectid.                                                                 |
| name                          | string    | The name of the secret.                                                           |
| environment\_name             | string    | The name of the environment (GitHub organization)                                 |
| environmentid                 | string    | The node\_id of the environment (GitHub organization)                             |
| deployment\_environment\_name | string    | The name of the containing deployment environment.                                |
| deployment\_environmentid     | string    | The node\_id of the containing deployment environment.                            |
| created\_at                   | datetime  | When the secret was created.                                                      |
| updated\_at                   | datetime  | When the secret was last updated.                                                 |

## Diagram

```mermaid theme={null}
flowchart TD
    GH_Environment[fa:fa-leaf GH_Environment]
    GH_EnvironmentSecret[fa:fa-lock GH_EnvironmentSecret]


    GH_Environment -.->|GH_Contains| GH_EnvironmentSecret
```
