Use this data source to retrieve the list of codespaces secrets for a GitHub repository.
data "github_codespaces_secrets" "example" {
name = "example_repository"
}
data "github_codespaces_secrets" "example_2" {
full_name = "org/example_repository"
}
name
- (Optional) The name of the repository.full_name
- (Optional) Full name of the repository (in org/name
format).secrets
- list of codespaces secrets for the repository
name
- Secret namecreated_at
- Timestamp of the secret creationupdated_at
- Timestamp of the secret last update