Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create distinct user for DO automation #378

Open
LesnyRumcajs opened this issue Jan 15, 2024 · 4 comments
Open

Create distinct user for DO automation #378

LesnyRumcajs opened this issue Jan 15, 2024 · 4 comments
Labels
Priority: P2 Added to issues and PRs relating to a medium severity bugs. terraform/terragrunt Terraform/Terragrunt-specific issues

Comments

@LesnyRumcajs
Copy link
Member

Issue summary

Right now, are personal keys are in the secrets, making it difficult for auditing changes on Digital Ocean (who deployed the service - was it David, Github on behalf of David or Hubert who found his key somewhere?).

There should be a distinct user (forest-iac, forest-automation, leshy...) that handles this and makes it easier to track changes. It is also good from a security standpoint.

Other information and links

@LesnyRumcajs LesnyRumcajs added the terraform/terragrunt Terraform/Terragrunt-specific issues label Jan 15, 2024
@LesnyRumcajs LesnyRumcajs added the Priority: P2 Added to issues and PRs relating to a medium severity bugs. label Jan 15, 2024
@samuelarogbonlo
Copy link
Contributor

@LesnyRumcajs, unfortunately from my understanding DigitalOcean lacks the direct feature to create service accounts distinct from human user accounts for the purpose of automation or infrastructure management. To implement a system where each service (like forest-iac, forest-automation) operates under a separate 'user', you would need to set up individual user accounts for each service. This approach not only increases management overhead but also complicates access control. User management is a big flaw in the digitalOcean.

@LesnyRumcajs
Copy link
Member Author

I am aware that DO lacks service accounts. This issue is about a separate automation account, one for all services managed via this repository.

@samuelarogbonlo
Copy link
Contributor

I am aware that DO lacks service accounts. This issue is about a separate automation account, one for all services managed via this repository.

@LesnyRumcajs, Got it, just to make sure I’m understanding correctly: to set up a dedicated account for automation, we'd need to create a dedicated account for automation. we would have to create a new fresh DO account unless what you're suggesting is more along the lines of creating a dedicated user within an existing account or utilizing the My Teams feature.

@LesnyRumcajs
Copy link
Member Author

Yeah, it'd most likely need to be a fresh DO user, i.e., forest-automation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: P2 Added to issues and PRs relating to a medium severity bugs. terraform/terragrunt Terraform/Terragrunt-specific issues
Projects
None yet
Development

No branches or pull requests

2 participants