integrations / integrations/terraform-provider-github

[FEAT]: Manage github personal access tokens (PATs) with terraform

Open
#2,364 6 comments 53 reactions 0 assignees View on GitHub
Status: Blocked Type: Feature Upstream
Dominant language
Go
Stars
1.2k
Forks
1k
Avg merge
1d 14h
Merged PRs (30d)
8

Description

### Describe the need

I'd like to create and manage permissions of personal access tokens for a service account with terraform

In cloudflare, in a service user account, I issued a user-management token, and then use [cloudflare_api_token](https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/resources/api_token) to create other tokens and manage their permissions as well as allowed IPs that can use this token. After the token is created, I can save it in AWS SSM store.

We can do this in AWS and in cloudflare and I'd like to do this with github as well.

Thanks!

https://stackoverflow.com/questions/41879286/get-a-token-by-github-api

### SDK Version

_No response_

### API Version

_No response_

### Relevant log output

_No response_

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.