Something to check would be, can you access the secret using juju show-secret. You could also double check that the permission is granted - in 3.1 you'd need to look at the permissions collection.
Something to check would be, can you access the secret using juju show-secret. You could also double check that the permission is granted - in 3.1 you'd need to look at the permissions collection.