This message was deleted.
# general
s
This message was deleted.
l
We store persistent keys an encrypted secrets in our stack configs.
g
I'm not very familiar with API Gateway, so I apologize if this isn't 100% relevant, but you can mark resources (such as ApiKey) as "protected" to prevent them from being deleted. This might help in this situation too. https://www.pulumi.com/docs/intro/concepts/programming-model/#protect
l
Ah, I think @gentle-diamond-70147 is right. I was misunderstanding. We have external non-pulumi generated keys we keep in the config. Your
customer1ApiKey
should be fine the way you have it there as it’ll be consistent from run to run stored in the Pulumi state.
d
Cool, thanks guys!