This repository contains various PowerShell scripts for API testing, tooling and development experiments.
Some scripts require credentials. To avoid hard coding sensitive values, these scripts read their credentials from environment variables:
API_USERNAMEandAPI_PASSWORDfor scripts in theAPIfolder.EVE_CLIENT_IDandEVE_CLIENT_SECRETfor EVE Online authentication scripts.EVE_AUTH_CODEforDevelopment/eve-auth-api-test.ps1.TEST_EMAILandTEST_PASSWORDforPen-Test/payload.ps1.ELASTIC_USERNAMEandELASTIC_PASSWORDforTooling/elastic-rule-report.ps1.
Before running a script, export the required variables in your shell:
$env:API_USERNAME = 'myuser'
$env:API_PASSWORD = 'mypassword'
# set other variables as neededUse your preferred secrets management solution to supply these values securely.