GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Cloud security (add new user) Phase II · Issue #109 · commitdev/zero-aws-eks-stack

Cloud security (add new user) Phase II #109

New issue
Copy link
New issue
Copy link
Closed
Closed
Cloud security (add new user) Phase II#109
Copy link
Assignees
sshi100

Description

@sshi100
sshi100
opened on Sep 25, 2020
Issue body actions

Along with Could security - add new member, we completed DevOps/Admin side with kind of best experience. However, we need to further figure out how to improve new member side of experience with quick client setup and resource accessibility to both AWS and K8S.

Activity

  1. sshi100 commented on Sep 25, 2020

    @sshi100
    sshi100
    on Sep 25, 2020
    ContributorAuthor
    More actions

    Requirements & Workflow(draft):

    1. DevOps: After creating new users, an operator needs a way to easily get temporary passwords for those users to give to them.
      The users should be required to change their passwords when they log in.
      Users should have permission to create access keys.

    2. Member: After creating access keys, a user should be able to clone the infra repo and run a script that will check their configuration and attempt to set things up for them.
      Script should check if user has the aws cli. If not, it should tell them how to get it.
      Script should check if user has any aws creds set up, or if there is a current profile, if not, it should prompt the user to enter credentials and we can save them with aws configure set.
      Script should check if user has kubectl. If not, it should tell them how to get it.
      Script should check if user has a kube context. If not, it should use our make command to add a context.

    3. Newly created members should require MFA to be enabled.

    Tasks:

    • Script: setup-user-access.sh
    • Script: sanity test to verify resource accessibility (optional)
    • README
  2. sshi100
    self-assigned this
    on Sep 25, 2020
  3. sshi100 commented on Sep 29, 2020

    @sshi100
    sshi100
    on Sep 29, 2020
    ContributorAuthor
    More actions

    Per discussion with @bmonkman , as TF creation of password (even temporary password) needs to deal with keybase and consider of small team of password distribution practice, we would create another ticket for later handling. For now, we just have an Operator to manually create temporary password and pass to the team in whatever way that they feel confident and convenient.

  4. sshi100 commented on Sep 29, 2020

    @sshi100
    sshi100
    on Sep 29, 2020
    ContributorAuthor
    More actions

    For requirement #3, a new ticket is created: #115

  5. bmonkman commented on Sep 29, 2020

    @bmonkman
    bmonkman
    on Sep 29, 2020
    Contributor
    More actions

    Can you add some documentation about how to use the aws cli to create temporary passwords? Maybe a one-liner or something they could run..

  6. sshi100 commented on Oct 1, 2020

    @sshi100
    sshi100
    on Oct 1, 2020
    ContributorAuthor
    More actions

    Enhancements:

    • added user profile setup script for Admin, which does auto-detect "new" users and create temporary passwords etc.
  7. sshi100 commented on Oct 1, 2020

    @sshi100
    sshi100
    on Oct 1, 2020
    ContributorAuthor
    More actions

    Flow:

    1. ops-person: add new users into the users array in shared/main.tf, then do make apply;
    2. ops-person: run scripts/setup-user-password.sh to create their passwords
    3. ops-person: grant git access and pass password to new users
    4. new-user: checkout git code, and run scripts/setup-user-access and run locally
  8. sshi100
    closed this as completedon Oct 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @sshi100
    sshi100

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.