An open API service indexing awesome lists of open source software.

https://github.com/chadnpc/infisical

[wip] [unofficial] PowerShell module for infisical secret management
https://github.com/chadnpc/infisical

infisical secrets-management

Last synced: 6 days ago
JSON representation

[wip] [unofficial] PowerShell module for infisical secret management

Awesome Lists containing this project

README

          


Icon



infisical


🔥 Blazingly fast PowerShell module to work with infisical.


PowerShell Gallery


**📦 Installation**

```PowerShell
# Install from PSGallery
Install-Module infisical -Scope CurrentUser
```

**🚀 Features**

- **Access Control.**
Fine-grained, identity-aware permissions for users and machines
- **Secret Delivery.**
Access and manage secrets (Create, Read, Update, Delete)
- **Public Key Infrastructure (PKI).**

## quick usage (*wip)

```powershell
# cmdlet:
infisical login --method universal-auth
infisical init
infisical secrets list

# just classes
$client = [Infisical]::GetClient($url, $token)
$secrets = $client.Secrets().ListAsync($opts).GetAwaiter().GetResult()
```

Full docs: [`./docs/README.md`.](./docs/README.md)

## 🛠️ dev setup (contributors)

```powershell
git clone https://github.com/chadnpc/infisical.git
cd infisical
```

Load environment variables first:

```PowerShell
#Requires -Modules clihelper.env
cp .env.example .env
# Edit .env with your credentials. You can get them from your [Twilio Console](https://console.twilio.com/).
Read-Env .env | Set-Env

# Import local module and run tests
Import-Module ./infisical.psm1 -Force; ./Test-Module.ps1 -SkipBuildOutput
```

## Try it in your terminal

One-liner install and launch:

```PowerShell
# todo: add a one liner install and launch script
```

- cmdlet: `Invoke-infisicalCli` (aliases: `infisical`, `infisicalCli`).
ex:

```powershell
infisical GetApiUsageLimits
```

## License

This project is licensed under the [MIT License](LICENSE).