Codegen ignores Secret flag on properties with prompt types #420
Labels
kind/bug
Some behavior is incorrect or out of spec
language/java
resolution/fixed
This issue was fixed
Milestone
Hello!
Issue details
Currently in providers such as AWS we have properties that are specified as secret, but are projected by codegen into promptly typed (not
Output<T>
-wrapped) accessors. As a result there is no guarantee that consuming code understands they are secret. We should fix this, including a breaking change to project these properties asOutput<T>
-wrapped properties so we can set the secret flag on them.Since #414 this is a codegen warning but we can tighten to an error and fix for practical cases.
Affected area/feature
The text was updated successfully, but these errors were encountered: