Skip to content

[DOCS] key rejection is not mentioned in the guides when AES key rotation situations happens #63469

Closed as not planned

Description

@rawmind

Description
Is not obvious that key rejection causes AES rotation for publications.

Suggested Fix

https://docs.saltproject.io/en/latest/topics/tutorials/intro_scale.html#too-many-minions-re-authing

The Salt Master generates a new AES key to encrypt its publications at certain events such as a Master restart or the removal of a Minion key. If you are encountering this problem of too many minions re-authing against the Master, you will need to recalibrate your setup to reduce the rate of events like a Master restart or Minion key removal (salt-key -d).

TO

The Salt Master generates a new AES key to encrypt its publications at certain events such as a Master restart or the removal/rejection of a Minion key. If you are encountering this problem of too many minions re-authing against the Master, you will need to recalibrate your setup to reduce the rate of events like a Master restart, Minion key removal (salt-key -d) or Minion key rejection (salt-key -r).

https://docs.saltproject.io/en/getstarted/system/communication.html in "ROTATING SECURITY KEYS"

A rotating AES key is used to encrypt jobs that are sent to the Salt minion by the Salt master, and to encrypt connections to the Salt master fileserver. A new key is generated and used each time the Salt master restarts and each time a Salt minion key is deleted using the salt-key command.

TO

A rotating AES key is used to encrypt jobs that are sent to the Salt minion by the Salt master, and to encrypt connections to the Salt master fileserver. A new key is generated and used each time the Salt master restarts and each time a Salt minion key is deleted/rejected using the salt-key command.

https://docs.saltproject.io/en/latest/ref/cli/salt-key.html

Add a huge warning and backlinking to performance guide for key removal/rejection sections

Type of documentation
Guides

Location or format of documentation
https://docs.saltproject.io/en/getstarted/system/communication.html
https://docs.saltproject.io/en/latest/topics/tutorials/intro_scale.html#too-many-minions-re-authing
https://docs.saltproject.io/en/latest/ref/cli/salt-key.html

Additional context

Activity

  1. added
    documentation
    on Jan 12, 2023
  2. added
    good first issue
    severity-medium
    and removed on Jan 17, 2023
  3. shashwatpandeyvns commented on Jan 29, 2023

    @shashwatpandeyvns
    Contributor

    Hi, I was trying to contribute to the project. Still, I couldn't be able to find the file location of "https://docs.saltproject.io/en/getstarted/system/communication.html": "ROTATING SECURITY KEYS", also could you please explain to me this one as well"Add a huge warning and backlinking to performance guide for key removal/rejection sections".

  4. rawmind commented on Jan 29, 2023

    @rawmind
    Author

    @shashwatpandeyvns It would be nice to have a warning about performance consequences when a user wants to delete/reject the key. For instance, we can improve this doc https://docs.saltproject.io/en/latest/ref/cli/salt-key.html (I think it's https://github.com/saltstack/salt/blob/master/doc/man/salt-key.1 file) for every corresponding operation:

    For example, we can change it

    -r REJECT, --reject=REJECT
    Reject the specified public key (use --include-all to match accepted keys in addition to pending keys). Globs are supported.
    

    to

    -r REJECT, --reject=REJECT
    Reject the specified public key (use --include-all to match accepted keys in addition to pending keys). Globs are supported.
    It may cause dramatic performance salt-msater degradation. See [performance guide](https://docs.saltproject.io/en/latest/topics/tutorials/intro_scale.html#too-many-minions-re-authing) for details
    
  5. shashwatpandeyvns commented on Jan 31, 2023

    @shashwatpandeyvns
    Contributor

    @rawmind Thank you so much for helping me out. I still have an issue with the "https://github.com/saltstack/salt/blob/master/doc/man/salt-key.1" source file, I couldn't able to understand how backlinks can be added. Please guide me.

  6. rawmind commented on Jan 31, 2023

    @rawmind
    Author

    @shashwatpandeyvns it's not a source. See the header comment: .\" Man page generated from reStructuredText. It's a derivative from https://github.com/saltstack/salt/blob/master/doc/ref/cli/salt-key.rst

    Please see the guide

  7. shashwatpandeyvns commented on Feb 2, 2023

    @shashwatpandeyvns
    Contributor

    @rawmind Hi, I have created a pull request for this issue #63469. Please review and recommend changes if required.

  8. rawmind commented on Feb 3, 2023

    @rawmind
    Author

    @shashwatpandeyvns could you link the PR?

  9. rawmind commented on Feb 3, 2023

    @rawmind
    Author

    @shashwatpandeyvns just Also i'd like to note I'm not a part of salt project team I can't approve PRs. Maybe @barbaricyawps can do it?

  10. rawmind commented on Feb 3, 2023

    @rawmind
    Author

    PR: #63610

  11. 12 remaining items

  12. dwoz commented on Oct 15, 2026

    @dwoz
    Contributor

    Thanks for the original report. This issue has been open for more than three years without recent activity and carries a severity label below severity-high. As part of a backlog cleanup, we're closing older low- and medium-severity issues so triage can focus on reports against currently supported releases.

    Closing isn't a judgement that the problem wasn't real — only that the codebase has moved through several releases since this was filed, and much of the surrounding code has changed.

    If you — or anyone else — can still reproduce this on the 3008.x LTS release, please leave a comment with a reproduction and a maintainer will reopen. The original reporter can also reopen directly.

  13. peterupton commented on Oct 16, 2026

    @peterupton

    I checked Salt 3008.x. The documentation gap remains: intro_scale.rst omits salt-key -r as an AES-key rotation trigger, and salt-key.rst lacks the re-authentication performance warning. PR #63610 has been approved, but is still open and not merged, so the fix is not yet present in 3008.x.

  14. rawmind commented on Oct 16, 2026

    @rawmind
    Author

    unbelievable delivery speed

    Image
  15. dwoz commented on Oct 17, 2026

    @dwoz
    Contributor

    Reopening — there are open PRs tracking a fix for this: #63610, #69554, #70104.

  16. reopened this on Oct 17, 2026
  17. added 2 commits that reference this issue on Oct 21, 2026
    0f7b928
    de0bd26
  18. dwoz commented on Oct 28, 2026

    @dwoz
    Contributor

    Closing — consolidated into #70585. The checkbox for this item is in the appropriate theme section of that tracker. Please pick up the sub-item there.

  19. added a commit that references this issue on Oct 28, 2026
    02b2fa0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationgood first issueseverity-mediumtime-estimate-quick-fix

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions