Comment 1 for bug 2037104

Revision history for this message
Ben Hoyt (benhoyt) wrote : Re: [labels] No command-line access to secrest by label

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?