Is it possible to use from_secret at environment root level

I have some secrets stored at the repository level.

my .drone.yml

kind: pipeline
type: docker
name: tests
  path: /var/www/html
    from_secret: SS_DATABASE_PASSWORD

assuming that the environment variable SS_DATABASE_PASSWORD will be set from secrets.
and available in all steps. If this is not possible, what is the reasoning for not allowing it?

I get the following error:

tests: yaml: unmarshal errors: line 8: cannot unmarshal !!map into string
tests: Error

I don’t believe you’re able to do so, see this post for some more info.

Though quite frankly I’d love the feature. It’d be great not having to repeat secrets in all of my steps.