API Keys in CI
GitHub Actions
Add NativeLink Cloud to a GitHub Actions Workflow
To run NativeLink cloud in your workflow, you will need to create a YAML in
your .github/workflows
folder with the following added to your jobs
section:
Configure Secrets in your GitHub Repository
GitHub Repository Secrets is the recommended way to store your NativeLink Cloud API keys for use with GitHub Actions.
GitHub Repository Secrets Tutorial
They can be access via the secrets context i.e.
Read-Only keys can be used for PRs and stored in the vars context. For merge-to-main actions, use a Read/Write key stored in the secrets context.
Read Only keys
For Read Only API Keys you need to set these two flags:
BEP Disabled Keys
For keys where BEP is disabled, remove the following flags from your Config:
Third-Party Secrets Management
If you need info on setting up API keys for different CI environments, ask in the Slack channel or open an issue on our GitHub.