Is this a correct implementation of secrets.yaml?

configuration.yaml

#Volkswagen Car Net integration
volkswagencarnet:
  username: !secret volkswagencarnet_username
  password: !secret volkswagencarnet_password

secrets.yaml

volkswagencarnet:
  username: [email protected]
  password: 123456

I get the following when i check the config:
Error loading /config/configuration.yaml: Secret volkswagencarnet_password not defined

First part is correct, your secrets.yaml should just be like the following.

volkswagencarnet_username: yourusername
volkswagencarnet_password: yourpassword
1 Like

Great, thanks