Go SDK client for doppler.com API.
go get -u github.com/dilutedev/doppler
To run this project, you will need to add the following environment variables to your .env file
DOPPLER_KEY
Read more about keys here
- Auth
- Workplace
- Workplace Roles
- Activity logs
- Projects
- Project Roles
- Project Members
- Environments
- Configs
- Config logs
- Trusted IPs
- Secrets
- Integrations
- Secrets Sync
- Dynamic Secrets
- Service Tokens
- Invites
- Groups
- Service Accounts
- Audit
- Share
package main
import (
"github.com/dilutedev/doppler"
_ "github.com/joho/godotenv/autoload"
)
func main(){
dp, err := doppler.NewFromEnv()
if err != nil {
panic(err)
}
projects, err := dp.ListProjects(1, nil)
if err != nil {
panic(err)
}
log.Println(projects)
}