Overview
Defines the Type 6 password encryption scheme, which uses AES-256 symmetric encryption to store MACsec pre-shared keys securely, preventing plaintext exposure in configuration files.
A MACsec pre-shared key with Type 6 password encryption is a router security configuration that
-
securely stores MACsec Connectivity Association Keys (CAKs) in encrypted form,
-
depends on a locally configured primary key to operate, and
-
uses AES‑256 symmetric encryption to protect MACsec key material in the router configuration.
-
Primary key: The local password or key the router uses to encrypt and decrypt all MACsec CAKs stored in configuration. The device does not save this key in configuration and it is not viewable.
-
Type 6 password encryption: A Cisco encryption scheme that applies AES‑256 symmetric encryption to sensitive secrets in configuration, enabling the system to decrypt on demand to establish secure communication.
-
MACsec CAK / PSK: The static pre-shared key MACsec uses to form a Connectivity Association between peers.
When enabled, the PSK does not appear in clear text in running, startup, or archived configurations; the router stores only an encrypted value that it can decrypt locally when needed. Type 6 password encryption functions only when a primary key is configured.
Benefits of securing MACsec pre-shared keys with Type 6 password encryption
-
Protects MACsec PSKs from exposure in plain text.
-
Utilizes AES‑256 encryption for robust and modern cryptographic protection.
-
Supports compliance with regulatory and organizational security policies.
-
Reduces insider threat risks from configuration file inspection.