# The Meta File
Meta files live alongside schema and config files. They describe anything non-configuration.
Meta files live in .app-config.meta.{ext}
.
Currently, the important values stored in meta files are:
- Encryption keys and team members
- Code generation steps
- Overrides for parsing and environment variable names
One thing is special about meta files - if one is not found in the current working directory, App Config will try to look at parent directories until it finds a repository root. This is a special case for workspaces, and you will probably never have to care.
Meta files are processed similarly to config files, but do not support environment-specific values.
Currently, only the $extends
directive is supported.
Other than code generation, you'll probably never need to look at meta files.
A typical meta file, just for an example:
.app-config.meta.yml
generate:
- { file: 'src/@types/lcdev__app-config/index.d.ts' }
teamMembers:
- userId: Joe Blow <joe@example.com>
publicKey: "-----BEGIN PGP PUBLIC KEY BLOCK-----\r\nVersion: OpenPGP.js v4.10.8\r\nComment: https://openpgpjs.org\r\n\r\nxjMEX8mmshYJKwYBBAHaRw8BAQdAutNgPqlb5Iqw7xx3eMvNK5O1vbdLENDs\r\nZkVebLwFl9PNGkpvZSBCbG93IDxqb2VAZXhhbXBsZS5jb20+wo8EEBYKACAF\r\nAl/JprIGCwkHCAMCBBUICgIEFgIBAAIZAQIbAwIeAQAhCRD8UMumP1cfjxYh\r\nBNcX0H6tdCsdTHyCQfxQy6Y/Vx+PowMA/Rw+lHO64c0Rc4JGHfU/7nB3lPla\r\nrOb3kYdduqrdCbWTAQCHpLO5tWGuaWUqIoDCi5MiNNpMblJssssvRTimCLit\r\nBc44BF/JprISCisGAQQBl1UBBQEBB0DvkU/lPcOBF7MQepEK27gGIsszl36l\r\nIHIbmZwUAlH6GAMBCAfCeAQYFggACQUCX8mmsgIbDAAhCRD8UMumP1cfjxYh\r\nBNcX0H6tdCsdTHyCQfxQy6Y/Vx+P+UcA/Rdt9JgNqg2jMK5Lk7RqCnluTwKG\r\nm5p+W+34mi872rUTAQDX8PuMWPIzPkLp/InkLUO+fhBqbPPXXNu4wNnz79QO\r\nAQ==\r\n=Icsa\r\n-----END PGP PUBLIC KEY BLOCK-----\r\n"
encryptionKeys:
- revision: 1
key: "-----BEGIN PGP MESSA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r\n-----END PGP MESSAGE-----\r\n"
# Parse and Loading Configuration
The meta file can contain:
parsingExtensions
: an array of NPM modules to load as parsing extensions (more)environmentAliases
: an object that maps 'aliases' to real environment names- eg.
{ Release: 'production' }
- eg.
environmentSourceNames
: a string or array of strings that are used an environment variable names to read for the current environment- eg.
['ENV', 'NODE_ENV', 'MY_ENV']
- eg.
# App Config Settings
There are a small set of user settings that App Config stores. We use env-paths (opens new window) to select an OS appropriate directory.
- Encryption Keychain: your public and private key!
- Secret Agent Configuration: how to reach secret-agent
You probably won't need to look at these.