gorgeous-minister-41131
05/11/2021, 7:47 PMdef get_kv2_secret(self, mount_point: str, path: str) -> pulumi.Output:
"""
Retrieve a KV2 secret based on the given path.
This method actually returns a Pulumi Output future representing a
secret so that the actual value is obscured until apply time.
"""
output_secret = pulumi.Output.secret(
self.hvac_client.secrets.kv.v2.read_secret_version(
mount_point=mount_point, path=path
)
)
return output_secret
But it would be nice to know what pulumi's roadmap is for supporting placeholder config values which are just references to the "real" K/V path in vault (similar to above^).