Expand description
Data and functions for using administrative credentials on a Signstar host.
ยงExamples
use signstar_common::admin_credentials::get_credentials_dir;
// Get the directory path in which administrative credentials reside.
println!("{:?}", get_credentials_dir());
Enumsยง
- Error
- An error that may occur when handling credentials.
Constantsยง
- CREDENTIALS_
DIR ๐ - The directory for administrative credentials (encrypted and unencrypted).
- PLAINTEXT_
CREDENTIALS_ ๐FILE - File name of plaintext administrative credentials.
- SYSTEMD_
CREDS_ ๐CREDENTIALS_ FILE - File name of systemd-creds encrypted administrative credentials.
Functionsยง
- create_
credentials_ dir - Creates the directory for administrative credentials.
- get_
credentials_ dir - Returns the path of the directory in which administrative credentials reside.
- get_
plaintext_ credentials_ file - Returns the file path for plaintext administrative credentials.
- get_
systemd_ creds_ credentials_ file - Returns the file path for systemd-creds encrypted administrative credentials.