{"id":34107528,"url":"https://github.com/cloud-copilot/iam-data-python","last_synced_at":"2026-03-27T04:05:22.686Z","repository":{"id":259296748,"uuid":"877572773","full_name":"cloud-copilot/iam-data-python","owner":"cloud-copilot","description":null,"archived":false,"fork":false,"pushed_at":"2026-03-26T05:19:46.000Z","size":2937,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-03-27T01:34:29.898Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloud-copilot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-23T22:12:23.000Z","updated_at":"2026-03-26T05:19:50.000Z","dependencies_parsed_at":"2025-11-30T05:04:00.267Z","dependency_job_id":null,"html_url":"https://github.com/cloud-copilot/iam-data-python","commit_stats":null,"previous_names":["cloud-copilot/iam-data-python"],"tags_count":486,"template":false,"template_full_name":null,"purl":"pkg:github/cloud-copilot/iam-data-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-copilot%2Fiam-data-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-copilot%2Fiam-data-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-copilot%2Fiam-data-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-copilot%2Fiam-data-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloud-copilot","download_url":"https://codeload.github.com/cloud-copilot/iam-data-python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-copilot%2Fiam-data-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31018546,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-27T03:51:26.850Z","status":"ssl_error","status_checked_at":"2026-03-27T03:51:09.693Z","response_time":164,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2025-12-14T18:06:51.479Z","updated_at":"2026-03-27T04:05:22.654Z","avatar_url":"https://github.com/cloud-copilot.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IAM Data In Python Package\n\nThis is a simple package for utilizing AWS IAM data for Services, Actions, Resources, and Condition Keys. Data is embedded in the python package.\n\nNew data is checked against the AWS IAM documentation and updated daily if there are changes.\n\n## Installation\n```bash\npip install iam-data\n```\n\n## Usage\n```python\nfrom iamdata import IAMData\n\niam_data = IAMData()\nprint(f\"Data Version {iam_data.data_version()} updated at {iam_data.data_updated_at()}\")\nfor service_key in iam_data.services.get_service_keys():\n    service_name = iam_data.services.get_service_name(service_key)\n    print(f\"Getting Actions for {service_name}\")\n    for action in iam_data.actions.get_actions_for_service(service_key):\n        action_details = iam_data.actions.get_action_details(service_key, action)\n        print(f\"{service_key}:{action} =\u003e {action_details}\")\n```\n\n## API\n### Services\n* `services.get_service_keys()` - Returns a list of all service keys such as 's3', 'ec2', etc.\n* `services.get_service_name(service_key)` - Returns the service name for a given service key.\n* `services.service_exists(service_key)` - Returns True if the service key exists.\n\n### Actions\n* `actions.get_actions_for_service(service_key)` - Returns an array of all actions for a given service key.\n* `actions.get_action_details(service_key, action_key)` - Returns an object with the action details such as `description`, `resourceTypes`, and `conditionKeys`.\n* `actions.action_exists(service_key, action_key)` - Returns true if the action exists.\n\n### Resources\n* `resources.get_resource_types_for_service(service_key)` - Returns an array of all resource types for a given service key.\n* `resources.get_resource_type_details(service_key, resource_type_key)` - Returns an object with the resource type details such as `description`, `arnFormat`, and `conditionKeys`.\n* `resources.resource_type_exists(service_key, resource_type_key)` - Returns true if the resource type exists.\n\n### Conditions Keys\n* `conditions.get_condition_keys_for_service(service_key)` - Returns an array of all condition keys for a given service key.\n* `conditions.get_condition_key_details(service_key, condition_key)` - Returns an object with the condition key details such as `description`, `conditionValueTypes`, and `conditionOperators`.\n* `conditions.condition_key_exists(service_key, condition_key)` - Returns true if the condition key exists.\n\n### Version Info\nThe version is number is formatted as `major.minor.updatedAt`. The updatedAt is the date the data was last updated in the format `YYYYMMDDX` where `X` is a counter to enable publishing more than once per day if necessary. For example version `0.1.202408291` has data updated on August 29th, 2024.\n\nThe version can be accessed using the `data_version()` method.\n\nThere is also `date_updated_at()` which returns the date the data was last updated.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloud-copilot%2Fiam-data-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloud-copilot%2Fiam-data-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloud-copilot%2Fiam-data-python/lists"}