Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The equinix provider supports both connecting to an org and to a project: cnquery shell equinix project 676a700e-2b06-48de-aba6-2fa7dd95cd0c --token '<your-token>' ``` cnquery> equinix.metal.project { * } equinix.metal.project: { createdAt: 2021-03-03 12:13:46 +0100 CET sshKeys: [ 0: equinix.metal.sshkey label="chris-rock" ] organization: equinix.metal.organization name="Example Inc" id: "69780ecb-fdf1-4e6d-aaa1-edba462ee4a1" name: "API Integration" devices: [] updatedAt: 2023-08-27 11:36:21 +0200 CEST url: "/metal/v1/projects/69780ecb-fdf1-4e6d-aaa1-edba462ee4a1" } ``` cnquery shell org project 676a700e-2b06-48de-aba6-2fa7dd95cd0c --token '<your-token>' ```coffeescript cnquery> equinix.metal.organization { name users } equinix.metal.organization: { users: [ 0: equinix.metal.user email="chris@example.com" ] name: "Mondoo Inc" } ``` A user token is preferred over a project token if you want to fetch information from the organization.
- Loading branch information