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

NewValidation: Ensure Global AES Encryption is enabled #185

Open
takishida opened this issue Dec 11, 2024 · 0 comments
Open

NewValidation: Ensure Global AES Encryption is enabled #185

takishida opened this issue Dec 11, 2024 · 0 comments
Labels

Comments

@takishida
Copy link
Collaborator

(use upvote 👍 for attentions)

Validation Type

[ ] - Fault

[x] - Config

[ ] - Bug

[ ] - Other

What needs to be validated

{
  "pkiExportEncryptionKey": {
    "attributes": {
      "dn": "uni/exportcryptkey",
      "strongEncryptionEnabled": "yes"   <--- this must be "yes"
    }
  }
}

Why it needs to be validated

Starting from APIC 6.1(2), Global AES Encryption must be enabled before upgrading to 6.1(2) or newer version. Otherwise, the upgrade will immediately fail.

Although Global AES Encryption was not mandated prior to 6.1(2), it is a best practice to enable it so that the secure information such as passwords for routing protocol authentication, third-party controller integrations can be securely stored with encryption in the configuration backup. Without Global AES Encryption, those secure information are not stored in the backup at all.

The validations needs to flag as Upgrade Failure when Global AES Encryption is not enabled and the target version is 6.1(2) or newer. If the target version is older, it should be flagged as Manual Check Required to encourage everyone to enable it regardless.

Additional context

The requirement change of Global AES Encryption is documented here - ACI changes in behavior

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant