Is there a way to get appID from forge variable in manifest.yml

Hi,
I have set the appID using forge cli

forge variables set MY_KEY my-value

will i be able to use this MY_KEY directly in manifest.yml

Hey!

The forge variables CLI command is used to manage environment variables that are made available in the runtime environment of you app. So when you app is executing, you would be able to access process.env['MY_KEY'].

You can, however, also manage environment variables locally and in your manifest. See the documentation on DAC for more information on how to do this.

@sindhiyaselvaraj,

Just to elaborate slightly on @MatthewFreeman’s answer…

No. The manifest is not available in the context of the runtime environment.

Thanks @MatthewFreeman @ibuchanan

@ibuchanan @MatthewFreeman I have one more doubt. is that possible to get appid from aws secret manager and get that in manifest.yml
Thanks