using both
data sources "akeyless_secret" and "akeyless_dynamic_secret"
I'm getting this for the value:
{
"akeyless_secret": {
"sensitive": true,
"type": "string",
"value": "{\"id\":\"tmp.p-17wspyncl1f5.fFoyV\",\"token\":\"ghs_fzPdMDSIoNtJB5wU6A6OJRBDCUcpHj1EUrWB\",\"ttl_in_minutes\":\"60\"}"
},
(these credentials have been revoked), but is this intended to return a string wth the id and ttl as well? shouldn't these be separate values in the datasource rather than a json string?
jsondecode(data.akeyless_secret.gh_read_only.value)["token"] works, so not a huge deal, just reporting in case this isn't intended.
using both data sources "akeyless_secret" and "akeyless_dynamic_secret"
I'm getting this for the value: { "akeyless_secret": { "sensitive": true, "type": "string", "value": "{\"id\":\"tmp.p-17wspyncl1f5.fFoyV\",\"token\":\"ghs_fzPdMDSIoNtJB5wU6A6OJRBDCUcpHj1EUrWB\",\"ttl_in_minutes\":\"60\"}" },
(these credentials have been revoked), but is this intended to return a string wth the id and ttl as well? shouldn't these be separate values in the datasource rather than a json string? jsondecode(data.akeyless_secret.gh_read_only.value)["token"] works, so not a huge deal, just reporting in case this isn't intended.