{"id":19873052,"url":"https://github.com/checkpointsw/infinity-next-terraform-cli","last_synced_at":"2026-03-07T18:31:38.878Z","repository":{"id":37473014,"uuid":"489884096","full_name":"CheckPointSW/infinity-next-terraform-cli","owner":"CheckPointSW","description":"Utility CLI for the Infinity Next Terraform Provider","archived":false,"fork":false,"pushed_at":"2024-07-22T13:40:54.000Z","size":46,"stargazers_count":4,"open_issues_count":2,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-02T09:49:03.207Z","etag":null,"topics":["api","cli"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CheckPointSW.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-05-08T08:12:53.000Z","updated_at":"2024-11-11T23:57:43.000Z","dependencies_parsed_at":"2025-05-02T09:39:55.220Z","dependency_job_id":"76903570-f469-41e7-9697-5f192616bd65","html_url":"https://github.com/CheckPointSW/infinity-next-terraform-cli","commit_stats":null,"previous_names":["checkpointsw/infinity-next-cli"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/CheckPointSW/infinity-next-terraform-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheckPointSW%2Finfinity-next-terraform-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheckPointSW%2Finfinity-next-terraform-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheckPointSW%2Finfinity-next-terraform-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheckPointSW%2Finfinity-next-terraform-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CheckPointSW","download_url":"https://codeload.github.com/CheckPointSW/infinity-next-terraform-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheckPointSW%2Finfinity-next-terraform-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265328155,"owners_count":23747846,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","cli"],"created_at":"2024-11-12T16:17:39.927Z","updated_at":"2025-10-18T16:24:26.387Z","avatar_url":"https://github.com/CheckPointSW.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Infinity Next Terraform CLI\nThe project provides a command line interface for using the API of Infinity Next\n\n## Generating an API Key *(Required)*\nIf already have an API key from setting up [terraform-provider-infinity-next](https://github.com/CheckPointSW/terraform-provider-infinity-next) then you can skip this section.\n1. Go to https://portal.checkpoint.com, navigate to *Global Settings -\u003e API Keys*\n\n2. Create a new API key and select *Infinity Policy* as the service, with *Admin* role, we recommend that you specify a meaningful comment for the key so you could identify them later and avoid mistakes.\n\n3. Store the *Client ID* and *Secret Key* in a secure location, and note there's no way to view the secret key afterward.\n\n## Usage\nDownload and install the CLI found in the [latest release](https://github.com/CheckPointSW/infinity-next-terraform-cli/releases/latest)\n\nYou could run `inext help` and get all available options and commands.\n\nThe CLI requires the same credentials used to configure the provider, there are 3 options to pass these credentials to the CLI:\n\n1. Set the environment variables: `INEXT_REGION`, `INEXT_CLIENT_ID` and `INEXT_ACCESS_KEY` and run `inext \u003ccommand\u003e`, this is more comfortable for usage right after `terraform apply` since it uses the same environment variables.\n   \n2. Set credentials using flags `--client-id` (shorthand `-c`) and `--access-key` (shorthand `-k`)\n   ```\n   inext publish -c $INEXT_CLIENT_ID -k $INEXT_ACCESS_KEY -r us\n   ```\n\n3. Create a yaml file at `~/.inext.yaml` with the following content:\n   ```\n   client-id: \u003cINEXT_CLIENT_ID\u003e\n   access-key: \u003cINEXT_ACCESS_KEY\u003e\n   region: eu\n   ```\n   Run `inext \u003ccommand\u003e` and the CLI would be configured using `~/.inext.yaml` by default, can be set using `inext --config \u003cconfig-path\u003e \u003ccommand\u003e`\n\n## Example\n```\ninext publish \u0026\u0026 inext enforce\n```\n\n## Build\n### Requirements\n* Go 1.18+\n\nTo build the CLI run:\n```\ngo build -o inext\n```\nYou could then install it by running:\n```\ncp inext /usr/local/bin\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheckpointsw%2Finfinity-next-terraform-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcheckpointsw%2Finfinity-next-terraform-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheckpointsw%2Finfinity-next-terraform-cli/lists"}