To validate that the Vault can read your secret, call it using the kong vault get command within the data plane container:
docker exec $KONNECT_DP_CONTAINER kong vault get {vault://fs-vault/my-secret.txt}
docker exec kong-quickstart-gateway kong vault get {vault://fs-vault/my-secret.txt}
If the vault was configured correctly, this command returns the contents of the file.
You can now reference any file in the secrets directory from any referenceable field using {vault://fs-vault/example-filename}.
For JSON files, you can extract a specific key by appending it to the path. For example, if /tmp/kong/secrets/creds.json contains {"username":"user","password":"pass"}, reference individual values like {vault://fs-vault/creds.json/password}.
For more information about supported secret types, see What can be stored as a secret.