Manage secrets via machines api

Hi,

I was experimenting the machines API to see if I could manage an app’s secrets through it, as from the docs, it seems to be possible. However, the endpoint to retrieve secrets returns an empty array.

GET http://_api.internal:4280/v1/apps/my_app_name/secrets
[]

This isn’t accurate, as using the CLI, secrets are properly listed. Maybe this isn’t yet generally available? If so, is there a roadmap for it?

Thanks!

Hi… Last I heard, it was not…

(Quick pointer from 28 days ago.)

1 Like

Thanks for the reply… it seems that it’s not…

The workaround would be to use the CLI or GraphQL.