async getSecretMetadata()

in src/lib/service/custos-service/custos-service-entities/custos-service-entities-secrets.js [48:61]


    async getSecretMetadata({clientId, entityId = []}) {
        const axiosInstance = await this.custosService.axiosInstance;
        const {data: {metadata}} = await axiosInstance.get(
            `${CustosService.ENDPOINTS.SECRETS}/secret/summaries`,
            {
                params: {
                    client_id: clientId,
                    accessible_tokens: entityId
                }
            }
        );

        return metadata[0];
    }