Skip to content

Make sure webapps user on specs VM has ~/.authorized_keys #166

@renoirb

Description

@renoirb

Problem is that each user public keys are written in a different way in each user sls file (e.g. find ssh names in /srv/salt/users/robin.sls and /srv/salt/users/renoirb.sls.

In order to sync files using rsync we’ll have to feed SSH keys, and to achieve that it would be best to move user ssh keys in a pillar, and so we can then do some logic from there.

Tasks

  • Create pillar schema to host all user public keys
  • Move all users into pillars
  • Edit states so that we can have the user state read keys from pillar
  • Consider to allow storage of private keys, not a priority.

Time estimate

Dependency

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions