Skip to content

Commit

Permalink
remove gh provider
Browse files Browse the repository at this point in the history
  • Loading branch information
miunau committed Jan 6, 2025
1 parent c81dffb commit 7ce1ed9
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 256 deletions.
24 changes: 0 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,30 +306,6 @@ hcv://vault.example.com:8200/secret/data/database/credentials

</details>

<details>
<summary><b>GitHub Secrets <code>(ghs://)</code></b></summary>

Uses the GitHub CLI to fetch repository secrets.

**Status:**
❌ Needs testing

**Format:**
```
ghs://owner/repo/secret-name
```

**Example:**
```
ghs://auth70/salakala/API_KEY
```

**Requirements:**
- GitHub CLI (`gh`) installed
- Logged in to GitHub CLI
- Appropriate repository access permissions
</details>

<details>
<summary><b>Doppler <code>(doppler://)</code></b></summary>

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"bin": {
"salakala": "./dist/cli.js"
},
"version": "0.4.2",
"version": "0.4.3",
"description": "Generate .env files from various secret providers",
"type": "module",
"scripts": {
Expand Down
2 changes: 0 additions & 2 deletions src/lib/SecretProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { LastPassProvider } from "./providers/LastPass.js";
import { DopplerProvider } from "./providers/Doppler.js";
import { InfisicalProvider } from "./providers/Infisical.js";
import { KeePassProvider } from "./providers/KeePass.js";
import { GitHubSecretsProvider } from "./providers/GitHubSecrets.js";

/**
* Interface for secret management providers.
Expand Down Expand Up @@ -71,7 +70,6 @@ export class SecretsManager {
['doppler://', new DopplerProvider()],
['inf://', new InfisicalProvider()],
['kp://', new KeePassProvider()],
['ghs://', new GitHubSecretsProvider()],
]);
}

Expand Down
131 changes: 0 additions & 131 deletions src/lib/providers/GitHubSecrets.ts

This file was deleted.

98 changes: 0 additions & 98 deletions tests/GitHubSecrets.test.ts

This file was deleted.

0 comments on commit 7ce1ed9

Please sign in to comment.