|
Download README.md from cloudlabworks/nc2-iam-permissions: direct link, hf CLI and curl.
- Browser
- Download file 2.64 kB
-
https://huggingface.co/datasets/cloudlabworks/nc2-iam-permissions/resolve/main/README.md
- Command line
-
hf download hf://datasets/cloudlabworks/nc2-iam-permissions/README.md
-
curl -L -o README.md https://huggingface.co/datasets/cloudlabworks/nc2-iam-permissions/resolve/main/README.md
2.64 kB
| license: mit | |
| pretty_name: NC2 IAM permissions | |
| language: [en] | |
| tags: [iam, cloud, aws, azure, google-cloud, nc2, permissions] | |
| size_categories: [n<1K] | |
| configs: | |
| - config_name: permissions | |
| data_files: permissions.jsonl | |
| - config_name: examples | |
| data_files: examples.jsonl | |
| # NC2 IAM permissions | |
| The cloud permissions that Nutanix Cloud Clusters (NC2) onboarding needs on AWS, Azure and Google Cloud, as machine- | |
| readable rows. Each row carries the public guide page it came from and that page's *Last Updated* date, so you can see | |
| what changed when the guides change. | |
| ## `permissions` (270 rows) | |
| | list | what it is | rows | origin | | |
| |---|---|---|---| | |
| | `azure-nc2-app` | the custom role the NC2 app registration holds (109 actions + 9 data actions) | 118 | NC2 user guide | | |
| | `azure-setup` | what the person doing the setup needs to create and assign that role | 2 | derived from the guide's steps | | |
| | `gcp-console-sa` | the NC2 console service account's role | 98 | NC2 user guide | | |
| | `gcp-nodes-sa` | the cluster nodes service account's role | 23 | NC2 user guide | | |
| | `aws-setup` | what a CloudFormation stack that creates IAM roles needs | 27 | derived from the guide's steps | | |
| | `aws-managed-policies` | the managed policies the guide names | 2 | NC2 user guide | | |
| Fields: `list`, `cloud`, `actor`, `permission`, `kind` (action, dataAction, permission, managed-policy), `origin`, | |
| `source_url`, `doc_last_updated`. "Derived" rows map a step the guide describes to the cloud vendor's own permission | |
| for it; they are labelled so you can tell them apart. | |
| The Google Cloud console guide states 97 permissions; its table and its `gcloud` command both list 98, and so does this | |
| dataset. | |
| ## `examples` (16 rows) | |
| Worked examples with the expected answer: Microsoft's built-in Azure roles and AWS managed policies (copied from the | |
| vendors' published definitions), the guide's own roles, and labelled synthetic cases. Fields: `list`, `label`, | |
| `source`, `input` (what you'd paste), `expected_missing`. The expected answers are computed in Python, Azure with the | |
| [nc2-iam-preflight](https://github.com/cloudlabworks/nc2-iam-preflight) tool's own matching function. | |
| ## Use it | |
| - In the browser: [NC2 IAM permission check](https://huggingface.co/spaces/cloudlabworks/nc2-iam-preflight), which ships these lists and runs the examples as a self-test. | |
| - In your cloud shell, against your real account: [nc2-iam-preflight](https://github.com/cloudlabworks/nc2-iam-preflight). | |
| Independent, personal project by Alex Alvord, [CloudLab Works](https://cloudlabworks.dev). Not a Nutanix product, not | |
| endorsed or supported by Nutanix. MIT licence. | |