inline-password-encryption

Stores the encryption key in the startup configuration file. By default, the encryption key is not stored in the startup-config file. Use the inline-password-encryption command to move the encrypted key to the startup-config file. This command uses the master key to encrypt the password, then moves it to the startup-config file.

Supported on the following devices:

Syntax

inline-password-encryption

Parameters

None

Usage Guidelines

When the configuration file is imported to a different device, it first decrypts the encryption key using the default key and then decrypts the rest of the configuration using the administrator configured encryption key.

Examples

The following command uses the specified password for encryption key and stores it outside of startup-config:

nx9500-6C8809(config)#password-encryption secret 2 12345678
nx9500-6C8809(config)#commit write memory

The following command moves the same password to the startup-config and encrypts it with the master key:

nx9500-6C8809(config)#inline-password-encryption

Related Commands

no Disables storing of the encryption key in the startup configuration file
password-encryption Enables password encryption