* Adds WorkerAuthStorage wrapper for worker credential encryption using nodeenrollment library. * Adds AuthStoragePath field in worker config and dev mode to specify directory to store credentials.
10 lines
245 B
Go
10 lines
245 B
Go
package globals
|
|
|
|
const (
|
|
KmsPurposeRoot = "root"
|
|
KmsPurposeWorkerAuth = "worker-auth"
|
|
KmsPurposeWorkerAuthStorage = "worker-auth-storage"
|
|
KmsPurposeRecovery = "recovery"
|
|
KmsPurposeConfig = "config"
|
|
)
|