Skip to content

[FEATURE] Consider to employ ssh_auth.manage state within ssh_auth_sources #232

Description

@mikhailmaximov

Is your feature request related to a problem?

Current implementation of ssh_auth_sources relies on explicit use of ssh_auth_sources.absent to remove obsolete SSH public keys from .ssh/authorized_keys file.
SaltStack v3000 introduced a new state ssh_auth.manage to explicitly enumerate keys that should be in .ssh/authorized_keys file

Describe the solution you'd like

There are two possible options:

  • switch ssh_auth_sources to use ssh_auth.manage state; or
  • introduce a new state ssh_auth_sources.manage as less disturbing solution

Describe alternatives you've considered

This is not critical, one can use Salt's ssh_auth.manage directly

Additional context

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions