```const domainSecretGet = azure_native.keyvault.g...
# typescript
l
Copy code
const domainSecretGet = azure_native.keyvault.getSecret({
    secretName: "secret1",
    vaultName: "AZVault1",
    resourceGroupName: "AZVault"
});

export const domainSecretGetValue = domainSecretGet.then(domainSecretGet => domainSecretGet.properties.value);

console.log(domainSecretGetValue)
s
you can only access the resolved value inside the
.then
callback function, e.g.
Copy code
export const domainSecretGetValue = domainSecretGet.then(domainSecretGet => {
  console.log(domainSecretGet.properties.value)
  return domainSecretGet.properties.value
})