You're right, it looks like there's no way to query by label at the moment. However, it looks like you can view all secret details, including the (owner) label, by using "juju secrets --format=yaml". This lists all secrets, but will show a "label:" field for those that have an owner label. Would this work for you?
You're right, it looks like there's no way to query by label at the moment. However, it looks like you can view all secret details, including the (owner) label, by using "juju secrets --format=yaml". This lists all secrets, but will show a "label:" field for those that have an owner label. Would this work for you?