Package ai.redouble.nucleo.secrets
package ai.redouble.nucleo.secrets
-
ClassDescriptionOne credential as the runtime consumes it.What a credential is made of, declared once by the code that owns its id: which of the three parts (
user,secret,host) the credential has, the environment variable each part is read from, and what each part means to a person.One part of a credential: the environment variable it is read from and what it means to a person.The credential shapes the runtime knows, by id.Credentials from environment variables, the store a fresh checkout runs against with zero code.Where the runtime gets its credentials.Lazy holder: the class initializes, and so the store gets built, on the firstSecrets.configured()call.The secrets package's knobs: where the runtime gets its credentials.A credential the runtime asked for cannot be had: the deployment holds nothing under the id, or its store cannot answer.