bendwyer/action-rotate-hcp-terraform-user-token
Rotates a HCP Terraform user token stored as a secret in a GitHub repository.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | GitHub token used for writing the HCP Terraform user token to the repository secret store. Requires the repository permission secrets:write. | yes | — |
| github_secrets_name | Name of the secret in the repository secret store where the token will be written. | no | HCP_TERRAFORM_USER_TOKEN |
| hcp_terraform_user_token | HCP Terraform user token to be rotated. This token must already exist and be saved as a repository secret before running this action. | yes | — |
| hcp_terraform_user_token_description | Description for the HCP Terraform user token. Must be the same for the original and new tokens. | no | github-token |
| hcp_terraform_user_token_expiration | Time in days when the HCP Terraform user token will expire. | — | 30 |
Outputs
no outputs