No description
Find a file
2023-02-06 16:11:41 -06:00
config chore: NameToIdentifier (#6) 2023-02-06 16:11:41 -06:00
secrets chore: NameToIdentifier (#6) 2023-02-06 16:11:41 -06:00
test chore: NameToIdentifier (#6) 2023-02-06 16:11:41 -06:00
.gitignore Initial commit 2023-01-27 09:50:30 -06:00
go.mod feat: config (#1) 2023-01-27 10:05:42 -06:00
go.sum feat: config (#1) 2023-01-27 10:05:42 -06:00
LICENSE Initial commit 2023-01-27 09:50:30 -06:00
README.md Feat/secrets (#3) 2023-01-27 10:35:09 -06:00
utils.go Feat/secrets (#3) 2023-01-27 10:35:09 -06:00

harness-utils-go

helpful harness utils for go applications

config

authentication and scoping

generall all helpers here will use the following for authentication and scoping:

  • HARNESS_PLATFORM_API_KEY: harness nextgen api key
  • HARNESS_ACCOUNT_ID: harness account id
  • HARNESS_PLATFORM_ORGANIZATION: organization id
  • HARNESS_PLATFORM_PROJECT: project id

leaving out project will result in org level resources leaving out organization will result in account level resources

secrets

set a text secret in harness