Skip to content

gh secret load_file envfile #3579

@matrixise

Description

@matrixise

Describe the feature or problem you’d like to solve

Load the environment variables from an env file.

AWS_REGION=""
AWS_ACCESS_KEY_ID=""
AWS_SECRET_ACCESS_KEY=""

Proposed solution

How will it benefit CLI and its users?

Instead of typing

gh secret set AWS_ACCESS_KEY_ID xyztyujiko
gh secret set AWS_SECRET_ACCESS_KEY zsexdcfgvbhjnmk
gh secret set AWS_REGION eu-central-1

just load the file

gh secret load_file env

Metadata

Metadata

Assignees

Labels

enhancementa request to improve CLIhelp wantedContributions welcome

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions